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.ObjectPostScript information structure for drawing the XML document.
-
-
Field Summary
Fields Modifier and Type Field Description private Configurationcfgsee HANDLER_CONFIGURATIONprivate intcurrentXPositionsee XPOSprivate intcurrentYPositionsee YPOSprivate FontInfofontInfosee PS_FONT_INFOprivate intheightsee HEIGHTprivate org.apache.xmlgraphics.ps.PSGeneratorpsGeneratorsee PS_GENERATORprivate intwidthsee WIDTH
-
Constructor Summary
Constructors Constructor Description PSInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCurrentXPosition()Returns the currentXPosition.intgetCurrentYPosition()Returns the currentYPosition.FontInfogetFontInfo()Returns the fontInfo.ConfigurationgetHandlerConfiguration()Returns the height.intgetHeight()Returns the height.org.apache.xmlgraphics.ps.PSGeneratorgetPSGenerator()Returns the PSGenerator.intgetWidth()Returns the width.voidsetCurrentXPosition(int currentXPosition)Sets the currentXPosition.voidsetCurrentYPosition(int currentYPosition)Sets the currentYPosition.voidsetFontInfo(FontInfo fontInfo)Sets the fontInfo.voidsetHandlerConfiguration(Configuration cfg)Sets the handler configuration.voidsetHeight(int height)Sets the height.voidsetPsGenerator(org.apache.xmlgraphics.ps.PSGenerator psGenerator)Sets the PSGenerator.voidsetWidth(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
-
-