public class UnifiedSaveOptions extends SaveOptions
This class represents saving options for saving that uses unified conversion way (with unified internal document model)
Modifier and Type | Class and Description |
---|---|
static class |
UnifiedSaveOptions.ConversionProgressEventHandler
Represents class with abstract method that usually supplied by calling side and handles progress events that
comes from converter.
|
static class |
UnifiedSaveOptions.ProgressEventHandlerInfo
This class represents information about conversion progress that can be used in external
application to show conversion progress to end user
|
SaveOptions.BorderInfo, SaveOptions.BorderPartStyle, SaveOptions.HtmlBorderLineType, SaveOptions.MarginInfo, SaveOptions.MarginPartStyle, SaveOptions.NodeLevelResourceType, SaveOptions.ResourceSavingInfo
Modifier and Type | Field and Description |
---|---|
com.aspose.pdf.ConversionProgressEventsTranslator |
ProgressEventsRetranslator
Represents internal progress events processor that works during conversion and translates
conversion events of internal conversion stages into external total progress events Also
class broadcasts events that allow to free resources that not needed anymore This internal
class handles events of PDF to APS and APS to [Other format] progress to calculate total
progress and inform customer's code about that total progress events this class uses two
types of events : ApsToExternal model conversion and events of conversion Pdf to APS to
generate total progress events Export has three stage : 1) Pdf to Aps 2) Aps recognition 3_
Aps export to target format Constructor allows tune how much pages are converted and what is
approximmate part of this or that stage in total progress
|
boolean |
TryMergeAdjacentSameBackgroundImages
Sometimes PDFs contain background images (of pages or table cells) constructed from several
same tiling background images put one near other.
|
Constructor and Description |
---|
UnifiedSaveOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
isExtractOcrSublayerOnly()
This attribute turned on functionality for extracting image or text
for PDF documents with OCR sublayer.
|
void |
setExtractOcrSublayerOnly(boolean value)
This attribute turned on functionality for extracting image or text
for PDF documents with OCR sublayer.
|
getSaveFormat, getWarningHandler, isCloseResponse, setCloseResponse, setWarningHandler
public boolean TryMergeAdjacentSameBackgroundImages
Sometimes PDFs contain background images (of pages or table cells) constructed from several same tiling background images put one near other. In such case renderers of target formats (f.e MsWord for DOCS format) sometimes generates visible boundaries beetween parts of background images, cause their techniques of image edge smoothing (anti-aliasing) is different from Acrobat Reader. If it looks like exported document contains such visible boundaries between parts of same background images, please try use this setting to get rid of that unwanted effect. ATTENTION! This optimization of quality usually essentially slows down conversion, so, please, use this option only when it's really necessary.
public com.aspose.pdf.ConversionProgressEventsTranslator ProgressEventsRetranslator
Represents internal progress events processor that works during conversion and translates conversion events of internal conversion stages into external total progress events Also class broadcasts events that allow to free resources that not needed anymore This internal class handles events of PDF to APS and APS to [Other format] progress to calculate total progress and inform customer's code about that total progress events this class uses two types of events : ApsToExternal model conversion and events of conversion Pdf to APS to generate total progress events Export has three stage : 1) Pdf to Aps 2) Aps recognition 3_ Aps export to target format Constructor allows tune how much pages are converted and what is approximmate part of this or that stage in total progress
public boolean isExtractOcrSublayerOnly()
This attribute turned on functionality for extracting image or text for PDF documents with OCR sublayer.
Value:true
text will be extracted in result document; otherwise, false
.public void setExtractOcrSublayerOnly(boolean value)
This attribute turned on functionality for extracting image or text for PDF documents with OCR sublayer.
Value:true
text will be extracted in result document; otherwise, false
.
value
- boolean value