Uses of Interface
org.faceless.publisher.type.CSSStyle
Package
Description
Provides the main classes for BFO Publisher
Provides the base classes for output from BFO Publisher, extended by type-specific subpackages
Provides the classes used to write output to PDF
Contains utility classes and interfaces which are used across BFO Publisher
-
Uses of org.faceless.publisher.type.CSSStyle in org.faceless.publisher
Modifier and TypeMethodDescriptionorg.faceless.publisher.type.LengthEvaluationContext
LayoutContext.getLengthEvaluationContext
(float percentage, org.faceless.publisher.type.CSSStyle style) org.faceless.publisher.type.LengthEvaluationContext
LayoutContext.getLengthEvaluationContext
(org.faceless.publisher.type.Length percentage, org.faceless.publisher.type.CSSStyle style) -
Uses of org.faceless.publisher.type.CSSStyle in org.faceless.publisher.output
Modifier and TypeMethodDescriptionorg.faceless.publisher.type.CSSStyle
Box.getStyle()
Return the RenderStyle of this Box.org.faceless.publisher.type.CSSStyle
GeneralText.getStyle()
org.faceless.publisher.type.CSSStyle
IsolatedContext.getStyle()
Modifier and TypeMethodDescriptionorg.faceless.publisher.type.ReplacedInline.SplitBefore
GeneralText.canSplitBefore
(org.faceless.publisher.type.ReplacedInline other, org.faceless.publisher.type.CSSStyle style, Language language) org.faceless.publisher.type.ReplacedInline
DiscardReportOutput.createLeader
(String text, org.faceless.publisher.type.CSSStyle style, Language language, int bidilevel) org.faceless.publisher.type.ReplacedInline
ReportOutputFilter.createLeader
(String text, org.faceless.publisher.type.CSSStyle style, Language language, int bidilevel) Create a new leader with the specified leader text.static PDFGlyphVector
GeneralText.createPDFGlyphVector
(String text, int startIndex, org.faceless.publisher.type.CSSStyle style, Language language, int bidiLevel, org.faceless.publisher.type.LengthEvaluationContext ctx) Create a single PDFGlyphVector for as much of the specified string as we can, based on the supplied style.org.faceless.publisher.type.ReplacedContent
DiscardReportOutput.createReplacedContent
(org.faceless.publisher.type.ReplacedContentResource resource, org.faceless.publisher.type.CSSStyle style, EgressFilter filter) org.faceless.publisher.type.ReplacedContent
ReportOutputFilter.createReplacedContent
(org.faceless.publisher.type.ReplacedContentResource resource, org.faceless.publisher.type.CSSStyle style, EgressFilter filter) org.faceless.publisher.type.ReplacedInline
DiscardReportOutput.createText
(String text, org.faceless.publisher.type.CSSStyle style, Language language, boolean linebreakfollows, int level, boolean svg) org.faceless.publisher.type.ReplacedInline
ReportOutputFilter.createText
(String text, org.faceless.publisher.type.CSSStyle style, Language language, boolean linebreakfollows, int level, boolean svg) Create a newReplacedInline
for the specified text.static org.faceless.publisher.output.IsolatedContext
IsolatedContext.getInstance
(org.faceless.publisher.type.AbstractNode node, org.faceless.publisher.type.CSSStyle style, boolean replaced, boolean oldsvg) If the supplied Style would generated an isolated context, return a new IsolatedContext, otherwise return nullvoid
DiscardReportOutput.newPage
(org.faceless.publisher.type.CSSStyle pagestyle) void
ReportOutputFilter.newPage
(org.faceless.publisher.type.CSSStyle pagestyle) Create a new PageModifierConstructorDescriptionGeneralText
(String text, org.faceless.publisher.type.CSSStyle style, Language language, boolean newlinefollows, int bidilevel, boolean svg, boolean leader) Create a new GeneralTextReportCanvasGraphics
(org.faceless.publisher.output.ReportCanvas canvas, org.faceless.publisher.type.CSSStyle style, Language language) Constructor. -
Uses of org.faceless.publisher.type.CSSStyle in org.faceless.publisher.output.pdf
-
Uses of org.faceless.publisher.type.CSSStyle in org.faceless.publisher.type
Modifier and TypeFieldDescriptionorg.faceless.publisher.type.CSSStyle
ExpandContext.style
Modifier and TypeMethodDescriptiondefault org.faceless.publisher.type.CSSStyle
PageMaster.getFootnoteStyle()
Return the style for the Footnote sectionorg.faceless.publisher.type.CSSStyle
CSSStyle.getNthLineStyle
(int linenumber) Get the style for the next-line of this Style; will return null if no such pseudoelement is declared.org.faceless.publisher.type.CSSStyle
FilterCSSStyle.getNthLineStyle
(int linenumber) org.faceless.publisher.type.CSSStyle
PageMaster.getPageStyle()
Return the style of the main page objectorg.faceless.publisher.type.CSSStyle
CSSStyle.getParent()
Get the parent Styleorg.faceless.publisher.type.CSSStyle
FilterCSSStyle.getParent()
org.faceless.publisher.type.CSSStyle
AlignmentContext.getParentStyle()
Returns the style of the parent box.org.faceless.publisher.type.CSSStyle
FilterCSSStyle.getSource()
org.faceless.publisher.type.CSSStyle
AbstractNode.getStyle()
Returns the primary element style in this collection.org.faceless.publisher.type.CSSStyle
AbstractStyledNode.getStyle()
org.faceless.publisher.type.CSSStyle
AlignmentContext.getStyle()
Returns the style of this box.org.faceless.publisher.type.CSSStyle
LengthEvaluationContext.getStyle()
org.faceless.publisher.type.CSSStyle
ReplacedInline.getStyle()
Return the style for this ReplacedInlineorg.faceless.publisher.type.CSSStyle
SimpleLengthEvaluationContext.getStyle()
static org.faceless.publisher.type.CSSStyle
CSSStyle.newStyle
(org.faceless.publisher.Document document) Modifier and TypeMethodDescriptionboolean
ReplacedInline.HyphenateContext.canHyphenate
(org.faceless.publisher.type.CSSStyle style) org.faceless.publisher.type.ReplacedInline.SplitBefore
ReplacedInline.canSplitBefore
(org.faceless.publisher.type.ReplacedInline inline, org.faceless.publisher.type.CSSStyle parentStyle, Language language) Return true if a split is possible between the end of this ReplacedInline and the start of the specified one.BackgroundPosition.compute
(org.faceless.publisher.type.CSSStyle style) BackgroundSize.compute
(org.faceless.publisher.type.CSSStyle style) BaselineShift.compute
(org.faceless.publisher.type.CSSStyle style) BorderImageSlice.compute
(org.faceless.publisher.type.CSSStyle style) ColorStop.compute
(org.faceless.publisher.type.CSSStyle style) Computable.compute
(org.faceless.publisher.type.CSSStyle style) Compute the value.InitialLetterWrap.compute
(org.faceless.publisher.type.CSSStyle style) LengthFilter.compute
(org.faceless.publisher.type.CSSStyle style) LengthPair.compute
(org.faceless.publisher.type.CSSStyle style) LengthQuad.compute
(org.faceless.publisher.type.CSSStyle style) MathScriptLevel.compute
(org.faceless.publisher.type.CSSStyle style) PageDependentComputable.compute
(org.faceless.publisher.type.CSSStyle style, Object negativeMatch) Compute the value.PageSize.compute
(org.faceless.publisher.type.CSSStyle style) RadialGradientSize.compute
(org.faceless.publisher.type.CSSStyle style) Shadow.compute
(org.faceless.publisher.type.CSSStyle style) SimpleLength.compute
(org.faceless.publisher.type.CSSStyle style) TabStop.compute
(org.faceless.publisher.type.CSSStyle style) TagType.compute
(org.faceless.publisher.type.CSSStyle style) TextIndent.compute
(org.faceless.publisher.type.CSSStyle style) org.faceless.publisher.type.ReplacedContent
BufferedImageResource.create
(ReportOutput output, org.faceless.publisher.type.CSSStyle style, EgressFilter filter) org.faceless.publisher.type.ReplacedContent
LinearGradientResource.create
(ReportOutput output, org.faceless.publisher.type.CSSStyle style, EgressFilter filter) org.faceless.publisher.type.ReplacedContent
RadialGradientResource.create
(ReportOutput output, org.faceless.publisher.type.CSSStyle style, EgressFilter filter) default org.faceless.publisher.type.ReplacedContent
ReplacedContentResource.create
(ReportOutput output, org.faceless.publisher.type.CSSStyle style, EgressFilter filter) Create an instance of ReplacedContent that will targe the specified ReportOutput.static org.faceless.publisher.type.BasicShape
BasicShape.createBox
(org.faceless.publisher.type.CSSStyle style, org.faceless.publisher.type.BoxProp box) Create a BasicShape referencing a box onlystatic org.faceless.publisher.type.BasicShape
BasicShape.createCircle
(org.faceless.publisher.type.CSSStyle style, org.faceless.publisher.type.BoxProp box, org.faceless.publisher.type.Length radius, org.faceless.publisher.type.BackgroundPosition position) Create a BasicShape from a circle()static org.faceless.publisher.type.BasicShape
BasicShape.createEllipse
(org.faceless.publisher.type.CSSStyle style, org.faceless.publisher.type.BoxProp box, org.faceless.publisher.type.Length xradius, org.faceless.publisher.type.Length yradius, org.faceless.publisher.type.BackgroundPosition position) Create a BasicShape from an ellipse()static org.faceless.publisher.type.BasicShape
BasicShape.createInset
(org.faceless.publisher.type.CSSStyle style, org.faceless.publisher.type.BoxProp box, org.faceless.publisher.type.Length top, org.faceless.publisher.type.Length right, org.faceless.publisher.type.Length bottom, org.faceless.publisher.type.Length left, org.faceless.publisher.type.LengthPair tlr, org.faceless.publisher.type.LengthPair trr, org.faceless.publisher.type.LengthPair brr, org.faceless.publisher.type.LengthPair blr) Create a BasicShape from an inset()static org.faceless.publisher.type.BasicShape
BasicShape.createPath
(org.faceless.publisher.type.CSSStyle style, org.faceless.publisher.type.BoxProp box, SimplePath path) Create a BasicShape from a path()static org.faceless.publisher.type.BasicShape
BasicShape.createPolygon
(org.faceless.publisher.type.CSSStyle style, org.faceless.publisher.type.BoxProp box, int windingRule, List<org.faceless.publisher.type.LengthPair> pairs) Create a BasicShape from a polygon()static org.faceless.publisher.type.BasicShape
BasicShape.createRect
(org.faceless.publisher.type.CSSStyle style, org.faceless.publisher.type.BoxProp box, org.faceless.publisher.type.Length top, org.faceless.publisher.type.Length right, org.faceless.publisher.type.Length bottom, org.faceless.publisher.type.Length left) Create a BasicShape from a rect(), which is only valid with the legacy "clip" propertyorg.faceless.publisher.type.ReplacedContent
StyleListener.elementStyled
(org.faceless.publisher.type.AbstractNode node, org.faceless.publisher.type.CSSStyle style) This method will be called by the DoucmentSink when the currently opened Element has a style associated with it.AffineTransform3D
TransformType.get
(org.faceless.publisher.type.CSSStyle s, org.faceless.publisher.type.Bounds bounds, org.faceless.publisher.type.BoxProp transformBox, double vw, double vh) BfoLayerType.getAction
(org.faceless.publisher.type.CSSStyle style, org.faceless.publisher.type.Action action) Return the "onNNN" property for the specified action, or null if undefined If specified as relative, it's relativefloat
InitialLetterAlign.getAlignment
(boolean top, org.faceless.publisher.type.CSSStyle style) Return the distance above the alphabetic baseline of the top/bottom alignment pointorg.faceless.publisher.type.CSSColor
Shadow.getColor
(org.faceless.publisher.type.CSSStyle style) double[]
LineStyle.getDashPattern
(double lineLength, double lineWidth, boolean ignoreStartOffset, boolean ignoreEndOffset, org.faceless.publisher.type.CSSStyle style) BufferedImageResource.getImage
(org.faceless.publisher.type.CSSStyle style, Rectangle2D region, Rectangle2D clip, float vw, float vh) Retrieve the BufferedImage for the specified area.ObjectFitProp.getObjectLocation
(float iw, float ih, float ir, float cw, float ch, org.faceless.publisher.type.BackgroundPosition position, org.faceless.publisher.type.CSSStyle style, float vw, float vh) Return an AffineTransform to map an object with a specified intrinsic width/height/ratio to the target area.SimplePath
BoxProp.getShape
(org.faceless.publisher.type.Bounds bounds, org.faceless.publisher.type.CSSStyle style, float spread, boolean outer, boolean borderClipTest, float vw, float vh) Return the exact shape for this box based on the specified bounds.org.faceless.publisher.type.Length
InitialLetter.getUsedFontSize
(org.faceless.publisher.type.CSSStyle style, org.faceless.publisher.type.CSSStyle blockStyle) Get the font size that should be used for an element with this initial-letter values.org.faceless.publisher.type.FontPaletteValues
FontPaletteValues.inContext
(org.faceless.publisher.type.CSSStyle style) Return a local copy of this FontPaletteValues object which applies to the specific Style.boolean
Length.isViewportBased
(org.faceless.publisher.type.CSSStyle style) Return true if this length includes viewport units (vw/vh)boolean
LengthFilter.isViewportBased
(org.faceless.publisher.type.CSSStyle style) boolean
SimpleLength.isViewportBased
(org.faceless.publisher.type.CSSStyle style) static List<org.faceless.publisher.type.ColorStop>
ColorStop.resolve
(List<org.faceless.publisher.type.ColorStop> colorStops, float extent, org.faceless.publisher.type.CSSStyle style, boolean repeating, org.faceless.publisher.output.ReportCanvas canvas) Resolve and sanitise a list of ColorStops.org.faceless.publisher.type.CSSColor
CSSColor.resolve
(org.faceless.publisher.type.CSSStyle style) static org.faceless.publisher.type.LengthPair
LengthPair.resolveAutoPageSize
(org.faceless.publisher.type.CSSStyle style, org.faceless.publisher.Document document) Work out what "auto" means.ModifierConstructorDescriptionImageThresholdClipPath
(org.faceless.publisher.type.CSSStyle style, URL2 uri) PathReplacedContent
(SimplePath path, org.faceless.publisher.type.CSSStyle style) SimpleLengthEvaluationContext
(org.faceless.publisher.type.CSSStyle style) SimpleLengthEvaluationContext
(org.faceless.publisher.type.CSSStyle style, float percentage) SimpleLengthEvaluationContext
(org.faceless.publisher.type.CSSStyle style, float percentage, float vw, float vh) SimpleLengthEvaluationContext
(org.faceless.publisher.type.CSSStyle style, org.faceless.publisher.type.Length percentage) SimpleLengthEvaluationContext
(org.faceless.publisher.type.CSSStyle style, org.faceless.publisher.type.LengthEvaluationContext ctx) SimpleLengthEvaluationContext
(org.faceless.publisher.type.CSSStyle style, org.faceless.publisher.type.Length percentage, float vw, float vh) Strut
(LayoutContext layoutContext, org.faceless.publisher.type.CSSStyle style, boolean root) Create a Strut for a normal objectStrut
(LayoutContext layoutContext, org.faceless.publisher.type.CSSStyle style, boolean root, org.faceless.publisher.type.LengthEvaluationContext ctx) Create a Strut for a normal object that is part of an SVG embedded inside another SVG as an. Strut
(LayoutContext layoutContext, org.faceless.publisher.type.CSSStyle style, float baseline, float height) Create a Strut for an inline object that has no concept of a baseline, such as an image.Strut
(org.faceless.publisher.type.Strut nested, org.faceless.publisher.type.CSSStyle style, float above, float below) Create a Strut for an inline block or table, or other object that has an intrinsic baseline of some sort