represents set of options for convert PDF document More...
#include "PdfFormatConversionOptions.h"
Inherits System::Object.
Public Types | |
enum | SegmentAlignStrategy : uint8_t { SegmentAlignStrategy::None = 0, SegmentAlignStrategy::RestoreSegmentBounds = 1 } |
Describes strategies used to align document text segments. Now only strategy to restore segments to original bounds is supported. In future another strategies could be added. More... | |
enum | PuaProcessingStrategy { PuaProcessingStrategy::None = 0, PuaProcessingStrategy::SurroundPuaTextWithEmptyActualText, PuaProcessingStrategy::SubstitutePuaSymbols } |
Some PDF documents have special unicode symbols, which are belonged to Private Use Area (PUA), see description at https://en.wikipedia.org/wiki/Private_Use_Areas. This symbols cause an PDF/A compliant errors like "Text is mapped to Unicode Private Use Area but no ActualText entry is present". This enumeration declares a strategies which can be used to handle PUA symbols. More... | |
enum | RemoveFontsStrategy : uint8_t { RemoveFontsStrategy::RemoveDuplicatedFonts = 4, RemoveFontsStrategy::RemoveSimilarFontsWithDifferentWidths = 1, RemoveFontsStrategy::SubsetFonts = 2 } |
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... | |
Public Types inherited from System::Object | |
typedef SmartPtr< Object > | ptr |
Alias for smart pointer type. More... | |
Public Member Functions | |
ASPOSE_PDF_SHARED_API bool | get_IsAsyncImageStreamsConversionMode () const |
Gets/sets run of image streams in async mode. More... | |
ASPOSE_PDF_SHARED_API void | set_IsAsyncImageStreamsConversionMode (bool value) |
Gets/sets run of image streams in async mode. More... | |
ASPOSE_PDF_SHARED_API bool | get_IsLowMemoryMode () const |
Is low memory conversion mode enabled More... | |
ASPOSE_PDF_SHARED_API void | set_IsLowMemoryMode (bool value) |
Is low memory conversion mode enabled More... | |
ASPOSE_PDF_SHARED_API PdfFormat | get_Format () const |
PDF format. More... | |
ASPOSE_PDF_SHARED_API void | set_Format (PdfFormat value) |
PDF format. More... | |
ASPOSE_PDF_SHARED_API System::String | get_LogFileName () const |
Path to file where comments will be stored. More... | |
ASPOSE_PDF_SHARED_API void | set_LogFileName (System::String value) |
Path to file where comments will be stored. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< System::IO::Stream > | get_LogStream () const |
Stream where comments will be stored. More... | |
ASPOSE_PDF_SHARED_API void | set_LogStream (System::SharedPtr< System::IO::Stream > value) |
Stream where comments will be stored. More... | |
ASPOSE_PDF_SHARED_API ConvertErrorAction | get_ErrorAction () const |
Action for objects that can not be converted More... | |
ASPOSE_PDF_SHARED_API void | set_ErrorAction (ConvertErrorAction value) |
Action for objects that can not be converted More... | |
ASPOSE_PDF_SHARED_API ConvertTransparencyAction | get_TransparencyAction () const |
Action for image masked objects More... | |
ASPOSE_PDF_SHARED_API void | set_TransparencyAction (ConvertTransparencyAction value) |
Action for image masked objects More... | |
ASPOSE_PDF_SHARED_API Aspose::Pdf::ConvertSoftMaskAction | get_ConvertSoftMaskAction () const |
Action for images with soft mask. More... | |
ASPOSE_PDF_SHARED_API void | set_ConvertSoftMaskAction (Aspose::Pdf::ConvertSoftMaskAction value) |
Action for images with soft mask. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< PdfANonSpecificationFlags > | get_NonSpecificationCases () const |
Holds flags to control PDF/A conversion process for cases when source document doesn't correspond to PDF/A specification. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< PdfASymbolicFontEncodingStrategy > | get_SymbolicFontEncodingStrategy () const |
Strategy to copy encoding data for symbolic fonts if symbolic TrueType font has more than one encoding subtable. More... | |
ASPOSE_PDF_SHARED_API 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... | |
ASPOSE_PDF_SHARED_API bool | get_AlignText () const |
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... | |
ASPOSE_PDF_SHARED_API 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... | |
ASPOSE_PDF_SHARED_API PdfFormatConversionOptions::PuaProcessingStrategy | get_PuaTextProcessingStrategy () const |
Strategy to process symbols from unicode Private Use Area (PUA). More... | |
ASPOSE_PDF_SHARED_API void | set_PuaTextProcessingStrategy (PdfFormatConversionOptions::PuaProcessingStrategy value) |
Strategy to process symbols from unicode Private Use Area (PUA). More... | |
ASPOSE_PDF_SHARED_API bool | get_OptimizeFileSize () const |
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... | |
ASPOSE_PDF_SHARED_API 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... | |
ASPOSE_PDF_SHARED_API PdfFormatConversionOptions::RemoveFontsStrategy | get_ExcludeFontsStrategy () const |
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... | |
ASPOSE_PDF_SHARED_API 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... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::PdfAOptionClasses::FontEmbeddingOptions > | get_FontEmbeddingOptions () const |
Options for cases when it's not possible to embed some fonts into PDF document. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< PdfAOptionClasses::ToUnicodeProcessingRules > | get_UnicodeProcessingRules () const |
Rules to solve problems with unicode mapping. Can be null. More... | |
ASPOSE_PDF_SHARED_API void | set_UnicodeProcessingRules (System::SharedPtr< PdfAOptionClasses::ToUnicodeProcessingRules > value) |
Rules to solve problems with unicode mapping. Can be null. More... | |
ASPOSE_PDF_SHARED_API System::String | get_IccProfileFileName () const |
Gets the filename of icc profile name. In case of null the default icc profile used. More... | |
ASPOSE_PDF_SHARED_API void | set_IccProfileFileName (System::String value) |
Sets the filename of icc profile name. In case of null the default icc profile used. More... | |
ASPOSE_PDF_SHARED_API System::ArrayPtr< System::String > | 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. More... | |
ASPOSE_PDF_SHARED_API bool | get_IsTransferInfo () const |
Gets whether to pass data from Info to Metadata when converted to PDF 2.0. True by default. More... | |
ASPOSE_PDF_SHARED_API void | set_IsTransferInfo (bool value) |
Sets whether to pass data from Info to Metadata when converted to PDF 2.0. True by default. More... | |
ASPOSE_PDF_SHARED_API | PdfFormatConversionOptions (System::String outputLogFileName, PdfFormat format, ConvertErrorAction action) |
Constructor More... | |
ASPOSE_PDF_SHARED_API | PdfFormatConversionOptions (System::String outputLogFileName, PdfFormat format) |
Constructor More... | |
ASPOSE_PDF_SHARED_API | PdfFormatConversionOptions (PdfFormat format) |
Constructor More... | |
ASPOSE_PDF_SHARED_API | PdfFormatConversionOptions (PdfFormat format, ConvertErrorAction action) |
Constructor More... | |
ASPOSE_PDF_SHARED_API | PdfFormatConversionOptions (System::String outputLogFileName, PdfFormat format, ConvertErrorAction action, ConvertTransparencyAction transparencyAction) |
Constructor More... | |
ASPOSE_PDF_SHARED_API | 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... | |
Object & | operator= (Object const &x) |
Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object * | SharedRefAdded () |
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 reference 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 int32_t | GetHashCode () const |
Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More... | |
virtual ASPOSECPP_SHARED_API String | ToString () 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 TypeInfo & | GetType () 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 (uint32_t argument) |
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More... | |
virtual ASPOSECPP_SHARED_API bool | FastCast (const Details::FastRttiBase &helper, void **out_ptr) const |
For internal purposes only. More... | |
template<> | |
bool | Equals (float const &objA, float const &objB) |
Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More... | |
template<> | |
bool | Equals (double const &objA, double const &objB) |
Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More... | |
template<> | |
bool | ReferenceEquals (String const &str, std::nullptr_t) |
Specialization of Object::ReferenceEquals for case of string and nullptr. More... | |
template<> | |
bool | ReferenceEquals (String const &str1, String const &str2) |
Specialization of Object::ReferenceEquals for case of strings. More... | |
Static Public Member Functions | |
static ASPOSE_PDF_SHARED_API System::SharedPtr< PdfFormatConversionOptions > | get_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 TypeInfo & | Type () |
Implements C# typeof(System.Object) construct. More... | |
Public Attributes | |
PdfFormatConversionOptions::SegmentAlignStrategy | AlignStrategy |
Strategy to align text. This parameter has sense only when flag AlignText is set to true. More... | |
Protected Member Functions | |
System::SharedPtr< System::Xml::XmlTextWriter > | get_Xml () const |
System::SharedPtr< Aspose::Pdf::Document > | get_Document () const |
bool | get_OnlyValidation () const |
System::String | get_DefaultLogFileName () const |
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::XmlTextWriter > | CreateTextWriter () |
void | AddNotAccessibleFont (System::String fontName) |
Protected Attributes | |
bool | PuaProcessingTextStrategyExplicitlyDefined |
represents set of options for convert PDF document
Some PDF documents have special unicode symbols, which are belonged to Private Use Area (PUA), see description at https://en.wikipedia.org/wiki/Private_Use_Areas. This symbols cause an PDF/A compliant errors like "Text is mapped to Unicode Private Use Area but no ActualText entry is present". This enumeration declares a strategies which can be used to handle PUA symbols.
|
strong |
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.
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. |
|
strong |
ASPOSE_PDF_SHARED_API Aspose::Pdf::PdfFormatConversionOptions::PdfFormatConversionOptions | ( | System::String | outputLogFileName, |
PdfFormat | format, | ||
ConvertErrorAction | action | ||
) |
Constructor
outputLogFileName | Path to file where comments will be stored. |
format | The pdf format. |
action | Action for objects that can not be converted |
ASPOSE_PDF_SHARED_API Aspose::Pdf::PdfFormatConversionOptions::PdfFormatConversionOptions | ( | System::String | outputLogFileName, |
PdfFormat | format | ||
) |
Constructor
outputLogFileName | Path to file where comments will be stored. |
format | The pdf format. |
ASPOSE_PDF_SHARED_API Aspose::Pdf::PdfFormatConversionOptions::PdfFormatConversionOptions | ( | PdfFormat | format | ) |
Constructor
format | The pdf format. |
ASPOSE_PDF_SHARED_API Aspose::Pdf::PdfFormatConversionOptions::PdfFormatConversionOptions | ( | PdfFormat | format, |
ConvertErrorAction | action | ||
) |
Constructor
format | The pdf format. |
action | Action for objects that can not be converted |
ASPOSE_PDF_SHARED_API Aspose::Pdf::PdfFormatConversionOptions::PdfFormatConversionOptions | ( | System::String | outputLogFileName, |
PdfFormat | format, | ||
ConvertErrorAction | action, | ||
ConvertTransparencyAction | transparencyAction | ||
) |
Constructor
outputLogFileName | Path to file where comments will be stored. |
format | The pdf format. |
action | Action for objects that can not be converted |
transparencyAction | Action for image masked objects |
ASPOSE_PDF_SHARED_API Aspose::Pdf::PdfFormatConversionOptions::PdfFormatConversionOptions | ( | System::SharedPtr< System::IO::Stream > | outputLogStream, |
PdfFormat | format, | ||
ConvertErrorAction | action | ||
) |
Constructor
outputLogStream | Stream where comments will be stored |
format | The pdf format |
action | Action for objects that can not be converted |
|
protected |
|
protected |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::PdfFormatConversionOptions::get_AlignText | ( | ) | const |
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.
ASPOSE_PDF_SHARED_API Aspose::Pdf::ConvertSoftMaskAction Aspose::Pdf::PdfFormatConversionOptions::get_ConvertSoftMaskAction | ( | ) | const |
Action for images with soft mask.
|
static |
Gets PdfFormatConversionOptions object with default parameters
|
protected |
|
protected |
ASPOSE_PDF_SHARED_API ConvertErrorAction Aspose::Pdf::PdfFormatConversionOptions::get_ErrorAction | ( | ) | const |
Action for objects that can not be converted
ASPOSE_PDF_SHARED_API PdfFormatConversionOptions::RemoveFontsStrategy Aspose::Pdf::PdfFormatConversionOptions::get_ExcludeFontsStrategy | ( | ) | const |
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.
ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::PdfAOptionClasses::FontEmbeddingOptions> Aspose::Pdf::PdfFormatConversionOptions::get_FontEmbeddingOptions | ( | ) | const |
Options for cases when it's not possible to embed some fonts into PDF document.
ASPOSE_PDF_SHARED_API PdfFormat Aspose::Pdf::PdfFormatConversionOptions::get_Format | ( | ) | const |
PDF format.
ASPOSE_PDF_SHARED_API System::String Aspose::Pdf::PdfFormatConversionOptions::get_IccProfileFileName | ( | ) | const |
Gets the filename of icc profile name. In case of null the default icc profile used.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::PdfFormatConversionOptions::get_IsAsyncImageStreamsConversionMode | ( | ) | const |
Gets/sets run of image streams in async mode.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::PdfFormatConversionOptions::get_IsLowMemoryMode | ( | ) | const |
Is low memory conversion mode enabled
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::PdfFormatConversionOptions::get_IsTransferInfo | ( | ) | const |
Gets whether to pass data from Info to Metadata when converted to PDF 2.0. True by default.
ASPOSE_PDF_SHARED_API System::String Aspose::Pdf::PdfFormatConversionOptions::get_LogFileName | ( | ) | const |
Path to file where comments will be stored.
ASPOSE_PDF_SHARED_API System::SharedPtr<System::IO::Stream> Aspose::Pdf::PdfFormatConversionOptions::get_LogStream | ( | ) | const |
Stream where comments will be stored.
ASPOSE_PDF_SHARED_API System::SharedPtr<PdfANonSpecificationFlags> Aspose::Pdf::PdfFormatConversionOptions::get_NonSpecificationCases | ( | ) | const |
Holds flags to control PDF/A conversion process for cases when source document doesn't correspond to PDF/A specification.
ASPOSE_PDF_SHARED_API 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.
|
protected |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::PdfFormatConversionOptions::get_OptimizeFileSize | ( | ) | const |
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.
ASPOSE_PDF_SHARED_API PdfFormatConversionOptions::PuaProcessingStrategy Aspose::Pdf::PdfFormatConversionOptions::get_PuaTextProcessingStrategy | ( | ) | const |
Strategy to process symbols from unicode Private Use Area (PUA).
|
protected |
|
protected |
|
protected |
ASPOSE_PDF_SHARED_API System::SharedPtr<PdfASymbolicFontEncodingStrategy> Aspose::Pdf::PdfFormatConversionOptions::get_SymbolicFontEncodingStrategy | ( | ) | const |
Strategy to copy encoding data for symbolic fonts if symbolic TrueType font has more than one encoding subtable.
ASPOSE_PDF_SHARED_API ConvertTransparencyAction Aspose::Pdf::PdfFormatConversionOptions::get_TransparencyAction | ( | ) | const |
Action for image masked objects
ASPOSE_PDF_SHARED_API System::SharedPtr<PdfAOptionClasses::ToUnicodeProcessingRules> Aspose::Pdf::PdfFormatConversionOptions::get_UnicodeProcessingRules | ( | ) | const |
Rules to solve problems with unicode mapping. Can be null.
|
protected |
ASPOSE_PDF_SHARED_API 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.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::PdfFormatConversionOptions::set_ConvertSoftMaskAction | ( | Aspose::Pdf::ConvertSoftMaskAction | value | ) |
Action for images with soft mask.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::PdfFormatConversionOptions::set_ErrorAction | ( | ConvertErrorAction | value | ) |
Action for objects that can not be converted
ASPOSE_PDF_SHARED_API 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.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::PdfFormatConversionOptions::set_Format | ( | PdfFormat | value | ) |
PDF format.
ASPOSE_PDF_SHARED_API 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.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::PdfFormatConversionOptions::set_IsAsyncImageStreamsConversionMode | ( | bool | value | ) |
Gets/sets run of image streams in async mode.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::PdfFormatConversionOptions::set_IsLowMemoryMode | ( | bool | value | ) |
Is low memory conversion mode enabled
ASPOSE_PDF_SHARED_API void Aspose::Pdf::PdfFormatConversionOptions::set_IsTransferInfo | ( | bool | value | ) |
Sets whether to pass data from Info to Metadata when converted to PDF 2.0. True by default.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::PdfFormatConversionOptions::set_LogFileName | ( | System::String | value | ) |
Path to file where comments will be stored.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::PdfFormatConversionOptions::set_LogStream | ( | System::SharedPtr< System::IO::Stream > | value | ) |
Stream where comments will be stored.
ASPOSE_PDF_SHARED_API 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.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::PdfFormatConversionOptions::set_PuaTextProcessingStrategy | ( | PdfFormatConversionOptions::PuaProcessingStrategy | value | ) |
Strategy to process symbols from unicode Private Use Area (PUA).
ASPOSE_PDF_SHARED_API 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.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::PdfFormatConversionOptions::set_TransparencyAction | ( | ConvertTransparencyAction | value | ) |
Action for image masked objects
ASPOSE_PDF_SHARED_API void Aspose::Pdf::PdfFormatConversionOptions::set_UnicodeProcessingRules | ( | System::SharedPtr< PdfAOptionClasses::ToUnicodeProcessingRules > | value | ) |
Rules to solve problems with unicode mapping. Can be null.
|
protected |
PdfFormatConversionOptions::SegmentAlignStrategy Aspose::Pdf::PdfFormatConversionOptions::AlignStrategy |
Strategy to align text. This parameter has sense only when flag AlignText is set to true.
|
protected |