Uses of Class
org.faceless.publisher.type.Language
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
Provides the classes and interfaces used for loading external resources
Contains utility classes and interfaces which are used across BFO Publisher
-
Uses of Language in org.faceless.publisher
Modifier and TypeMethodDescriptionDocument.getLanguage()
Set Meta-information about the document as a whole. -
Uses of Language in org.faceless.publisher.output
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.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.ModifierConstructorDescriptionGeneralText
(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 Language in org.faceless.publisher.output.pdf
-
Uses of Language in org.faceless.publisher.resource
Modifier and TypeMethodDescriptionHyphenationTree
ResourceManager.getHyphenationTree
(Language lang) Load the shared list of system hyphenation resources from the classpath. -
Uses of Language in org.faceless.publisher.type
Modifier and TypeFieldDescriptionstatic final Language
Language.ROOT
The "root" language - all components are emptyModifier and TypeMethodDescriptionstatic Language
Language.getInstance
(String range) Get a Language that matches the specified text, creating one if necessarystatic Language
Language.getInstance
(Locale locale) Return a Language that corresponds to the specified LocaleAbstractNode.getLanguage()
Return the language of the current node in lowercase.AbstractTreeNode.getLanguage()
Return the language of the current node in lowercase.FontLanguageOverrideType.getLanguage
(Language language) Get the computed Language.FontResourceDescriptor.getLanguage()
Modifier and TypeMethodDescriptionvoid
ContentHandlerWrapper.addMetadata
(URL2 subject, URL2 property, Object value, Language lang, Object source) void
Add a Metadata value to the nearest scoped ancestor, or (if called before the root element), add to the root element.void
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.FontLanguageOverrideType.getLanguage
(Language language) Get the computed Language.static org.faceless.publisher.type.TextJustifyProp
TextJustifyProp.resolveAuto
(Language language) Given the specified language, determine the most appropriate value to use instead of "auto"int
Language.scoreAgainstPattern
(Language pattern) Return a score for how well this Language matches the specified Locale, which can be used to determine the best match (higher is better, 0 is no match) This has a strong but not exact relation to BCP47 - once we get to extensions, it differs.void
ContentHandlerWrapper.setLanguage
(Language language) void
DocumentSink.setLanguage
(Language language) Set the language on the currently open Element.void
FontResourceDescriptor.setLanguage
(Language language) Set the Language.TextTransform.transform
(CharSequence text, int prevUnicode, Language language, org.faceless.publisher.type.TextTransform parentTextTransform) Apply this transformation to a CharSequence