[aXSL-commit] SF.net SVN: axsl: [440] trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFDocument.java
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-03-15 00:26:29
|
Revision: 440 Author: victormote Date: 2006-03-14 16:26:24 -0800 (Tue, 14 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=440&view=rev Log Message: ----------- Add some new methods. Modified Paths: -------------- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFDocument.java Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFDocument.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFDocument.java 2006-03-15 00:07:18 UTC (rev 439) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFDocument.java 2006-03-15 00:26:24 UTC (rev 440) @@ -83,6 +83,29 @@ public void close(OutputStream stream) throws IOException ; -// public PDFFont getPDFFont(FontUse fontUse) throws PDFException ; + /** + * Looks up or creates a PDFFont for a given font. + * @param fontUse The font instance for which a PDFFont is needed. + * @return The PDFFont that is tied to <code>fontUse</code>. + */ + public PDFFont getPDFFont(FontUse fontUse) ; + /** + * Get the root Outlines object. + */ + public PDFOutlineParent getOutlineRoot() ; + + /** + * Resets the Graphics State. This should usually be done at the beginning + * of rendering a new page. + */ + public void resetGraphicsState() ; + + /** + * Writes any used but unwritten indirect objects into the stream. + * This can be done as often as desired. + * @param stream The OutputStream to which the output should be written. + */ + public void writeIndirectObjects(OutputStream stream) throws IOException ; + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |