Browse our Products
Aspose.PDF for C++ 24.6 Release Notes
Changes and Improvements
The new version of Aspose.PDF for C++ has a codebase of Aspose.PDF for .Net 24.6.
Fixed saving PDF documents into multipage TIFF files:
- performance improved by 2X times
- ability to create more than 2Gb TIFF files.
Public API and Backward Incompatible Changes
Added APIs
class Aspose::Pdf::Comparison::ComparisonOptions
- const System::SharedPtr<Rectangle>& get_ExtractionArea() const;
- void set_ExtractionArea(System::SharedPtr<Rectangle> value);
- Aspose::Pdf::Comparison::EditOperationsOrder get_EditOperationsOrder() const;
- void set_EditOperationsOrder(Aspose::Pdf::Comparison::EditOperationsOrder value);
class Aspose::Pdf::Comparison::Diff::DiffOperation
- Aspose::Pdf::Comparison::Diff::Operation get_Operation() const;
- System::String get_Text() const;
- bool Equals(System::SharedPtr<System::Object> other) override;
- bool Equals(System::SharedPtr<DiffOperation> op) override;
- int32_t GetHashCode() const override;
- System::String ToString() const override;
enum class Operation
- Equal
- Delete
- Insert
class Aspose::Pdf::Comparison::TextItemComparisonStatistics
- int32_t get_TotalCharacters() const;
- int32_t get_DeletedCharactersCount() const;
- int32_t get_InsertedCharactersCount() const;
- int32_t get_DeleteOperationsCount() const;
- int32_t get_InsertOperationsCount() const;
- TextItemComparisonStatistics();
class Aspose::Pdf::Comparison::DocumentComparisonStatistics : public TextItemComparisonStatistics
- const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<TextItemComparisonStatistics>>>& get_PagesStatistics() const;
enum class Aspose::Pdf::Comparison::EditOperationsOrder
- InsertFirst
- DeleteFirst
class Aspose::Pdf::Comparison::OutputGenerator::IFileOutputGenerator
- virtual void GenerateOutput(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Pdf::Comparison::Diff::DiffOperation>>> diffrences, System::String targetFilePath) = 0;
- virtual void GenerateOutput(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Pdf::Comparison::Diff::DiffOperation>>>>> diffrences, System::String targetFilePath) = 0;
class Aspose::Pdf::Comparison::OutputGenerator::IStringOutputGenerator
- virtual System::String GenerateOutput(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Pdf::Comparison::Diff::DiffOperation>>> diffrences) = 0;
- virtual System::String GenerateOutput(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Pdf::Comparison::Diff::DiffOperation>>>>> diffrences) = 0;
class Aspose::Pdf::Comparison::OutputGenerator::MarkdownDiffOutputGenerator : public IStringOutputGenerator, public IFileOutputGenerator
- MarkdownDiffOutputGenerator();
- System::String GenerateOutput(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Pdf::Comparison::Diff::DiffOperation>>> diffrences) override;
- void GenerateOutput(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Pdf::Comparison::Diff::DiffOperation>>> diffrences, System::String targetFilePath) override;
- System::String GenerateOutput(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Pdf::Comparison::Diff::DiffOperation>>>>> diffrences) override;
- void GenerateOutput(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Pdf::Comparison::Diff::DiffOperation>>>>> diffrences, System::String targetFilePath) override;
class Aspose::Pdf::Comparison::OutputGenerator::PdfOutputGenerator : public IFileOutputGenerator
- void GenerateOutput(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Pdf::Comparison::Diff::DiffOperation>>> diffrences, System::String targetFilePath) override;
- void GenerateOutput(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Aspose::Pdf::Comparison::Diff::DiffOperation>>>>> diffrences, System::String targetFilePath) override;
- PdfOutputGenerator();
class Aspose::Pdf::Comparison::TextPdfComparer
- static System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Diff::DiffOperation>>>>> CompareDocumentsPageByPage(System::SharedPtr<Document> document1, System::SharedPtr<Document> document2, System::SharedPtr<ComparisonOptions> options);
- static System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Diff::DiffOperation>>>>> CompareDocumentsPageByPage(System::SharedPtr<Document> document1, System::SharedPtr<Document> document2, System::SharedPtr<ComparisonOptions> options, System::String resultPdfDocumentPath);
- static System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Diff::DiffOperation>>> CompareFlatDocuments(System::SharedPtr<Document> document1, System::SharedPtr<Document> document2, System::SharedPtr<ComparisonOptions> options);
- static System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Diff::DiffOperation>>> CompareFlatDocuments(System::SharedPtr<Document> document1, System::SharedPtr<Document> document2, System::SharedPtr<ComparisonOptions> options, System::String resultPdfDocumentPath);
- static System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Diff::DiffOperation>>> ComparePages(System::SharedPtr<Page> page1, System::SharedPtr<Page> page2, System::SharedPtr<ComparisonOptions> options);
- static System::SharedPtr<TextItemComparisonStatistics> CreateComparisonStatistics(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Diff::DiffOperation>>> diffs);
- static System::SharedPtr<DocumentComparisonStatistics> CreateComparisonStatistics(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Diff::DiffOperation>>>>> diffs);
- static System::String AssemblySourcePageText(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Diff::DiffOperation>>> diffs);
- static System::String AssemblyDestinationPageText(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Diff::DiffOperation>>> diffs);
class Aspose::Pdf::Document::RepairOptions
- bool get_RestoreIndirectObjectGenerations() const;
- void set_RestoreIndirectObjectGenerations(bool value);
- RepairOptions();
void Aspose::Pdf::Document::Repair(Aspose::Pdf::Document::RepairOptions)
class Aspose::Pdf::Facades::BDCProperties
- System::Nullable<int32_t> get_MCID();
- void set_MCID(System::Nullable<int32_t> value);
- System::String get_Lang();
- void set_Lang(System::String value);
- System::String get_E();
- void set_E(System::String value);
- BDCProperties(System::Nullable<int32_t> mcid, System::String lang = nullptr, System::String expansionText = nullptr);
void Aspose::Pdf::SaveOptions::set_CacheGlyphs(bool)
bool Aspose::Pdf::SaveOptions::get_CacheGlyphs()
Removed APIs
- int CollectionItem::Value::CompareTo(CollectionItem::Value)
- void Document::Repair()
Complete details of API can be referenced from Aspose.PDF for C++ API Reference Guide.