Uses of Class
org.apache.xmlgraphics.ps.PSResource
-
Packages that use PSResource 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. -
-
Uses of PSResource in org.apache.xmlgraphics.ps
Subclasses of PSResource in org.apache.xmlgraphics.ps Modifier and Type Class Description class
PSProcSet
PSResource subclass that represents a ProcSet resource.private static class
PSProcSets.EPSProcSet
private static class
PSProcSets.StdProcSet
The standard procset used by XML Graphics Commons.Fields in org.apache.xmlgraphics.ps declared as PSResource 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 projectprivate PSResource
PSGenerator. identityHCMapResource
private PSResource
PSGenerator. procsetCIDInitResource
static PSResource
PSProcSets. STD_PROCSET
the standard procset for the XML Graphics projectstatic PSResource
PSFontUtils. WINANSI_ENCODING_RESOURCE
the PSResource representing the WinAnsiEncoding.Methods in org.apache.xmlgraphics.ps that return PSResource 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 useFormGenerator
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 useFormGenerator
Methods in org.apache.xmlgraphics.ps with parameters of type PSResource 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 insteadstatic 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 usePSImageUtils.paintForm(PSResource, Dimension2D, Rectangle2D, PSGenerator)
instead. -
Uses of PSResource in org.apache.xmlgraphics.ps.dsc
Methods in org.apache.xmlgraphics.ps.dsc with parameters of type PSResource 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. -
Uses of PSResource in org.apache.xmlgraphics.ps.dsc.events
Fields in org.apache.xmlgraphics.ps.dsc.events declared as PSResource Modifier and Type Field Description private PSResource
AbstractResourceDSCComment. resource
private PSResource
DSCCommentBeginDocument. resource
Methods in org.apache.xmlgraphics.ps.dsc.events that return PSResource Modifier and Type Method Description PSResource
AbstractResourceDSCComment. getResource()
Returns the associated PSResource.PSResource
DSCCommentBeginDocument. getResource()
Returns the associated PSResource.Methods in org.apache.xmlgraphics.ps.dsc.events with parameters of type PSResource Modifier and Type Method Description void
AbstractResourcesDSCComment. addResource(PSResource res)
Adds a new resource.Constructors in org.apache.xmlgraphics.ps.dsc.events with parameters of type PSResource Constructor Description AbstractResourceDSCComment(PSResource resource)
Creates a new instance for a given PSResource instanceDSCCommentBeginDocument(PSResource resource)
Creates a new instance for a given PSResource instanceDSCCommentBeginDocument(PSResource resource, java.lang.Float version, java.lang.String type)
Creates a new instance for a given PSResource instanceDSCCommentBeginResource(PSResource resource)
Creates a new instance for a given PSResource instanceDSCCommentBeginResource(PSResource resource, int min, int max)
Creates a new instance for a given PSResource instanceDSCCommentIncludeResource(PSResource resource)
Creates a new instance for a given PSResource instance
-