|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.afp.Factory
public class Factory
Creator of MO:DCA structured field objects
Constructor Summary | |
---|---|
Factory()
Main constructor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Factory()
Method Detail |
---|
public ImageObject createImageObject()
ImageObject
ImageObject
public IMImageObject createIMImageObject()
IMImageObject
IMImageObject
public GraphicsObject createGraphicsObject()
GraphicsObject
GraphicsObject
public ObjectContainer createObjectContainer()
ObjectContainer
ObjectContainer
public ResourceObject createResource(java.lang.String resourceName)
ResourceObject
resourceName
- the resource object name
ResourceObject
public ResourceObject createResource()
ResourceObject
ResourceObject
public PageGroup createPageGroup(int tleSequence)
PageGroup
tleSequence
- current start tle sequence number within stream
PageGroup
public ActiveEnvironmentGroup createActiveEnvironmentGroup(int width, int height, int widthRes, int heightRes)
ActiveEnvironmentGroup
width
- the page widthheight
- the page heightwidthRes
- the page width resolutionheightRes
- the page height resolution
ActiveEnvironmentGroup
public ResourceGroup createResourceGroup()
ResourceGroup
ResourceGroup
public StreamedResourceGroup createStreamedResourceGroup(java.io.OutputStream os)
StreamedResourceGroup
os
- the outputstream of the streamed resource group
StreamedResourceGroup
public PageObject createPage(int pageWidth, int pageHeight, int pageRotation, int pageWidthRes, int pageHeightRes)
PageObject
.
pageWidth
- the width of the pagepageHeight
- the height of the pagepageRotation
- the rotation of the pagepageWidthRes
- the width resolution of the pagepageHeightRes
- the height resolution of the page
PageObject
public PresentationTextObject createPresentationTextObject()
PresentationTextObject
.
PresentationTextObject
public Overlay createOverlay(int width, int height, int widthRes, int heightRes, int overlayRotation)
Overlay
.
width
- the width of the overlayheight
- the height of the overlaywidthRes
- the width resolution of the overlayheightRes
- the height resolution of the overlayoverlayRotation
- the rotation of the overlay
Overlay
.public Document createDocument()
Document
Document
public MapCodedFont createMapCodedFont()
MapCodedFont
MapCodedFont
public IncludePageSegment createIncludePageSegment(java.lang.String name, int x, int y)
IncludePageSegment
name
- the page segment namex
- the x coordinatey
- the y coordinate
IncludePageSegment
public IncludeObject createInclude(java.lang.String name)
IncludeObject
name
- the name of this include object
IncludeObject
public TagLogicalElement createTagLogicalElement(java.lang.String name, java.lang.String value, int tleSequence)
TagLogicalElement
name
- name of the elementvalue
- value of the elementtleSequence
- current start tle sequence number within stream*
TagLogicalElement
public DataStream createDataStream(AFPPaintingState paintingState, java.io.OutputStream outputStream)
DataStream
paintingState
- the AFP painting stateoutputStream
- an outputstream to write to
DataStream
public PageDescriptor createPageDescriptor(int width, int height, int widthRes, int heightRes)
PageDescriptor
width
- the page width.height
- the page height.widthRes
- the page width resolution.heightRes
- the page height resolution.
PageDescriptor
public ObjectEnvironmentGroup createObjectEnvironmentGroup()
ObjectEnvironmentGroup
ObjectEnvironmentGroup
public GraphicsData createGraphicsData()
GraphicsData
GraphicsData
public ObjectAreaDescriptor createObjectAreaDescriptor(int width, int height, int widthRes, int heightRes)
ObjectAreaDescriptor
width
- the object width.height
- the object height.widthRes
- the object width resolution.heightRes
- the object height resolution.
ObjectAreaDescriptor
public ObjectAreaPosition createObjectAreaPosition(int x, int y, int rotation)
ObjectAreaPosition
x
- the x coordinate.y
- the y coordinate.rotation
- the coordinate system rotation (must be 0, 90, 180, 270).
ObjectAreaPosition
public ImageDataDescriptor createImageDataDescriptor(int width, int height, int widthRes, int heightRes)
ImageDataDescriptor
width
- the image widthheight
- the image heightwidthRes
- the x resolution of the imageheightRes
- the y resolution of the image
ImageDataDescriptor
public GraphicsDataDescriptor createGraphicsDataDescriptor(int xlwind, int xrwind, int ybwind, int ytwind, int widthRes, int heightRes)
GraphicsDataDescriptor
xlwind
- the left edge of the graphics windowxrwind
- the right edge of the graphics windowybwind
- the top edge of the graphics windowytwind
- the bottom edge of the graphics windowwidthRes
- the x resolution of the graphics windowheightRes
- the y resolution of the graphics window
GraphicsDataDescriptor
public ContainerDataDescriptor createContainerDataDescriptor(int dataWidth, int dataHeight, int widthRes, int heightRes)
ContainerDataDescriptor
dataWidth
- the container data widthdataHeight
- the container data heightwidthRes
- the container data width resolutionheightRes
- the container data height resolution
ContainerDataDescriptor
public MapContainerData createMapContainerData(byte optionValue)
MapContainerData
optionValue
- the option value
MapContainerData
public MapDataResource createMapDataResource()
MapDataResource
MapDataResource
public PresentationTextDescriptor createPresentationTextDataDescriptor(int width, int height, int widthRes, int heightRes)
PresentationTextDescriptor
PresentationTextDescriptor
public PresentationEnvironmentControl createPresentationEnvironmentControl()
PresentationEnvironmentControl
PresentationEnvironmentControl
public InvokeMediumMap createInvokeMediumMap(java.lang.String name)
InvokeMediumMap
name
- the object name
InvokeMediumMap
public ResourceEnvironmentGroup createResourceEnvironmentGroup()
ResourceEnvironmentGroup
ResourceEnvironmentGroup
public ImageSegment createImageSegment()
ImageSegment
ImageSegment
public ImageContent createImageContent()
ImageContent
ImageContent
public ImageRasterData createImageRasterData(byte[] rasterData)
ImageRasterData
rasterData
- raster data
ImageRasterData
public ImageSizeParameter createImageSizeParameter(int hsize, int vsize, int hresol, int vresol)
ImageSizeParameter
.
hsize
- The horizontal size of the image.vsize
- The vertical size of the image.hresol
- The horizontal resolution of the image.vresol
- The vertical resolution of the image.
ImageSizeParameter
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |