[aXSL-commit] SF.net SVN: axsl: [494] trunk/axsl/axsl-fotree/src/java/org/axsl/fotree
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-05-03 18:30:25
|
Revision: 494 Author: victormote Date: 2006-05-03 11:13:05 -0700 (Wed, 03 May 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=494&view=rev Log Message: ----------- Move some FOTreeControl methods to FOTreeBuilder setters. Modified Paths: -------------- trunk/axsl/axsl-fotree/src/java/org/axsl/fotree/FOTreeBuilder.java trunk/axsl/axsl-fotree/src/java/org/axsl/fotree/FOTreeControl.java Modified: trunk/axsl/axsl-fotree/src/java/org/axsl/fotree/FOTreeBuilder.java =================================================================== --- trunk/axsl/axsl-fotree/src/java/org/axsl/fotree/FOTreeBuilder.java 2006-05-03 15:36:26 UTC (rev 493) +++ trunk/axsl/axsl-fotree/src/java/org/axsl/fotree/FOTreeBuilder.java 2006-05-03 18:13:05 UTC (rev 494) @@ -45,4 +45,36 @@ */ public void addFOTreeListener (FOTreeListener listener) ; + /** + * The client application can use this method to add a list of FO objects + * that it does not support, and that it wishes to have flagged for the + * user at parse time. The object will be created within the FOTree, but the + * user will receive a logged message warning them that the object is not + * supported. + * Note that multiple arrays can be added, and the relationship is OR, so + * that if a given item appears in any one or more of the arrays, it will + * be flagged. + * @param unsupportedObjectsFO An array of bytes, each element of which + * represents an element which should be flagged to the user. + * Valid element values are members of + * {@link org.axsl.common.Constants#objectNameList}. + */ + public void setUnsupportedObjectsFO(byte[] unsupportedObjectsFO) ; + + /** + * The client application can use this method to add a list of FO properties + * that it does not support, and that it wishes to have flagged for the + * user at parse time. The property will be created within the FOTree, but + * the user will receive a logged message warning them that the object is + * not supported. + * Note that multiple arrays can be added, and the relationship is OR, so + * that if a given item appears in any one or more of the arrays, it will + * be flagged. + * @param unsupportedPropertiesFO An array of shorts, each element of which + * represents an attribute which should be flagged to the user. + * Valid element values are members of + * {@link org.axsl.common.Constants#propertyNameList}. + */ + public void setUnsupportedPropertiesFO(short[] unsupportedPropertiesFO) ; + } Modified: trunk/axsl/axsl-fotree/src/java/org/axsl/fotree/FOTreeControl.java =================================================================== --- trunk/axsl/axsl-fotree/src/java/org/axsl/fotree/FOTreeControl.java 2006-05-03 15:36:26 UTC (rev 493) +++ trunk/axsl/axsl-fotree/src/java/org/axsl/fotree/FOTreeControl.java 2006-05-03 18:13:05 UTC (rev 494) @@ -69,8 +69,4 @@ TextServer getTextServer(); - byte[] unsupportedObjectsFO() ; - - short[] unsupportedPropertiesFO() ; - } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |