Package net.sf.jasperreports.renderers
Class BatikUserAgent
- java.lang.Object
-
- org.apache.batik.bridge.UserAgentAdapter
-
- net.sf.jasperreports.renderers.BatikUserAgent
-
- All Implemented Interfaces:
org.apache.batik.bridge.UserAgent
public class BatikUserAgent extends org.apache.batik.bridge.UserAgentAdapter
SVG renderer implementation based on Batik.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static float
PIXEL_TO_MM_72_DPI
static float
PIXEL_TO_MM_96_DPI
-
Constructor Summary
Constructors Constructor Description BatikUserAgent(JasperReportsContext jasperReportsContext)
BatikUserAgent(org.apache.batik.bridge.FontFamilyResolver fontFamilyResolver, float pixel2mm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.batik.bridge.FontFamilyResolver
getFontFamilyResolver()
float
getPixelUnitToMillimeter()
-
Methods inherited from class org.apache.batik.bridge.UserAgentAdapter
addStdFeatures, checkLoadExternalResource, checkLoadScript, deselectAll, displayError, displayError, displayMessage, getAlternateStyleSheet, getBolderFontWeight, getBrokenLinkDocument, getClientAreaLocationOnScreen, getDefaultFontFamily, getEventDispatcher, getExternalResourceSecurity, getLanguages, getLighterFontWeight, getMedia, getMediumFontSize, getPixelToMM, getScriptSecurity, getStandardBolderFontWeight, getStandardLighterFontWeight, getTransform, getUserStyleSheetURI, getViewportSize, getXMLParserClassName, handleElement, hasFeature, isXMLParserValidating, loadDocument, openLink, registerExtension, runThread, setBridgeContext, setSVGCursor, setTextSelection, setTransform, showAlert, showConfirm, showPrompt, showPrompt, supportExtension
-
-
-
-
Field Detail
-
PIXEL_TO_MM_72_DPI
public static final float PIXEL_TO_MM_72_DPI
- See Also:
- Constant Field Values
-
PIXEL_TO_MM_96_DPI
public static final float PIXEL_TO_MM_96_DPI
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BatikUserAgent
public BatikUserAgent(JasperReportsContext jasperReportsContext)
-
BatikUserAgent
public BatikUserAgent(org.apache.batik.bridge.FontFamilyResolver fontFamilyResolver, float pixel2mm)
-
-
Method Detail
-
getPixelUnitToMillimeter
public float getPixelUnitToMillimeter()
- Specified by:
getPixelUnitToMillimeter
in interfaceorg.apache.batik.bridge.UserAgent
- Overrides:
getPixelUnitToMillimeter
in classorg.apache.batik.bridge.UserAgentAdapter
-
getFontFamilyResolver
public org.apache.batik.bridge.FontFamilyResolver getFontFamilyResolver()
- Specified by:
getFontFamilyResolver
in interfaceorg.apache.batik.bridge.UserAgent
- Overrides:
getFontFamilyResolver
in classorg.apache.batik.bridge.UserAgentAdapter
-
-