Uses of Class
com.openhtmltopdf.layout.SharedContext
-
-
Uses of SharedContext in com.openhtmltopdf.context
Fields in com.openhtmltopdf.context declared as SharedContext Modifier and Type Field Description private SharedContext
StyleReference. _context
The Context this StyleReference operates in; used for property resolution.Methods in com.openhtmltopdf.context with parameters of type SharedContext Modifier and Type Method Description void
StyleReference. setDocumentContext(SharedContext context, NamespaceHandler nsh, org.w3c.dom.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 void
SVGDrawer. importFontFaceRules(java.util.List<FontFaceRule> fontFaces, SharedContext shared)
FSFont
FontResolver. resolveFont(SharedContext renderingContext, FontSpecification spec)
-
Uses of SharedContext in com.openhtmltopdf.java2d
Fields in com.openhtmltopdf.java2d declared as SharedContext Modifier and Type Field Description private SharedContext
Java2DFontResolver. _sharedContext
private SharedContext
Java2DRenderer. _sharedContext
Methods in com.openhtmltopdf.java2d with parameters of type SharedContext Modifier and Type Method Description protected static java.awt.Font
Java2DFontResolver. createFont(SharedContext ctx, java.awt.Font rootFont, float size, IdentValue weight, IdentValue style, IdentValue variant)
Creates a concrete instance of a font at specified size, weight, style and variant.protected static java.lang.String
Java2DFontResolver. getFontInstanceHashName(SharedContext ctx, java.lang.String name, float size, IdentValue weight, IdentValue style, IdentValue variant)
Gets the hash key for a concrete instance of a font.FSFont
Java2DFontResolver. resolveFont(SharedContext renderingContext, FontSpecification spec)
FSFont
Java2DFontResolver. resolveFont(SharedContext ctx, java.lang.String[] families, float size, IdentValue weight, IdentValue style, IdentValue variant)
Resolves a list of font families.Constructors in com.openhtmltopdf.java2d with parameters of type SharedContext Constructor Description Java2DFontResolver(SharedContext sharedCtx, boolean useEnvironmentFonts)
-
Uses of SharedContext in com.openhtmltopdf.layout
Fields in com.openhtmltopdf.layout declared as SharedContext Modifier and Type Field Description private SharedContext
LayoutContext. _sharedContext
Methods in com.openhtmltopdf.layout that return SharedContext Modifier and Type Method Description SharedContext
LayoutContext. getSharedContext()
Methods in com.openhtmltopdf.layout with parameters of type SharedContext Modifier and Type Method Description private static void
BoxBuilder. createAnonymousBlock(SharedContext c, Box parent, java.util.List<Styleable> inline, java.util.List<InlineBox> savedParents)
private static void
BoxBuilder. createAnonymousBlock(SharedContext c, Box parent, java.util.List<Styleable> inline, java.util.List<InlineBox> savedParents, IdentValue display)
FSTextBreaker
Breaker.CharacterBreakerSupplier. getBreaker(java.lang.String str, SharedContext sharedContext)
FSTextBreaker
Breaker.LineBreakerSupplier. getBreaker(java.lang.String str, SharedContext sharedContext)
FSTextBreaker
Breaker.TextBreakerSupplier. getBreaker(java.lang.String str, SharedContext sharedContext)
static FSTextBreaker
Breaker. getCharacterBreakStream(java.lang.String currentString, SharedContext sharedContext)
static FSTextBreaker
Breaker. getLineBreakStream(java.lang.String s, SharedContext shared)
private static void
BoxBuilder. insertAnonymousBlocks(SharedContext c, Box parent, java.util.List<Styleable> children, boolean layoutRunningBlocks)
Constructors in com.openhtmltopdf.layout with parameters of type SharedContext Constructor Description LayoutContext(SharedContext sharedContext)
-
Uses of SharedContext in com.openhtmltopdf.outputdevice.helper
Fields in com.openhtmltopdf.outputdevice.helper declared as SharedContext Modifier and Type Field Description private SharedContext
FontFaceFontSupplier. ctx
Constructors in com.openhtmltopdf.outputdevice.helper with parameters of type SharedContext Constructor Description FontFaceFontSupplier(SharedContext ctx, java.lang.String src)
-
Uses of SharedContext in com.openhtmltopdf.pdfboxout
Fields in com.openhtmltopdf.pdfboxout declared as SharedContext Modifier and Type Field Description private SharedContext
PdfBoxBookmarkManager. _sharedContext
private SharedContext
PdfBoxFastLinkManager. _sharedContext
private SharedContext
PdfBoxFastOutputDevice. _sharedContext
private SharedContext
PdfBoxLinkManager. _sharedContext
Deprecated.private SharedContext
PdfBoxRenderer. _sharedContext
private SharedContext
PdfBoxSlowOutputDevice. _sharedContext
private SharedContext
PdfBoxUserAgent. _sharedContext
Methods in com.openhtmltopdf.pdfboxout that return SharedContext Modifier and Type Method Description SharedContext
PdfBoxFastOutputDevice. getSharedContext()
SharedContext
PdfBoxOutputDevice. getSharedContext()
SharedContext
PdfBoxRenderer. getSharedContext()
SharedContext
PdfBoxSlowOutputDevice. getSharedContext()
SharedContext
PdfBoxUserAgent. getSharedContext()
Methods in com.openhtmltopdf.pdfboxout with parameters of type SharedContext Modifier and Type Method Description static PdfBoxPDFReplacedElement
PdfBoxPDFReplacedElement. create(org.apache.pdfbox.pdmodel.PDDocument target, byte[] pdfBytes, org.w3c.dom.Element e, Box box, CssContext ctx, SharedContext shared)
private java.lang.String
PdfBoxPerDocumentFormState. getControlFont(SharedContext sharedContext, PdfBoxForm.Control ctrl)
void
PdfBoxPerDocumentFormState. processControls(SharedContext sharedContext, org.apache.pdfbox.pdmodel.PDDocument writer, Box root)
private void
PdfBoxFontResolver. resolveFamilyFont(SharedContext ctx, java.lang.String[] families, float size, IdentValue weight, IdentValue style, IdentValue variant, java.util.List<PdfBoxFontResolver.FontDescription> fonts, AbstractFontStore store)
FSFont
PdfBoxFontResolver. resolveFont(SharedContext renderingContext, FontSpecification spec)
private FSFont
PdfBoxFontResolver. resolveFont(SharedContext ctx, java.lang.String[] families, float size, IdentValue weight, IdentValue style, IdentValue variant)
void
PdfBoxFastOutputDevice. setSharedContext(SharedContext sharedContext)
void
PdfBoxOutputDevice. setSharedContext(SharedContext sharedContext)
void
PdfBoxSlowOutputDevice. setSharedContext(SharedContext sharedContext)
void
PdfBoxUserAgent. setSharedContext(SharedContext sharedContext)
Constructors in com.openhtmltopdf.pdfboxout with parameters of type SharedContext Constructor Description PdfBoxBookmarkManager(org.w3c.dom.Document xml, org.apache.pdfbox.pdmodel.PDDocument doc, SharedContext sharedContext, float dotsPerPoint, PdfBoxFastOutputDevice od)
PdfBoxFastLinkManager(SharedContext ctx, float dotsPerPoint, Box root, PdfBoxFastOutputDevice od)
PdfBoxFontResolver(SharedContext sharedContext, org.apache.pdfbox.pdmodel.PDDocument doc, FSCacheEx<java.lang.String,FSCacheValue> pdfMetricsCache, PdfRendererBuilder.PdfAConformance pdfAConformance, boolean pdfUaConform)
PdfBoxImageElement(org.w3c.dom.Element e, FSImage image, SharedContext c, boolean interpolate)
PdfBoxLinkManager(SharedContext ctx, float dotsPerPoint, Box root, PdfBoxOutputDevice od)
Deprecated.PdfBoxObjectDrawerReplacedElement(org.w3c.dom.Element e, FSObjectDrawer drawer, int cssWidth, int cssHeight, SharedContext c)
PdfBoxPDFReplacedElement(org.apache.pdfbox.pdmodel.graphics.form.PDFormXObject srcForm, org.w3c.dom.Element e, Box box, CssContext ctx, SharedContext shared, float w, float h)
PdfBoxSVGReplacedElement(org.w3c.dom.Element e, SVGDrawer svgImpl, int cssWidth, int cssHeight, Box box, CssContext css, SharedContext c)
-
Uses of SharedContext in com.openhtmltopdf.pdfboxout.fontstore
Fields in com.openhtmltopdf.pdfboxout.fontstore declared as SharedContext Modifier and Type Field Description private SharedContext
MainFontStore. _sharedContext
Methods in com.openhtmltopdf.pdfboxout.fontstore with parameters of type SharedContext Modifier and Type Method Description PdfBoxFontResolver.FontDescription
AbstractFontStore.BuiltinFontStore. resolveFont(SharedContext ctx, java.lang.String fontFamily, float size, IdentValue weight, IdentValue style, IdentValue variant)
PdfBoxFontResolver.FontDescription
AbstractFontStore.EmptyFontStore. resolveFont(SharedContext ctx, java.lang.String fontFamily, float size, IdentValue weight, IdentValue style, IdentValue variant)
abstract PdfBoxFontResolver.FontDescription
AbstractFontStore. resolveFont(SharedContext ctx, java.lang.String fontFamily, float size, IdentValue weight, IdentValue style, IdentValue variant)
PdfBoxFontResolver.FontDescription
MainFontStore. resolveFont(SharedContext ctx, java.lang.String fontFamily, float size, IdentValue weight, IdentValue style, IdentValue variant)
java.util.List<PdfBoxFontResolver.FontDescription>
FallbackFontStore. resolveFonts(SharedContext ctx, java.lang.String[] families, float size, IdentValue weight, IdentValue style, IdentValue variant)
Constructors in com.openhtmltopdf.pdfboxout.fontstore with parameters of type SharedContext Constructor Description FallbackFontStore(SharedContext sharedContext, org.apache.pdfbox.pdmodel.PDDocument doc, FSCacheEx<java.lang.String,FSCacheValue> pdfMetricsCache)
MainFontStore(SharedContext sharedContext, org.apache.pdfbox.pdmodel.PDDocument doc, FSCacheEx<java.lang.String,FSCacheValue> pdfMetricsCache)
-
Uses of SharedContext in com.openhtmltopdf.render
Fields in com.openhtmltopdf.render declared as SharedContext Modifier and Type Field Description protected SharedContext
RenderingContext. sharedContext
Constructors 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.svgsupport
Methods in com.openhtmltopdf.svgsupport with parameters of type SharedContext Modifier and Type Method Description void
BatikSVGDrawer. importFontFaceRules(java.util.List<FontFaceRule> fontFaces, SharedContext shared)
void
PDFTranscoder.OpenHtmlFontResolver. importFontFaces(java.util.List<FontFaceRule> fontFaces, SharedContext ctx)
-
Uses of SharedContext in com.openhtmltopdf.swing
Methods in com.openhtmltopdf.swing with parameters of type SharedContext Modifier and Type Method Description protected static java.awt.Font
AWTFontResolver. createFont(SharedContext ctx, java.awt.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 java.util.Map<java.awt.Shape,java.lang.String>
ImageMapParser. findAndParseMap(org.w3c.dom.Element elem, SharedContext c)
protected static java.lang.String
AWTFontResolver. getFontInstanceHashName(SharedContext ctx, java.lang.String name, float size, IdentValue weight, IdentValue style, IdentValue variant)
Gets the hash key for a concrete instance of a font.private static java.util.Map<java.awt.Shape,java.lang.String>
ImageMapParser. parseMap(org.w3c.dom.Node map, SharedContext c)
FSFont
AWTFontResolver. resolveFont(SharedContext renderingContext, FontSpecification spec)
FSFont
AWTFontResolver. resolveFont(SharedContext ctx, java.lang.String[] families, float size, IdentValue weight, IdentValue style, IdentValue variant)
Resolves a list of font families.protected java.awt.Font
AWTFontResolver. resolveFont(SharedContext ctx, java.lang.String font, float size, IdentValue weight, IdentValue style, IdentValue variant)
Resolves a single font name. -
Uses of SharedContext in com.openhtmltopdf.util
Fields in com.openhtmltopdf.util declared as SharedContext Modifier and Type Field Description private SharedContext
ThreadCtx.ThreadData. sharedContext
Methods in com.openhtmltopdf.util that return SharedContext Modifier and Type Method Description SharedContext
ThreadCtx.ThreadData. sharedContext()
Methods in com.openhtmltopdf.util with parameters of type SharedContext Modifier and Type Method Description void
ThreadCtx.ThreadData. setSharedContext(SharedContext sharedContext)
-