Skip to content

Commit

Permalink
Update TODO.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ceztko committed Mar 20, 2024
1 parent 3e8f47b commit 4b6d1a1
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions TODO.md
@@ -1,47 +1,48 @@
### 1.0
- PdfMemDocument: Check the DeviceStream is not empty before doing an incremental update/signing operation
- PdfMemDocument: Prevent Save() operation after signing operation
- PdfMemDocument: Release the device after all objects have been loaded (eg. after a full Save())
- PdfParserObject: Release the device after loading
- Evaluate rename references to "sequential" signing to "async"
#### API Review
- Consider converting protected PdfFontMetrics::GetFaceHandle() to return just FT_Face,
and reference the face with FT_Reference_Face
- Remove PdfEncryptMD5Base::GetMD5Binary and PdfEncryptMD5Base::GetMD5String and use common functions
- PdfField: Evaluate make a virtual getValueObject()
- Evaluate removing PdfObject::Null and PdfVariant::Null and introduce nullptr_t constructor overloads
- PdfMemDocument: Consider removing SetEncrypt(encrypt)
- PdfEncrypt: Consider removing CreateFromEncrypt (shared_ptr in PdfMemDocument could be used now)
- PdfContents: Remove PdfContents::Reset(obj) (keep parameterless)
- Review/refactor PdfColor: it should use new PdfColorSpace and not define a color space
- Review all page import functions to check correct working/improve the code
- Review PdfPageCollection::AppendDocumentPages(),
PdfPageCollection::InsertDocumentPageAt(), PdfPage::MoveAt()
- PdfCanvas: Add CopyTo facilities, see PdfContents
- Review PdfNameTree
- PdfCanvas: Add CopyTo facilities, see PdfContents
- PdfPageCollection: Add iteration on PdfPage. See PdfAnnotationCollection
- PdfPageCollection::CreatePage() with PdfPageSize or default inferred from doc
- PdfPage: Add GetFields() iteration
- Check accessibility of PdfEncrypt.h classes, check AESV3 naming
- Rename NameToColorSpaceRaw/ColorSpaceToNameRaw to something more consistent?
- More enum <-> strings functions and make them public
- Make PdfObjectStream not flate filter by default in PdfMemDocument?
- PdfElement: Optimize, keep dictionary/array pointer. Add GetObjectPtr()
- PdfPageCollection: Add iteration on PdfPage. See PdfAnnotationCollection
- PdfPageCollection::CreatePage() with PdfPageSize or default inferred from doc
- PdfPage: Add GetFields() iteration
- PdfDocument: Add GetAnnotationFields()/GetAllFields() iteration
- Fix PdfFontMetrics handling of symbol encoding
- PdfResources: Improve API
- Review PdfPage::SetICCProfile()
- PdfWriter: Check if SetEncrypt() should accept mutable reference instead
- Added PdfResources::GetResource with enum type
- PdfContents: Remove PdfContents::Reset(obj) (keep parameterless)
- PdfErrorCode: Check all values
- PdfEncrypt: Consider removing CreateFromEncrypt (shared_ptr in PdfMemDocument could be used now)
#### Features
- Check PdfWriter should really update doc trailer when saving.
Now the new trailer is written but the doc still has the old one
- PdfMemDocument: Check the DeviceStream is not empty before doing an incremental update/signing operation
- PdfMemDocument: Prevent Save() operation after signing operation
- PdfMemDocument: Release the device after all objects have been loaded (eg. after a full Save())
- PdfParserObject: Release the device after loading
- Review all page import functions to check correct working/improve the code
- Review PdfPageCollection::AppendDocumentPages(),
PdfPageCollection::InsertDocumentPageAt(), PdfPage::MoveAt()
- PdfElement: Optimize, keep dictionary/array pointer. Add GetObjectPtr()
- PdfImage: cache PdfColorSpace
values in the dictionary after signing with SignDocument (???)
- Evaluate move more utf8::next to utf8::unchecked::next
- Add PdfString(string&&) and PdfName(string&&) constructors that
either assume UTF-8 and/or checks for used codepoints
- Added PdfResources::GetResource with enum type
- Add a PdfRect-like class PdfCorners that avoid coordinates normalization
by default
- PdfToggleButton: Add proper IsChecked/ExportValue handling
- Review PdfPage::SetICCProfile()
- PdfWriter: Check if SetEncrypt() should accept mutable reference instead
- PdfResources: Improve API
- Add version of PdfFont::TryGetSubstituteFont for rendering
(metrics/widths of loaded font override metrics found on /FontFile)
- Add a fallback to search font on the system for text extraction purposes,
Expand Down

0 comments on commit 4b6d1a1

Please sign in to comment.