Logo white

OpenSystemsDevelopment / qpdf

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 4,691
  • Compare
  • Branches 1
  • Tags 0
  • qpdf
  • libqpdf
  • QPDFFormFieldObjectHelper.cc
21 Dec, 2025
5 commits
  • Refactor `FormNode::generateTextAppearance`: Simplifyby using range-based `for` loop
    7ac9a086
    m-holger authored
    2025-12-21 15:34:32 +0000  
    Browse File »
  • Refactor `FormNode`: remove unused `getFontFromResource` method and simplify fon… ...
    2a33db91
    …t resource handling in `generateTextAppearance`.
    m-holger authored
    2025-12-21 15:34:08 +0000  
    Browse File »
  • Fix appearance stream handling in `QPDFFormFieldObjectHelper::generateTextAppear… ...
    8aab6838
    …ance`: copy stream data if shared references exceed threshold, ensuring safe updates.
    m-holger authored
    2025-12-21 15:33:20 +0000  
    Browse File »
  • Refactor `FormNode::generateTextAppearance`: instead of attaching a stream filte… ...
    cf0e3422
    …r replace the appearance stream content with the generated appearance.
    m-holger authored
    2025-12-21 15:31:12 +0000  
    Browse File »
  • Refactor `FormNode::generateTextAppearance` to improve appearance stream handlin… ...
    361b387b
    …g: ensure checks for dictionary annotations, streamline appearance creation flow, and replace manual key access with methods.
    m-holger authored
    2025-12-21 15:25:22 +0000  
    Browse File »

09 Dec, 2025
2 commits
  • Introduce `FormNode::AP()` method and replace manual `/AP` processing with method calls
    00cf4ce5
    m-holger authored
    2025-12-09 11:15:36 +0000  
    Browse File »
  • Introduce `FormNode::Kids()` method and replace manual `/Kids` processing with method calls
    2fe9086a
    m-holger authored
    2025-12-09 11:15:36 +0000  
    Browse File »

06 Dec, 2025
1 commit
  • Fix typos and improve documentation clarity in comments
    21e3a06b
    m-holger authored
    2025-12-06 11:36:47 +0000  
    Browse File »

01 Dec, 2025
2 commits
  • Rename `FormField.hh` to `AcroForm.hh` and update include references across file… ...
    f26327a3
    …s for consistency with refactored AcroForm structure.
    m-holger authored
    2025-12-01 15:56:08 +0000  
    Browse File »
  • Rename `FormField` class to `FormNode` for to reflect that node can also be widgets ...
    ed7f3d5e
    - Update class name and references in `FormField.hh` and `QPDFFormFieldObjectHelper.cc`.
    - Enhance comments to align with PDF specification, providing clearer descriptions of class functionality and attributes.
    m-holger authored
    2025-12-01 15:23:56 +0000  
    Browse File »

12 Nov, 2025
8 commits
  • Refactor `FormField`: replace `getDefaultValue` and `getDefaultValueAsString` wi… ...
    263afd97
    …th `DV` and `default_value` methods. Simplify logic, improve clarity, and update references.
    m-holger authored
    2025-11-12 17:29:32 +0000  
    Browse File »
  • Refactor `FormField`: replace `getValue` and `getValueAsString` with `V` and `va… ...
    87ff43f4
    …lue` for clarity, consistency, and improved readability. Update references and method documentation accordingly.
    m-holger authored
    2025-11-12 16:16:24 +0000  
    Browse File »
  • Refactor `FormField`: replace `getDefaultAppearance` with `default_appearance`, … ...
    ce110b43
    …streamline logic, update references, and improve method documentation.
    m-holger authored
    2025-11-12 15:48:00 +0000  
    Browse File »
  • Refactor `FormField`: replace `getFullyQualifiedName`, `getPartialName`, `getAlt… ...
    44032bfd
    …ernativeName`, and `getMappingName` with streamlined implementations using `fully_qualified_name`, `partial_name`, `alternative_name`, and `mapping_name`. Simplify logic and enhance consistency across methods.
    m-holger authored
    2025-11-12 15:47:22 +0000  
    Browse File »
  • Refactor `FormField`: replace `getFieldType` and `getInheritableFieldValueAsName… ...
    94a0e76b
    …` with `FT` method, streamline logic, and update related references for clarity and consistency.
    m-holger authored
    2025-11-12 15:27:18 +0000  
    Browse File »
  • Refactor `FormField`: replace `getInheritableFieldValueAsString` with `inheritab… ...
    1367ea75
    …le_string` method for clarity, consistency, and improved readability.
    m-holger authored
    2025-11-12 14:11:42 +0000  
    Browse File »
  • Refactor: replace `getInheritableFieldValue` with templated `inheritable_value` … ...
    91ae1494
    …for flexibility and consistency across FormField methods. Adjust related method implementations accordingly.
    m-holger authored
    2025-11-12 14:11:18 +0000  
    Browse File »
  • Refactor: replace `getFieldFromAcroForm` with `from_AcroForm`, modernize impleme… ...
    6d5e8702
    …ntation, and update references in `FormField` methods.
    m-holger authored
    2025-11-12 13:55:33 +0000  
    Browse File »

11 Nov, 2025
3 commits
  • Fix: properly initialize `is_different` flag in `QPDFFormFieldObjectHelper::getTopLevelField`
    4b08688f
    m-holger authored
    2025-11-11 09:30:08 +0000  
    Browse File »
  • Refactor: rename `getTopLevelField` to `root_field`, update logic for clarity and consistency.
    369b8e80
    m-holger authored
    2025-11-11 09:30:08 +0000  
    Browse File »
  • Refactor: replace `getParent` with `Parent` method in FormField for clarity and … ...
    12e413a0
    …consistency, and update QPDFFormFieldObjectHelper accordingly.
    m-holger authored
    2025-11-11 09:30:08 +0000  
    Browse File »

10 Nov, 2025
1 commit
  • Refactor: replace `BaseDictionary::replaceKey` method with `BaseHandle::replace`… ...
    44bd9db1
    … for clarity and consistency across dictionary operations.
    m-holger authored
    2025-11-10 14:25:45 +0000  
    Browse File »

09 Nov, 2025
1 commit
  • Refactor FormField class: replace inheritance from QPDFObjectHelper with BaseDic… ...
    3f43b187
    …tionary, modernize constructors, and clean up null handling logic.
    m-holger authored
    2025-11-09 09:42:44 +0000  
    Browse File »

08 Nov, 2025
2 commits
  • Refactor QPDFFormFieldObjectHelper: extract logic into `impl::FormField`, clean … ...
    6ad83cfd
    …up method implementations, and simplify member handling.
    m-holger authored
    2025-11-08 22:09:32 +0000  
    Browse File »
  • Refactor QPDFFormFieldObjectHelper: simplify Members handling by using std::shar… ...
    d33e5a9c
    …ed_ptr and forward declaration.
    m-holger authored
    2025-11-08 22:09:32 +0000  
    Browse File »

04 Nov, 2025
1 commit
  • Refactor `QPDFObjectHandle`: replace `getObj` with `BaseHandle::obj_sp` for impr… ...
    906034d9
    …oved shared pointer handling, remove deprecated object methods, and update all references.
    m-holger authored
    2025-11-04 16:05:46 +0000  
    Browse File »

05 Oct, 2025
1 commit
  • Refactor document helper access through `QPDF::Doc` ...
    1111240a
    Replace direct access to document helpers (`acroform()`, `pages()`, `embedded_files()`, etc.) with calls through `QPDF::doc()` for better encapsulation. Adjust related methods, constructors, and memory management accordingly.
    m-holger authored
    2025-10-05 11:22:08 +0100  
    Browse File »

07 Sep, 2025
2 commits
  • Refactor `QPDFFormFieldObjectHelper`: replace `getKey` with operator[], utilize … ...
    a19264f0
    …`Dictionary` and `Name` for improved clarity and consistency, and streamline `/Resources` and `/Font` handling.
    m-holger authored
    2025-09-07 12:38:35 +0100  
    Browse File »
  • Refactor `QPDFFormFieldObjectHelper`: streamline name handling using `Name` clas… ...
    bdcc697a
    …s for improved clarity and consistency.
    m-holger authored
    2025-09-07 12:34:19 +0100  
    Browse File »

31 Aug, 2025
1 commit
  • Refactor: replace `isNull` calls with `null` and remove redundant `QTC::TC` call… ...
    e1560162
    …s in `QPDFFormFieldObjectHelper`.
    m-holger authored
    2025-08-31 13:47:15 +0100  
    Browse File »

30 Aug, 2025
3 commits
  • Refactor `QPDF`: centralize access to `QPDFAcroFormDocumentHelper` using a dedic… ...
    e64965e3
    …ated `acroform()` method and update related references for improved performance, consistency and maintainability.
    m-holger authored
    2025-08-30 10:57:21 +0100  
    Browse File »
  • Refactor `QPDFFormFieldObjectHelper`: streamline checkbox and radio button value… ...
    79a9701f
    … validation, improve readability, and reduce redundancy in type checks.
    m-holger authored
    2025-08-30 10:42:20 +0100  
    Browse File »
  • Refactor `QPDFFormFieldObjectHelper`: simplify return logic, use direct returns … ...
    3d29a053
    …for improved readability, and remove redundant variables.
    m-holger authored
    2025-08-30 10:30:40 +0100  
    Browse File »

09 Aug, 2025
2 commits
  • Refactor `QPDFFormFieldObjectHelper`, `QPDFPageObjectHelper`, and `QPDFOutlineOb… ...
    4257c7bd
    …jectHelper`: replace `getArrayNItems` with `size`, simplify array traversal, and centralize `empty` checks for improved clarity and efficiency.
    m-holger authored
    2025-08-09 17:25:58 +0100  
    Browse File »
  • Refactor `QPDFObjectHandle` warnings: replace `warnIfPossible` with centralized … ...
    06db6493
    …`warn`, streamline condition handling.
    m-holger authored
    2025-08-09 15:08:31 +0100  
    Browse File »

24 Jul, 2025
1 commit
  • Add check for shared appearance stream in QPDFFormFieldObjectHelper::generateTextAppearance ...
    78db34d2
    Ensure an appearance stream is not shared  before generating text appearances, improving error handling and data integrity.
    m-holger authored
    2025-07-24 15:04:39 +0100  
    Browse File »

01 Jul, 2025
1 commit
  • Refactor `TfFinder` class for improved readability and maintainability ...
    ebacc77d
    Streamlined method definitions, replaced explicit loop counters with range-based loops, and added `final` specifier to class and methods to ensure overriding restrictions. Simplified constructor and member variable initialization.
    m-holger authored
    2025-07-01 13:49:24 +0100  
    Browse File »

12 May, 2025
1 commit
  • Refactor: Eliminate unnecessary `this` qualifiers ...
    a60f8a99
    Simplified code by removing redundant `this` qualifiers where they are not essential, improving readability and alignment with coding standards. No changes were made to functionality.
    m-holger authored
    2025-05-12 19:47:31 +0100  
    Browse File »

27 Apr, 2025
1 commit
  • Fix QPDFFormFieldObjectHelper::getChoices (fixes #1433) ...
    c46cfae7
    Return the display value if the choices entry is an array of strings rather
    than a single string.
    
    Test file is need-appearances.pdf modified to contain one array entry.
    m-holger authored
    2025-04-27 10:54:06 +0100  
    Browse File »

19 Apr, 2025
1 commit
  • Implement QPDFFormFieldObjectHelper::isChecked ...
    3dab3002
    API was defined, but .cc had no implementation. PDF 2.0 manual is surprisingly unclear as to on/off values, giving /Yes in an example and /Off in descriptive text as "not on".
    James R. Barlow authored
    2025-04-19 01:12:26 -0700  
    Browse File »