Uses of Class
org.xhtmlrenderer.layout.SharedContext
Packages that use SharedContext
Package
Description
Includes those classes you need to render XHTML documents
quickly, right out of the box, and with no special setup needed; start here! All the classes
in this package are oriented towards ease-of-use.
-
Uses of SharedContext in org.xhtmlrenderer.context
Methods in org.xhtmlrenderer.context with parameters of type SharedContextModifier and TypeMethodDescriptionprotected static Font
AWTFontResolver.createFont
(SharedContext ctx, Font root_font, float size, IdentValue weight, IdentValue style, IdentValue variant) protected static String
AWTFontResolver.getFontInstanceHashName
(SharedContext ctx, String name, float size, IdentValue weight, IdentValue style, IdentValue variant) Gets the fontInstanceHashName attribute of the FontResolverTest objectAWTFontResolver.resolveFont
(SharedContext ctx, String[] families, float size, IdentValue weight, IdentValue style, IdentValue variant) protected Font
AWTFontResolver.resolveFont
(SharedContext ctx, String font, float size, IdentValue weight, IdentValue style, IdentValue variant) AWTFontResolver.resolveFont
(SharedContext renderingContext, FontSpecification spec) void
StyleReference.setDocumentContext
(SharedContext context, NamespaceHandler nsh, Document doc, UserInterface ui) Sets the documentContext attribute of the StyleReference object -
Uses of SharedContext in org.xhtmlrenderer.extend
Methods in org.xhtmlrenderer.extend with parameters of type SharedContextModifier and TypeMethodDescriptionFontResolver.resolveFont
(SharedContext renderingContext, FontSpecification spec) -
Uses of SharedContext in org.xhtmlrenderer.layout
Fields in org.xhtmlrenderer.layout declared as SharedContextMethods in org.xhtmlrenderer.layout that return SharedContextMethods in org.xhtmlrenderer.layout with parameters of type SharedContextModifier and TypeMethodDescriptionprivate static void
BoxBuilder.insertAnonymousBlocks
(SharedContext c, Box parent, List<Styleable> children, boolean layoutRunningBlocks) Constructors in org.xhtmlrenderer.layout with parameters of type SharedContext -
Uses of SharedContext in org.xhtmlrenderer.pdf
Fields in org.xhtmlrenderer.pdf declared as SharedContextModifier and TypeFieldDescriptionprivate SharedContext
ITextOutputDevice._sharedContext
private final SharedContext
ITextRenderer._sharedContext
Methods in org.xhtmlrenderer.pdf that return SharedContextModifier and TypeMethodDescriptionITextOutputDevice.getSharedContext()
ITextRenderer.getSharedContext()
Methods in org.xhtmlrenderer.pdf with parameters of type SharedContextModifier and TypeMethodDescriptionITextFontResolver.resolveFont
(SharedContext renderingContext, FontSpecification spec) void
ITextOutputDevice.setSharedContext
(SharedContext sharedContext) -
Uses of SharedContext in org.xhtmlrenderer.render
Fields in org.xhtmlrenderer.render declared as SharedContextMethods in org.xhtmlrenderer.render with parameters of type SharedContextConstructors in org.xhtmlrenderer.render with parameters of type SharedContextModifierConstructorDescriptionRenderingContext
(SharedContext sharedContext) needs a new instance every run -
Uses of SharedContext in org.xhtmlrenderer.simple
Methods in org.xhtmlrenderer.simple that return SharedContextModifier and TypeMethodDescriptionGraphics2DRenderer.getSharedContext()
Gets the SharedContext for layout and rendering.Methods in org.xhtmlrenderer.simple with parameters of type SharedContextModifier and TypeMethodDescriptionvoid
Graphics2DRenderer.setSharedContext
(SharedContext ctx) Sets the SharedContext for rendering.void
XHTMLPanel.setSharedContext
(SharedContext ctx) Sets theRenderingContext
attribute of the XHTMLPanel object. -
Uses of SharedContext in org.xhtmlrenderer.swing
Fields in org.xhtmlrenderer.swing declared as SharedContextModifier and TypeFieldDescriptionprivate SharedContext
BoxRenderer.sharedContext
private SharedContext
Java2DRenderer.sharedContext
protected SharedContext
RootPanel.sharedContext
Methods in org.xhtmlrenderer.swing that return SharedContextModifier and TypeMethodDescriptionBoxRenderer.getSharedContext()
Returns the SharedContext to be used by renderer.Java2DRenderer.getSharedContext()
Returns the SharedContext to be used by renderer.RootPanel.getSharedContext()
private SharedContext
BoxRenderer.newSharedContext
(UserAgentCallback userAgent) Methods in org.xhtmlrenderer.swing with parameters of type SharedContextModifier and TypeMethodDescriptionprotected static Font
AWTFontResolver.createFont
(SharedContext ctx, Font root_font, float size, IdentValue weight, IdentValue style, IdentValue variant) protected static String
AWTFontResolver.getFontInstanceHashName
(SharedContext ctx, String name, float size, IdentValue weight, IdentValue style, IdentValue variant) Gets the fontInstanceHashName attribute of the FontResolverTest objectAWTFontResolver.resolveFont
(SharedContext ctx, String[] families, float size, IdentValue weight, IdentValue style, IdentValue variant) protected Font
AWTFontResolver.resolveFont
(SharedContext ctx, String font, float size, IdentValue weight, IdentValue style, IdentValue variant) AWTFontResolver.resolveFont
(SharedContext renderingContext, FontSpecification spec) void
DOMInspector.setForDocument
(Document doc, SharedContext context, StyleReference sr) Sets the forDocument attribute of the DOMInspector objectvoid
BasicPanel.setSharedContext
(SharedContext ctx) Constructors in org.xhtmlrenderer.swing with parameters of type SharedContextModifierConstructorDescriptionDOMInspector
(Document doc, SharedContext context, StyleReference sr) -
Uses of SharedContext in org.xhtmlrenderer.swt
Fields in org.xhtmlrenderer.swt declared as SharedContextModifier and TypeFieldDescriptionprivate final SharedContext
BasicRenderer._sharedContext
private final SharedContext
PrinterRenderer._sharedContext
Methods in org.xhtmlrenderer.swt that return SharedContextMethods in org.xhtmlrenderer.swt with parameters of type SharedContextModifier and TypeMethodDescriptionprivate SWTFSFont
SWTFontResolver.resolveFont
(SharedContext ctx, String font, float size, IdentValue weight, IdentValue style, IdentValue variant) SWTFontResolver.resolveFont
(SharedContext renderingContext, FontSpecification spec)