Package org.apache.fop.render.ps
Class PSSVGHandler.PSInfo
- java.lang.Object
-
- org.apache.fop.render.ps.PSSVGHandler.PSInfo
-
- Enclosing class:
- PSSVGHandler
public static class PSSVGHandler.PSInfo extends java.lang.Object
PostScript information structure for drawing the XML document.
-
-
Field Summary
Fields Modifier and Type Field Description private Configuration
cfg
see HANDLER_CONFIGURATIONprivate int
currentXPosition
see XPOSprivate int
currentYPosition
see YPOSprivate FontInfo
fontInfo
see PS_FONT_INFOprivate int
height
see HEIGHTprivate org.apache.xmlgraphics.ps.PSGenerator
psGenerator
see PS_GENERATORprivate int
width
see WIDTH
-
Constructor Summary
Constructors Constructor Description PSInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCurrentXPosition()
Returns the currentXPosition.int
getCurrentYPosition()
Returns the currentYPosition.FontInfo
getFontInfo()
Returns the fontInfo.Configuration
getHandlerConfiguration()
Returns the height.int
getHeight()
Returns the height.org.apache.xmlgraphics.ps.PSGenerator
getPSGenerator()
Returns the PSGenerator.int
getWidth()
Returns the width.void
setCurrentXPosition(int currentXPosition)
Sets the currentXPosition.void
setCurrentYPosition(int currentYPosition)
Sets the currentYPosition.void
setFontInfo(FontInfo fontInfo)
Sets the fontInfo.void
setHandlerConfiguration(Configuration cfg)
Sets the handler configuration.void
setHeight(int height)
Sets the height.void
setPsGenerator(org.apache.xmlgraphics.ps.PSGenerator psGenerator)
Sets the PSGenerator.void
setWidth(int width)
Sets the width.
-
-
-
Field Detail
-
psGenerator
private org.apache.xmlgraphics.ps.PSGenerator psGenerator
see PS_GENERATOR
-
fontInfo
private FontInfo fontInfo
see PS_FONT_INFO
-
width
private int width
see WIDTH
-
height
private int height
see HEIGHT
-
currentXPosition
private int currentXPosition
see XPOS
-
currentYPosition
private int currentYPosition
see YPOS
-
cfg
private Configuration cfg
see HANDLER_CONFIGURATION
-
-
Method Detail
-
getPSGenerator
public org.apache.xmlgraphics.ps.PSGenerator getPSGenerator()
Returns the PSGenerator.- Returns:
- PSGenerator
-
setPsGenerator
public void setPsGenerator(org.apache.xmlgraphics.ps.PSGenerator psGenerator)
Sets the PSGenerator.- Parameters:
psGenerator
- The PSGenerator to set
-
getFontInfo
public FontInfo getFontInfo()
Returns the fontInfo.- Returns:
- FontInfo
-
setFontInfo
public void setFontInfo(FontInfo fontInfo)
Sets the fontInfo.- Parameters:
fontInfo
- The fontInfo to set
-
getCurrentXPosition
public int getCurrentXPosition()
Returns the currentXPosition.- Returns:
- int
-
setCurrentXPosition
public void setCurrentXPosition(int currentXPosition)
Sets the currentXPosition.- Parameters:
currentXPosition
- The currentXPosition to set
-
getCurrentYPosition
public int getCurrentYPosition()
Returns the currentYPosition.- Returns:
- int
-
setCurrentYPosition
public void setCurrentYPosition(int currentYPosition)
Sets the currentYPosition.- Parameters:
currentYPosition
- The currentYPosition to set
-
getWidth
public int getWidth()
Returns the width.- Returns:
- int
-
setWidth
public void setWidth(int width)
Sets the width.- Parameters:
width
- The pageWidth to set
-
getHeight
public int getHeight()
Returns the height.- Returns:
- int
-
setHeight
public void setHeight(int height)
Sets the height.- Parameters:
height
- The height to set
-
getHandlerConfiguration
public Configuration getHandlerConfiguration()
Returns the height.- Returns:
- int
-
setHandlerConfiguration
public void setHandlerConfiguration(Configuration cfg)
Sets the handler configuration.- Parameters:
cfg
- the configuration object
-
-