Package | Description |
---|---|
org.apache.xmlgraphics.ps |
Classes for the creation of PostScript files.
|
org.apache.xmlgraphics.ps.dsc |
Tools for DSC-compliant PostScript files (DSC = Document Structuring Conventions).
|
org.apache.xmlgraphics.ps.dsc.events |
Event classes used by the DSC parser.
|
Modifier and Type | Class | Description |
---|---|---|
class |
PSProcSet |
PSResource subclass that represents a ProcSet resource.
|
Modifier and Type | Field | Description |
---|---|---|
static PSResource |
PSFontUtils.ADOBECYRILLIC_ENCODING_RESOURCE |
the PSResource representing the AdobeStandardCyrillicEncoding.
|
static PSResource |
PSProcSets.EPS_PROCSET |
the EPS procset for the XML Graphics project
|
static PSResource |
PSProcSets.STD_PROCSET |
the standard procset for the XML Graphics project
|
static PSResource |
PSFontUtils.WINANSI_ENCODING_RESOURCE |
the PSResource representing the WinAnsiEncoding.
|
Modifier and Type | Method | Description |
---|---|---|
PSResource |
FormGenerator.generate(PSGenerator gen) |
Generates the PostScript form.
|
PSResource |
PSGenerator.getIdentityHCMapResource() |
Returns the PSResource instance corresponding to the Identity-H CMap
resource.
|
PSResource |
PSGenerator.getProcsetCIDInitResource() |
Returns the PSResource instance corresponding to the CIDInit ProcSet
resource.
|
static PSResource |
PSImageUtils.writeReusableImage(byte[] img,
java.awt.Dimension imgDim,
java.lang.String formName,
java.lang.String imageDescription,
boolean isJPEG,
java.awt.color.ColorSpace colorSpace,
PSGenerator gen) |
Deprecated.
Please use
FormGenerator |
protected static PSResource |
PSImageUtils.writeReusableImage(ImageEncoder encoder,
java.awt.Dimension imgDim,
java.lang.String formName,
java.lang.String imageDescription,
java.awt.color.ColorSpace colorSpace,
boolean invertImage,
PSGenerator gen) |
Deprecated.
Please use
FormGenerator |
Modifier and Type | Method | Description |
---|---|---|
boolean |
PSGenerator.isResourceSupplied(PSResource res) |
Deprecated.
Use the isResourceSupplied() on ResourceTracker instead.
|
void |
PSGenerator.notifyResourceUsage(PSResource res,
boolean needed) |
Deprecated.
Use the notifyResourceUsageOnPage() on ResourceTracker instead
|
static void |
PSImageUtils.paintForm(PSResource form,
java.awt.geom.Dimension2D formDimensions,
java.awt.geom.Rectangle2D targetRect,
PSGenerator gen) |
Paints a reusable image (previously added as a PostScript form).
|
static void |
PSImageUtils.paintForm(PSResource form,
java.awt.geom.Rectangle2D targetRect,
PSGenerator gen) |
Deprecated.
Please use
PSImageUtils.paintForm(PSResource, Dimension2D, Rectangle2D, PSGenerator)
instead. |
Modifier and Type | Method | Description |
---|---|---|
void |
ResourceTracker.declareInlined(PSResource res) |
This method declares that the given resource will be inlined and can therefore
be removed from resource tracking.
|
long |
ResourceTracker.getUsageCount(PSResource res) |
Returns the number of times a resource has been used inside the current DSC document.
|
boolean |
ResourceTracker.isResourceSupplied(PSResource res) |
Indicates whether a particular resource is supplied, rather than needed.
|
void |
ResourceTracker.notifyResourceUsageOnPage(PSResource res) |
Notifies the resource tracker about the usage of a resource on the current page.
|
void |
ResourceTracker.registerNeededResource(PSResource res) |
Registers a needed resource.
|
void |
ResourceTracker.registerSuppliedResource(PSResource res) |
Registers a supplied resource.
|
Modifier and Type | Method | Description |
---|---|---|
PSResource |
AbstractResourceDSCComment.getResource() |
Returns the associated PSResource.
|
PSResource |
DSCCommentBeginDocument.getResource() |
Returns the associated PSResource.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractResourcesDSCComment.addResource(PSResource res) |
Adds a new resource.
|
Constructor | Description |
---|---|
AbstractResourceDSCComment(PSResource resource) |
Creates a new instance for a given PSResource instance
|
DSCCommentBeginDocument(PSResource resource) |
Creates a new instance for a given PSResource instance
|
DSCCommentBeginDocument(PSResource resource,
java.lang.Float version,
java.lang.String type) |
Creates a new instance for a given PSResource instance
|
DSCCommentBeginResource(PSResource resource) |
Creates a new instance for a given PSResource instance
|
DSCCommentBeginResource(PSResource resource,
int min,
int max) |
Creates a new instance for a given PSResource instance
|
DSCCommentIncludeResource(PSResource resource) |
Creates a new instance for a given PSResource instance
|
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.