Browse our Products

Aspose.PDF for C++ 25.4 Release Notes

Changes and Improvements

The new version of Aspose.PDF for C++ has a codebase of Aspose.PDF for .Net 25.4.

Fixed NullReferenceException when converting to markdown format.

Public API and Backward Incompatible Changes

Added APIs

  • class Aspose::Pdf::AutoTaggingSettings final : public System::Object

    • static System::SharedPtr<AutoTaggingSettings> get_Default();
    • bool get_EnableAutoTagging() const;
    • void set_EnableAutoTagging(bool value);
    • Aspose::Pdf::HeadingRecognitionStrategy get_HeadingRecognitionStrategy() const;
    • void set_HeadingRecognitionStrategy(Aspose::Pdf::HeadingRecognitionStrategy value);
    • const System::SharedPtr<Aspose::Pdf::HeadingLevels>& get_HeadingLevels() const;
    • void set_HeadingLevels(System::SharedPtr<Aspose::Pdf::HeadingLevels> value);
    • AutoTaggingSettings();
  • class Aspose::Pdf::Details_ConvertException final : public Aspose::Pdf::Details_PdfException

    • using ConvertException = System::ExceptionWrapper<Details_ConvertException>;
  • class Aspose::Pdf::HeadingLevels : public System::Object

    • System::SharedPtr<System::Collections::Generic::IList<double>> get_AllLevels();
    • HeadingLevels();
    • HeadingLevels(double threshold);
    • void AddLevels(System::SharedPtr<System::Collections::Generic::ICollection<double>> fontSizes);
  • class Aspose::Pdf::Security::EncryptionParameters : public System::Object

    • System::String get_Filter() const;
    • System::String get_SubFilter() const;
    • System::String get_Password() const;
    • Aspose::Pdf::Permissions get_Permissions() const;
    • int32_t get_PermissionsInt() const;
    • int32_t get_Version() const;
    • int32_t get_KeyLength() const;
    • const System::ArrayPtr<uint8_t>& get_UserKey() const;
    • const System::ArrayPtr<uint8_t>& get_OwnerKey() const;
    • int32_t get_Revision() const;
    • const System::ArrayPtr<uint8_t>& get_Perms() const;
    • EncryptionParameters();
  • class Aspose::Pdf::Security::ICustomSecurityHandler : public virtual System::Object

    • virtual System::String get_Filter() = 0;
    • virtual System::String get_SubFilter() = 0;
    • virtual int32_t get_Version() = 0;
    • virtual int32_t get_Revision() = 0;
    • virtual int32_t get_KeyLength() = 0;
    • virtual System::ArrayPtr<uint8_t> EncryptPermissions(int32_t permissions) = 0;
    • virtual System::ArrayPtr<uint8_t> GetOwnerKey(System::String userPassword, System::String ownerPassword) = 0;
    • virtual System::ArrayPtr<uint8_t> GetUserKey(System::String userPassword) = 0;
    • virtual void Initialize(System::SharedPtr<EncryptionParameters> parameters) = 0;
    • virtual System::ArrayPtr<uint8_t> CalculateEncryptionKey(System::String password) = 0;
    • virtual System::ArrayPtr<uint8_t> Encrypt(System::ArrayPtr<uint8_t> data, int32_t objectNumber, int32_t generation, System::ArrayPtr<uint8_t> key) = 0;
    • virtual System::ArrayPtr<uint8_t> Decrypt(System::ArrayPtr<uint8_t> data, int32_t objectNumber, int32_t generation, System::ArrayPtr<uint8_t> key) = 0;
    • virtual bool IsOwnerPassword(System::String password) = 0;
    • virtual bool IsUserPassword(System::String password) = 0;
  • class Aspose::Pdf::Text::TextState added functions

    • bool get_IsBackgroundColorSet();
    • void set_IsBackgroundColorSet(bool value);
    • bool get_IsUnderlineSet();
    • void set_IsUnderlineSet(bool value);
    • bool get_IsStrikeOutSet();
    • void set_IsStrikeOutSet(bool value);
    • bool get_IsCharacterSpacingSet();
    • bool get_IsLineSpacingSet();
    • void set_IsLineSpacingSet(bool value);
    • bool get_IsFontSet();
    • void set_IsFontSet(bool value);
    • bool get_IsForegroundColorSet();
    • void set_IsForegroundColorSet(bool value);
    • bool get_IsStrokingColorSet();
    • void set_IsStrokingColorSet(bool value);
    • bool get_IsHorizontalScalingSet();
    • void set_IsHorizontalScalingSet(bool value);
    • bool get_IsTextMatrixSet();
    • void set_IsTextMatrixSet(bool value);
    • bool get_IsWordSpacingSet();
    • void set_IsWordSpacingSet(bool value);
    • bool get_IsFontStyleSet();
    • void set_IsFontStyleSet(bool value);
    • bool get_IsFontSizeSet();
    • void set_IsFontSizeSet(bool value);
    • bool get_IsHorizontalAlignmentSet();
    • void set_IsHorizontalAlignmentSet(bool value);
    • bool get_IsVerticalAlignmentSet();
    • void set_IsVerticalAlignmentSet(bool value);
    • bool get_IsSubSuperscriptSet();
    • void set_IsSubSuperscriptSet(bool value);
    • bool get_IsRenderingModeSet();
    • void set_IsRenderingModeSet(bool value);
    • bool get_IsInvisibilitySet() const;
    • void set_IsInvisibilitySet(bool value);
  • void Aspose::Pdf::License::ClearLicense()

  • Aspose::Pdf::HeadingStyle Aspose::Pdf::MarkdownSaveOptions::get_HeadingStyle() const;

  • void Aspose::Pdf::MarkdownSaveOptions::set_HeadingStyle(Aspose::Pdf::HeadingStyle value);

  • const System::SharedPtr<Aspose::Pdf::AutoTaggingSettings>& Aspose::Pdf::PdfFormatConversionOptions::get_AutoTaggingSettings() const;

  • void Aspose::Pdf::PdfFormatConversionOptions::set_AutoTaggingSettings(System::SharedPtr<Aspose::Pdf::AutoTaggingSettings> value);

  • void Aspose::Pdf::Tagged::ITaggedContent::PreSave()

  • Aspose::Pdf::Tagged::ITaggedContent::Save()

Removed APIs

  • class Aspose::Pdf::PdfToMarkdown::HeadingLevels : public System::Object

Complete details of API can be referenced from Aspose.PDF for C++ API Reference Guide.