You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by gm...@apache.org on 2004/10/02 21:24:31 UTC
cvs commit: xml-fop/src/java/org/apache/fop/area AreaTreeModel.java StorePagesModel.java
gmazza 2004/10/02 12:24:31
Modified: src/java/org/apache/fop/area AreaTreeModel.java
StorePagesModel.java
Log:
Removed AreaTreeModel.getTitle() again, because it not in use by paper renderers
and I suspect the future AWTRenderer, if it uses the title, will be storing
this information on its own internally anyway, as it gets each page sequence.
We can restore it should it be deemed preferable in the future. Comments welcome.
Revision Changes Path
1.7 +0 -7 xml-fop/src/java/org/apache/fop/area/AreaTreeModel.java
Index: AreaTreeModel.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/area/AreaTreeModel.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- AreaTreeModel.java 25 Sep 2004 21:55:36 -0000 1.6
+++ AreaTreeModel.java 2 Oct 2004 19:24:31 -0000 1.7
@@ -74,12 +74,5 @@
* @return the PageViewport for the particular page
*/
public abstract PageViewport getPage(int seq, int count);
-
- /**
- * Get the title for a page sequence.
- * @param count the page sequence count
- * @return the title of the page sequence
- */
- public abstract LineArea getTitle(int count);
}
1.9 +0 -11 xml-fop/src/java/org/apache/fop/area/StorePagesModel.java
Index: StorePagesModel.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/area/StorePagesModel.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- StorePagesModel.java 25 Sep 2004 21:55:36 -0000 1.8
+++ StorePagesModel.java 2 Oct 2004 19:24:31 -0000 1.9
@@ -32,7 +32,6 @@
*/
public class StorePagesModel extends AreaTreeModel {
private List pageSequence = null;
- private List titles = new java.util.ArrayList();
private List currSequence;
private List extensions = new java.util.ArrayList();
@@ -48,7 +47,6 @@
* @param title the title of the page sequence.
*/
public void startPageSequence(LineArea title) {
- titles.add(title);
if (pageSequence == null) {
pageSequence = new java.util.ArrayList();
}
@@ -134,15 +132,6 @@
return extensions;
}
- /**
- * Get the title for a page sequence.
- * @param count the page sequence count
- * @return the title of the page sequence
- */
- public LineArea getTitle(int count) {
- return (LineArea) titles.get(count);
- }
-
/**
* End document, do nothing.
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org