From b476337e685de7a0863320b18d0373ad882e9252 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Mon, 6 Aug 2001 09:14:24 +0000 Subject: [PATCH] adds the remaining property groups git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194395 13f79535-47bb-0310-9956-ffa450edef68 --- .../fop/layout/AbsolutePositionProps.java | 25 +++++++++++++ .../apache/fop/layout/AccessibilityProps.java | 20 +++++++++++ src/org/apache/fop/layout/AuralProps.java | 36 +++++++++++++++++++ .../apache/fop/layout/BackgroundProps.java | 10 ++++++ .../apache/fop/layout/MarginInlineProps.java | 26 ++++++++++++++ .../fop/layout/RelativePositionProps.java | 26 ++++++++++++++ 6 files changed, 143 insertions(+) create mode 100644 src/org/apache/fop/layout/AbsolutePositionProps.java create mode 100644 src/org/apache/fop/layout/AccessibilityProps.java create mode 100644 src/org/apache/fop/layout/AuralProps.java create mode 100644 src/org/apache/fop/layout/MarginInlineProps.java create mode 100644 src/org/apache/fop/layout/RelativePositionProps.java diff --git a/src/org/apache/fop/layout/AbsolutePositionProps.java b/src/org/apache/fop/layout/AbsolutePositionProps.java new file mode 100644 index 000000000..e8e5d1a56 --- /dev/null +++ b/src/org/apache/fop/layout/AbsolutePositionProps.java @@ -0,0 +1,25 @@ +/* + * $Id$ + * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. + * For details on use and redistribution please refer to the + * LICENSE file included with these sources. + */ + +package org.apache.fop.layout; + +import org.apache.fop.datatypes.Length; + +/** + * Store all hyphenation related properties on an FO. + * Public "structure" allows direct member access. + */ +public class AbsolutePositionProps { + public int absolutePosition; + public Length top; + public Length right; + public Length bottom; + public Length left; + + public AbsolutePositionProps() {} + +} diff --git a/src/org/apache/fop/layout/AccessibilityProps.java b/src/org/apache/fop/layout/AccessibilityProps.java new file mode 100644 index 000000000..a7bd4dd5f --- /dev/null +++ b/src/org/apache/fop/layout/AccessibilityProps.java @@ -0,0 +1,20 @@ +/* + * $Id$ + * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. + * For details on use and redistribution please refer to the + * LICENSE file included with these sources. + */ + +package org.apache.fop.layout; + +/** + * Store all hyphenation related properties on an FO. + * Public "structure" allows direct member access. + */ +public class AccessibilityProps { + public String sourceDoc = null; + public String role = null; + + public AccessibilityProps() {} + +} diff --git a/src/org/apache/fop/layout/AuralProps.java b/src/org/apache/fop/layout/AuralProps.java new file mode 100644 index 000000000..4daf89ab4 --- /dev/null +++ b/src/org/apache/fop/layout/AuralProps.java @@ -0,0 +1,36 @@ +/* + * $Id$ + * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. + * For details on use and redistribution please refer to the + * LICENSE file included with these sources. + */ + +package org.apache.fop.layout; + +/** + * Store all hyphenation related properties on an FO. + * Public "structure" allows direct member access. + */ +public class AuralProps { + public int azimuth; + public String cueAfter; + public String cueBefore; + public int elevation; + public int pauseAfter; + public int pauseBefore; + public int pitch; + public int pitchRange; + public int playDuring; + public int richness; + public int speak; + public int speakHeader; + public int speakNumeral; + public int speakPunctuation; + public int speechRate; + public int stress; + public int voiceFamily; + public int volume; + + public AuralProps() {} + +} diff --git a/src/org/apache/fop/layout/BackgroundProps.java b/src/org/apache/fop/layout/BackgroundProps.java index 36639e236..6c2d47cda 100644 --- a/src/org/apache/fop/layout/BackgroundProps.java +++ b/src/org/apache/fop/layout/BackgroundProps.java @@ -7,11 +7,21 @@ package org.apache.fop.layout; +import org.apache.fop.datatypes.Length; + +import java.awt.Color; + /** * Store all hyphenation related properties on an FO. * Public "structure" allows direct member access. */ public class BackgroundProps { + public int backAttachment; + public Color backColor; + public String backImage; + public int backRepeat; + public Length backPosHorizontal; + public Length backPosVertical; public BackgroundProps() {} diff --git a/src/org/apache/fop/layout/MarginInlineProps.java b/src/org/apache/fop/layout/MarginInlineProps.java new file mode 100644 index 000000000..8dc6da07b --- /dev/null +++ b/src/org/apache/fop/layout/MarginInlineProps.java @@ -0,0 +1,26 @@ +/* + * $Id$ + * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. + * For details on use and redistribution please refer to the + * LICENSE file included with these sources. + */ + +package org.apache.fop.layout; + +/** + * Store all hyphenation related properties on an FO. + * Public "structure" allows direct member access. + */ +public class MarginInlineProps { + public int marginTop; + public int marginBottom; + public int marginLeft; + public int marginRight; + public int spaceBefore; + public int spaceAfter; + public int startIndent; + public int endIndent; + + public MarginInlineProps() {} + +} diff --git a/src/org/apache/fop/layout/RelativePositionProps.java b/src/org/apache/fop/layout/RelativePositionProps.java new file mode 100644 index 000000000..4b0f2c1a5 --- /dev/null +++ b/src/org/apache/fop/layout/RelativePositionProps.java @@ -0,0 +1,26 @@ +/* + * $Id$ + * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. + * For details on use and redistribution please refer to the + * LICENSE file included with these sources. + */ + +package org.apache.fop.layout; + +/** + * Store all hyphenation related properties on an FO. + * Public "structure" allows direct member access. + */ +public class RelativePositionProps { + public int marginTop; + public int marginBottom; + public int marginLeft; + public int marginRight; + public int spaceBefore; + public int spaceAfter; + public int startIndent; + public int endIndent; + + public RelativePositionProps() {} + +} -- 2.39.5