Uses of Class
org.apache.xmlgraphics.ps.PSResource
Packages that use PSResource
Package
Description
Classes for the creation of PostScript files.
Tools for DSC-compliant PostScript files (DSC = Document Structuring Conventions).
Event classes used by the DSC parser.
-
Uses of PSResource in org.apache.xmlgraphics.ps
Subclasses of PSResource in org.apache.xmlgraphics.psModifier and TypeClassDescriptionclass
PSResource subclass that represents a ProcSet resource.Fields in org.apache.xmlgraphics.ps declared as PSResourceModifier and TypeFieldDescriptionstatic final PSResource
PSFontUtils.ADOBECYRILLIC_ENCODING_RESOURCE
the PSResource representing the AdobeStandardCyrillicEncoding.static final PSResource
PSProcSets.EPS_PROCSET
the EPS procset for the XML Graphics projectstatic final PSResource
PSProcSets.STD_PROCSET
the standard procset for the XML Graphics projectstatic final PSResource
PSFontUtils.WINANSI_ENCODING_RESOURCE
the PSResource representing the WinAnsiEncoding.Methods in org.apache.xmlgraphics.ps that return PSResourceModifier and TypeMethodDescriptionFormGenerator.generate
(PSGenerator gen) Generates the PostScript form.PSGenerator.getIdentityHCMapResource()
Returns the PSResource instance corresponding to the Identity-H CMap resource.PSGenerator.getProcsetCIDInitResource()
Returns the PSResource instance corresponding to the CIDInit ProcSet resource.static PSResource
PSImageUtils.writeReusableImage
(byte[] img, Dimension imgDim, String formName, String imageDescription, boolean isJPEG, ColorSpace colorSpace, PSGenerator gen) Deprecated.protected static PSResource
PSImageUtils.writeReusableImage
(ImageEncoder encoder, Dimension imgDim, String formName, String imageDescription, ColorSpace colorSpace, boolean invertImage, PSGenerator gen) Deprecated.Please useFormGenerator
Methods in org.apache.xmlgraphics.ps with parameters of type PSResourceModifier and TypeMethodDescriptionboolean
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, Dimension2D formDimensions, Rectangle2D targetRect, PSGenerator gen) Paints a reusable image (previously added as a PostScript form).static void
PSImageUtils.paintForm
(PSResource form, 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 PSResourceModifier and TypeMethodDescriptionvoid
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
Methods in org.apache.xmlgraphics.ps.dsc.events that return PSResourceModifier and TypeMethodDescriptionAbstractResourceDSCComment.getResource()
Returns the associated PSResource.DSCCommentBeginDocument.getResource()
Returns the associated PSResource.Methods in org.apache.xmlgraphics.ps.dsc.events with parameters of type PSResourceModifier and TypeMethodDescriptionvoid
AbstractResourcesDSCComment.addResource
(PSResource res) Adds a new resource.Constructors in org.apache.xmlgraphics.ps.dsc.events with parameters of type PSResourceModifierConstructorDescriptionAbstractResourceDSCComment
(PSResource resource) Creates a new instance for a given PSResource instanceDSCCommentBeginDocument
(PSResource resource) Creates a new instance for a given PSResource instanceDSCCommentBeginDocument
(PSResource resource, Float version, 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
FormGenerator