hexapdf 0.22.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +50 -0
- data/lib/hexapdf/cli/form.rb +26 -3
- data/lib/hexapdf/cli/inspect.rb +12 -3
- data/lib/hexapdf/cli/modify.rb +23 -3
- data/lib/hexapdf/composer.rb +24 -2
- data/lib/hexapdf/document/destinations.rb +396 -0
- data/lib/hexapdf/document.rb +38 -89
- data/lib/hexapdf/layout/frame.rb +8 -9
- data/lib/hexapdf/layout/style.rb +280 -7
- data/lib/hexapdf/layout/text_box.rb +10 -2
- data/lib/hexapdf/layout/text_layouter.rb +6 -1
- data/lib/hexapdf/revision.rb +8 -1
- data/lib/hexapdf/revisions.rb +151 -50
- data/lib/hexapdf/task/optimize.rb +21 -11
- data/lib/hexapdf/type/acro_form/text_field.rb +8 -0
- data/lib/hexapdf/type/catalog.rb +9 -1
- data/lib/hexapdf/type/names.rb +13 -0
- data/lib/hexapdf/type/xref_stream.rb +2 -1
- data/lib/hexapdf/utils/sorted_tree_node.rb +3 -1
- data/lib/hexapdf/version.rb +1 -1
- data/lib/hexapdf/writer.rb +15 -2
- data/test/hexapdf/document/test_destinations.rb +338 -0
- data/test/hexapdf/encryption/test_security_handler.rb +2 -2
- data/test/hexapdf/layout/test_frame.rb +15 -1
- data/test/hexapdf/layout/test_text_box.rb +16 -0
- data/test/hexapdf/layout/test_text_layouter.rb +7 -0
- data/test/hexapdf/task/test_optimize.rb +17 -4
- data/test/hexapdf/test_composer.rb +24 -1
- data/test/hexapdf/test_document.rb +30 -133
- data/test/hexapdf/test_parser.rb +1 -1
- data/test/hexapdf/test_revision.rb +14 -0
- data/test/hexapdf/test_revisions.rb +137 -29
- data/test/hexapdf/test_writer.rb +43 -14
- data/test/hexapdf/type/acro_form/test_text_field.rb +17 -0
- data/test/hexapdf/type/test_catalog.rb +8 -0
- data/test/hexapdf/type/test_names.rb +20 -0
- data/test/hexapdf/type/test_xref_stream.rb +2 -1
- data/test/hexapdf/utils/test_sorted_tree_node.rb +11 -1
- metadata +5 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hexapdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Leitner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cmdparse
|
@@ -255,6 +255,7 @@ files:
|
|
255
255
|
- lib/hexapdf/dictionary.rb
|
256
256
|
- lib/hexapdf/dictionary_fields.rb
|
257
257
|
- lib/hexapdf/document.rb
|
258
|
+
- lib/hexapdf/document/destinations.rb
|
258
259
|
- lib/hexapdf/document/files.rb
|
259
260
|
- lib/hexapdf/document/fonts.rb
|
260
261
|
- lib/hexapdf/document/images.rb
|
@@ -504,6 +505,7 @@ files:
|
|
504
505
|
- test/hexapdf/content/test_parser.rb
|
505
506
|
- test/hexapdf/content/test_processor.rb
|
506
507
|
- test/hexapdf/content/test_transformation_matrix.rb
|
508
|
+
- test/hexapdf/document/test_destinations.rb
|
507
509
|
- test/hexapdf/document/test_files.rb
|
508
510
|
- test/hexapdf/document/test_fonts.rb
|
509
511
|
- test/hexapdf/document/test_images.rb
|
@@ -636,6 +638,7 @@ files:
|
|
636
638
|
- test/hexapdf/type/test_form.rb
|
637
639
|
- test/hexapdf/type/test_image.rb
|
638
640
|
- test/hexapdf/type/test_info.rb
|
641
|
+
- test/hexapdf/type/test_names.rb
|
639
642
|
- test/hexapdf/type/test_object_stream.rb
|
640
643
|
- test/hexapdf/type/test_page.rb
|
641
644
|
- test/hexapdf/type/test_page_tree_node.rb
|