From: Peter Bernard West Date: Sat, 29 May 2004 18:53:15 +0000 (+0000) Subject: Added getDecorations(). X-Git-Tag: Defoe_export~122 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=83a5ea5ec5160cf40c0967d2fd96a89f75b23ba4;p=xmlgraphics-fop.git Added getDecorations(). MAde getFontAtrtributes() public. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197656 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/fo/FOPageSeqNode.java b/src/java/org/apache/fop/fo/FOPageSeqNode.java index 15b7ff3ed..9599040ad 100644 --- a/src/java/org/apache/fop/fo/FOPageSeqNode.java +++ b/src/java/org/apache/fop/fo/FOPageSeqNode.java @@ -61,6 +61,13 @@ public class FOPageSeqNode extends FONode { /** Decorations applicable to generated text. See 7.16.4 "text-decoration" * in the Recommendation.*/ protected TextDecorations decorations = null; + /** + * Gets the current TextDecorations object + * @return the decorations + */ + public TextDecorations getDecorations() { + return decorations; + } /** * @param foTree the FO tree to which this node is added @@ -305,7 +312,7 @@ public class FOPageSeqNode extends FONode { * @throws PropertyException * @throws FontException */ - protected Map getFontAttributes() throws PropertyException, FontException { + public Map getFontAttributes() throws PropertyException, FontException { int pvtype; Numeric fontSize = null; PropertyValue pv = getPropertyValue(PropNames.FONT_STYLE);