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
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 »

12 Apr, 2025
1 commit
  • Refactor QPDFFormFieldObjectHelper ValueSetter::writeAppearance ...
    c012dc29
    Adjusting for under/overflow by repeated incrementing/decrementing can
    cause excessive runtime with invalid BBox coordinates.
    
    Fixes oss-fuzz issue 409905355.
    m-holger authored
    2025-04-12 00:07:15 +0100  
    Browse File »

11 Mar, 2025
1 commit
  • Minor code formatting fixes
    a9b5ebef
    m-holger authored
    2025-03-11 13:47:23 +0000  
    Browse File »

02 Mar, 2025
3 commits
  • Use QPDFObjectHandle::as_array to iterate over arrays in library
    1b7c8727
    m-holger authored
    2025-03-02 20:51:32 +0000  
    Browse File »
  • Use QPDFObjectHandle::as_dictionary instead of ditems in library
    8d9b9a1a
    m-holger authored
    2025-03-02 20:51:32 +0000  
    Browse File »
  • Derive QPDFObjectHelper from BaseHandle ...
    a148b870
    Replace data member oh with accessors.
    
    Remove redundant overloads from QPDFObjGen::set.
    m-holger authored
    2025-03-02 20:37:11 +0000  
    Browse File »

08 Feb, 2025
1 commit
  • Bump clang-format to version 20 and reformat ...
    38d8cc7f
    This improves indentation of long strings. This commit also fixes some
    trailing whitespace in ChangeLog.
    Jay Berkenbilt authored
    2025-02-08 11:17:57 -0500  
    Browse File »

17 Sep, 2024
1 commit
  • Deprecate QPDFObjectHandle::isInitialized and remove from library
    0afaaea2
    m-holger authored
    2024-09-17 09:59:00 +0100  
    Browse File »

11 Feb, 2024
1 commit
  • Fix previous fix to setting checkbox value (fixes #1056) ...
    b1dad0de
    The code accepted values other than /Yes but still used /Yes as the
    checked value instead of obeying the normal appearance dictionary.
    Jay Berkenbilt authored
    2024-02-11 15:49:44 -0500  
    Browse File »

22 Dec, 2023
1 commit
  • Allow other than /Yes and /Off in a check box (fixes #1056)
    86ea2012
    Jay Berkenbilt authored
    2023-12-22 14:42:16 -0500  
    Browse File »

09 Jun, 2023
1 commit
  • Code tidy - Clang-Tidy rule modernize-use-equals-default
    ae3642ce
    m-holger authored
    2023-06-09 15:45:14 +0100  
    Browse File »