Commit Graph

202 Commits

Author SHA1 Message Date
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
f8ba2aeeb3 Implement adding picture fields 2021-06-02 20:29:36 +03:00
3afc193c73 Fix build on Mac 2021-06-01 18:55:12 +03:00
d83c208339 Fix includes 2021-05-31 10:15:28 +03:00
95b7dae910 Implement class for picture field 2021-05-31 10:06:34 +03:00
d065709e0a Implement drawing border for field and special border for text-comb fields 2021-05-31 10:06:34 +03:00
4049fb98e6 Implement read/write checkboxes/radiobuttons/comboboxes to pdf from online binary 2021-05-28 15:20:34 +03:00
f3b673e85e Implement adding radio buttons to PDF 2021-05-27 15:24:42 +03:00
fb72127183 Implement saving checkbox field to PDF 2021-05-26 20:35:12 +03:00
8da953facf Implement writing choice fields 2021-05-26 11:52:57 +03:00
1779672ea6 Rework the interface of the function for adding form fields 2021-05-23 21:43:19 +03:00