public final class ToPSOptionsSpec extends Object implements Serializable
Constructor and Description |
---|
ToPSOptionsSpec()
A constructor that creates a
ToPSOptionsSpec object. |
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
Returns a
Color enumeration value that represents the composite color that is
used in the resulting PostScript file. |
FontInclusion |
getFontInclusion()
Returns a
FontInclusion enumeration value. |
LineWeight |
getLineWeight()
Returns a
LineWeight enumeration value that specifies the weight of the lines in the resulting PostScript file. |
String |
getPageRange()
Returns a string value that specifies the page range value.
|
PageSize |
getPageSize()
Returns a
PageSize enumeration value that specifies the
size of pages in the resulting PostScript file. |
String |
getPageSizeHeight()
Returns a string value that specifies the page height of the resulting PostScript file.
|
String |
getPageSizeWidth()
Returns a string value that specifies the page width of the resulting PostScript file.
|
PSLevel |
getPsLevel()
Returns the PostScript language level of the resulting PostScript file.
|
int |
getResolution()
Deprecated.
|
Style |
getStyle()
Returns a
Style enumeration value that specifies the
style of printer marks to create. |
boolean |
isAllowBinaryContent()
Specifies whether the PostScript file is created in a binary format.
|
boolean |
isBleedMarks()
Specifies if the Bleed Marks option is set.
|
boolean |
isColorBars()
Returns the value
true if the ColorBars option is set. |
boolean |
isConvertTrueTypeToType1()
Returns the value
true if the ConvertTrueTypeToType1 option is set. |
boolean |
isEmitCIDFontType2()
Returns the value
true if the EmitCIDFontType2 option is set. |
boolean |
isEmitPSFormObjects()
Returns the value
true if the EmitPSFormObjects option is set. |
boolean |
isExpandToFit()
Returns the value
true if the ExpandToFit option is set. |
boolean |
isIncludeComments()
Returns the value
true if the IncludeComments option is set. |
boolean |
isLegacyToSimplePSFlag()
Returns the value
true if the LegacyToSimplePSFlag option is set. |
boolean |
isPageInformation()
Returns the value
true if the PageInformation option is set. |
boolean |
isRegistrationMarks()
Returns the value
true if the RegistrationMarks option is set. |
boolean |
isReverse()
Returns the value
true if the Reverse option is set. |
boolean |
isRotateAndCenter()
Returns the value
true if the RotateAndCenter option is set. |
boolean |
isShrinkToFit()
Returns the value
true if the ShrinkToFit option is set. |
boolean |
isTrimMarks()
Returns the value
true if the TrimMarks option is set. |
boolean |
isUseMaxJPEGImageResolution()
Returns the value
true if the UseMaxJPEGImageResolution option is set
This option indicates that the highest available resolution for printing JPEG 2000 images is used. |
void |
setAllowBinaryContent(boolean allowBinaryContent)
Sets if the PostScript file is created in a binary format.
|
void |
setBleedMarks(boolean bleedMarks)
Sets the Bleed Marks option.
|
void |
setColor(Color color)
Sets the
Color object that represents the composite color. |
void |
setColorBars(boolean colorBars)
Sets the
ColorBars option. |
void |
setConvertTrueTypeToType1(boolean convertTrueTypeToType1)
Sets the
ConvertTrueTypeToType1 option. |
void |
setEmitCIDFontType2(boolean emitCIDFontType2)
Sets the
EmitCIDFontType2 option. |
void |
setEmitPSFormObjects(boolean emitPSFormObjects)
Sets the
EmitCIDFontType2 option. |
void |
setExpandToFit(boolean expandToFit)
Sets the
ExpandToFit option. |
void |
setFontInclusion(FontInclusion fontInclusion)
Sets the
FontInclusion option. |
void |
setIncludeComments(boolean includeComments)
Sets the
IncludeComments option. |
void |
setLegacyToSimplePSFlag(boolean legacyToSimplePSFlag)
Sets the
LegacyToSimplePSFlag option. |
void |
setLineWeight(LineWeight lineWeight)
Sets the weight of the lines in the resulting PostScript file.
|
void |
setPageInformation(boolean pageInformation)
Sets the
PageInformation option. |
void |
setPageRange(String pageRange)
Sets a string value that specifies the page range value.
|
void |
setPageSize(PageSize pageSize)
Sets a
PageSize enumeration value that specifies the
size of pages in the resulting PostScript file. |
void |
setPageSizeHeight(String pageSizeHeight)
Sets the page height of the resulting PostScript file.
|
void |
setPageSizeWidth(String pageSizeWidth)
Sets the page width of the resulting PostScript file.
|
void |
setPsLevel(PSLevel psLevel)
Sets the PostScript language level of the resulting PostScript file.
|
void |
setRegistrationMarks(boolean registrationMarks)
Sets the
RegistrationMarks option. |
void |
setResolution(int resolution)
Deprecated.
|
void |
setReverse(boolean reverse)
Sets the
Reverse option. |
void |
setRotateAndCenter(boolean rotateAndCenter)
Sets the
RotateAndCenter option. |
void |
setShrinkToFit(boolean shrinkToFit)
Sets the
ShrinkToFit option. |
void |
setStyle(Style style)
Sets a
Style enumeration value that specifies the
style of printer marks to create. |
void |
setTrimMarks(boolean trimMarks)
Sets the
TrimMarks option. |
void |
setUseMaxJPEGImageResolution(boolean useMaxJPEGImageResolution)
Sets the
UseMaxJPEGImageResolution option. |
public ToPSOptionsSpec()
ToPSOptionsSpec
object.public boolean isLegacyToSimplePSFlag()
true
if the LegacyToSimplePSFlag
option is set.
This would support conversion of interactive documents to postscript.LegacyToSimplePSFlag
option is set.setLegacyToSimplePSFlag()
public void setLegacyToSimplePSFlag(boolean legacyToSimplePSFlag)
LegacyToSimplePSFlag
option.
This would support conversion of interactive documents to postscript.legacyToSimplePSFlag
- A boolean value that specifies if the LegacyToSimplePSFlag
option is set.public boolean isAllowBinaryContent()
public void setAllowBinaryContent(boolean allowBinaryContent)
allowBinaryContent
- boolean value that specifies whether the PostScript file is created in binary format.public boolean isBleedMarks()
public void setBleedMarks(boolean bleedMarks)
bleedMarks
- A boolean value that specifies if the Bleed Marks option is set.public Color getColor()
Color
enumeration value that represents the composite color that is
used in the resulting PostScript file.Color
enumeration value that represents the composite color.public void setColor(Color color)
Color
object that represents the composite color.color
- A Color
object that represents the color.public boolean isColorBars()
true
if the ColorBars
option is set.
This option places a color bar at the top of the page, outside of the crop area.
The color bar shows a single box for each spot or process color in the document.
Spot colors converted to process colors are represented by process colors.ColorBars
option is set.setColorBars()
public void setColorBars(boolean colorBars)
ColorBars
option.
This option places a color bar at the top of the page, outside of the crop area.
The color bar shows a single box for each spot or process color in the document.
Spot colors converted to process colors are represented by process colors.colorBars
- A boolean value that specifies if the ColorBars
option is set.public boolean isConvertTrueTypeToType1()
true
if the ConvertTrueTypeToType1
option is set.
This option converts TrueType fonts to Type 1 fonts in the resulting PostScript file.
Some older PostScript output devices may require this conversion.ConvertTrueTypeToType1
option is set.setConvertTrueTypeToType1()
public void setConvertTrueTypeToType1(boolean convertTrueTypeToType1)
ConvertTrueTypeToType1
option.
This option converts TrueType fonts to Type 1 fonts in the resulting PostScript file.
Some older PostScript output devices may require this conversion.convertTrueTypeToType1
- the convertTrueTypeToType1 to setpublic boolean isEmitCIDFontType2()
true
if the EmitCIDFontType2
option is set.
This option preserves the hinting information in the original font when printing.
If this option is not set, then CIDFontType2 fonts are converted to CIDFontType0 fonts,
which are compatible with a wider range of printers.EmitCIDFontType2
option is set.setEmitCIDFontType2()
public void setEmitCIDFontType2(boolean emitCIDFontType2)
EmitCIDFontType2
option.
This option preserves the hinting information in the original font when printing.
If this option is not set, then CIDFontType2 fonts are converted to CIDFontType0 fonts,
which are compatible with a wider range of printers.emitCIDFontType2
- A boolean value that specifies if the EmitCIDFontType2
option is set.public boolean isEmitPSFormObjects()
true
if the EmitPSFormObjects
option is set.
Emit PostScript form objects for Form XObjects within the input PDF document.
This may reduce the overall size of the print job,
but it will increase the printer memory that is used.
Form XObjects are used to create a single description for complex objects that can appear
many times in a single document, like background images, for example.EmitPSFormObjects
option is set.setEmitPSFormObjects()
public void setEmitPSFormObjects(boolean emitPSFormObjects)
EmitCIDFontType2
option.
Emit PostScript form objects for Form XObjects within the input PDF document.
This may reduce the overall size of the print job,
but it will increase the printer memory that is used.
Form XObjects are used to create a single description for complex objects that can appear
many times in a single document, like background images, for example.emitPSFormObjects
- A boolean value that specifies if the EmitPSFormObjects
option is set.public boolean isExpandToFit()
true
if the ExpandToFit
option is set.
This option expands the size of the resulting PostScript file to fit the page. When
setting this option, you must also set the PageSize option using the
setPageSize
method.ExpandToFit
option is set.public void setExpandToFit(boolean expandToFit)
ExpandToFit
option.
This option expands the size of the resulting PostScript file to fit the page. When
setting this option, you must also set the PageSize option using the
setPageSize
method.expandToFit
- A boolean value that specifies if the ExpandToFit
option is set.public FontInclusion getFontInclusion()
FontInclusion
enumeration value.
This option controls which fonts should be included in the PostScript file.
Embedded fonts are taken directly from the input PDF docuemnt.
Referenced fonts are taken from the computer hosting LiveCycle ES.FontInclusion
enumeration value.public void setFontInclusion(FontInclusion fontInclusion)
FontInclusion
option.
This option controls which fonts should be included in the PostScript file.
Embedded fonts are taken directly from the input PDF docuemnt.
Referenced fonts are taken from the computer hosting LiveCycle ES.fontInclusion
- A FontInclusion
enumeration value.public boolean isIncludeComments()
true
if the IncludeComments
option is set.
This option preserves the appearance of comments in the resulting PostScript file. The
information located in the comment is not present in the resulting PostScript file, only
the appearance of the comment.IncludeComments
option is set.setIncludeComments()
public void setIncludeComments(boolean includeComments)
IncludeComments
option.
This option preserves the appearance of comments in the resulting PostScript file. The
information located in the comment is not present in the resulting PostScript file, only
the appearance of the comment.includeComments
- A boolean value that specifies if the IncludeComments
option is set.public LineWeight getLineWeight()
LineWeight
enumeration value that specifies the weight of the lines in the resulting PostScript file.LineWeight
enumeration value.setLineWeight()
public void setLineWeight(LineWeight lineWeight)
lineWeight
- A LineWeight
enumeration value that specifies the weight of the lines in the resulting PostScript file.public boolean isPageInformation()
true
if the PageInformation
option is set.
This option outputs page information outside of the crop area of the page.PageInformation
option is set.setPageInformation()
public void setPageInformation(boolean pageInformation)
PageInformation
option.
This option outputs page information outside of the crop area of the page.pageInformation
- A boolean value that specifies if the PageInformation
option is set.public String getPageSizeHeight()
setPageSizeHeight()
public void setPageSizeHeight(String pageSizeHeight)
pageSizeHeight
- A string value that specifies the page height of the resulting PostScript file.public String getPageSizeWidth()
setPageSizeWidth()
public void setPageSizeWidth(String pageSizeWidth)
pageSizeWidth
- A string value that specifies the page width of the resulting PostScript file.public PSLevel getPsLevel()
PSLevel
enumeration value that specifies the PostScript language level of the resulting PostScript file.setPsLevel()
public void setPsLevel(PSLevel psLevel)
To see this method used in a code example, see the Converting a PDF document to PostScript using the Java API quick start in Programming with LiveCycle ES.
psLevel
- A PSLevel
enumeration value that specifies the PostScript language level of the resulting PostScript file.public boolean isRegistrationMarks()
true
if the RegistrationMarks
option is set.
This option places registration marks outside of the crop area of the page.RegistrationMarks
option is set.setRegistrationMarks()
public void setRegistrationMarks(boolean registrationMarks)
RegistrationMarks
option.
This option places registration marks outside of the crop area of the page.registrationMarks
- A boolean value that specifies if the RegistrationMarks
option is set.public boolean isReverse()
true
if the Reverse
option is set.Reverse
option is set.public void setReverse(boolean reverse)
Reverse
option.reverse
- A boolean value that specifies if the RegistrationMarks
option is set.public boolean isRotateAndCenter()
true
if the RotateAndCenter
option is set.
This option centers the page content in the resulting PostScript document.RotateAndCenter
option is set.setRotateAndCenter()
public void setRotateAndCenter(boolean rotateAndCenter)
RotateAndCenter
option.
This option centers the page content in the resulting PostScript document.
To see this method used in a code example, see the Converting a PDF document to PostScript using the Java API quick start in Programming with LiveCycle ES.
rotateAndCenter
- A boolean value that specifies if the RotateAndCenter
option is set.public boolean isShrinkToFit()
true
if the ShrinkToFit
option is set.
This option shrinks the size of the resulting PostScript file to fit the page. When
setting this option, you must also set the PageSize option using the
setPageSize
method.ShrinkToFit
option is set.public void setShrinkToFit(boolean shrinkToFit)
ShrinkToFit
option.
This option shrinks the size of the resulting PostScript file to fit the page. When
setting this option, you must also set the PageSize option using the
setPageSize
method.
To see this method used in a code example, see the Converting a PDF document to PostScript using the Java API quick start in Programming with LiveCycle ES.
shrinkToFit
- A boolean value that specifies if the ShrinkToFit
option is set.public boolean isTrimMarks()
true
if the TrimMarks
option is set.
This option indicates that marks are placed in each of the four corners of the trim box in the
resulting PostScript file.TrimMarks
option is set.public void setTrimMarks(boolean trimMarks)
TrimMarks
option.trimMarks
- A boolean value that specifies if the TrimMarks
option is set.public boolean isUseMaxJPEGImageResolution()
true
if the UseMaxJPEGImageResolution
option is set
This option indicates that the highest available resolution for printing JPEG 2000 images is used.
If you leave do not set this option, the pixels per inch value (from the Line Art and Text Resolution field
in the Flattener Preview dialog) multipled by the value 2 is used as the rasterization resolution for JPEG2000 images.
For example, if 72 ppi is selected (in the Line Art and Text Resolution field) and this
option is not set, JPEG2000 images are rasterized into 144 ppi images.UseMaxJPEGImageResolution
option is set.setUseMaxJPEGImageResolution()
public void setUseMaxJPEGImageResolution(boolean useMaxJPEGImageResolution)
UseMaxJPEGImageResolution
option.
This option indicates that the highest available resolution for printing JPEG 2000 images is used.
If you leave do not set this option, the pixels per inch value (from the Line Art and Text Resolution field
in the Flattener Preview dialog) multipled by the value 2 is used as the rasterization resolution for JPEG2000 images.
For example, if 72 ppi is selected (in the Line Art and Text Resolution field) and this
option is not set, JPEG2000 images are rasterized into 144 ppi images.useMaxJPEGImageResolution
- A boolean value that specifies if the UseMaxJPEGImageResolution
option is set.public Style getStyle()
Style
enumeration value that specifies the
style of printer marks to create.Style
enumeration value.public void setStyle(Style style)
Style
enumeration value that specifies the
style of printer marks to create.style
- A Style
enumeration value.public PageSize getPageSize()
PageSize
enumeration value that specifies the
size of pages in the resulting PostScript file.PageSize
enumeration value.setPageSize()
public void setPageSize(PageSize pageSize)
PageSize
enumeration value that specifies the
size of pages in the resulting PostScript file.pageSize
- A PageSize
enumeration value that specifies the
size of pages in the resulting PostScript file.public String getPageRange()
public void setPageRange(String pageRange)
pageRange
- A string value that specifies the page range value.@Deprecated public int getResolution()
setResolution()
@Deprecated public void setResolution(int resolution)
resolution
- An integer value that specifies the resolution that is used in the resulting PostScript file.Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.