From 83a5ea5ec5160cf40c0967d2fd96a89f75b23ba4 Mon Sep 17 00:00:00 2001 From: Peter Bernard West Date: Sat, 29 May 2004 18:53:15 +0000 Subject: [PATCH] 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 --- src/java/org/apache/fop/fo/FOPageSeqNode.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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); -- 2.39.5