From 0aeb23b781bf11edf472d585f9eb40c317fb8801 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Sat, 11 Sep 2004 17:11:59 +0000 Subject: [PATCH] Removed tab characters. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197939 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/FOText.java | 2 +- src/java/org/apache/fop/fo/FObjMixed.java | 2 +- src/java/org/apache/fop/fo/flow/BasicLink.java | 2 +- src/java/org/apache/fop/fo/flow/BidiOverride.java | 2 +- src/java/org/apache/fop/fo/flow/Block.java | 5 ++++- src/java/org/apache/fop/fo/flow/BlockContainer.java | 2 +- src/java/org/apache/fop/fo/flow/Character.java | 2 +- src/java/org/apache/fop/fo/flow/Footnote.java | 2 +- src/java/org/apache/fop/fo/flow/InlineContainer.java | 5 ++++- src/java/org/apache/fop/fo/flow/ListBlock.java | 4 ++-- src/java/org/apache/fop/fo/flow/ListItem.java | 8 +++++++- src/java/org/apache/fop/fo/flow/PageNumber.java | 5 ++++- src/java/org/apache/fop/fo/flow/PageNumberCitation.java | 4 ++-- src/java/org/apache/fop/fo/flow/RetrieveMarker.java | 2 +- src/java/org/apache/fop/fo/flow/TableBody.java | 2 +- src/java/org/apache/fop/fo/flow/TableCell.java | 4 ++-- src/java/org/apache/fop/fo/flow/TableRow.java | 4 ++-- src/java/org/apache/fop/fo/pagination/Flow.java | 2 +- 18 files changed, 37 insertions(+), 22 deletions(-) diff --git a/src/java/org/apache/fop/fo/FOText.java b/src/java/org/apache/fop/fo/FOText.java index 5966928a2..c142cde0e 100644 --- a/src/java/org/apache/fop/fo/FOText.java +++ b/src/java/org/apache/fop/fo/FOText.java @@ -499,7 +499,7 @@ public class FOText extends FObj { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { if (endIndex - startIndex > 0) { list.add(new TextLayoutManager(this)); } diff --git a/src/java/org/apache/fop/fo/FObjMixed.java b/src/java/org/apache/fop/fo/FObjMixed.java index 84644f36e..210397ade 100644 --- a/src/java/org/apache/fop/fo/FObjMixed.java +++ b/src/java/org/apache/fop/fo/FObjMixed.java @@ -71,7 +71,7 @@ public class FObjMixed extends FObj { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { if (getChildNodes() != null) { InlineStackingLayoutManager lm; lm = new InlineStackingLayoutManager(this); diff --git a/src/java/org/apache/fop/fo/flow/BasicLink.java b/src/java/org/apache/fop/fo/flow/BasicLink.java index 04a244037..018f1fb90 100644 --- a/src/java/org/apache/fop/fo/flow/BasicLink.java +++ b/src/java/org/apache/fop/fo/flow/BasicLink.java @@ -108,7 +108,7 @@ public class BasicLink extends Inline { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { BasicLinkLayoutManager lm = new BasicLinkLayoutManager(this); list.add(lm); } diff --git a/src/java/org/apache/fop/fo/flow/BidiOverride.java b/src/java/org/apache/fop/fo/flow/BidiOverride.java index 48874bf1c..0bb664e63 100644 --- a/src/java/org/apache/fop/fo/flow/BidiOverride.java +++ b/src/java/org/apache/fop/fo/flow/BidiOverride.java @@ -113,7 +113,7 @@ public class BidiOverride extends FObjMixed { * @todo see if can/should move the child iteration logic * to BidiLayoutManager */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { if (false) { super.addLayoutManager(list); } else { diff --git a/src/java/org/apache/fop/fo/flow/Block.java b/src/java/org/apache/fop/fo/flow/Block.java index c7405b546..ea1e871ef 100644 --- a/src/java/org/apache/fop/fo/flow/Block.java +++ b/src/java/org/apache/fop/fo/flow/Block.java @@ -344,11 +344,14 @@ public class Block extends FObjMixed { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { BlockLayoutManager blm = new BlockLayoutManager(this); list.add(blm); } + /** + * @see org.apache.fop.fo.FONode#getName() + */ public String getName() { return "fo:block"; } diff --git a/src/java/org/apache/fop/fo/flow/BlockContainer.java b/src/java/org/apache/fop/fo/flow/BlockContainer.java index 47965c1bd..55ab8eab0 100644 --- a/src/java/org/apache/fop/fo/flow/BlockContainer.java +++ b/src/java/org/apache/fop/fo/flow/BlockContainer.java @@ -85,7 +85,7 @@ public class BlockContainer extends FObj { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { BlockContainerLayoutManager blm = new BlockContainerLayoutManager(this); blm.setOverflow(getPropEnum(PR_OVERFLOW)); list.add(blm); diff --git a/src/java/org/apache/fop/fo/flow/Character.java b/src/java/org/apache/fop/fo/flow/Character.java index 0dc04de47..1dddd938d 100644 --- a/src/java/org/apache/fop/fo/flow/Character.java +++ b/src/java/org/apache/fop/fo/flow/Character.java @@ -81,7 +81,7 @@ public class Character extends FObj { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { String str = getPropString(PR_CHARACTER); if (str.length() == 1) { CharacterLayoutManager lm = new CharacterLayoutManager(this); diff --git a/src/java/org/apache/fop/fo/flow/Footnote.java b/src/java/org/apache/fop/fo/flow/Footnote.java index 27159da73..1770c0451 100644 --- a/src/java/org/apache/fop/fo/flow/Footnote.java +++ b/src/java/org/apache/fop/fo/flow/Footnote.java @@ -114,7 +114,7 @@ public class Footnote extends FObj { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { if (getInlineFO() == null) { getLogger().error("inline required in footnote"); return; diff --git a/src/java/org/apache/fop/fo/flow/InlineContainer.java b/src/java/org/apache/fop/fo/flow/InlineContainer.java index 4e50556cd..76fa472a0 100644 --- a/src/java/org/apache/fop/fo/flow/InlineContainer.java +++ b/src/java/org/apache/fop/fo/flow/InlineContainer.java @@ -55,13 +55,16 @@ public class InlineContainer extends FObj { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { ArrayList childList = new ArrayList(); super.addLayoutManager(childList); LayoutManager lm = new ICLayoutManager(this, childList); list.add(lm); } + /** + * @see org.apache.fop.fo.FONode#getName() + */ public String getName() { return "fo:inline-container"; } diff --git a/src/java/org/apache/fop/fo/flow/ListBlock.java b/src/java/org/apache/fop/fo/flow/ListBlock.java index fee2972a6..d68e27dfa 100644 --- a/src/java/org/apache/fop/fo/flow/ListBlock.java +++ b/src/java/org/apache/fop/fo/flow/ListBlock.java @@ -86,9 +86,9 @@ public class ListBlock extends FObj { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { ListBlockLayoutManager lm = new ListBlockLayoutManager(this); - list.add(lm); + list.add(lm); } /** diff --git a/src/java/org/apache/fop/fo/flow/ListItem.java b/src/java/org/apache/fop/fo/flow/ListItem.java index 7b66f5dde..f37d373af 100644 --- a/src/java/org/apache/fop/fo/flow/ListItem.java +++ b/src/java/org/apache/fop/fo/flow/ListItem.java @@ -111,15 +111,21 @@ public class ListItem extends FObj { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { ListItemLayoutManager blm = new ListItemLayoutManager(this); list.add(blm); } + /** + * @return the label of the list item + */ public ListItemLabel getLabel() { return label; } + /** + * @return the body of the list item + */ public ListItemBody getBody() { return body; } diff --git a/src/java/org/apache/fop/fo/flow/PageNumber.java b/src/java/org/apache/fop/fo/flow/PageNumber.java index e670e121d..4fa497b1c 100644 --- a/src/java/org/apache/fop/fo/flow/PageNumber.java +++ b/src/java/org/apache/fop/fo/flow/PageNumber.java @@ -93,11 +93,14 @@ public class PageNumber extends FObj { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { PageNumberLayoutManager lm = new PageNumberLayoutManager(this); list.add(lm); } + /** + * @see org.apache.fop.fo.FONode#getName() + */ public String getName() { return "fo:page-number"; } diff --git a/src/java/org/apache/fop/fo/flow/PageNumberCitation.java b/src/java/org/apache/fop/fo/flow/PageNumberCitation.java index 456b96a50..af5253b63 100644 --- a/src/java/org/apache/fop/fo/flow/PageNumberCitation.java +++ b/src/java/org/apache/fop/fo/flow/PageNumberCitation.java @@ -69,10 +69,10 @@ public class PageNumberCitation extends FObj { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { PageNumberCitationLayoutManager lm = new PageNumberCitationLayoutManager(this); - list.add(lm); + list.add(lm); } /** diff --git a/src/java/org/apache/fop/fo/flow/RetrieveMarker.java b/src/java/org/apache/fop/fo/flow/RetrieveMarker.java index 55d739cc5..e3c322111 100644 --- a/src/java/org/apache/fop/fo/flow/RetrieveMarker.java +++ b/src/java/org/apache/fop/fo/flow/RetrieveMarker.java @@ -86,7 +86,7 @@ public class RetrieveMarker extends FObjMixed { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { RetrieveMarkerLayoutManager lm = new RetrieveMarkerLayoutManager(this); list.add(lm); } diff --git a/src/java/org/apache/fop/fo/flow/TableBody.java b/src/java/org/apache/fop/fo/flow/TableBody.java index 70e56938c..931c16181 100644 --- a/src/java/org/apache/fop/fo/flow/TableBody.java +++ b/src/java/org/apache/fop/fo/flow/TableBody.java @@ -67,7 +67,7 @@ public class TableBody extends FObj { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { Body blm = new Body(this); list.add(blm); } diff --git a/src/java/org/apache/fop/fo/flow/TableCell.java b/src/java/org/apache/fop/fo/flow/TableCell.java index 212186b6f..ff3a92cc0 100644 --- a/src/java/org/apache/fop/fo/flow/TableCell.java +++ b/src/java/org/apache/fop/fo/flow/TableCell.java @@ -327,9 +327,9 @@ public class TableCell extends FObj { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { Cell clm = new Cell(this); - list.add(clm); + list.add(clm); } /** diff --git a/src/java/org/apache/fop/fo/flow/TableRow.java b/src/java/org/apache/fop/fo/flow/TableRow.java index ec3057cb2..839ac1e0f 100644 --- a/src/java/org/apache/fop/fo/flow/TableRow.java +++ b/src/java/org/apache/fop/fo/flow/TableRow.java @@ -130,9 +130,9 @@ public class TableRow extends FObj { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { Row rlm = new Row(this); - list.add(rlm); + list.add(rlm); } /** diff --git a/src/java/org/apache/fop/fo/pagination/Flow.java b/src/java/org/apache/fop/fo/pagination/Flow.java index 2a7589830..02d9158e7 100644 --- a/src/java/org/apache/fop/fo/pagination/Flow.java +++ b/src/java/org/apache/fop/fo/pagination/Flow.java @@ -128,7 +128,7 @@ public class Flow extends FObj { /** * @see org.apache.fop.fo.FObj#addLayoutManager(List) */ - public void addLayoutManager(List list) { + public void addLayoutManager(List list) { FlowLayoutManager lm = new FlowLayoutManager(this); list.add(lm); } -- 2.39.5