[FOray-commit] SF.net SVN: foray: [9934] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2007-07-05 23:26:39
|
Revision: 9934
http://svn.sourceforge.net/foray/?rev=9934&view=rev
Author: victormote
Date: 2007-07-05 16:26:41 -0700 (Thu, 05 Jul 2007)
Log Message:
-----------
Conform to axsl change moving method from AreaNode to BookmarkArea.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java
trunk/foray/foray-areatree/src/java/org/foray/area/BookmarkArea.java
trunk/foray/foray-render/src/java/org/foray/render/pdf/PDFRenderer.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java 2007-07-05 23:11:15 UTC (rev 9933)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java 2007-07-05 23:26:41 UTC (rev 9934)
@@ -417,13 +417,6 @@
/**
* {@inheritDoc}
*/
- public String traitInternalDestination() {
- return traitGeneratedBy().traitInternalDestination();
- }
-
- /**
- * {@inheritDoc}
- */
public String traitId() {
return traitGeneratedBy().traitId();
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/BookmarkArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/BookmarkArea.java 2007-07-05 23:11:15 UTC (rev 9933)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/BookmarkArea.java 2007-07-05 23:26:41 UTC (rev 9934)
@@ -178,4 +178,11 @@
return (Bookmark) this.getLinkage().getFONode();
}
+ /**
+ * {@inheritDoc}
+ */
+ public String getDestination() {
+ return traitGeneratedBy().traitInternalDestination();
+ }
+
}
Modified: trunk/foray/foray-render/src/java/org/foray/render/pdf/PDFRenderer.java
===================================================================
--- trunk/foray/foray-render/src/java/org/foray/render/pdf/PDFRenderer.java 2007-07-05 23:11:15 UTC (rev 9933)
+++ trunk/foray/foray-render/src/java/org/foray/render/pdf/PDFRenderer.java 2007-07-05 23:26:41 UTC (rev 9934)
@@ -545,7 +545,7 @@
}
PdfOutlineItem pdfOutline = null;
pdfOutline = parent.createPdfOutlineItem(title.getTitleText(),
- area.traitInternalDestination(), color, italic, bold);
+ area.getDestination(), color, italic, bold);
// Recursively handle child bookmarks
for (int i = 0; i < area.getChildCount(); i++) {
final AreaNode child = area.getChildAt(i);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|