Uses of Class
com.openhtmltopdf.layout.SharedContext
-
-
Uses of SharedContext in com.openhtmltopdf.context
Methods in com.openhtmltopdf.context with parameters of type SharedContext Modifier and Type Method Description voidStyleReference. setDocumentContext(SharedContext context, NamespaceHandler nsh, Document doc, UserInterface ui)Sets the documentContext attribute of the StyleReference object -
Uses of SharedContext in com.openhtmltopdf.extend
Methods in com.openhtmltopdf.extend with parameters of type SharedContext Modifier and Type Method Description voidSVGDrawer. importFontFaceRules(List<FontFaceRule> fontFaces, SharedContext shared)FSFontFontResolver. resolveFont(SharedContext renderingContext, FontSpecification spec) -
Uses of SharedContext in com.openhtmltopdf.layout
Methods in com.openhtmltopdf.layout that return SharedContext Modifier and Type Method Description SharedContextLayoutContext. getSharedContext()Methods in com.openhtmltopdf.layout with parameters of type SharedContext Modifier and Type Method Description FSTextBreakerBreaker.TextBreakerSupplier. getBreaker(String str, SharedContext sharedContext)static FSTextBreakerBreaker. getCharacterBreakStream(String currentString, SharedContext sharedContext)static FSTextBreakerBreaker. getLineBreakStream(String s, SharedContext shared) -
Uses of SharedContext in com.openhtmltopdf.outputdevice.helper
Constructors in com.openhtmltopdf.outputdevice.helper with parameters of type SharedContext Constructor Description FontFaceFontSupplier(SharedContext ctx, String src) -
Uses of SharedContext in com.openhtmltopdf.render
Fields in com.openhtmltopdf.render declared as SharedContext Modifier and Type Field Description protected SharedContextRenderingContext. sharedContextConstructors in com.openhtmltopdf.render with parameters of type SharedContext Constructor Description RenderingContext(SharedContext sharedContext)needs a new instance every run -
Uses of SharedContext in com.openhtmltopdf.swing
Methods in com.openhtmltopdf.swing with parameters of type SharedContext Modifier and Type Method Description protected static FontAWTFontResolver. createFont(SharedContext ctx, Font rootFont, float size, IdentValue weight, IdentValue style, IdentValue variant)Creates a concrete instance of a font at specified size, weight, style and variant.static Map<Shape,String>ImageMapParser. findAndParseMap(Element elem, SharedContext c)protected static StringAWTFontResolver. getFontInstanceHashName(SharedContext ctx, String name, float size, IdentValue weight, IdentValue style, IdentValue variant)Gets the hash key for a concrete instance of a font.FSFontAWTFontResolver. resolveFont(SharedContext renderingContext, FontSpecification spec)FSFontAWTFontResolver. resolveFont(SharedContext ctx, String[] families, float size, IdentValue weight, IdentValue style, IdentValue variant)Resolves a list of font families.protected FontAWTFontResolver. resolveFont(SharedContext ctx, String font, float size, IdentValue weight, IdentValue style, IdentValue variant)Resolves a single font name.voidDOMInspector. setForDocument(Document doc, SharedContext context, StyleReference sr)Sets the forDocument attribute of the DOMInspector objectConstructors in com.openhtmltopdf.swing with parameters of type SharedContext Constructor Description DOMInspector(Document doc, SharedContext context, StyleReference sr)Constructor for the DOMInspector object -
Uses of SharedContext in com.openhtmltopdf.util
Methods in com.openhtmltopdf.util that return SharedContext Modifier and Type Method Description SharedContextThreadCtx.ThreadData. sharedContext()Methods in com.openhtmltopdf.util with parameters of type SharedContext Modifier and Type Method Description voidThreadCtx.ThreadData. setSharedContext(SharedContext sharedContext)
-