diff options
author | Maximilian Berger <maxberger@apache.org> | 2008-02-13 12:03:30 +0000 |
---|---|---|
committer | Maximilian Berger <maxberger@apache.org> | 2008-02-13 12:03:30 +0000 |
commit | f265c0e1c1566a2a3afeb0fa2641cf3a81598da3 (patch) | |
tree | 232af298a07db882d1cf2fa41a62e698ef1dd664 /src/java/org/apache/fop/area | |
parent | 575be874323e7ae9fc5a37cc4501a203bde0e85a (diff) | |
download | xmlgraphics-fop-f265c0e1c1566a2a3afeb0fa2641cf3a81598da3.tar.gz xmlgraphics-fop-f265c0e1c1566a2a3afeb0fa2641cf3a81598da3.zip |
Ensured all SVN properties are set equally
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627367 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/area')
-rw-r--r-- | src/java/org/apache/fop/area/inline/SpaceArea.java | 118 | ||||
-rw-r--r-- | src/java/org/apache/fop/area/inline/WordArea.java | 144 |
2 files changed, 131 insertions, 131 deletions
diff --git a/src/java/org/apache/fop/area/inline/SpaceArea.java b/src/java/org/apache/fop/area/inline/SpaceArea.java index 2dcf3d188..9481795a4 100644 --- a/src/java/org/apache/fop/area/inline/SpaceArea.java +++ b/src/java/org/apache/fop/area/inline/SpaceArea.java @@ -1,59 +1,59 @@ -/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/* $Id$ */
-package org.apache.fop.area.inline;
-
-/**
- * A space
- */
-public class SpaceArea extends InlineArea {
-
- /**
- * The space for this space area
- */
- protected String space;
-
- /**
- * Is this space adjustable?
- */
- protected boolean isAdjustable;
-
- /**
- * Create a space area
- * @param s the space character
- * @param o the offset for the next area
- * @param a is this space adjustable?
- */
- public SpaceArea(char s, int o, boolean a) {
- space = new String() + s;
- offset = o;
- isAdjustable = a;
- }
-
- /**
- * @return Returns the space.
- */
- public String getSpace() {
- return new String(space);
- }
-
- /** @return true if the space is adjustable (WRT word-space processing) */
- public boolean isAdjustable() {
- return this.isAdjustable;
- }
-}
+/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* $Id$ */ +package org.apache.fop.area.inline; + +/** + * A space + */ +public class SpaceArea extends InlineArea { + + /** + * The space for this space area + */ + protected String space; + + /** + * Is this space adjustable? + */ + protected boolean isAdjustable; + + /** + * Create a space area + * @param s the space character + * @param o the offset for the next area + * @param a is this space adjustable? + */ + public SpaceArea(char s, int o, boolean a) { + space = new String() + s; + offset = o; + isAdjustable = a; + } + + /** + * @return Returns the space. + */ + public String getSpace() { + return new String(space); + } + + /** @return true if the space is adjustable (WRT word-space processing) */ + public boolean isAdjustable() { + return this.isAdjustable; + } +} diff --git a/src/java/org/apache/fop/area/inline/WordArea.java b/src/java/org/apache/fop/area/inline/WordArea.java index a592bdd80..1f5fa2037 100644 --- a/src/java/org/apache/fop/area/inline/WordArea.java +++ b/src/java/org/apache/fop/area/inline/WordArea.java @@ -1,72 +1,72 @@ -/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/* $Id$ */
-package org.apache.fop.area.inline;
-
-/**
- * A string of characters without spaces
- */
-public class WordArea extends InlineArea {
-
- /** The text for this word area */
- protected String word;
-
- /** The correction offset for the next area */
- protected int offset = 0;
-
- /** An array of width for adjusting the individual letters (optional) */
- protected int[] letterAdjust;
-
- /**
- * Create a word area
- * @param w the word string
- * @param o the offset for the next area
- * @param la the letter adjust array (may be null)
- */
- public WordArea(String w, int o, int[] la) {
- word = w;
- offset = o;
- this.letterAdjust = la;
- }
-
- /**
- * @return Returns the word.
- */
- public String getWord() {
- return word;
- }
-
- /**
- * @return Returns the offset.
- */
- public int getOffset() {
- return offset;
- }
- /**
- * @param o The offset to set.
- */
- public void setOffset(int o) {
- offset = o;
- }
-
- /** @return the array of letter adjust widths */
- public int[] getLetterAdjustArray() {
- return this.letterAdjust;
- }
-
-}
+/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* $Id$ */ +package org.apache.fop.area.inline; + +/** + * A string of characters without spaces + */ +public class WordArea extends InlineArea { + + /** The text for this word area */ + protected String word; + + /** The correction offset for the next area */ + protected int offset = 0; + + /** An array of width for adjusting the individual letters (optional) */ + protected int[] letterAdjust; + + /** + * Create a word area + * @param w the word string + * @param o the offset for the next area + * @param la the letter adjust array (may be null) + */ + public WordArea(String w, int o, int[] la) { + word = w; + offset = o; + this.letterAdjust = la; + } + + /** + * @return Returns the word. + */ + public String getWord() { + return word; + } + + /** + * @return Returns the offset. + */ + public int getOffset() { + return offset; + } + /** + * @param o The offset to set. + */ + public void setOffset(int o) { + offset = o; + } + + /** @return the array of letter adjust widths */ + public int[] getLetterAdjustArray() { + return this.letterAdjust; + } + +} |