Revision: 12205
http://sourceforge.net/p/foray/code/12205
Author: victormote
Date: 2021-12-10 17:46:34 +0000 (Fri, 10 Dec 2021)
Log Message:
-----------
Style changes only.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/FoLineNonText.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/FoLineText.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/FoObj.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/FoObjScaled.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/AbstractFlow.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/AbstractFolioDescriptor.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/AbstractIndexFormatting.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/AbstractPageMaster.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/AbstractPageReference.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/AbstractTablePart.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/ConditionalPageMasterReference4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/FlowAssignment4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/FlowMap4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/FlowNameSpecifier4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/FlowSourceList4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/FlowTargetList4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/IndexKeyReference4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/IndexPageCitationList4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/IndexPageCitationListSeparator4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/IndexPageCitationRangeSeparator4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/IndexPageNumberPrefix4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/IndexPageNumberSuffix4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/InitialPropertySet4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/InstreamForeignObject4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/MultiPropertySet4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/PageMasterResolver4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/PageNumberCitation4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/PageNumberCitationLast4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/PageNumberGenerator.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/PageSequenceMaster4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/PageSequenceWrapper4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/Region4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/RegionAfter4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/RegionBefore4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/RegionBody4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/RegionEnd4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/RegionNameSpecifier4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/RegionStart4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/RepeatablePmAlternatives4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/RepeatablePmReference4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/RetrieveTableMarker4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/ScalingValueCitation4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/SimplePageMaster4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/SinglePageMasterReference4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/StaticContent4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/SubSequenceSpecifier.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/TableCell4a.java
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/TableRow4a.java
Modified: trunk/foray/foray-fotree/src/main/java/org/foray/fotree/FoLineNonText.java
===================================================================
--- trunk/foray/foray-fotree/src/main/java/org/foray/fotree/FoLineNonText.java 2021-12-10 14:35:34 UTC (rev 12204)
+++ trunk/foray/foray-fotree/src/main/java/org/foray/fotree/FoLineNonText.java 2021-12-10 17:46:34 UTC (rev 12205)
@@ -48,8 +48,7 @@
* @param realLineNonText The wrapped non-text item.
* @param context The FO context for this non-text item.
*/
- public FoLineNonText(final org.axsl.fo.FoLineNonText realLineNonText,
- final FoContext context) {
+ public FoLineNonText(final org.axsl.fo.FoLineNonText realLineNonText, final FoContext context) {
this.realLineNonText = realLineNonText;
this.context = context;
}
Modified: trunk/foray/foray-fotree/src/main/java/org/foray/fotree/FoLineText.java
===================================================================
--- trunk/foray/foray-fotree/src/main/java/org/foray/fotree/FoLineText.java 2021-12-10 14:35:34 UTC (rev 12204)
+++ trunk/foray/foray-fotree/src/main/java/org/foray/fotree/FoLineText.java 2021-12-10 17:46:34 UTC (rev 12205)
@@ -52,8 +52,7 @@
* @param realLineText The wrapped text item.
* @param context The FO context for this text item.
*/
- public FoLineText(final org.axsl.fo.FoLineText realLineText,
- final FoContext context) {
+ public FoLineText(final org.axsl.fo.FoLineText realLineText, final FoContext context) {
this.realLineText = realLineText;
this.context = context;
}
Modified: trunk/foray/foray-fotree/src/main/java/org/foray/fotree/FoObj.java
===================================================================
--- trunk/foray/foray-fotree/src/main/java/org/foray/fotree/FoObj.java 2021-12-10 14:35:34 UTC (rev 12204)
+++ trunk/foray/foray-fotree/src/main/java/org/foray/fotree/FoObj.java 2021-12-10 17:46:34 UTC (rev 12205)
@@ -205,8 +205,7 @@
/**
* Returns the parent that was parsed from the FO document.
- * This can be different from the parent, in cases where pseudo-objects are
- * placed in the tree to normalize it.
+ * This can be different from the parent, in cases where pseudo-objects are placed in the tree to normalize it.
* For example, table-cells that are direct children of a table-body
* (instead of a table-row), are reparented with a pseudo table-row.
* Subclasses should override this method as necessary.
@@ -240,10 +239,8 @@
}
/**
- * Return this node's effective parent, cast as an FoObj.
- * This differs from the value returned by
- * @param context An object that knows how to resolve FO Tree context
- * issues.
+ * Return this node's effective parent.
+ * @param context An object that knows how to resolve FO Tree context issues.
* @return This node's effective parent.
*/
public FoObj effectiveParent(final FoContext context) {
@@ -261,20 +258,17 @@
/**
* Returns the effective parent of a Marker instance.
- * @param context An object that knows how to resolve FO Tree context
- * issues.
+ * @param context An object that knows how to resolve FO Tree context issues.
* @return The parent of the RetrieveMarker instance found in the context.
*/
private FoObj effectiveMarkerParent(final FoContext context) {
if (context == null) {
- /* TODO: Consider throwing an Exception. This should NOT
- * happen. */
+ /* TODO: Consider throwing an Exception. This should NOT happen. */
return getParent();
}
final GraftingPoint graftingPoint = context.getGraftingPoint();
if (graftingPoint == null) {
- /* TODO: Consider throwing an Exception. This should NOT
- * happen. */
+ /* TODO: Consider throwing an Exception. This should NOT happen. */
return getParent();
}
org.foray.fotree.FoObj forayGraftingPoint = null;
@@ -281,8 +275,7 @@
if (graftingPoint instanceof org.foray.fotree.FoObj) {
forayGraftingPoint = (org.foray.fotree.FoObj) graftingPoint;
} else {
- throw new IllegalStateException("Non-FOray object found in FO "
- + "Tree");
+ throw new IllegalStateException("Non-FOray object found in FO Tree");
}
/* We don't want to return the GraftingPoint, but rather its parent. */
return forayGraftingPoint.getParent();
@@ -357,8 +350,7 @@
* @param message The message indicating the reason for the exception.
* @throws FoTreeException Always, as that is the purpose of this method.
*/
- public static void throwException(final String contextMessage,
- final String message) throws FoTreeException {
+ public static void throwException(final String contextMessage, final String message) throws FoTreeException {
final FoTreeException exception = new FoTreeException(message);
exception.setContextMessage(contextMessage);
throw exception;
@@ -365,8 +357,7 @@
}
/**
- * Convenience method that throws a general content model violation
- * exception.
+ * Convenience method that throws a general content model violation exception.
* @throws FoTreeException Always, as that is the purpose of this method.
*/
public void throwExceptionContentModelViolation() throws FoTreeException {
@@ -374,8 +365,7 @@
}
/**
- * Convenience method that throws a general exception indicating that an
- * element is not valid at this location.
+ * Convenience method that throws a general exception indicating that an element is not valid at this location.
* @throws FoTreeException Always, as that is the purpose of this method.
*/
public void throwExceptionInvalidLocation() throws FoTreeException {
@@ -383,15 +373,12 @@
}
/**
- * Throws a standard exception when an attempt is made to add content to
- * an object that has an empty content model.
+ * Throws a standard exception when an attempt is made to add content to an object that has an empty content model.
* @param child The child object which was attempting to be added to this.
* @throws FoTreeException Always, as that is the purpose of this method.
*/
- public void addChildToEmptyContentModel(final FoObj child)
- throws FoTreeException {
- child.throwException("Content model of " + this.getName()
- + " is EMPTY.");
+ public void addChildToEmptyContentModel(final FoObj child) throws FoTreeException {
+ child.throwException("Content model of " + this.getName() + " is EMPTY.");
}
@Override
@@ -417,10 +404,8 @@
/**
* Sets the location of this object.
* @param systemId The system ID (document) in which this object is located.
- * @param line The line number in the document at which this object is
- * located.
- * @param column The column number in {@code line} as which this object
- * is located.
+ * @param line The line number in the document at which this object is located.
+ * @param column The column number in {@code line} as which this object is located.
*/
public void setLocation(final String systemId, final int line,
final int column) {
@@ -430,10 +415,9 @@
}
/**
- * Provides a formatted version of the full name of this object in the
- * form namespace-abbreviation:object-name. For example, "fo:bookmark".
- * @return The name of this object, with the typical namespace abbreviation
- * prepended.
+ * Provides a formatted version of the full name of this object in the form namespace-abbreviation:object-name.
+ * For example, "fo:bookmark".
+ * @return The name of this object, with the typical namespace abbreviation prepended.
*/
public String getFullName() {
return getNamespace().getTypicalPrefix() + ":" + getName();
@@ -440,28 +424,22 @@
}
/**
- * Adds text characters to the object. Since most FOs cannot have PCDATA
- * content, the default behavior is to ignore white-space content, and to
- * throw an exception for any other content.
+ * Adds text characters to the object.
+ * Since most FOs cannot have PCDATA content, the default behavior is to ignore white-space content, and to throw an
+ * exception for any other content.
* Subclasses should override this as appropriate.
* @param data text
* @param start start position
* @param length length of the text
- * @param systemId The systemId of the file containing the text being
- * added (used in error messages).
- * @param line The line number of the location of the text being added
- * (used in error messages).
- * @param column The columns number of the location of the text being
- * added (used in error messages).
- * @throws FoTreeException If the object contains text but is not allowed
- * to.
+ * @param systemId The systemId of the file containing the text being added (used in error messages).
+ * @param line The line number of the location of the text being added (used in error messages).
+ * @param column The columns number of the location of the text being added (used in error messages).
+ * @throws FoTreeException If the object contains text but is not allowed to.
*/
- protected void addCharacters(final char[] data, final int start,
- final int length, final String systemId, final int line,
- final int column) throws FoTreeException {
+ protected void addCharacters(final char[] data, final int start, final int length, final String systemId,
+ final int line, final int column) throws FoTreeException {
if (containsText(data, start, length)) {
- throwException(getContextMessage(systemId, line, column),
- "May not contain non-whitespace text.");
+ throwException(getContextMessage(systemId, line, column), "May not contain non-whitespace text.");
}
}
@@ -472,8 +450,7 @@
* @param length The length of the text in the char array to be examined.
* @return True iff the char array contains non-whitespace text.
*/
- protected boolean containsText(final char[] data, final int start,
- final int length) {
+ protected boolean containsText(final char[] data, final int start, final int length) {
if (data == null || data.length < 1) {
return false;
}
@@ -491,34 +468,28 @@
}
/**
- * A hook into the parsing process which allows the subclass instance to
- * validate its ancestry.
- * This method is called after object construction, but before any
- * properties are parsed.
+ * A hook into the parsing process which allows the subclass instance to validate its ancestry.
+ * This method is called after object construction, but before any properties are parsed.
* @throws FoTreeException For invalid ancestry.
*/
protected abstract void validateAncestry() throws FoTreeException;
/**
- * A hook into the parsing process which allows the subclass instance to
- * validate its properties.
- * This method is called after all properties have been parsed, but before
- * any children have been read.
+ * A hook into the parsing process which allows the subclass instance to validate its properties.
+ * This method is called after all properties have been parsed, but before any children have been read.
* @throws FoTreeException For invalid properties.
*/
protected abstract void validateProperties() throws FoTreeException;
/**
- * A hook into the parsing process which allows the subclass instance to
- * do some initialization-type work after all of the properties have been
- * parsed, but before any of the children have been parsed.
+ * A hook into the parsing process which allows the subclass instance to do some initialization-type work after all
+ * of the properties have been parsed, but before any of the children have been parsed.
* @throws FoTreeException For errors during initialization.
*/
protected abstract void setup() throws FoTreeException;
/**
- * A hook into the parsing process which allows the subclass instance to
- * validate its descendants.
+ * A hook into the parsing process which allows the subclass instance to validate its descendants.
* This method is called after all children have been parsed.
* @throws FoTreeException For invalid descendants.
*/
@@ -525,9 +496,8 @@
protected abstract void validateDescendants() throws FoTreeException;
/**
- * This method is a hook into the parsing process, primarily to allow the
- * subclass to do some validation or setup work after the object and all of
- * its properties have been parsed and all of its children processed.
+ * This method is a hook into the parsing process, primarily to allow the subclass to do some validation or setup
+ * work after the object and all of its properties have been parsed and all of its children processed.
* @throws FoTreeException For errors during validation or setup.
*/
protected abstract void end() throws FoTreeException;
@@ -543,27 +513,22 @@
}
/**
- * Ensures that this has at least one child by throwing an exception if it
- * does not.
+ * Ensures that this has at least one child by throwing an exception if it does not.
* @throws FoTreeException If this has no children.
*/
public void validateAtLeastOneChild() throws FoTreeException {
if (formattingObjectCount() < 1) {
- throwException(this.getFullName() + " must have at least one "
- + "child.");
+ throwException(this.getFullName() + " must have at least one child.");
}
}
/**
- * Creates a suitable exception or warning if an object references a
- * non-existent page.
+ * Creates a suitable exception or warning if an object references a non-existent page.
* @param invalidReference The page reference that is invalid.
* @throws FoTreeException If a non-existent page is referenced.
*/
- public void invalidPageReference(final String invalidReference)
- throws FoTreeException {
- final String message = this.getFullName() + " references a "
- + "non-existent page: \"" + invalidReference + "\"";
+ public void invalidPageReference(final String invalidReference) throws FoTreeException {
+ final String message = this.getFullName() + " references a non-existent page: \"" + invalidReference + "\"";
this.throwException(message);
}
@@ -579,8 +544,7 @@
/**
* Returns the nearest ancestor FoObj that generates reference areas.
- * @param context An object that knows how to resolve FO Tree context
- * issues.
+ * @param context An object that knows how to resolve FO Tree context issues.
* @return The nearest ancestor FoObj that generates reference areas.
*/
public FoObj ancestorGeneratingRA(final FoContext context) {
@@ -592,8 +556,7 @@
/**
* Returns self or the nearest ancestor FoObj that generates reference areas.
- * @param context An object that knows how to resolve FO Tree context
- * issues.
+ * @param context An object that knows how to resolve FO Tree context issues.
* @return Self or the nearest ancestor FoObj that generates reference areas.
*/
public FoObj nearestGeneratingRA(final FoContext context) {
@@ -605,23 +568,19 @@
/**
* Returns self or the nearest ancestor FoObj that is a ListItem.
- * @param context An object that knows how to resolve FO Tree context
- * issues.
+ * @param context An object that knows how to resolve FO Tree context issues.
* @return Self or the nearest ancestor FoObj that is a ListItem.
*/
- public ListItem4a getNearestListItem(
- final FoContext context) {
+ public ListItem4a getNearestListItem(final FoContext context) {
return effectiveParent(context).getNearestListItem(context);
}
/**
* Returns the nearest ancestor FoObj that is a ListBlock.
- * @param context An object that knows how to resolve FO Tree context
- * issues.
+ * @param context An object that knows how to resolve FO Tree context issues.
* @return The nearest ancestor FoObj that is a ListBlock.
*/
- public ListBlock4a getNearestAncestorListBlock(
- final FoContext context) {
+ public ListBlock4a getNearestAncestorListBlock(final FoContext context) {
if (getParent() == null) {
return null;
}
@@ -641,11 +600,9 @@
/**
* Finds the nearest self-or-ancestor that is a Block.
- * @param context An object that knows how to resolve FO Tree context
- * issues.
- * @return If this is an instance of Block, returns this, otherwise returns
- * the nearest ancestor that is a Block, or null if there is no ancestor
- * Block.
+ * @param context An object that knows how to resolve FO Tree context issues.
+ * @return If this is an instance of Block, returns this, otherwise returns the nearest ancestor that is a Block, or
+ * null if there is no ancestor Block.
*/
public Block4a getContainingBlock(final FoContext context) {
return effectiveParent(context).getContainingBlock(context);
@@ -653,10 +610,8 @@
/**
* Returns the ancestor {@link Flow4a}, if any.
- * @param context An object that knows how to resolve FO Tree context
- * issues.
- * @return The ancestor {@link Flow4a}, or null if this object does not
- * descend from a {@link Flow4a}.
+ * @param context An object that knows how to resolve FO Tree context issues.
+ * @return The ancestor {@link Flow4a}, or null if this object does not descend from a {@link Flow4a}.
*/
public Flow4a ancestorFlow(final FoContext context) {
if (getParent() == null) {
@@ -685,10 +640,8 @@
/**
* Return the nearest ancestor Leader instance, if any.
- * @param context An object that knows how to resolve FO Tree context
- * issues.
- * @return The nearest ancestor Leader instance, or null if there is no
- * ancestor Leader.
+ * @param context An object that knows how to resolve FO Tree context issues.
+ * @return The nearest ancestor Leader instance, or null if there is no ancestor Leader.
*/
public Leader4a getNearestLeader(final FoContext context) {
return effectiveParent(context).getNearestLeader(context);
@@ -700,8 +653,7 @@
}
@Override
- public FoObj ancestorListRelatedObject(
- final FoContext context) {
+ public FoObj ancestorListRelatedObject(final FoContext context) {
return effectiveParent(context).ancestorListRelatedObject(context);
}
@@ -708,21 +660,14 @@
/**
* Add a child to this object.
* @param child The child to be added.
- * @throws FoTreeException If the child cannot be added as a child for any
- * reason, either because it an invalid type or is in the wrong order.
+ * @throws FoTreeException If the child cannot be added as a child for any reason, either because it an invalid type
+ * or is in the wrong order.
*/
public abstract void addChild(FoObj child) throws FoTreeException;
-// @Override
-// public boolean getAllowsChildren() {
-// return true;
-// }
-
/**
- * Sets the location (from the SAX Locator) of an exception if it has not
- * been set already.
- * @param exception The exception whose location information is to be
- * checked.
+ * Sets the location (from the SAX Locator) of an exception if it has not been set already.
+ * @param exception The exception whose location information is to be checked.
*/
public void checkExceptionLocation(final FoTreeException exception) {
if (exception.isContextSet()) {
@@ -771,52 +716,47 @@
/**
* Returns the left margin of this object.
- * @param context An object that knows how to resolve FO Tree context
- * issues.
+ * @param context An object that knows how to resolve FO Tree context issues.
* @return The left margin, in millipoints, of this object.
*/
public int getMarginLeft(final FoContext context) {
- return this.getPropertyList().getMarginLeft(this, context);
+ return getPropertyList().getMarginLeft(this, context);
}
/**
* Returns the right margin of this object.
- * @param context An object that knows how to resolve FO Tree context
- * issues.
+ * @param context An object that knows how to resolve FO Tree context issues.
* @return The right margin, in millipoints, of this object.
*/
public int getMarginRight(final FoContext context) {
- return this.getPropertyList().getMarginRight(this, context);
+ return getPropertyList().getMarginRight(this, context);
}
/**
* Returns the top margin of this object.
- * @param context An object that knows how to resolve FO Tree context
- * issues.
+ * @param context An object that knows how to resolve FO Tree context issues.
* @return The top margin, in millipoints, of this object.
*/
public int getMarginTop(final FoContext context) {
- return this.getPropertyList().getMarginTop(this, context);
+ return getPropertyList().getMarginTop(this, context);
}
/**
* Returns the bottom margin of this object.
- * @param context An object that knows how to resolve FO Tree context
- * issues.
+ * @param context An object that knows how to resolve FO Tree context issues.
* @return The bottom margin, in millipoints, of this object.
*/
public int getMarginBottom(final FoContext context) {
- return this.getPropertyList().getMarginBottom(this, context);
+ return getPropertyList().getMarginBottom(this, context);
}
@Override
public Color traitColor(final FoContext context) {
- return this.getPropertyList().getColor(this, context);
+ return getPropertyList().getColor(this, context);
}
/**
- * Converts an {@link FoValue} wrap-option value to the more generic
- * {@link WrapOption} value.
+ * Converts an {@link FoValue} wrap-option value to the more generic {@link WrapOption} value.
* @param foWrapOption The raw FO wrap-option value to be converted.
* @return The matching WrapOption instance.
*/
@@ -831,7 +771,7 @@
@Override
public WrapOption traitWrapOption(final FoContext context) {
- final FoValue foWrapOption = this.getPropertyList().getWrapOption(this,
+ final FoValue foWrapOption = getPropertyList().getWrapOption(this,
context);
return convertWrapOption(foWrapOption);
}
@@ -838,22 +778,22 @@
@Override
public boolean traitWhiteSpaceCollapse(final FoContext context) {
- return this.getPropertyList().getWhiteSpaceCollapse(this, context);
+ return getPropertyList().getWhiteSpaceCollapse(this, context);
}
@Override
public boolean traitUnderlineScore(final FoContext context) {
- return this.getPropertyList().getUnderlineScore(this, context);
+ return getPropertyList().getUnderlineScore(this, context);
}
@Override
public boolean traitOverlineScore(final FoContext context) {
- return this.getPropertyList().getOverlineScore(this, context);
+ return getPropertyList().getOverlineScore(this, context);
}
@Override
public boolean traitThroughScore(final FoContext context) {
- return this.getPropertyList().getThroughScore(this, context);
+ return getPropertyList().getThroughScore(this, context);
}
@Override
@@ -877,12 +817,12 @@
@Override
public boolean traitBlink(final FoContext context) {
- return this.getPropertyList().getBlink(this, context);
+ return getPropertyList().getBlink(this, context);
}
@Override
public String traitId() {
- return this.getPropertyList().getId();
+ return getPropertyList().getId();
}
/**
@@ -891,7 +831,7 @@
* @see "XSL-FO Standard 1.0, Section 7.22.8"
*/
public String traitInternalDestination() {
- return this.getPropertyList().getInternalDestination();
+ return getPropertyList().getInternalDestination();
}
/**
@@ -900,13 +840,12 @@
* @see "XSL-FO Standard 1.0, Section 7.22.6"
*/
public String traitExternalDestination() {
- return this.getPropertyList().getExternalDestination();
+ return getPropertyList().getExternalDestination();
}
@Override
public int traitStartIndent(final FoContext context) {
- return this.getPropertyList().getIndent(this, context,
- RelativeCompass.START);
+ return getPropertyList().getIndent(this, context, RelativeCompass.START);
}
/**
@@ -919,8 +858,7 @@
switch (foSpan) {
case NONE: return Span.NONE;
case ALL: return Span.ALL;
- default: throw new IllegalArgumentException(
- "Illegal span value: " + foSpan.toXslFo());
+ d...
[truncated message content] |