axsl-commit Mailing List for aXSL (Page 98)
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
(36) |
Apr
(36) |
May
(127) |
Jun
(193) |
Jul
(12) |
Aug
(46) |
Sep
(66) |
Oct
(28) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(39) |
Feb
(68) |
Mar
(58) |
Apr
(88) |
May
(40) |
Jun
(82) |
Jul
(213) |
Aug
(19) |
Sep
(2) |
Oct
(26) |
Nov
(2) |
Dec
|
2008 |
Jan
(5) |
Feb
(30) |
Mar
(26) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
(4) |
Apr
(44) |
May
(1) |
Jun
(9) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
(4) |
Feb
(4) |
Mar
|
Apr
(7) |
May
(35) |
Jun
|
Jul
|
Aug
(48) |
Sep
(10) |
Oct
(1) |
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(40) |
2017 |
Jan
(82) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(37) |
Mar
(28) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(7) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(27) |
2021 |
Jan
(52) |
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
(72) |
Dec
(100) |
2022 |
Jan
(119) |
Feb
(94) |
Mar
(4) |
Apr
|
May
|
Jun
(5) |
Jul
(3) |
Aug
(2) |
Sep
|
Oct
|
Nov
(10) |
Dec
(97) |
2023 |
Jan
(52) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(17) |
Sep
(21) |
Oct
(8) |
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(11) |
Feb
(1) |
Mar
|
Apr
(27) |
May
(62) |
Jun
(27) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <vic...@us...> - 2006-03-26 16:31:59
|
Revision: 450 Author: victormote Date: 2006-03-26 08:31:53 -0800 (Sun, 26 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=450&view=rev Log Message: ----------- Add new constructor to take byte arrays for font and metrics files. Modified Paths: -------------- trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java Modified: trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java =================================================================== --- trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java 2006-03-25 14:53:09 UTC (rev 449) +++ trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java 2006-03-26 16:31:53 UTC (rev 450) @@ -158,7 +158,7 @@ * font should be embedded in output documents. * @param systemName For system fonts only, this is the name that should be * supplied to the operating system font registry to obtain the font from - * it. + * it. For other fonts, set this to null. * @throws FontException If a font with this <code>fontID</code> is already * registered. */ @@ -167,6 +167,36 @@ String systemName) throws FontException ; /** + * Register a font for use by the system. This is an overloaded version + * of {@link #registerFont(String, URL, URL, String, String, String)} + * intended for situations where a font's contents have been extracted from + * a document. + * @param fontID A unique ID for this font (e.g. "Courier-Bold"). + * @param fontFileDescription A description of the font file. This is used + * primarily in user messages. (The overloaded method that takes URLs just + * uses the path of the URL for descriptive user messages). + * @param fontFileContents Byte array containing the font file contents. + * @param metricsFileDescription A description of the metrics file. This is + * used primarily in user messages. (The overloaded method that takes URLs + * just uses the path of the URL for descriptive user messages). + * @param metricsFileContents Byte array containing the metrics contents. + * This is null for TrueType and OpenType fonts. + * @param collectionID For TrueType collections, indicates which font in + * the collection corresponds to this font. + * @param embed One of "none", "all", or "subset", indicating whether this + * font should be embedded in output documents. + * @param systemName For system fonts only, this is the name that should be + * supplied to the operating system font registry to obtain the font from + * it. For other fonts, set this to null. + * @throws FontException If a font with this <code>fontID</code> is already + * registered. + */ + public void registerFont(String fontID, String fontFileDescription, + byte[] fontFileContents, String metricsFileDescription, + byte[] metricsFileContents, String collectionID, String embed, + String systemName) throws FontException ; + + /** * Indicates whether a font has already been registered for use by the * system. * @param fontID The unique font ID for the font (e.g. "Courier-Bold"). This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-25 14:53:23
|
Revision: 449 Author: victormote Date: 2006-03-25 06:53:09 -0800 (Sat, 25 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=449&view=rev Log Message: ----------- Remove PDFFactory. All it does is create a PDFDocument which the application can do directly with no bigger implementation-specific footprint. Removed Paths: ------------- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java Deleted: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-24 01:04:45 UTC (rev 448) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-25 14:53:09 UTC (rev 449) @@ -1,35 +0,0 @@ -/* - * Copyright 2006 The aXSL Project. - * http://www.axsl.org - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -/* $Id$ */ - -package org.axsl.pdf; - -/** - * Implementations of this class are used to boostrap the creation of - * implementation-specific PDF-related classes. - */ -public interface PDFFactory { - - /** - * Create an implementation-specific PDFDocument instance. - * @return An implementation-specific PDFDocument instance. - */ - public PDFDocument createPDFDocument() ; - -} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-24 01:04:52
|
Revision: 448 Author: victormote Date: 2006-03-23 17:04:45 -0800 (Thu, 23 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=448&view=rev Log Message: ----------- Add some javadoc for the package. Added Paths: ----------- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/package.html Added: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/package.html =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/package.html (rev 0) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/package.html 2006-03-24 01:04:45 UTC (rev 448) @@ -0,0 +1,16 @@ +<html> +<title>org.axsl.graphic Package</title> + +<body> + +<p>Interfaces allowing client applications to use create PDF documents in a +vendor-neutral way.</p> + +<p>To create a PDF document using an aXSL PDF implementation, first obtain an +instance of that implementation's PDFFactory. Use that factory's +<code>createPDFDocument()</code> method to create an PDFDocument. Then use +PDFDocument's methods to create PDFPages and other objects for the document and +to write the document.</p> + +</body> +</html> Property changes on: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/package.html ___________________________________________________________________ Name: svn:keywords + "Author Id Rev Date URL" Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-24 00:53:59
|
Revision: 447 Author: victormote Date: 2006-03-23 16:53:51 -0800 (Thu, 23 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=447&view=rev Log Message: ----------- Move some methods from the Factory to parent objects. This cleans up almost everything, ensuring that all objects are of the appropriate implementation. Modified Paths: -------------- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFDocument.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFExplicitDestination.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPage.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-24 00:29:12 UTC (rev 446) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFDocument.java 2006-03-24 00:53:51 UTC (rev 447) @@ -22,6 +22,7 @@ import org.axsl.font.FontUse; +import java.awt.Color; import java.io.IOException; import java.io.OutputStream; import java.util.Date; @@ -115,4 +116,21 @@ */ public PDFEncryption createPDFEncryption() ; + /** + * Create an implementation-specific PDFColor instance. + * @param color The color that should be created. + * @return An implementation-specific PDFColor instance. + */ + public PDFColor createPDFColor(Color color) ; + + /** + * Create an implementation-specific PDFPage instance. + * @param pagewidth The width of the page that should be created, in + * millipoints. + * @param pageheight The height of the page that should be created, in + * millipoints. + * @return An implementation-specific PDFPage instance. + */ + public PDFPage createPDFPage(int pagewidth, int pageheight) ; + } Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFExplicitDestination.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFExplicitDestination.java 2006-03-24 00:29:12 UTC (rev 446) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFExplicitDestination.java 2006-03-24 00:53:51 UTC (rev 447) @@ -25,4 +25,12 @@ */ public interface PDFExplicitDestination { + /** + * Create an implementation-specific PDFNamedDestination instance that + * points to this explicit destination. + * @param name The name that should be assigned to this named destination. + * @return An implementation-specific PDFExplicitDestination instance. + */ + public PDFNamedDestination createPDFNamedDestination(String name) ; + } Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-24 00:29:12 UTC (rev 446) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-24 00:53:51 UTC (rev 447) @@ -20,11 +20,9 @@ package org.axsl.pdf; -import java.awt.Color; -import java.awt.geom.Rectangle2D; - /** - * Implementations of this class create instances of PDF-related classes. + * Implementations of this class are used to boostrap the creation of + * implementation-specific PDF-related classes. */ public interface PDFFactory { @@ -34,64 +32,4 @@ */ public PDFDocument createPDFDocument() ; - /** - * Create an implementation-specific PDFNamedDestination instance. - * @param document The PDFDocument for whom this instance is created. - * Implementations are at liberty to insist that this be a PDFDocument - * implementation known to the implementation. - * @param name The name that should be assigned to this named destination. - * @param explicit The explicit destination to which <code>name</code> - * should be attached. - * Implementations are at liberty to insist that this be a - * PDFExplicitDestination implementation known to the implementation. - * @return An implementation-specific PDFExplicitDestination instance. - * @throws PDFException If PDFDocument or PDFExplicitDestination are not of - * types supported by the implementation. - */ - public PDFNamedDestination createPDFNamedDestination( - PDFDocument document, String name, PDFExplicitDestination explicit) - throws PDFException ; - - /** - * Create an implementation-specific PDFColor instance. - * @param color The color that should be created. - * @return An implementation-specific PDFColor instance. - */ - public PDFColor createPDFColor(Color color) ; - - /** - * Create an implementation-specific PDFPage instance. - * @param document The PDFDocument for whom this instance is created. - * Implementations are at liberty to insist that this be a PDFDocument - * implementation known to the implementation. - * @param pagewidth The width of the page that should be created, in - * millipoints. - * @param pageheight The height of the page that should be created, in - * millipoints. - * @return An implementation-specific PDFPage instance. - * @throws PDFException If PDFDocument is not of a type supported by the - * implementation. - */ - public PDFPage createPDFPage(PDFDocument document, int pagewidth, - int pageheight) throws PDFException ; - - /** - * Create an implementation-specific PDFLink instance. - * @param document The PDFDocument for whom this instance is created. - * Implementations are at liberty to insist that this be a PDFDocument - * implementation known to the implementation. - * @param page The PDFPage on which this destination should be created. - * Implementations are at liberty to insist that this be a PDFPage - * implementation known to the implementation. - * @param linkRectangle The rectangle which activates the link. - * @param destination The destination to which the user should be taken - * when the link is activated. - * @return An implementation-specific PDFLink instance. - * @throws PDFException If PDFDocument is not of a type supported by the - * implementation. - */ - public PDFLink createPDFLink(PDFDocument document, PDFPage page, - Rectangle2D.Float linkRectangle, String destination) - throws PDFException ; - } Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPage.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPage.java 2006-03-24 00:29:12 UTC (rev 446) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPage.java 2006-03-24 00:53:51 UTC (rev 447) @@ -53,4 +53,14 @@ public PDFExplicitDestination createPDFExplicitDestination(float xPosition, float yPosition) ; + /** + * Create an implementation-specific PDFLink instance. + * @param linkRectangle The rectangle which activates the link. + * @param destination The destination to which the user should be taken + * when the link is activated. + * @return An implementation-specific PDFLink instance. + */ + public PDFLink createPDFLink(Rectangle2D.Float linkRectangle, + String destination) ; + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-24 00:29:21
|
Revision: 446 Author: victormote Date: 2006-03-23 16:29:12 -0800 (Thu, 23 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=446&view=rev Log Message: ----------- Move some methods from the Factory to parent objects. This cleans up almost everything, ensuring that all objects are of the appropriate implementation. Modified Paths: -------------- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFDocument.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFOutlineParent.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPage.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-20 03:41:02 UTC (rev 445) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFDocument.java 2006-03-24 00:29:12 UTC (rev 446) @@ -108,4 +108,11 @@ */ public void writeIndirectObjects(OutputStream stream) throws IOException ; + /** + * Create an implementation-specific PDFEncryption instance to be used by + * this document. + * @return An implementation-specific PDFEncryption instance. + */ + public PDFEncryption createPDFEncryption() ; + } Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-20 03:41:02 UTC (rev 445) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-24 00:29:12 UTC (rev 446) @@ -35,63 +35,6 @@ public PDFDocument createPDFDocument() ; /** - * Create an implementation-specific PDFEncryption instance. - * @param document The PDFDocument for whom this instance is created. - * Implementations are at liberty to insist that this be a PDFDocument - * implementation known to the implementation. - * @return An implementation-specific PDFEncryption instance. - * @throws PDFException If PDFDocument is not of a type supported by the - * implementation. - */ - public PDFEncryption createPDFEncryption(PDFDocument document) - throws PDFException; - - /** - * Create an implementation-specific PDFOutlineItem instance. - * @param document The PDFDocument for whom this instance is created. - * Implementations are at liberty to insist that this be a PDFDocument - * implementation known to the implementation. - * @param parent The PDF outline item that is the parent of the outline - * item being created. - * Implementations are at liberty to insist that this be a PDFOutlineParent - * implementation known to the implementation. - * @param titleText The text which should be displayed in the bookmarks - * outline. - * @param internalDestination The destination to which this outline item - * points. - * @param color The color in which the title text should be displayed. - * @param italic True if the title text should be displayed in italic. - * @param bold True if the title text should be displayed bold. - * @return An implementation-specific PDFOutlineItem instance. - * @throws PDFException If PDFDocument or PDFOutlineParent are not of types - * supported by the implementation. - */ - public PDFOutlineItem createPDFOutlineItem(PDFDocument document, - PDFOutlineParent parent, String titleText, - String internalDestination, Color color, boolean italic, - boolean bold) throws PDFException ; - - /** - * Create an implementation-specific PDFExplicitDestination instance. - * @param document The PDFDocument for whom this instance is created. - * Implementations are at liberty to insist that this be a PDFDocument - * implementation known to the implementation. - * @param page The PDFPage on which this destination should be created. - * Implementations are at liberty to insist that this be a PDFPage - * implementation known to the implementation. - * @param xPosition The horizontal location, on the page, of the - * destination. Position 0, 0 is the lower left corner of the page. - * @param yPosition The vertical location, on the page, of the - * destination. Position 0, 0 is the lower left corner of the page. - * @return An implementation-specific PDFExplicitDestination instance. - * @throws PDFException If PDFDocument or PDFPage are not of types - * supported by the implementation. - */ - public PDFExplicitDestination createPDFExplicitDestination( - PDFDocument document, PDFPage page, float xPosition, - float yPosition) throws PDFException ; - - /** * Create an implementation-specific PDFNamedDestination instance. * @param document The PDFDocument for whom this instance is created. * Implementations are at liberty to insist that this be a PDFDocument Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFOutlineParent.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFOutlineParent.java 2006-03-20 03:41:02 UTC (rev 445) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFOutlineParent.java 2006-03-24 00:29:12 UTC (rev 446) @@ -20,9 +20,27 @@ package org.axsl.pdf; +import java.awt.Color; + /** * A PDF Outline Parent. */ public interface PDFOutlineParent { + /** + * Create an implementation-specific PDFOutlineItem instance that is a child + * of this. + * @param titleText The text which should be displayed in the bookmarks + * outline. + * @param internalDestination The destination to which this outline item + * points. + * @param color The color in which the title text should be displayed. + * @param italic True if the title text should be displayed in italic. + * @param bold True if the title text should be displayed bold. + * @return An implementation-specific PDFOutlineItem instance. + */ + public PDFOutlineItem createPDFOutlineItem(String titleText, + String internalDestination, Color color, boolean italic, + boolean bold) ; + } Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPage.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPage.java 2006-03-20 03:41:02 UTC (rev 445) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPage.java 2006-03-24 00:29:12 UTC (rev 446) @@ -42,4 +42,15 @@ */ public PDFContentStream getContentStream() ; + /** + * Create an implementation-specific PDFExplicitDestination instance. + * @param xPosition The horizontal location, on the page, of the + * destination. Position 0, 0 is the lower left corner of the page. + * @param yPosition The vertical location, on the page, of the + * destination. Position 0, 0 is the lower left corner of the page. + * @return An implementation-specific PDFExplicitDestination instance. + */ + public PDFExplicitDestination createPDFExplicitDestination(float xPosition, + float yPosition) ; + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-20 03:41:10
|
Revision: 445 Author: victormote Date: 2006-03-19 19:41:02 -0800 (Sun, 19 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=445&view=rev Log Message: ----------- Javadoc enhancements. Modified Paths: -------------- trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java Modified: trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java =================================================================== --- trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java 2006-03-20 02:30:30 UTC (rev 444) +++ trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java 2006-03-20 03:41:02 UTC (rev 445) @@ -149,6 +149,16 @@ /** * Register a font for use by the system. * @param fontID A unique ID for this font (e.g. "Courier-Bold"). + * @param fontFileURL URL to the file containing the font. + * @param metricsFileURL URL to the file containing the font metrics. This + * is null for TrueType and OpenType fonts. + * @param collectionID For TrueType collections, indicates which font in + * the collection corresponds to this font. + * @param embed One of "none", "all", or "subset", indicating whether this + * font should be embedded in output documents. + * @param systemName For system fonts only, this is the name that should be + * supplied to the operating system font registry to obtain the font from + * it. * @throws FontException If a font with this <code>fontID</code> is already * registered. */ @@ -173,6 +183,55 @@ * @param encoding The encoding, if any, that should be used by this * font description. Set this value to null unless you wish to override * the encoding for this font. + * @param style One of {@link Font#FONT_STYLE_NORMAL}, + * {@link Font#FONT_STYLE_ITALIC}, + * {@link Font#FONT_STYLE_OBLIQUE}, or + * {@link Font#FONT_STYLE_BACKSLANT}. + * @param weight One of {@link Font#FONT_WEIGHT_NORMAL}, + * {@link Font#FONT_WEIGHT_BOLD}, + * {@link Font#FONT_WEIGHT_100}, + * {@link Font#FONT_WEIGHT_200}, + * {@link Font#FONT_WEIGHT_300}, + * {@link Font#FONT_WEIGHT_400}, + * {@link Font#FONT_WEIGHT_500}, + * {@link Font#FONT_WEIGHT_600}, + * {@link Font#FONT_WEIGHT_700}, + * {@link Font#FONT_WEIGHT_800},or + * {@link Font#FONT_WEIGHT_900}. + * @param variant One of {@link Font#FONT_VARIANT_NORMAL}, or + * {@link Font#FONT_VARIANT_SMALL_CAPS}. + * @param stretch One of {@link Font#FONT_STRETCH_ULTRA_CONDENSED}, + * {@link Font#FONT_STRETCH_EXTRA_CONDENSED}, + * {@link Font#FONT_STRETCH_CONDENSED}, + * {@link Font#FONT_STRETCH_SEMI_CONDENSED}, + * {@link Font#FONT_STRETCH_NORMAL}, + * {@link Font#FONT_STRETCH_SEMI_EXPANDED}, + * {@link Font#FONT_STRETCH_EXPANDED}, + * {@link Font#FONT_STRETCH_EXTRA_EXPANDED}, or + * {@link Font#FONT_STRETCH_ULTRA_EXPANDED}. + * @param simulatedSmallCaps To prevent this font-description from being + * used to simulate small-caps, set this value to {@link Float#NaN}. + * Otherwise, set it to the percentage which should be applied to the + * font-size for the small caps. For example, if set to 80%, and the + * font-size is 12 points, the resulting small-caps will be presented at + * 9.6 points. + * @param simulatedOblique To prevent this font-description from being + * used to simulate oblique, set this value to {@link Float#NaN}. + * Otherwise, set it to the number of degrees clockwise that the font should + * be skewed to simulate oblique. + * @param simulatedBackslant To prevent this font-description from being + * used to simulate backslant, set this value to {@link Float#NaN}. + * Otherwise, set it to the number of degrees counterclockwise that the font + * should be skewed to simulate backslant. + * @param simulatedStretch Array containing percentages by which the font + * should be stretched horizontally for various font-stretch values. + * Values greater than 100 will result in wider characters. + * Values less than 100 will result in narrower characters. + * Invalid or unset amounts are indicated by the value {@link Float#NaN}. + * Element 0 corresponds to ultra-condensed (the narrowest value), and + * element 7 corresponds to ultra-expanded (the widest value). + * Note that there is no element for "normal", since that does not need to + * be simulated. * @throws FontException If <code>fontFamily</code> or <code>fontID</code> * are not already registered. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-20 02:30:35
|
Revision: 444 Author: victormote Date: 2006-03-19 18:30:30 -0800 (Sun, 19 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=444&view=rev Log Message: ----------- Add method for registering a font-description item. Modified Paths: -------------- trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java Modified: trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java =================================================================== --- trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java 2006-03-20 01:54:37 UTC (rev 443) +++ trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java 2006-03-20 02:30:30 UTC (rev 444) @@ -165,4 +165,21 @@ */ public boolean isRegisteredFont(String fontID) ; + /** + * Register a font description for use by the system. + * @param fontFamily The name of the font-family in which this font should + * be registered. + * @param fontID The font ID for the font that should be registered. + * @param encoding The encoding, if any, that should be used by this + * font description. Set this value to null unless you wish to override + * the encoding for this font. + * @throws FontException If <code>fontFamily</code> or <code>fontID</code> + * are not already registered. + */ + public void registerFontDescription(String fontFamily, String fontID, + Encoding encoding, byte style, short weight, byte variant, + byte stretch, float simulatedSmallCaps, float simulatedOblique, + float simulatedBackslant, float[] simulatedStretch) + throws FontException ; + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-20 01:54:42
|
Revision: 443 Author: victormote Date: 2006-03-19 17:54:37 -0800 (Sun, 19 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=443&view=rev Log Message: ----------- Add method canEncode(). Modified Paths: -------------- trunk/axsl/axsl-ps/src/java/org/axsl/ps/Encoding.java Modified: trunk/axsl/axsl-ps/src/java/org/axsl/ps/Encoding.java =================================================================== --- trunk/axsl/axsl-ps/src/java/org/axsl/ps/Encoding.java 2006-03-19 23:56:07 UTC (rev 442) +++ trunk/axsl/axsl-ps/src/java/org/axsl/ps/Encoding.java 2006-03-20 01:54:37 UTC (rev 443) @@ -102,4 +102,12 @@ */ public int getLastIndex() ; + /** + * Determine whether a given Unicode code point can be encoded by this + * Encoding. + * @param codePoint The Unicode code point to be tested. + * @return True if this Encoding can encode <code>codePoint</code>. + */ + public boolean canEncode(int codePoint) ; + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-19 23:56:17
|
Revision: 442 Author: victormote Date: 2006-03-19 15:56:07 -0800 (Sun, 19 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=442&view=rev Log Message: ----------- Add new methods to allow external font registration. Modified Paths: -------------- trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java Modified: trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java =================================================================== --- trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java 2006-03-19 19:18:01 UTC (rev 441) +++ trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java 2006-03-19 23:56:07 UTC (rev 442) @@ -24,6 +24,8 @@ import org.axsl.font.output.FontOutputFactory; import org.axsl.ps.Encoding; +import java.net.URL; + /** * <p>FontServer provides some basic system-wide services such as listing * available fonts.</p> @@ -144,4 +146,23 @@ */ public String getFontFamilyForAlias(String alias) ; + /** + * Register a font for use by the system. + * @param fontID A unique ID for this font (e.g. "Courier-Bold"). + * @throws FontException If a font with this <code>fontID</code> is already + * registered. + */ + public void registerFont(String fontID, URL fontFileURL, + URL metricsFileURL, String collectionID, String embed, + String systemName) throws FontException ; + + /** + * Indicates whether a font has already been registered for use by the + * system. + * @param fontID The unique font ID for the font (e.g. "Courier-Bold"). + * @return True iff a font with ID of <code>fontID</code> is already + * registered. + */ + public boolean isRegisteredFont(String fontID) ; + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-19 19:18:09
|
Revision: 441 Author: victormote Date: 2006-03-19 11:18:01 -0800 (Sun, 19 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=441&view=rev Log Message: ----------- Add new methods to allow external font registration. Modified Paths: -------------- trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java Modified: trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java =================================================================== --- trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java 2006-03-15 00:26:24 UTC (rev 440) +++ trunk/axsl/axsl-font/src/java/org/axsl/font/FontServer.java 2006-03-19 19:18:01 UTC (rev 441) @@ -110,4 +110,38 @@ */ public boolean fontOutputFactoryAvailable(String mime); + /** + * Register a font-family for use by the system. + * @param name The name of the font-family (e.g. "Courier"). + * @throws FontException If the font-family is already registered. + */ + public void registerFontFamily(String name) throws FontException ; + + /** + * Indicates whether a font-family has already been registered for use by + * the system. + * @param name The name of the font-family (e.g. "Courier"). + * @return True iff the font-family is already registered. + */ + public boolean isRegisteredFontFamily(String name) ; + + /** + * Add a font-family alias. + * @param alias The name of the font-family alias (e.g. "sans-serif"). + * @param realFamily The name of the real font-family to which this alias + * should be associated (e.g. "Helvetica"). + * @throws FontException If the font-family alias is already registered, or + * if <code>realFamily</code> is not a registered font-family. + */ + public void registerFontFamilyAlias(String alias, String realFamily) + throws FontException; + + /** + * Finds the font-family that is associated with a given font-family alias. + * @param alias The name of the font-family alias. + * @return The name of the font-family to which the alias is pointed, or + * null if there is no font-family alias registered for <code>alias</code>. + */ + public String getFontFamilyForAlias(String alias) ; + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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. |
From: <vic...@us...> - 2006-03-15 00:07:30
|
Revision: 439 Author: victormote Date: 2006-03-14 16:07:18 -0800 (Tue, 14 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=439&view=rev Log Message: ----------- Add new methods and a new interface. Modified Paths: -------------- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPage.java Added Paths: ----------- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFLink.java Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-14 23:07:58 UTC (rev 438) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-15 00:07:18 UTC (rev 439) @@ -21,6 +21,7 @@ package org.axsl.pdf; import java.awt.Color; +import java.awt.geom.Rectangle2D; /** * Implementations of this class create instances of PDF-related classes. @@ -115,4 +116,39 @@ */ public PDFColor createPDFColor(Color color) ; + /** + * Create an implementation-specific PDFPage instance. + * @param document The PDFDocument for whom this instance is created. + * Implementations are at liberty to insist that this be a PDFDocument + * implementation known to the implementation. + * @param pagewidth The width of the page that should be created, in + * millipoints. + * @param pageheight The height of the page that should be created, in + * millipoints. + * @return An implementation-specific PDFPage instance. + * @throws PDFException If PDFDocument is not of a type supported by the + * implementation. + */ + public PDFPage createPDFPage(PDFDocument document, int pagewidth, + int pageheight) throws PDFException ; + + /** + * Create an implementation-specific PDFLink instance. + * @param document The PDFDocument for whom this instance is created. + * Implementations are at liberty to insist that this be a PDFDocument + * implementation known to the implementation. + * @param page The PDFPage on which this destination should be created. + * Implementations are at liberty to insist that this be a PDFPage + * implementation known to the implementation. + * @param linkRectangle The rectangle which activates the link. + * @param destination The destination to which the user should be taken + * when the link is activated. + * @return An implementation-specific PDFLink instance. + * @throws PDFException If PDFDocument is not of a type supported by the + * implementation. + */ + public PDFLink createPDFLink(PDFDocument document, PDFPage page, + Rectangle2D.Float linkRectangle, String destination) + throws PDFException ; + } Added: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFLink.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFLink.java (rev 0) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFLink.java 2006-03-15 00:07:18 UTC (rev 439) @@ -0,0 +1,28 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.pdf; + +/** + * A PDF Link. + */ +public interface PDFLink { + +} Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPage.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPage.java 2006-03-14 23:07:58 UTC (rev 438) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPage.java 2006-03-15 00:07:18 UTC (rev 439) @@ -20,9 +20,26 @@ package org.axsl.pdf; +import java.awt.geom.Rectangle2D; + /** * A PDF Page. */ public interface PDFPage { + /** + * Create a link object in the PDF add it to this page. + * @param rect The clickable rectangle. + * @param destination The destination. + * @param externalLink Set to true to create an external link. + */ + public PDFLink makeLink(Rectangle2D.Float rect, String destination, + boolean externalLink) ; + + /** + * Return the content stream that contains the content of this page. + * @return This page's content stream. + */ + public PDFContentStream getContentStream() ; + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-14 23:08:07
|
Revision: 438 Author: victormote Date: 2006-03-14 15:07:58 -0800 (Tue, 14 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=438&view=rev Log Message: ----------- Add some new methods. Modified Paths: -------------- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-14 22:56:27 UTC (rev 437) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-14 23:07:58 UTC (rev 438) @@ -108,4 +108,11 @@ PDFDocument document, String name, PDFExplicitDestination explicit) throws PDFException ; + /** + * Create an implementation-specific PDFColor instance. + * @param color The color that should be created. + * @return An implementation-specific PDFColor instance. + */ + public PDFColor createPDFColor(Color color) ; + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-14 22:56:34
|
Revision: 437 Author: victormote Date: 2006-03-14 14:56:27 -0800 (Tue, 14 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=437&view=rev Log Message: ----------- Add some new methods. Modified Paths: -------------- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-13 23:48:26 UTC (rev 436) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-14 22:56:27 UTC (rev 437) @@ -70,4 +70,42 @@ String internalDestination, Color color, boolean italic, boolean bold) throws PDFException ; + /** + * Create an implementation-specific PDFExplicitDestination instance. + * @param document The PDFDocument for whom this instance is created. + * Implementations are at liberty to insist that this be a PDFDocument + * implementation known to the implementation. + * @param page The PDFPage on which this destination should be created. + * Implementations are at liberty to insist that this be a PDFPage + * implementation known to the implementation. + * @param xPosition The horizontal location, on the page, of the + * destination. Position 0, 0 is the lower left corner of the page. + * @param yPosition The vertical location, on the page, of the + * destination. Position 0, 0 is the lower left corner of the page. + * @return An implementation-specific PDFExplicitDestination instance. + * @throws PDFException If PDFDocument or PDFPage are not of types + * supported by the implementation. + */ + public PDFExplicitDestination createPDFExplicitDestination( + PDFDocument document, PDFPage page, float xPosition, + float yPosition) throws PDFException ; + + /** + * Create an implementation-specific PDFNamedDestination instance. + * @param document The PDFDocument for whom this instance is created. + * Implementations are at liberty to insist that this be a PDFDocument + * implementation known to the implementation. + * @param name The name that should be assigned to this named destination. + * @param explicit The explicit destination to which <code>name</code> + * should be attached. + * Implementations are at liberty to insist that this be a + * PDFExplicitDestination implementation known to the implementation. + * @return An implementation-specific PDFExplicitDestination instance. + * @throws PDFException If PDFDocument or PDFExplicitDestination are not of + * types supported by the implementation. + */ + public PDFNamedDestination createPDFNamedDestination( + PDFDocument document, String name, PDFExplicitDestination explicit) + throws PDFException ; + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-13 23:48:38
|
Revision: 436 Author: victormote Date: 2006-03-13 15:48:26 -0800 (Mon, 13 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=436&view=rev Log Message: ----------- Bug Fix. BookmarkTreeArea extends the wrong interface. Modified Paths: -------------- trunk/axsl/axsl-area-out/src/java/org/axsl/areaOut/BookmarkTreeArea.java Modified: trunk/axsl/axsl-area-out/src/java/org/axsl/areaOut/BookmarkTreeArea.java =================================================================== --- trunk/axsl/axsl-area-out/src/java/org/axsl/areaOut/BookmarkTreeArea.java 2006-03-13 23:30:38 UTC (rev 435) +++ trunk/axsl/axsl-area-out/src/java/org/axsl/areaOut/BookmarkTreeArea.java 2006-03-13 23:48:26 UTC (rev 436) @@ -20,6 +20,6 @@ package org.axsl.areaOut; -public interface BookmarkTreeArea extends AreaFlexible { +public interface BookmarkTreeArea extends AreaNode { } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-13 23:30:44
|
Revision: 435 Author: victormote Date: 2006-03-13 15:30:38 -0800 (Mon, 13 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=435&view=rev Log Message: ----------- Add more methods. Modified Paths: -------------- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-13 23:02:42 UTC (rev 434) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-13 23:30:38 UTC (rev 435) @@ -20,11 +20,17 @@ package org.axsl.pdf; +import java.awt.Color; + /** * Implementations of this class create instances of PDF-related classes. */ public interface PDFFactory { + /** + * Create an implementation-specific PDFDocument instance. + * @return An implementation-specific PDFDocument instance. + */ public PDFDocument createPDFDocument() ; /** @@ -39,4 +45,29 @@ public PDFEncryption createPDFEncryption(PDFDocument document) throws PDFException; + /** + * Create an implementation-specific PDFOutlineItem instance. + * @param document The PDFDocument for whom this instance is created. + * Implementations are at liberty to insist that this be a PDFDocument + * implementation known to the implementation. + * @param parent The PDF outline item that is the parent of the outline + * item being created. + * Implementations are at liberty to insist that this be a PDFOutlineParent + * implementation known to the implementation. + * @param titleText The text which should be displayed in the bookmarks + * outline. + * @param internalDestination The destination to which this outline item + * points. + * @param color The color in which the title text should be displayed. + * @param italic True if the title text should be displayed in italic. + * @param bold True if the title text should be displayed bold. + * @return An implementation-specific PDFOutlineItem instance. + * @throws PDFException If PDFDocument or PDFOutlineParent are not of types + * supported by the implementation. + */ + public PDFOutlineItem createPDFOutlineItem(PDFDocument document, + PDFOutlineParent parent, String titleText, + String internalDestination, Color color, boolean italic, + boolean bold) throws PDFException ; + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-13 23:02:50
|
Revision: 434 Author: victormote Date: 2006-03-13 15:02:42 -0800 (Mon, 13 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=434&view=rev Log Message: ----------- Add more methods. Modified Paths: -------------- trunk/axsl/axsl-pdf/.classpath trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFContentStream.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFont.java Modified: trunk/axsl/axsl-pdf/.classpath =================================================================== --- trunk/axsl/axsl-pdf/.classpath 2006-03-13 22:16:48 UTC (rev 433) +++ trunk/axsl/axsl-pdf/.classpath 2006-03-13 23:02:42 UTC (rev 434) @@ -4,5 +4,6 @@ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry combineaccessrules="false" kind="src" path="/axslFont"/> <classpathentry combineaccessrules="false" kind="src" path="/axslGraphic"/> + <classpathentry kind="var" path="AXSL_LIB_ROOT/svg-1_1.jar"/> <classpathentry kind="output" path="build/eclipse"/> </classpath> Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFContentStream.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFContentStream.java 2006-03-13 22:16:48 UTC (rev 433) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFContentStream.java 2006-03-13 23:02:42 UTC (rev 434) @@ -20,6 +20,11 @@ package org.axsl.pdf; +import org.axsl.font.FontUse; +import org.axsl.graphic.Graphic; + +import org.w3c.dom.svg.SVGDocument; + import java.awt.geom.Line2D; import java.awt.geom.Rectangle2D; @@ -34,4 +39,36 @@ public void drawRectangle(Rectangle2D.Float rectangle, boolean stroke, PDFPathPaint strokePaint, boolean fill, PDFPathPaint fillPaint) ; + public void drawGraphic(Rectangle2D.Float contentRectangle, + Rectangle2D.Float clipRectangle, Graphic image, + FontUse font, float fontSize, float letterSpacing, + boolean strokeSVGText) ; + + /** + * Draw an SVG document in the Content Stream. + * @param doc The SVG document to draw. + */ + public void drawSVGDocument(SVGDocument doc, + Rectangle2D.Float contentRectangle, Rectangle2D.Float clipRectangle, + FontUse font, float fontSize, float letterSpacing, + boolean strokeSVGText) ; + + public void setStrokeColor(PDFColor newStrokeColor) ; + + public void setWordSpacing(float newWordSpacing) ; + + public void setCharacterSpacing(float newCharacterSpacing) ; + + public void setCursor(float originX, float originY) ; + + public void setFont(PDFFont newFont, float newFontSize) ; + + public void drawText(String text) ; + + /** + * Closes any open logical structures in the content so that it is ready + * to be output. + */ + public void close() ; + } Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFont.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFont.java 2006-03-13 22:16:48 UTC (rev 433) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFont.java 2006-03-13 23:02:42 UTC (rev 434) @@ -20,9 +20,19 @@ package org.axsl.pdf; +import org.axsl.font.FontUse; + /** * A PDF Font. */ public interface PDFFont { + /** + * Get the internal name used for this font, typically starting with "F". + * @return This font's internal name. + */ + public String getName() ; + + public FontUse getFontUse() ; + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-13 22:16:56
|
Revision: 433 Author: victormote Date: 2006-03-13 14:16:48 -0800 (Mon, 13 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=433&view=rev Log Message: ----------- Add some methods Modified Paths: -------------- trunk/axsl/axsl-pdf/.classpath trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFContentStream.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPathPaint.java Modified: trunk/axsl/axsl-pdf/.classpath =================================================================== --- trunk/axsl/axsl-pdf/.classpath 2006-03-13 22:00:21 UTC (rev 432) +++ trunk/axsl/axsl-pdf/.classpath 2006-03-13 22:16:48 UTC (rev 433) @@ -3,5 +3,6 @@ <classpathentry kind="src" path="src/java"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry combineaccessrules="false" kind="src" path="/axslFont"/> + <classpathentry combineaccessrules="false" kind="src" path="/axslGraphic"/> <classpathentry kind="output" path="build/eclipse"/> </classpath> Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFContentStream.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFContentStream.java 2006-03-13 22:00:21 UTC (rev 432) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFContentStream.java 2006-03-13 22:16:48 UTC (rev 433) @@ -20,9 +20,18 @@ package org.axsl.pdf; +import java.awt.geom.Line2D; +import java.awt.geom.Rectangle2D; + /** * A PDF Content Stream. */ public interface PDFContentStream { + public void drawLine(Line2D.Float line, float thickness, float[] dashArray, + float dashPhase, PDFPathPaint stroke) ; + + public void drawRectangle(Rectangle2D.Float rectangle, boolean stroke, + PDFPathPaint strokePaint, boolean fill, PDFPathPaint fillPaint) ; + } Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPathPaint.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPathPaint.java 2006-03-13 22:00:21 UTC (rev 432) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPathPaint.java 2006-03-13 22:16:48 UTC (rev 433) @@ -25,4 +25,6 @@ */ public interface PDFPathPaint { + public String getColorSpaceOut(boolean fillNotStroke) ; + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-13 22:00:35
|
Revision: 432 Author: victormote Date: 2006-03-13 14:00:21 -0800 (Mon, 13 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=432&view=rev Log Message: ----------- 1. Add utility class for static conversions. 2. Add some methods to PDFDocument. Modified Paths: -------------- trunk/axsl/axsl-pdf/.classpath trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFDocument.java Added Paths: ----------- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFUtility.java Modified: trunk/axsl/axsl-pdf/.classpath =================================================================== --- trunk/axsl/axsl-pdf/.classpath 2006-03-13 20:47:58 UTC (rev 431) +++ trunk/axsl/axsl-pdf/.classpath 2006-03-13 22:00:21 UTC (rev 432) @@ -2,5 +2,6 @@ <classpath> <classpathentry kind="src" path="src/java"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry combineaccessrules="false" kind="src" path="/axslFont"/> <classpathentry kind="output" path="build/eclipse"/> </classpath> 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-13 20:47:58 UTC (rev 431) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFDocument.java 2006-03-13 22:00:21 UTC (rev 432) @@ -20,9 +20,69 @@ package org.axsl.pdf; +import org.axsl.font.FontUse; + +import java.io.IOException; +import java.io.OutputStream; +import java.util.Date; + /** * A PDF document. */ public interface PDFDocument { + /** Constant indicating version 1.3 of the PDF spec. */ + public static final byte PDF_VERSION_1_3 = 0; + /** Constant indicating version 1.4 of the PDF spec. */ + public static final byte PDF_VERSION_1_4 = 1; + /** Constant indicating version 1.5 of the PDF spec. */ + public static final byte PDF_VERSION_1_5 = 2; + /** Constant indicating version 1.6 of the PDF spec. */ + public static final byte PDF_VERSION_1_6 = 3; + + public static final byte[] validVersions = { + PDF_VERSION_1_3, + PDF_VERSION_1_4, + PDF_VERSION_1_5, + PDF_VERSION_1_6 + }; + + public static final String[] versionStrings = { + "1.3", + "1.4", + "1.5", + "1.6", + }; + + /** + * Sets the PDF version that should be created when this document is + * written. + * If not set, the default value is implementation-dependent. + * Note that setting this value to a lower version will only eliminate + * features that are known to cause problems in PDF applications supporting + * a lower version. + * If a feature is not supported in a lower version, but causes no problems + * for that lower version, it will be included, so that applications + * supporting higher versions may take advantage of it. + * @param newVersion One of #PDF_VERSION_1_3, #PDF_VERSION_1_4, + * #PDF_VERSION_1_5, or #PDF_VERSION_1_6. + */ + public void setVersion(int newVersion) throws PDFException ; + + public void setProducer(String producer) ; + + public void setCreationDate(Date creationDate) ; + + public void addDefaultFilter(String filterName) ; + + /** + * Writes the PDF header. + * @param outputStream The OutputStream to write the header to. + */ + public void outputHeader(OutputStream outputStream) throws IOException ; + + public void close(OutputStream stream) throws IOException ; + +// public PDFFont getPDFFont(FontUse fontUse) throws PDFException ; + } Added: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFUtility.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFUtility.java (rev 0) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFUtility.java 2006-03-13 22:00:21 UTC (rev 432) @@ -0,0 +1,54 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id: FontUtility.java 428 2006-03-13 19:18:04Z victormote $ */ + +package org.axsl.pdf; + +/** + * <p>Class containing PDF-related utility methods.</p> + */ +public class PDFUtility { + + /** + * Private Constructor. This class should never be instantiated. + */ + private PDFUtility() { + } + + /** + * For a given String, finds the version constant that represents that + * version. + * @param stringVersion The String representing the version. Valid values + * include "1.3", "1.4", "1.5", and "1.6". + * @return The integral constant used to represent + * <code>stringVersion</code>, or -1 if none exists. Valid values are + * {@link PDFDocument#PDF_VERSION_1_3}, {@link PDFDocument#PDF_VERSION_1_4}, + * {@link PDFDocument#PDF_VERSION_1_5}, and + * {@link PDFDocument#PDF_VERSION_1_6}, + */ + public static int integralVersion(String stringVersion) { + for (int i = 0; i < PDFDocument.versionStrings.length; i++) { + if (stringVersion.equals(PDFDocument.versionStrings[i])) { + return i; + } + } + return -1; + } + +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-13 20:48:06
|
Revision: 431 Author: victormote Date: 2006-03-13 12:47:58 -0800 (Mon, 13 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=431&view=rev Log Message: ----------- Remove unneeded interface. Removed Paths: ------------- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFGraphicsState.java Deleted: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFGraphicsState.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFGraphicsState.java 2006-03-13 20:33:34 UTC (rev 430) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFGraphicsState.java 2006-03-13 20:47:58 UTC (rev 431) @@ -1,28 +0,0 @@ -/* - * Copyright 2006 The aXSL Project. - * http://www.axsl.org - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -/* $Id$ */ - -package org.axsl.pdf; - -/** - * A PDF Graphics State. - */ -public interface PDFGraphicsState { - -} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-13 20:33:39
|
Revision: 430 Author: victormote Date: 2006-03-13 12:33:34 -0800 (Mon, 13 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=430&view=rev Log Message: ----------- Add needed methods. Modified Paths: -------------- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFEncryption.java Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFEncryption.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFEncryption.java 2006-03-13 19:46:23 UTC (rev 429) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFEncryption.java 2006-03-13 20:33:34 UTC (rev 430) @@ -25,4 +25,48 @@ */ public interface PDFEncryption { + /** + * Sets the owner password for the PDF. + * @param value The owner password. + */ + public void setOwnerPassword(String value) ; + + /** + * Sets the user password for the PDF. + * @param value The user password. + */ + public void setUserPassword(String value) ; + + /** + * Sets whether the document will allow printing. + * @param value Set to true to allow printing. + */ + public void setAllowPrint(boolean value) ; + + /** + * Sets whether the document will allow the content to be extracted from + * the PDF document. + * @param value Set to true to allow content extraction. + */ + public void setAllowCopyContent(boolean value) ; + + /** + * Sets whether the document will allow its content to be edited. + * @param value Set to true to allow the document content to be edited. + */ + public void setAllowEditContent(boolean value) ; + + /** + * Sets whether the document will its annotations to be edited. + * @param value Set to true to allow the document annotations to be edited. + */ + public void setAllowEditAnnotation(boolean value) ; + + /** + * Initializes the encryption algorithms and values. This method should be + * run only after the various "set" methods have been called. + * TODO: This method should probably be removed. + */ + public void init() ; + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-13 19:46:28
|
Revision: 429 Author: victormote Date: 2006-03-13 11:46:23 -0800 (Mon, 13 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=429&view=rev Log Message: ----------- Add some javadoc. Modified Paths: -------------- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-13 19:18:04 UTC (rev 428) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-13 19:46:23 UTC (rev 429) @@ -27,6 +27,16 @@ public PDFDocument createPDFDocument() ; - public PDFEncryption createPDFEncryption(PDFDocument document); + /** + * Create an implementation-specific PDFEncryption instance. + * @param document The PDFDocument for whom this instance is created. + * Implementations are at liberty to insist that this be a PDFDocument + * implementation known to the implementation. + * @return An implementation-specific PDFEncryption instance. + * @throws PDFException If PDFDocument is not of a type supported by the + * implementation. + */ + public PDFEncryption createPDFEncryption(PDFDocument document) + throws PDFException; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-13 19:18:10
|
Revision: 428 Author: victormote Date: 2006-03-13 11:18:04 -0800 (Mon, 13 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=428&view=rev Log Message: ----------- Fix some javadoc problems. Modified Paths: -------------- trunk/axsl/axsl-font/src/java/org/axsl/font/FontUse.java trunk/axsl/axsl-font/src/java/org/axsl/font/FontUtility.java Modified: trunk/axsl/axsl-font/src/java/org/axsl/font/FontUse.java =================================================================== --- trunk/axsl/axsl-font/src/java/org/axsl/font/FontUse.java 2006-03-13 19:14:05 UTC (rev 427) +++ trunk/axsl/axsl-font/src/java/org/axsl/font/FontUse.java 2006-03-13 19:18:04 UTC (rev 428) @@ -367,7 +367,7 @@ /** * Indicates whether any characters registered use. * Character use is registered at {@link #registerCharUsed(int)} and - * {@link #registerCharsUsed(String)}. + * {@link #registerCharsUsed(CharSequence)}. * @return True if any characters were actually registered as used. */ public boolean wasUsed() ; Modified: trunk/axsl/axsl-font/src/java/org/axsl/font/FontUtility.java =================================================================== --- trunk/axsl/axsl-font/src/java/org/axsl/font/FontUtility.java 2006-03-13 19:14:05 UTC (rev 427) +++ trunk/axsl/axsl-font/src/java/org/axsl/font/FontUtility.java 2006-03-13 19:18:04 UTC (rev 428) @@ -40,7 +40,7 @@ /** * Converts a CSS2-style String input for font-style into a value expected * by {@link FontConsumer#selectFontCSS(String[], int, int, int, int, int, - * char)}. + * int)}. * @param input The CSS2-style String to be converted. * @param lowerCaseOnly Set to true to insist that all input values be * lowercase. @@ -50,7 +50,7 @@ * {@link Font#FONT_STYLE_ITALIC}, {@link Font#FONT_STYLE_OBLIQUE}, * or {@link Font#FONT_STYLE_BACKSLANT}. * For invalid input, -1. - * @see FontConsumer#selectFontCSS(String[], int, int, int, int, int, char) + * @see FontConsumer#selectFontCSS(String[], int, int, int, int, int, int) */ public static byte cssFontStyle(String input, boolean lowerCaseOnly) { if (input == null) { @@ -94,7 +94,7 @@ /** * Converts a CSS2-style String input for font-weight into a value expected * by {@link FontConsumer#selectFontCSS(String[], int, int, int, int, int, - * char)}. + * int)}. * @param input The CSS2-style String to be converted. * @param lowerCaseOnly Set to true to insist that all input values be * lowercase. @@ -108,7 +108,7 @@ * {@link Font#FONT_WEIGHT_900}, {@link Font#FONT_WEIGHT_NORMAL}, * and {@link Font#FONT_WEIGHT_BOLD}. * For invalid input, -1. - * @see FontConsumer#selectFontCSS(String[], int, int, int, int, int, char) + * @see FontConsumer#selectFontCSS(String[], int, int, int, int, int, int) */ public static short cssFontWeight(String input, boolean lowerCaseOnly) { if (input == null) { @@ -166,7 +166,7 @@ /** * Converts a CSS2-style String input for font-variant into a value expected * by {@link FontConsumer#selectFontCSS(String[], int, int, int, int, int, - * char)}. + * int)}. * @param input The CSS2-style String to be converted. * @param lowerCaseOnly Set to true to insist that all input values be * lowercase. @@ -175,7 +175,7 @@ * @return For valid input, one of {@link Font#FONT_VARIANT_NORMAL} or * {@link Font#FONT_VARIANT_SMALL_CAPS}. * For invalid input, -1. - * @see FontConsumer#selectFontCSS(String[], int, int, int, int, int, char) + * @see FontConsumer#selectFontCSS(String[], int, int, int, int, int, int) */ public static byte cssFontVariant(String input, boolean lowerCaseOnly) { if (input == null) { @@ -206,7 +206,7 @@ /** * Converts a CSS2-style String input for font-stretch into a value expected * by {@link FontConsumer#selectFontCSS(String[], int, int, int, int, int, - * char)}. + * int)}. * @param input The CSS2-style String to be converted. * @param lowerCaseOnly Set to true to insist that all input values be * lowercase. @@ -223,7 +223,7 @@ * {@link Font#FONT_STRETCH_EXTRA_EXPANDED}, * {@link Font#FONT_STRETCH_ULTRA_EXPANDED}. * For invalid input, -1. - * @see FontConsumer#selectFontCSS(String[], int, int, int, int, int, char) + * @see FontConsumer#selectFontCSS(String[], int, int, int, int, int, int) */ public static byte cssFontStretch(String input, boolean lowerCaseOnly) { if (input == null) { @@ -275,14 +275,14 @@ /** * Converts a CSS2-style String input for font-family into a value expected * by {@link FontConsumer#selectFontCSS(String[], int, int, int, int, int, - * char)}. + * int)}. * @param input The CSS2-style font-family String to be converted. * This is a comma-delimited String containing one or more potential * font-family items to be selected. Consult the CSS2 standard for * details. * @return A String array with the parsed font-family items in it, or null * if none were found. - * @see FontConsumer#selectFontCSS(String[], int, int, int, int, int, char) + * @see FontConsumer#selectFontCSS(String[], int, int, int, int, int, int) */ public static String[] cssFontFamily(String input) { /* There may be a better way to do this ... This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-13 19:14:12
|
Revision: 427 Author: victormote Date: 2006-03-13 11:14:05 -0800 (Mon, 13 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=427&view=rev Log Message: ----------- Include pdf package in build. Modified Paths: -------------- trunk/axsl/scripts/build.xml Modified: trunk/axsl/scripts/build.xml =================================================================== --- trunk/axsl/scripts/build.xml 2006-03-13 19:08:52 UTC (rev 426) +++ trunk/axsl/scripts/build.xml 2006-03-13 19:14:05 UTC (rev 427) @@ -69,6 +69,7 @@ <src path="${project.root}/axsl-text/src/java"/> <src path="${project.root}/axsl-fotree/src/java"/> <src path="${project.root}/axsl-area-out/src/java"/> + <src path="${project.root}/axsl-pdf/src/java"/> </javac> </target> @@ -133,6 +134,7 @@ <pathelement path="${project.root}/axsl-fotree/src/java"/> <pathelement path="${project.root}/axsl-area-in/src/java"/> <pathelement path="${project.root}/axsl-area-out/src/java"/> + <pathelement path="${project.root}/axsl-pdf/src/java"/> </sourcepath> <group title="The aXSL Common Module"> <package name="org.axsl.common"/> @@ -166,6 +168,10 @@ <package name="org.axsl.areaOut"/> <package name="org.axsl.areaOut.*"/> </group> + <group title="The aXSL PDF Module"> + <package name="org.axsl.pdf"/> + <package name="org.axsl.pdf.*"/> + </group> </javadoc> </target> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vic...@us...> - 2006-03-13 19:09:11
|
Revision: 426 Author: victormote Date: 2006-03-13 11:08:52 -0800 (Mon, 13 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=426&view=rev Log Message: ----------- Add empty interfaces for classes that are known to be needed. Added Paths: ----------- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFColor.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFContentStream.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFDocument.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFEncryption.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFExplicitDestination.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFont.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFGraphicsState.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFNamedDestination.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFOutlineItem.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFOutlineParent.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPage.java trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPathPaint.java Added: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFColor.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFColor.java (rev 0) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFColor.java 2006-03-13 19:08:52 UTC (rev 426) @@ -0,0 +1,28 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.pdf; + +/** + * A PDF Color. + */ +public interface PDFColor extends PDFPathPaint { + +} Added: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFContentStream.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFContentStream.java (rev 0) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFContentStream.java 2006-03-13 19:08:52 UTC (rev 426) @@ -0,0 +1,28 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.pdf; + +/** + * A PDF Content Stream. + */ +public interface PDFContentStream { + +} Added: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFDocument.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFDocument.java (rev 0) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFDocument.java 2006-03-13 19:08:52 UTC (rev 426) @@ -0,0 +1,28 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.pdf; + +/** + * A PDF document. + */ +public interface PDFDocument { + +} Added: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFEncryption.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFEncryption.java (rev 0) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFEncryption.java 2006-03-13 19:08:52 UTC (rev 426) @@ -0,0 +1,28 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.pdf; + +/** + * Encryption-related items for a PDFDocument. + */ +public interface PDFEncryption { + +} Added: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFExplicitDestination.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFExplicitDestination.java (rev 0) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFExplicitDestination.java 2006-03-13 19:08:52 UTC (rev 426) @@ -0,0 +1,28 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.pdf; + +/** + * A PDF Explicit Destination. + */ +public interface PDFExplicitDestination { + +} Added: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java (rev 0) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFactory.java 2006-03-13 19:08:52 UTC (rev 426) @@ -0,0 +1,32 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.pdf; + +/** + * Implementations of this class create instances of PDF-related classes. + */ +public interface PDFFactory { + + public PDFDocument createPDFDocument() ; + + public PDFEncryption createPDFEncryption(PDFDocument document); + +} Added: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFont.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFont.java (rev 0) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFFont.java 2006-03-13 19:08:52 UTC (rev 426) @@ -0,0 +1,28 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.pdf; + +/** + * A PDF Font. + */ +public interface PDFFont { + +} Added: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFGraphicsState.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFGraphicsState.java (rev 0) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFGraphicsState.java 2006-03-13 19:08:52 UTC (rev 426) @@ -0,0 +1,28 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.pdf; + +/** + * A PDF Graphics State. + */ +public interface PDFGraphicsState { + +} Added: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFNamedDestination.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFNamedDestination.java (rev 0) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFNamedDestination.java 2006-03-13 19:08:52 UTC (rev 426) @@ -0,0 +1,28 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.pdf; + +/** + * A PDF Named Destination. + */ +public interface PDFNamedDestination { + +} Added: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFOutlineItem.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFOutlineItem.java (rev 0) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFOutlineItem.java 2006-03-13 19:08:52 UTC (rev 426) @@ -0,0 +1,28 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.pdf; + +/** + * A PDF Outline Item. + */ +public interface PDFOutlineItem extends PDFOutlineParent { + +} Added: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFOutlineParent.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFOutlineParent.java (rev 0) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFOutlineParent.java 2006-03-13 19:08:52 UTC (rev 426) @@ -0,0 +1,28 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.pdf; + +/** + * A PDF Outline Parent. + */ +public interface PDFOutlineParent { + +} Added: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPage.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPage.java (rev 0) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPage.java 2006-03-13 19:08:52 UTC (rev 426) @@ -0,0 +1,28 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.pdf; + +/** + * A PDF Page. + */ +public interface PDFPage { + +} Added: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPathPaint.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPathPaint.java (rev 0) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFPathPaint.java 2006-03-13 19:08:52 UTC (rev 426) @@ -0,0 +1,28 @@ +/* + * Copyright 2006 The aXSL Project. + * http://www.axsl.org + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +/* $Id$ */ + +package org.axsl.pdf; + +/** + * A PDF Path. + */ +public interface PDFPathPaint { + +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |