Commit Graph

212 Commits

Author SHA1 Message Date
6a31f998cb [pdf] Implement alpha channel writing for texture fills 2022-05-02 18:13:17 +03:00
b414fe2058 Fix bug 55251 2022-05-02 15:10:10 +03:00
67b71d296c Fix bug 56903 2022-04-28 10:47:29 +03:00
51c88417d6 Creator & Producer 2022-04-27 19:47:04 +03:00
d05c4ae889 fix pdf creator 2022-04-27 18:20:02 +03:00
ce41b18a93 Pdf2Docx bugs 2022-04-25 16:15:48 +03:00
ff84f09478 fix bug in encrypt
Note that the pad is present when M is evenly divisible by 16. EXAMPLE A 9-byte message has a pad of 7 bytes, each with the value 0x07.
2022-04-05 12:50:56 +03:00
f4e1082ab5 Fix bug #48052 2022-04-01 14:52:51 +03:00
bdf1295693 Merge remote-tracking branch 'origin/develop' into fix/drawing_file_client 2021-12-10 17:49:02 +03:00
c3b8e90a3e PdfWriter test 2021-12-10 17:28:24 +03:00
8264f89be2 Fix bug #53273
Fix the problem with saving MaxLen parameter of a text form in case of several forms with the same key
2021-12-02 10:00:53 +03:00
98f7b9d647 Fix bug #54088
Fix the problem with writing strings encoded with UTF-16
2021-12-02 10:00:53 +03:00
711d0017df Fix bug #53616
Fix the problem with bold and italic fonts
2021-12-02 10:00:53 +03:00
6bf0f0faf3 Fix bug #54168
Rework font substitution based on font embedding restrictions
2021-12-02 10:00:53 +03:00
021f9f64b4 For bug #54170
Fix the problem with writing shade color of a form. Also fix the problem with ExtGState counter
2021-12-02 10:00:53 +03:00
2a9ffc41b5 Find new substitution font if the specified font is restricted for embedding 2021-11-21 20:06:33 +03:00
cb84378637 Fix bug #53629
Forbid to embed fonts that are limited by license
2021-11-21 17:13:56 +03:00
9ed41ccb67 Fix bug #53544
Handle placeholders for text fields in case when several fields have the same key
2021-11-08 20:11:03 +03:00
05f0c63e40 Fix bug #53518
Fix the problem with writing placeholders
2021-11-08 20:11:03 +03:00
f5c80ed236 Fix bug #53222
Fully rework writing the text value of the form fields in PDF
2021-11-08 20:11:03 +03:00
06f3e4562a For bug #53323
Remove additional space for drop-down list button, because it causes layout problems for right-aligned drop-down lists
2021-11-02 11:50:40 +03:00
ab1bd76a48 Fix bug #53270
Fix the problem with images form when saving to PDF
2021-10-31 23:29:12 +03:00
2746b35e12 Fix the problem with placeholders for text fields with specified maxCharacters parameter 2021-10-31 23:29:12 +03:00
6b755c03d3 Fix the problem with drawing border around text form
Also fix the problem with calculating the position of glyphs for text form with comb option enabled
2021-10-31 23:29:12 +03:00
4d9c7a4c01 Implement horizontal text align for text forms with com option enabled 2021-10-31 23:29:12 +03:00
5d7042746f Fix bug #53245
Fix the problem with rendering text fields to PDF with comb option enabled
2021-10-31 23:29:12 +03:00
f583be5ee4 Fix bug #53227
Add ability to set a placeholder for text forms, combo boxes and drop down lists
2021-10-31 23:29:12 +03:00
0870527a82 Implement ability to set a placeholder for comboxes and dropdown lists 2021-10-31 23:29:12 +03:00
ac70b849ca Implement ability to set placeholder text for text forms 2021-10-31 23:29:12 +03:00
87d864527b Implement filled picture forms 2021-10-15 22:44:55 +03:00
a862facf6a Add ability to save picture value to picture forms
Also improve writing appearance of picture form in PDF
2021-10-15 22:44:55 +03:00
11291cba06 Handle autofit for multilined forms in PDF 2021-10-15 22:44:55 +03:00
b881f02a02 Handle align to center and right side for multiline forms
Also fix the problem with vertical shift and spacing between lines for multiline forms for better compatibility with AdobeReader
2021-10-15 22:44:55 +03:00
4385caa969 First variant of calculating line breaks for multiline form 2021-10-15 22:44:55 +03:00
087594e557 Handle horizontal align for text forms when saving to PDF 2021-10-15 22:44:55 +03:00
133a05542f Fix problem with non initialized text align in the forms
Also fix saving picture forms for now AdobeReader shows special picture sign
2021-10-15 22:44:55 +03:00
3703cde00a Rework writing parameters of a TrueType font 2021-10-15 22:44:55 +03:00
903ae550d0 Implement new parameters and work around checkboxes 2021-10-15 22:44:55 +03:00
bb31a9733a Fix problems with RadioButtons 2021-10-15 22:44:55 +03:00
42b4cdf733 Work on checkboxes 2021-10-15 22:44:55 +03:00
55b2fff256 Rework writing default appearances 2021-10-15 22:44:55 +03:00
36bb26c9fe Add ability to write non-cid True Type font
Also move field resources to AcroForm record
2021-10-15 22:44:55 +03:00
6285a59b43 Rework saving field with the same field name in PDF 2021-10-15 22:44:55 +03:00
65c35b9af7 Implement background color for forms in PDF
Also implement new parameters for text forms and picture forms in PDF
2021-09-24 14:17:16 +03:00
bee3ff541a Rework PDFWriter on new CFieldInfo class 2021-09-24 14:17:16 +03:00
00802528e5 Update for PDFWriter 2021-09-24 14:17:16 +03:00
e4c1384bbd Add empty functions for future work on field keys 2021-09-24 14:17:16 +03:00
817b90418f Implement AutoFit option when saving form to PDF 2021-09-24 14:17:16 +03:00
3a97757b86 Fix bug #50874
Fix the problem with escaping text strings
2021-07-20 22:11:39 +03:00
110cee404a Fix bug #50743
Improve rendering of bold text when there is no bold font
2021-07-20 19:06:59 +03:00