Some documens have large size after converison into PDF/A format. To reduce file size for these documents it's necessary to define a strategy of fonts removing. This enumeration declares a strategies which can be used to optimize fonts usage. Every strategy from this enumeration has sense only when flag OptimizeFileSize is set. More...

Inherits System::Object.

Public Types

enum  SegmentAlignStrategy : uint8_t { SegmentAlignStrategy::None = 0, SegmentAlignStrategy::RestoreSegmentBounds = 1 }
 
enum  PuaProcessingStrategy { PuaProcessingStrategy::None = 0, PuaProcessingStrategy::SurroundPuaTextWithEmptyActualText, PuaProcessingStrategy::SubstitutePuaSymbols }
 
enum  RemoveFontsStrategy : uint8_t { RemoveFontsStrategy::RemoveDuplicatedFonts = 4, RemoveFontsStrategy::RemoveSimilarFontsWithDifferentWidths = 1, RemoveFontsStrategy::SubsetFonts = 2 }
 
- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. More...
 

Public Member Functions

bool get_IsLowMemoryMode ()
 Is low memory conversion mode enabled More...
 
void set_IsLowMemoryMode (bool value)
 Is low memory conversion mode enabled More...
 
PdfFormat get_Format ()
 PDF format. More...
 
void set_Format (PdfFormat value)
 PDF format. More...
 
System::String get_LogFileName ()
 Path to file where comments will be stored. More...
 
void set_LogFileName (System::String value)
 Path to file where comments will be stored. More...
 
System::SharedPtr< System::IO::Streamget_LogStream ()
 Stream where comments will be stored. More...
 
void set_LogStream (System::SharedPtr< System::IO::Stream > value)
 Stream where comments will be stored. More...
 
ConvertErrorAction get_ErrorAction ()
 Action for objects that can not be converted More...
 
void set_ErrorAction (ConvertErrorAction value)
 Action for objects that can not be converted More...
 
ConvertTransparencyAction get_TransparencyAction ()
 Action for image masked objects More...
 
void set_TransparencyAction (ConvertTransparencyAction value)
 Action for image masked objects More...
 
System::SharedPtr< PdfANonSpecificationFlagsget_NonSpecificationCases ()
 Holds flags to control PDF/A conversion process for cases when source document doesn't correspond to PDF/A specification. More...
 
System::SharedPtr< PdfASymbolicFontEncodingStrategyget_SymbolicFontEncodingStrategy ()
 Strategy to copy encoding data for symbolic fonts if symbolic TrueType font has more than one encoding subtable. More...
 
void set_SymbolicFontEncodingStrategy (System::SharedPtr< PdfASymbolicFontEncodingStrategy > value)
 Strategy to copy encoding data for symbolic fonts if symbolic TrueType font has more than one encoding subtable. More...
 
bool get_AlignText ()
 This flag controls text alignment in converted document. By default document conversion doesn't affect text alignment and leave text as is. But in some cases font substitution causes text overlapping or extra spaces in converted document. When this flag is set special alignment operations will be performed. This flag should be set only for documents which have problems with overlapped text or extra text spaces cause using of this flag decrease performance and in some cases could corrupt text content. More...
 
void set_AlignText (bool value)
 This flag controls text alignment in converted document. By default document conversion doesn't affect text alignment and leave text as is. But in some cases font substitution causes text overlapping or extra spaces in converted document. When this flag is set special alignment operations will be performed. This flag should be set only for documents which have problems with overlapped text or extra text spaces cause using of this flag decrease performance and in some cases could corrupt text content. More...
 
PdfFormatConversionOptions::PuaProcessingStrategy get_PuaTextProcessingStrategy ()
 Strategy to process symbols from unicode Private Use Area (PUA). More...
 
void set_PuaTextProcessingStrategy (PdfFormatConversionOptions::PuaProcessingStrategy value)
 Strategy to process symbols from unicode Private Use Area (PUA). More...
 
bool get_OptimizeFileSize ()
 Gets a flag which enables/disables special conversion mode to get PDF/A document with reduced file size. Now this flag impacts on optimization of fonts used in PDF document, possibly, in future, this flag also will be used to switch on optimization for another data structures, such as graphic. Set of this flag and mode could significantly reduce file size but at the same time it could significantly decrease performance of conversion. More...
 
void set_OptimizeFileSize (bool value)
 Sets a flag which enables/disables special conversion mode to get PDF/A document with reduced file size. Now this flag impacts on optimization of fonts used in PDF document, possibly, in future, this flag also will be used to switch on optimization for another data structures, such as graphic. Set of this flag and mode could significantly reduce file size but at the same time it could significantly decrease performance of conversion. More...
 
PdfFormatConversionOptions::RemoveFontsStrategy get_ExcludeFontsStrategy ()
 Strategy(ies) to exclude superfluous fonts and reduce document file size. This parameter has sense only when flag OptimizeFileSize is set to true. By default combination of strategies SubsetFonts and RemoveDuplicatedFonts is used. More...
 
void set_ExcludeFontsStrategy (PdfFormatConversionOptions::RemoveFontsStrategy value)
 Strategy(ies) to exclude superfluous fonts and reduce document file size. This parameter has sense only when flag OptimizeFileSize is set to true. By default combination of strategies SubsetFonts and RemoveDuplicatedFonts is used. More...
 
System::SharedPtr< Aspose::Pdf::PdfAOptionClasses::FontEmbeddingOptionsget_FontEmbeddingOptions ()
 Options for cases when it's not possible to embed some fonts into PDF document. More...
 
System::SharedPtr< PdfAOptionClasses::ToUnicodeProcessingRulesget_UnicodeProcessingRules ()
 Rules to solve problems with unicode mapping. Can be null. More...
 
void set_UnicodeProcessingRules (System::SharedPtr< PdfAOptionClasses::ToUnicodeProcessingRules > value)
 Rules to solve problems with unicode mapping. Can be null. More...
 
System::String get_IccProfileFileName ()
 Gets the filename of icc profile name. In case of null the default icc profile used. More...
 
void set_IccProfileFileName (System::String value)
 Sets the filename of icc profile name. In case of null the default icc profile used. More...
 
System::ArrayPtr< System::Stringget_NotAccessibleFonts ()
 This property is out-property. It holds all the fonts(font names) which were not found on computer at last PDF/A conversion. More...
 
 PdfFormatConversionOptions (System::String outputLogFileName, PdfFormat format, ConvertErrorAction action)
 Constructor More...
 
 PdfFormatConversionOptions (System::String outputLogFileName, PdfFormat format)
 Constructor More...
 
 PdfFormatConversionOptions (PdfFormat format)
 Constructor More...
 
 PdfFormatConversionOptions (PdfFormat format, ConvertErrorAction action)
 Constructor More...
 
 PdfFormatConversionOptions (System::String outputLogFileName, PdfFormat format, ConvertErrorAction action, ConvertTransparencyAction transparencyAction)
 Constructor More...
 
 PdfFormatConversionOptions (System::SharedPtr< System::IO::Stream > outputLogStream, PdfFormat format, ConvertErrorAction action)
 Constructor More...
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared refernce counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () ASPOSE_CONST
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Static Public Member Functions

static System::SharedPtr< PdfFormatConversionOptionsget_Default ()
 Gets PdfFormatConversionOptions object with default parameters More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Public Attributes

PdfFormatConversionOptions::SegmentAlignStrategy AlignStrategy
 

Protected Member Functions

System::SharedPtr< System::Xml::XmlTextWriterget_Xml ()
 
System::SharedPtr< Aspose::Pdf::Documentget_Document ()
 
bool get_OnlyValidation ()
 
System::String get_DefaultLogFileName ()
 
bool get_RemoveDuplicatedFonts ()
 
bool get_RemoveSimilarFontsWithDifferentWidths ()
 
bool get_SubsetFonts ()
 
void SetAdditionalParameters (System::SharedPtr< System::Xml::XmlTextWriter > xml, System::SharedPtr< Aspose::Pdf::Document > doc, bool onlyValidation)
 
System::SharedPtr< System::Xml::XmlTextWriterCreateTextWriter ()
 
void AddNotAccessibleFont (System::String fontName)
 

Protected Attributes

bool PuaProcessingTextStrategyExplicitlyDefined
 

Detailed Description

Some documens have large size after converison into PDF/A format. To reduce file size for these documents it's necessary to define a strategy of fonts removing. This enumeration declares a strategies which can be used to optimize fonts usage. Every strategy from this enumeration has sense only when flag OptimizeFileSize is set.

Member Enumeration Documentation

◆ PuaProcessingStrategy

Enumerator
None 

Disable PUA symbol processing. This strategy used by default for PDF/A documents with Level B conformance.

SurroundPuaTextWithEmptyActualText 

Inserts marked content block with ActualText entry which contains empty text. This strategy gives good results for documents without marked content blocks. Used by default for PDF/A documents with Level A conformance.

SubstitutePuaSymbols 

This strategy works slower than 'SurroundPuaTextWithEmptyActualText' but it can remove PUA compliant errors for documents which can't be handled properly by SurroundPuaTextWithEmptyActualText. PUA symbols are substituted on symbol 'space' or special unicode (some PUA symbols have unicode analogs). Substitution applied not to document's text but to font's internal data ToUnicode so it doesn't affects symbol's vision but it affects symbol's presentation in copy/paste operation system buffer.

◆ RemoveFontsStrategy

Enumerator
RemoveDuplicatedFonts 

This strategy removes all the fonts which have duplicates in document. If document contains group of duplicated fonts only one font from this group is embedded in document. All other fonts from this group are removed from document, every removed font substituted with the already embedded analog.

RemoveSimilarFontsWithDifferentWidths 

This strategy looks like RemoveDuplicatedFonts but it removes not fully duplicated fonts but fonts which are similar one to another and differs only by parameter "Widths". This parameter contains set of some widths for specified symbols of font. Every value of width from this "Widths" set is not the real width of symbol(glyph), real width for this symbol already defined in font's binary data. Value of width from "Widths" set means visual width for this symbol - the width which PDF viewer software must set on displaying symbol instead of real width defined in the font. More accurately specification tells: Acrobat 5.0 and later viewers use the glyph widths stored in the font dictionary to override the widths of glyphs in the font program itself, which improves the consistency of the display and printing of the document. This strategy is more effective than RemoveDuplicatedFonts but using of this strategy in some cases theoretically could damage visual presentation of converted document. This defect is possible due to that declared widths of fonts could be different for the same symbol and in this case width of this symbol will be changed to new one after font substitution - when removed font will be replaced in document with already embedded one. And if symbol's visual width will be changed - it will be shown incorrectly and this distinction could cause visual defects such as text overlapping or another problems. But visual defect described is a very rare case and this strategy reduces size of document more effectively.

SubsetFonts 

This is most effective strategy to reduce document's size. It takes fully embedded font sets and trim them down to only the subsets used. It's recommended to use this strategy in combination with RemoveDuplicatedFonts or RemoveSimilarFontsWithDifferentWidths to get multiple compression effect for file size. Using of all three strategies simultaneously has no sense and strategy RemoveSimilarFontsWithDifferentWidths will not be used in this case.

◆ SegmentAlignStrategy

Enumerator
None 
RestoreSegmentBounds 

Constructor & Destructor Documentation

◆ PdfFormatConversionOptions() [1/6]

Aspose::Pdf::PdfFormatConversionOptions::PdfFormatConversionOptions ( System::String  outputLogFileName,
PdfFormat  format,
ConvertErrorAction  action 
)

Constructor

Parameters
outputLogFileNamePath to file where comments will be stored.
formatThe pdf format.
actionAction for objects that can not be converted

◆ PdfFormatConversionOptions() [2/6]

Aspose::Pdf::PdfFormatConversionOptions::PdfFormatConversionOptions ( System::String  outputLogFileName,
PdfFormat  format 
)

Constructor

Parameters
outputLogFileNamePath to file where comments will be stored.
formatThe pdf format.

◆ PdfFormatConversionOptions() [3/6]

Aspose::Pdf::PdfFormatConversionOptions::PdfFormatConversionOptions ( PdfFormat  format)

Constructor

Parameters
formatThe pdf format.

◆ PdfFormatConversionOptions() [4/6]

Aspose::Pdf::PdfFormatConversionOptions::PdfFormatConversionOptions ( PdfFormat  format,
ConvertErrorAction  action 
)

Constructor

Parameters
formatThe pdf format.
actionAction for objects that can not be converted

◆ PdfFormatConversionOptions() [5/6]

Aspose::Pdf::PdfFormatConversionOptions::PdfFormatConversionOptions ( System::String  outputLogFileName,
PdfFormat  format,
ConvertErrorAction  action,
ConvertTransparencyAction  transparencyAction 
)

Constructor

Parameters
outputLogFileNamePath to file where comments will be stored.
formatThe pdf format.
actionAction for objects that can not be converted
transparencyActionAction for image masked objects

◆ PdfFormatConversionOptions() [6/6]

Aspose::Pdf::PdfFormatConversionOptions::PdfFormatConversionOptions ( System::SharedPtr< System::IO::Stream outputLogStream,
PdfFormat  format,
ConvertErrorAction  action 
)

Constructor

Parameters
outputLogStreamStream where comments will be stored
formatThe pdf format
actionAction for objects that can not be converted

Member Function Documentation

◆ AddNotAccessibleFont()

void Aspose::Pdf::PdfFormatConversionOptions::AddNotAccessibleFont ( System::String  fontName)
protected

◆ CreateTextWriter()

System::SharedPtr<System::Xml::XmlTextWriter> Aspose::Pdf::PdfFormatConversionOptions::CreateTextWriter ( )
protected

◆ get_AlignText()

bool Aspose::Pdf::PdfFormatConversionOptions::get_AlignText ( )

This flag controls text alignment in converted document. By default document conversion doesn't affect text alignment and leave text as is. But in some cases font substitution causes text overlapping or extra spaces in converted document. When this flag is set special alignment operations will be performed. This flag should be set only for documents which have problems with overlapped text or extra text spaces cause using of this flag decrease performance and in some cases could corrupt text content.

◆ get_Default()

static System::SharedPtr<PdfFormatConversionOptions> Aspose::Pdf::PdfFormatConversionOptions::get_Default ( )
static

Gets PdfFormatConversionOptions object with default parameters

◆ get_DefaultLogFileName()

System::String Aspose::Pdf::PdfFormatConversionOptions::get_DefaultLogFileName ( )
protected

◆ get_Document()

System::SharedPtr<Aspose::Pdf::Document> Aspose::Pdf::PdfFormatConversionOptions::get_Document ( )
protected

◆ get_ErrorAction()

ConvertErrorAction Aspose::Pdf::PdfFormatConversionOptions::get_ErrorAction ( )

Action for objects that can not be converted

◆ get_ExcludeFontsStrategy()

PdfFormatConversionOptions::RemoveFontsStrategy Aspose::Pdf::PdfFormatConversionOptions::get_ExcludeFontsStrategy ( )

Strategy(ies) to exclude superfluous fonts and reduce document file size. This parameter has sense only when flag OptimizeFileSize is set to true. By default combination of strategies SubsetFonts and RemoveDuplicatedFonts is used.

◆ get_FontEmbeddingOptions()

System::SharedPtr<Aspose::Pdf::PdfAOptionClasses::FontEmbeddingOptions> Aspose::Pdf::PdfFormatConversionOptions::get_FontEmbeddingOptions ( )

Options for cases when it's not possible to embed some fonts into PDF document.

◆ get_Format()

PdfFormat Aspose::Pdf::PdfFormatConversionOptions::get_Format ( )

PDF format.

◆ get_IccProfileFileName()

System::String Aspose::Pdf::PdfFormatConversionOptions::get_IccProfileFileName ( )

Gets the filename of icc profile name. In case of null the default icc profile used.

◆ get_IsLowMemoryMode()

bool Aspose::Pdf::PdfFormatConversionOptions::get_IsLowMemoryMode ( )

Is low memory conversion mode enabled

◆ get_LogFileName()

System::String Aspose::Pdf::PdfFormatConversionOptions::get_LogFileName ( )

Path to file where comments will be stored.

◆ get_LogStream()

System::SharedPtr<System::IO::Stream> Aspose::Pdf::PdfFormatConversionOptions::get_LogStream ( )

Stream where comments will be stored.

◆ get_NonSpecificationCases()

System::SharedPtr<PdfANonSpecificationFlags> Aspose::Pdf::PdfFormatConversionOptions::get_NonSpecificationCases ( )

Holds flags to control PDF/A conversion process for cases when source document doesn't correspond to PDF/A specification.

◆ get_NotAccessibleFonts()

System::ArrayPtr<System::String> Aspose::Pdf::PdfFormatConversionOptions::get_NotAccessibleFonts ( )

This property is out-property. It holds all the fonts(font names) which were not found on computer at last PDF/A conversion.

◆ get_OnlyValidation()

bool Aspose::Pdf::PdfFormatConversionOptions::get_OnlyValidation ( )
protected

◆ get_OptimizeFileSize()

bool Aspose::Pdf::PdfFormatConversionOptions::get_OptimizeFileSize ( )

Gets a flag which enables/disables special conversion mode to get PDF/A document with reduced file size. Now this flag impacts on optimization of fonts used in PDF document, possibly, in future, this flag also will be used to switch on optimization for another data structures, such as graphic. Set of this flag and mode could significantly reduce file size but at the same time it could significantly decrease performance of conversion.

◆ get_PuaTextProcessingStrategy()

PdfFormatConversionOptions::PuaProcessingStrategy Aspose::Pdf::PdfFormatConversionOptions::get_PuaTextProcessingStrategy ( )

Strategy to process symbols from unicode Private Use Area (PUA).

◆ get_RemoveDuplicatedFonts()

bool Aspose::Pdf::PdfFormatConversionOptions::get_RemoveDuplicatedFonts ( )
protected

◆ get_RemoveSimilarFontsWithDifferentWidths()

bool Aspose::Pdf::PdfFormatConversionOptions::get_RemoveSimilarFontsWithDifferentWidths ( )
protected

◆ get_SubsetFonts()

bool Aspose::Pdf::PdfFormatConversionOptions::get_SubsetFonts ( )
protected

◆ get_SymbolicFontEncodingStrategy()

System::SharedPtr<PdfASymbolicFontEncodingStrategy> Aspose::Pdf::PdfFormatConversionOptions::get_SymbolicFontEncodingStrategy ( )

Strategy to copy encoding data for symbolic fonts if symbolic TrueType font has more than one encoding subtable.

◆ get_TransparencyAction()

ConvertTransparencyAction Aspose::Pdf::PdfFormatConversionOptions::get_TransparencyAction ( )

Action for image masked objects

◆ get_UnicodeProcessingRules()

System::SharedPtr<PdfAOptionClasses::ToUnicodeProcessingRules> Aspose::Pdf::PdfFormatConversionOptions::get_UnicodeProcessingRules ( )

Rules to solve problems with unicode mapping. Can be null.

◆ get_Xml()

System::SharedPtr<System::Xml::XmlTextWriter> Aspose::Pdf::PdfFormatConversionOptions::get_Xml ( )
protected

◆ set_AlignText()

void Aspose::Pdf::PdfFormatConversionOptions::set_AlignText ( bool  value)

This flag controls text alignment in converted document. By default document conversion doesn't affect text alignment and leave text as is. But in some cases font substitution causes text overlapping or extra spaces in converted document. When this flag is set special alignment operations will be performed. This flag should be set only for documents which have problems with overlapped text or extra text spaces cause using of this flag decrease performance and in some cases could corrupt text content.

◆ set_ErrorAction()

void Aspose::Pdf::PdfFormatConversionOptions::set_ErrorAction ( ConvertErrorAction  value)

Action for objects that can not be converted

◆ set_ExcludeFontsStrategy()

void Aspose::Pdf::PdfFormatConversionOptions::set_ExcludeFontsStrategy ( PdfFormatConversionOptions::RemoveFontsStrategy  value)

Strategy(ies) to exclude superfluous fonts and reduce document file size. This parameter has sense only when flag OptimizeFileSize is set to true. By default combination of strategies SubsetFonts and RemoveDuplicatedFonts is used.

◆ set_Format()

void Aspose::Pdf::PdfFormatConversionOptions::set_Format ( PdfFormat  value)

PDF format.

◆ set_IccProfileFileName()

void Aspose::Pdf::PdfFormatConversionOptions::set_IccProfileFileName ( System::String  value)

Sets the filename of icc profile name. In case of null the default icc profile used.

◆ set_IsLowMemoryMode()

void Aspose::Pdf::PdfFormatConversionOptions::set_IsLowMemoryMode ( bool  value)

Is low memory conversion mode enabled

◆ set_LogFileName()

void Aspose::Pdf::PdfFormatConversionOptions::set_LogFileName ( System::String  value)

Path to file where comments will be stored.

◆ set_LogStream()

void Aspose::Pdf::PdfFormatConversionOptions::set_LogStream ( System::SharedPtr< System::IO::Stream value)

Stream where comments will be stored.

◆ set_OptimizeFileSize()

void Aspose::Pdf::PdfFormatConversionOptions::set_OptimizeFileSize ( bool  value)

Sets a flag which enables/disables special conversion mode to get PDF/A document with reduced file size. Now this flag impacts on optimization of fonts used in PDF document, possibly, in future, this flag also will be used to switch on optimization for another data structures, such as graphic. Set of this flag and mode could significantly reduce file size but at the same time it could significantly decrease performance of conversion.

◆ set_PuaTextProcessingStrategy()

void Aspose::Pdf::PdfFormatConversionOptions::set_PuaTextProcessingStrategy ( PdfFormatConversionOptions::PuaProcessingStrategy  value)

Strategy to process symbols from unicode Private Use Area (PUA).

◆ set_SymbolicFontEncodingStrategy()

void Aspose::Pdf::PdfFormatConversionOptions::set_SymbolicFontEncodingStrategy ( System::SharedPtr< PdfASymbolicFontEncodingStrategy value)

Strategy to copy encoding data for symbolic fonts if symbolic TrueType font has more than one encoding subtable.

◆ set_TransparencyAction()

void Aspose::Pdf::PdfFormatConversionOptions::set_TransparencyAction ( ConvertTransparencyAction  value)

Action for image masked objects

◆ set_UnicodeProcessingRules()

void Aspose::Pdf::PdfFormatConversionOptions::set_UnicodeProcessingRules ( System::SharedPtr< PdfAOptionClasses::ToUnicodeProcessingRules value)

Rules to solve problems with unicode mapping. Can be null.

◆ SetAdditionalParameters()

void Aspose::Pdf::PdfFormatConversionOptions::SetAdditionalParameters ( System::SharedPtr< System::Xml::XmlTextWriter xml,
System::SharedPtr< Aspose::Pdf::Document doc,
bool  onlyValidation 
)
protected

Member Data Documentation

◆ AlignStrategy

PdfFormatConversionOptions::SegmentAlignStrategy Aspose::Pdf::PdfFormatConversionOptions::AlignStrategy

◆ PuaProcessingTextStrategyExplicitlyDefined

bool Aspose::Pdf::PdfFormatConversionOptions::PuaProcessingTextStrategyExplicitlyDefined
protected