aboutsummaryrefslogtreecommitdiffstats
path: root/src/scratchpad
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2015-02-05 23:31:59 +0000
committerNick Burch <nick@apache.org>2015-02-05 23:31:59 +0000
commitc42c709c9a9104b7cf4e87d2bb08c93b6bfb6703 (patch)
tree6d0f0ce8f03eac50ff12c05a447ad53112def75b /src/scratchpad
parenteeb40d677f1f17c2eef3821a4d63dad46ef7431f (diff)
downloadpoi-c42c709c9a9104b7cf4e87d2bb08c93b6bfb6703.tar.gz
poi-c42c709c9a9104b7cf4e87d2bb08c93b6bfb6703.zip
XWPF implementation of some common Paragraph methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1657717 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/scratchpad')
-rw-r--r--src/scratchpad/src/org/apache/poi/wp/usermodel/Paragraph.java27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/scratchpad/src/org/apache/poi/wp/usermodel/Paragraph.java b/src/scratchpad/src/org/apache/poi/wp/usermodel/Paragraph.java
index ba2bc9f8a7..be488a2ef8 100644
--- a/src/scratchpad/src/org/apache/poi/wp/usermodel/Paragraph.java
+++ b/src/scratchpad/src/org/apache/poi/wp/usermodel/Paragraph.java
@@ -47,6 +47,15 @@ public interface Paragraph {
public void setSideBySide(boolean fSideBySide);
*/
+ public int getIndentFromRight();
+ public void setIndentFromRight(int dxaRight);
+
+ public int getIndentFromLeft();
+ public void setIndentFromLeft(int dxaLeft);
+
+ public int getFirstLineIndent();
+ public void setFirstLineIndent(int first);
+
/*
public boolean isLineNotNumbered();
public void setLineNotNumbered(boolean fNoLnn);
@@ -57,15 +66,6 @@ public interface Paragraph {
public boolean isWidowControlled();
public void setWidowControl(boolean widowControl);
- public int getIndentFromRight();
- public void setIndentFromRight(int dxaRight);
-
- public int getIndentFromLeft();
- public void setIndentFromLeft(int dxaLeft);
-
- public int getFirstLineIndent();
- public void setFirstLineIndent(int first);
-
public int getSpacingBefore();
public void setSpacingBefore(int before);
@@ -76,13 +76,13 @@ public interface Paragraph {
// public LineSpacingDescriptor getLineSpacing();
// public void setLineSpacing(LineSpacingDescriptor lspd);
-/*
- public boolean isWordWrapped();
- public void setWordWrapped(boolean wrap);
-
public int getFontAlignment();
public void setFontAlignment(int align);
+ public boolean isWordWrapped();
+ public void setWordWrapped(boolean wrap);
+
+/*
public boolean isVertical();
public void setVertical(boolean vertical);
@@ -90,6 +90,7 @@ public interface Paragraph {
public void setBackward(boolean bward);
*/
+ // TODO Make the HWPF and XWPF interface wrappers compatible for these
/*
public BorderCode getTopBorder();
public void setTopBorder(BorderCode top);