public abstract class AbstractRichParagraphNode extends AbstractRichTextLeafNode
Modifier and Type | Field and Description |
---|---|
Direction |
direction |
JustificationRule |
justificationRule |
JustificationStyle |
justificationStyle |
LeadingModel |
leadingModel |
protected static double |
PARAGRAPH_INDENT_MAX_INCLUSIVE |
protected static double |
PARAGRAPH_INDENT_MIN_INCLUSIVE |
protected static double |
PARAGRAPH_SPACE_MAX_INCLUSIVE |
protected static double |
PARAGRAPH_SPACE_MIN_INCLUSIVE |
double |
paragraphEndIndent |
double |
paragraphSpaceAfter |
double |
paragraphSpaceBefore |
double |
paragraphStartIndent |
String |
tabStops |
TextAlign |
textAlign |
TextAlign |
textAlignLast |
double |
textIndent |
protected static double |
TEXTINDENT_MAX_INCLUSIVE |
protected static double |
TEXTINDENT_MIN_INCLUSIVE |
TextJustify |
textJustify |
alignmentBaseline, backgroundAlpha, backgroundColor, baselineShift, BASELINESHIFT_MAX_INCLUSIVE, BASELINESHIFT_MIN_INCLUSIVE, breakOpportunity, color, digitCase, digitWidth, dominantBaseline, fontFamily, fontSize, FONTSIZE_MAX_INCLUSIVE, FONTSIZE_MIN_INCLUSIVE, fontStyle, fontWeight, kerning, ligatureLevel, lineHeight, LINEHEIGHT_PERCENT_MAX_INCLUSIVE, LINEHEIGHT_PERCENT_MIN_INCLUSIVE, LINEHEIGHT_PIXEL_MAX_INCLUSIVE, LINEHEIGHT_PIXEL_MIN_INCLUSIVE, lineThrough, locale, textAlpha, textDecoration, textRotation, TRACKING_MAX_INCLUSIVE, TRACKING_MIN_INCLUSIVE, trackingLeft, trackingRight, typographicCase, whiteSpaceCollapse
content, id, parentNode, textAttributes
ALPHA_MAX_INCLUSIVE, ALPHA_MIN_INCLUSIVE, COLOR_BLACK, COLOR_RED, COLOR_WHITE, documentNode, endColumn, endLine, EPSILON, GRADIENT_ENTRIES_MAX_INCLUSIVE, startColumn, startLine, uri
Constructor and Description |
---|
AbstractRichParagraphNode() |
Modifier and Type | Method and Description |
---|---|
void |
setAttribute(String name,
String value,
Collection<ICompilerProblem> problems)
This implementation processes paragraph attributes that are relevant to
the <p> tag, as well as delegates to the parent class to process
text leaft attributes that are also relevant to the <p> tag.
|
addChild, addTextProperty, getChildren, getId, getTextAttributes, getTextChildren, getTextProperties, rememberAttribute, setId, setParent
getDocumentNode, getDocumentPath, getEndColumn, getEndLine, getFileVersion, getNodeURI, getStartColumn, getStartLine, isVersionGreaterThanCompiler, setDocumentNode, setEndColumn, setEndLine, setNodeURI, setStartColumn, setStartLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocumentNode, getDocumentPath, getEndColumn, getEndLine, getNodeName, getNodeURI, getStartColumn, getStartLine, setDocumentNode, setEndColumn, setEndLine, setStartColumn, setStartLine
protected static final double PARAGRAPH_INDENT_MIN_INCLUSIVE
protected static final double PARAGRAPH_INDENT_MAX_INCLUSIVE
protected static final double PARAGRAPH_SPACE_MIN_INCLUSIVE
protected static final double PARAGRAPH_SPACE_MAX_INCLUSIVE
protected static final double TEXTINDENT_MIN_INCLUSIVE
protected static final double TEXTINDENT_MAX_INCLUSIVE
public TextAlign textAlign
public TextAlign textAlignLast
public double textIndent
public double paragraphStartIndent
public double paragraphEndIndent
public double paragraphSpaceBefore
public double paragraphSpaceAfter
public Direction direction
public JustificationRule justificationRule
public JustificationStyle justificationStyle
public TextJustify textJustify
public LeadingModel leadingModel
public String tabStops
public void setAttribute(String name, String value, Collection<ICompilerProblem> problems)
Paragraph attributes include:
setAttribute
in interface IFXGNode
setAttribute
in class AbstractRichTextLeafNode
name
- the attribute namevalue
- the attribute valueproblems
- problem collection used to collect problems occurred within this methodAbstractTextNode.setAttribute(String, String, Collection)
Copyright © 2016 The Apache Software Foundation. All rights reserved.