foray-commit Mailing List for FOray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
(139) |
Apr
(98) |
May
(250) |
Jun
(394) |
Jul
(84) |
Aug
(13) |
Sep
(420) |
Oct
(186) |
Nov
(1) |
Dec
(3) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(108) |
Feb
(202) |
Mar
(291) |
Apr
(247) |
May
(374) |
Jun
(227) |
Jul
(231) |
Aug
(60) |
Sep
(31) |
Oct
(45) |
Nov
(18) |
Dec
|
| 2008 |
Jan
(38) |
Feb
(71) |
Mar
(142) |
Apr
|
May
(59) |
Jun
(6) |
Jul
(10) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
(12) |
Feb
(4) |
Mar
(88) |
Apr
(121) |
May
(17) |
Jun
(30) |
Jul
|
Aug
(5) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2010 |
Jan
(11) |
Feb
(76) |
Mar
(11) |
Apr
|
May
(11) |
Jun
|
Jul
|
Aug
(44) |
Sep
(14) |
Oct
(7) |
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(9) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(10) |
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(168) |
| 2017 |
Jan
(77) |
Feb
(11) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
(6) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
(88) |
Mar
(118) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(141) |
| 2021 |
Jan
(170) |
Feb
(20) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(62) |
Nov
(189) |
Dec
(162) |
| 2022 |
Jan
(201) |
Feb
(118) |
Mar
(8) |
Apr
|
May
(2) |
Jun
(47) |
Jul
(19) |
Aug
(14) |
Sep
(3) |
Oct
|
Nov
(28) |
Dec
(235) |
| 2023 |
Jan
(112) |
Feb
(23) |
Mar
(2) |
Apr
(2) |
May
|
Jun
(1) |
Jul
|
Aug
(70) |
Sep
(92) |
Oct
(20) |
Nov
(1) |
Dec
(1) |
| 2024 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
(14) |
Jun
(11) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
(10) |
Feb
(29) |
Mar
|
Apr
(162) |
May
(245) |
Jun
(83) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
1
|
2
|
3
|
4
|
5
|
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
|
13
|
14
|
15
|
16
|
17
|
18
|
19
(1) |
|
20
|
21
(2) |
22
|
23
|
24
|
25
|
26
|
|
27
(5) |
28
(2) |
29
|
30
(3) |
31
|
|
|
|
From: <vic...@us...> - 2006-08-30 14:37:30
|
Revision: 7845 Author: victormote Date: 2006-08-30 07:36:27 -0700 (Wed, 30 Aug 2006) ViewCVS: http://svn.sourceforge.net/foray/?rev=7845&view=rev Log Message: ----------- Add javadoc. Modified Paths: -------------- trunk/foray/foray-app/src/java/org/foray/app/FOray.java trunk/foray/foray-app/src/java/org/foray/app/ant/FOrayAntTaskStarter.java trunk/foray/foray-app/src/java/org/foray/demo/embed/model/ProjectTeamInputSource.java trunk/foray/foray-mif/src/java/org/foray/mif/MIFDocument.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/AbstractFlowPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/AbstractTableBodyPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/BlockContainerPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/BlockPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ContinuedLabelPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ExternalGraphicPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FONodePL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FOTextPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FObjMixedPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FObjPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FlowPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FootnoteBodyPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FootnotePL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/InstreamForeignObjectPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/LeaderPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ListBlockPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ListItemBodyPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ListItemLabelPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/MarkerPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PageNumberCitationPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PageNumberPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/RetrieveMarkerPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/RowCellArray.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/RowSpanMgr.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/StaticContentPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/Status.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableBodyPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableCellPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableFooterPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableHeaderPL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TablePL.java trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableRowPL.java trunk/foray/foray-pretty/src/java/org/foray/pretty/FOrayPretty.java trunk/foray/foray-pretty/src/java/org/foray/pretty/dtd/DTDTokenizer.java trunk/foray/foray-ps/src/java/org/foray/ps/PSColor.java trunk/foray/foray-ps/src/java/org/foray/ps/filter/ASCII85Filter.java trunk/foray/foray-ps/src/java/org/foray/ps/java2d/demo/DemoFrame.java trunk/foray/foray-render/src/java/org/foray/render/awt/AWTPrintRenderer.java trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/GoToPageDialog.java trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/IconToolBar.java trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/PreviewDialogAboutBox.java trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/ProgressListener.java trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLStream.java trunk/foray/foray-render/src/java/org/foray/render/ps/PSStream.java trunk/foray/foray-render/src/java/org/foray/render/svg/SVGRenderer.java trunk/foray/foray-render/src/java/org/foray/render/txt/TXTStream.java trunk/foray/foray-text/src/java/org/foray/text/line/LineBreaker.java Modified: trunk/foray/foray-app/src/java/org/foray/app/FOray.java =================================================================== --- trunk/foray/foray-app/src/java/org/foray/app/FOray.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-app/src/java/org/foray/app/FOray.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -32,6 +32,9 @@ import java.io.FileNotFoundException; +/** + * Command-line entry point to the FOray application. + */ public class FOray { public static void main(final String[] args) { CommandLineOptions options = null; Modified: trunk/foray/foray-app/src/java/org/foray/app/ant/FOrayAntTaskStarter.java =================================================================== --- trunk/foray/foray-app/src/java/org/foray/app/ant/FOrayAntTaskStarter.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-app/src/java/org/foray/app/ant/FOrayAntTaskStarter.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -53,6 +53,9 @@ import java.net.MalformedURLException; import java.net.URL; +/** + * Ant Starter implementation for FOray. + */ class FOrayAntTaskStarter extends Starter { /** The parent task for this starter. */ Modified: trunk/foray/foray-app/src/java/org/foray/demo/embed/model/ProjectTeamInputSource.java =================================================================== --- trunk/foray/foray-app/src/java/org/foray/demo/embed/model/ProjectTeamInputSource.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-app/src/java/org/foray/demo/embed/model/ProjectTeamInputSource.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -26,6 +26,9 @@ import org.xml.sax.InputSource; +/** + * An InputSource wrapper of a {@link ProjectTeam} instance. + */ public class ProjectTeamInputSource extends InputSource { private ProjectTeam projectTeam; Modified: trunk/foray/foray-mif/src/java/org/foray/mif/MIFDocument.java =================================================================== --- trunk/foray/foray-mif/src/java/org/foray/mif/MIFDocument.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-mif/src/java/org/foray/mif/MIFDocument.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -101,6 +101,9 @@ return buf.toString(); } + /** + * A MIF ID. + */ class ID { private int idCounter = 1; @@ -111,23 +114,29 @@ } + /** + * A MIF Font Format. + */ class FontFormat { public FontFormat() {} } + /** + * A MIF Paragraph Format. + */ class ParagraphFormat extends FontFormat { public ParagraphFormat() {} int startIndent; int endIndent; - - - } + /** + * A MIF Document. + */ class Document { protected int height; protected int width; @@ -142,16 +151,21 @@ stream.write(buf); } - } + /** + * A MIF PolyLine. + */ class PolyLine { public PolyLine() {} } + /** + * A MIF Import Object. + */ class ImportObject { private String url; @@ -201,6 +215,9 @@ } + /** + * A MIF Frame. + */ class Frame { private int ID; @@ -265,6 +282,9 @@ } + /** + * A MIF Text Rectangle. + */ class TextRect { private int rx, ry, w, h; private int numCols; @@ -325,6 +345,9 @@ } + /** + * A MIF Page. + */ class Page { private String pageType; private String pageBackground; @@ -373,6 +396,9 @@ } } + /** + * A MIF Flow. + */ abstract class Flow { public Flow() {} @@ -381,7 +407,9 @@ public abstract void startPara(); } - + /** + * A MIF Text Flow. + */ class TextFlow extends Flow { ArrayList paras; @@ -427,6 +455,9 @@ } + /** + * A MIF Paragraph. + */ class Para { ArrayList paraLines; @@ -494,6 +525,9 @@ } + /** + * A MIF Paragraph Line. + */ class ParaLine { ArrayList content; int textRectID; @@ -552,6 +586,9 @@ } + /** + * A MIF Paragraph Catalog. + */ class PgfCatalog { ArrayList pgfs; // Paragraph formats @@ -565,18 +602,27 @@ } + /** + * A MIF Color. + */ class Color { public Color() {} } + /** + * A MIF Color Catalog. + */ class ColorCatalog { public ColorCatalog() {} } + /** + * A MIF Ruling. + */ class Ruling { int penWidth; @@ -603,6 +649,9 @@ } + /** + * A MIF Ruling Catalog. + */ class RulingCatalog { // Contains multiple rulings @@ -629,18 +678,30 @@ } + /** + * A MIF Table Format. + */ class TblFormat { public TblFormat() {} } + /** + * A MIF Table Catalog. + */ class TblCatalog { public TblCatalog() {} } + /** + * A MIF Table. + */ class Tbl extends Flow { + /** + * A MIF Table Column. + */ class TblColumn { private int width; public TblColumn(final int width) { @@ -659,8 +720,14 @@ } + /** + * A MIF Table Row. + */ class Row { + /** + * A MIF Table Cell. + */ class Cell { private ArrayList paras; // Paras @@ -814,30 +881,45 @@ } + /** + * A MIF Cross-Reference Format. + */ class XRefFormat { public XRefFormat() {} } + /** + * A MIF Cross-Reference Info. + */ class CrossRefInfo { public CrossRefInfo() {} } + /** + * A MIF Cross-Reference. + */ class XRef { public XRef() {} } + /** + * A MIF Marker. + */ class Marker { public Marker() {} } + /** + * A MIF Book Component. + */ class BookComponent { Document document; @@ -928,6 +1010,9 @@ } + /** + * A MIF Element Set. + */ class ElementSet { public ElementSet() {} Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/AbstractFlowPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/AbstractFlowPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/AbstractFlowPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -25,18 +25,22 @@ package org.foray.pioneer; import org.axsl.areaW.Area; +import org.axsl.areaW.AreaWException; import org.axsl.areaW.NormalFlowRA; import org.axsl.areaW.RegionRABody; import org.axsl.areaW.SpanRA; - -import org.axsl.areaW.AreaWException; import org.axsl.foR.FObj; import org.axsl.foR.fo.AbstractFlow; +import org.axsl.foR.fo.Flow; import org.axsl.foR.fo.Region; import org.axsl.foR.fo.RetrieveMarker; +import org.axsl.foR.fo.StaticContent; import java.util.ArrayList; +/** + * Abstract Pioneer Layout for {@link Flow} and {@link StaticContent}. + */ public abstract class AbstractFlowPL extends FObjPL { private int _status = Status.AREA_FULL_NONE; Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/AbstractTableBodyPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/AbstractTableBodyPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/AbstractTableBodyPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -46,6 +46,9 @@ import java.lang.ref.WeakReference; import java.util.ArrayList; +/** + * Abstract Pioneer Layout for all table body items. + */ public abstract class AbstractTableBodyPL extends FObjPL { // public AreaContainer areaContainer; Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/BlockContainerPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/BlockContainerPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/BlockContainerPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -32,7 +32,7 @@ import org.axsl.foR.fo.RetrieveMarker; /** - * + * Pioneer Layout for {@link BlockContainer}. */ public class BlockContainerPL extends FObjPL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/BlockPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/BlockPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/BlockPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -35,7 +35,7 @@ import org.axsl.fontR.FontConsumer; /** - * + * Pioneer Layout for {@link Block}. */ public class BlockPL extends FObjMixedPL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ContinuedLabelPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ContinuedLabelPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ContinuedLabelPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -32,7 +32,7 @@ import org.axsl.foR.fo.RetrieveMarker; /** - * + * Pioneer Layout for {@link ContinuedLabel}. */ public class ContinuedLabelPL extends FObjPL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ExternalGraphicPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ExternalGraphicPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ExternalGraphicPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -32,7 +32,7 @@ import org.axsl.foR.fo.RetrieveMarker; /** - * + * Pioneer Layout for {@link ExternalGraphic}. */ public class ExternalGraphicPL extends FObjPL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FONodePL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FONodePL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FONodePL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -44,7 +44,7 @@ import java.util.ArrayList; /** - * + * Abstract Pioneer Layout superclass for all {@link FONode} instances. */ public abstract class FONodePL implements org.axsl.foR.FONodeProxy { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FOTextPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FOTextPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FOTextPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -33,7 +33,7 @@ import org.axsl.foR.fo.RetrieveMarker; /** - * + * Pioneer Layout for {@link FOText}. */ public class FOTextPL extends FONodePL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FObjMixedPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FObjMixedPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FObjMixedPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -33,7 +33,7 @@ import org.axsl.foR.fo.RetrieveMarker; /** - * + * Pioneer Layout for {@link FObjMixed}. */ public class FObjMixedPL extends FObjPL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FObjPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FObjPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FObjPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -34,7 +34,7 @@ import java.util.List; /** - * + * Abstract superclass for Pioneer Layout for all {@link FObj} instances. */ public abstract class FObjPL extends FONodePL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FlowPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FlowPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FlowPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -33,6 +33,9 @@ import java.util.List; +/** + * Pioneer Layout for {@link Flow}. + */ public class FlowPL extends AbstractFlowPL { public FlowPL(final Flow flow, final PioneerLS layout) { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FootnoteBodyPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FootnoteBodyPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FootnoteBodyPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -37,7 +37,7 @@ import org.axsl.foR.fo.StaticContent; /** - * + * Pioneer Layout for {@link FootnoteBody}. */ public class FootnoteBodyPL extends FObjPL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FootnotePL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FootnotePL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FootnotePL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -34,7 +34,7 @@ import org.axsl.foR.fo.RetrieveMarker; /** - * + * Pioneer Layout for {@link Footnote}. */ public class FootnotePL extends FObjPL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/InstreamForeignObjectPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/InstreamForeignObjectPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/InstreamForeignObjectPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -32,6 +32,9 @@ import org.axsl.foR.fo.InstreamForeignObject; import org.axsl.foR.fo.RetrieveMarker; +/** + * Pioneer Layout for {@link InstreamForeignObject}. + */ public class InstreamForeignObjectPL extends FObjPL { public ForeignObjectArea areaCurrent; Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/LeaderPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/LeaderPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/LeaderPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -32,7 +32,7 @@ import org.axsl.foR.fo.RetrieveMarker; /** - * Concrete class for FObj instances that do not need layout. + * Pioneer Layout for {@link Leader}. */ public class LeaderPL extends FObjPL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ListBlockPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ListBlockPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ListBlockPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -33,7 +33,7 @@ import org.axsl.foR.fo.RetrieveMarker; /** - * + * Pioneer Layout for {@link ListBlock}. */ public class ListBlockPL extends FObjPL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ListItemBodyPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ListItemBodyPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ListItemBodyPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -32,7 +32,7 @@ import org.axsl.foR.fo.RetrieveMarker; /** - * + * Pioneer Layout for {@link ListItemBody}. */ public class ListItemBodyPL extends FObjPL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ListItemLabelPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ListItemLabelPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ListItemLabelPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -32,7 +32,7 @@ import org.axsl.foR.fo.RetrieveMarker; /** - * + * Pioneer Layout for {@link ListItemLabel}. */ public class ListItemLabelPL extends FObjPL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/MarkerPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/MarkerPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/MarkerPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -29,6 +29,9 @@ import org.axsl.areaW.Area; +/** + * Pioneer Layout for {@link Marker}. + */ public class MarkerPL extends FObjMixedPL { public MarkerPL(final Marker marker, final PioneerLS layout) { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PageNumberCitationPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PageNumberCitationPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PageNumberCitationPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -32,7 +32,7 @@ import org.axsl.foR.fo.RetrieveMarker; /** - * + * Pioneer Layout for {@link PageNumberCitation}. */ public class PageNumberCitationPL extends FObjPL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PageNumberPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PageNumberPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PageNumberPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -32,7 +32,7 @@ import org.axsl.foR.fo.RetrieveMarker; /** - * + * Pioneer Layout for {@link PageNumber}. */ public class PageNumberPL extends FObjPL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/RetrieveMarkerPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/RetrieveMarkerPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/RetrieveMarkerPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -32,7 +32,7 @@ import org.axsl.foR.fo.RetrieveMarker; /** - * + * Pioneer Layout for {@link RetrieveMarker}. */ public class RetrieveMarkerPL extends FObjPL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/RowCellArray.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/RowCellArray.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/RowCellArray.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -27,7 +27,7 @@ import org.axsl.foR.fo.TableCell; /** - * + * An array of row cells for Pioneer Layout. */ public class RowCellArray { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/RowSpanMgr.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/RowSpanMgr.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/RowSpanMgr.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -26,7 +26,15 @@ import org.axsl.foR.fo.TableCell; +/** + * Manages layout of row spans. + */ + public class RowSpanMgr { + + /** + * Inner class storing information for one span item. + */ class SpanInfo { int cellHeight; int totalRowHeight; Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/StaticContentPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/StaticContentPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/StaticContentPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -31,6 +31,9 @@ import org.axsl.foR.fo.RetrieveMarker; import org.axsl.foR.fo.StaticContent; +/** + * Pioneer Layout for {@link StaticContent}. + */ public class StaticContentPL extends AbstractFlowPL { public StaticContentPL(final StaticContent sc, final PioneerLS layout) { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/Status.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/Status.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/Status.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -27,7 +27,7 @@ import org.axsl.common.Constants; /** - * classes representating the status of laying out a formatting object + * Utility class representating the Pioneer Layout status of an FO. */ public abstract class Status { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableBodyPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableBodyPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableBodyPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -26,6 +26,9 @@ import org.axsl.foR.fo.TableBody; +/** + * Pioneer Layout for {@link TableBody}. + */ public class TableBodyPL extends AbstractTableBodyPL { public TableBodyPL(final TableBody body, final PioneerLS layout) { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableCellPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableCellPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableCellPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -34,6 +34,9 @@ import org.axsl.foR.fo.RetrieveMarker; import org.axsl.foR.fo.TableCell; +/** + * Pioneer Layout for {@link TableCell}. + */ public class TableCellPL extends FObjPL { public TableCellArea areaContainer; Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableFooterPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableFooterPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableFooterPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -26,6 +26,9 @@ import org.axsl.foR.fo.TableFooter; +/** + * Pioneer Layout for {@link TableFooter}. + */ public class TableFooterPL extends AbstractTableBodyPL { public TableFooterPL(final TableFooter footer, final PioneerLS layout) { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableHeaderPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableHeaderPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableHeaderPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -26,6 +26,9 @@ import org.axsl.foR.fo.TableHeader; +/** + * Pioneer Layout for {@link TableHeader}. + */ public class TableHeaderPL extends AbstractTableBodyPL { public TableHeaderPL(final TableHeader header, final PioneerLS layout) { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TablePL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TablePL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TablePL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -40,7 +40,7 @@ import org.axsl.foR.fo.TableHeader; /** - * + * Pioneer Layout for {@link Table}. */ public class TablePL extends BlockPL { Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableRowPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableRowPL.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableRowPL.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -36,6 +36,9 @@ import org.axsl.foR.fo.TableColumn; import org.axsl.foR.fo.TableRow; +/** + * Pioneer Layout for {@link TableRow}. + */ public class TableRowPL extends FObjPL { private RowSpanMgr rowSpanMgr = null; Modified: trunk/foray/foray-pretty/src/java/org/foray/pretty/FOrayPretty.java =================================================================== --- trunk/foray/foray-pretty/src/java/org/foray/pretty/FOrayPretty.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pretty/src/java/org/foray/pretty/FOrayPretty.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -585,6 +585,9 @@ return this.elementStack.size() - 1; } + /** + * Private inner class for the queue of unprocessed document pieces. + */ private class Queue { /** Collection of Strings that need to be written as soon as we know * enough of what comes after them to choose line breaks. This is needed Modified: trunk/foray/foray-pretty/src/java/org/foray/pretty/dtd/DTDTokenizer.java =================================================================== --- trunk/foray/foray-pretty/src/java/org/foray/pretty/dtd/DTDTokenizer.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-pretty/src/java/org/foray/pretty/dtd/DTDTokenizer.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -26,6 +26,9 @@ import java.util.ArrayList; +/** + * Utility class for tokenizing a DTD. + */ public class DTDTokenizer { /** Modified: trunk/foray/foray-ps/src/java/org/foray/ps/PSColor.java =================================================================== --- trunk/foray/foray-ps/src/java/org/foray/ps/PSColor.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-ps/src/java/org/foray/ps/PSColor.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -27,6 +27,9 @@ import java.awt.Color; import java.awt.color.ColorSpace; +/** + * Utility class for PostScript color conversions. + */ public class PSColor { /** Modified: trunk/foray/foray-ps/src/java/org/foray/ps/filter/ASCII85Filter.java =================================================================== --- trunk/foray/foray-ps/src/java/org/foray/ps/filter/ASCII85Filter.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-ps/src/java/org/foray/ps/filter/ASCII85Filter.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -26,6 +26,9 @@ import java.io.ByteArrayOutputStream; +/** + * Acts as either an ASCII85Encode Filter or an ASCII85Decode filter. + */ public class ASCII85Filter extends PSFilter { private static final char ASCII85_ZERO = 'z'; private static final char ASCII85_START = '!'; Modified: trunk/foray/foray-ps/src/java/org/foray/ps/java2d/demo/DemoFrame.java =================================================================== --- trunk/foray/foray-ps/src/java/org/foray/ps/java2d/demo/DemoFrame.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-ps/src/java/org/foray/ps/java2d/demo/DemoFrame.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -30,7 +30,7 @@ import java.awt.event.WindowEvent; /** - * @version $Id$ + * An AWT Frame for the demo. */ public class DemoFrame extends Frame { static final long serialVersionUID = 160698642002357180L; @@ -53,6 +53,9 @@ add("Center", bcpanel); } + /** + * Private inner class listening for window events. + */ private class WindowHandler extends WindowAdapter { public void windowClosing(final WindowEvent we) { System.exit(0); Modified: trunk/foray/foray-render/src/java/org/foray/render/awt/AWTPrintRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/awt/AWTPrintRenderer.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-render/src/java/org/foray/render/awt/AWTPrintRenderer.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -35,6 +35,9 @@ import java.io.IOException; import java.util.ArrayList; +/** + * A specialized AWT Renderer that prints the document. + */ public class AWTPrintRenderer extends AWTRenderer { private static final int EVEN_AND_ALL = 0; Modified: trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -93,11 +93,8 @@ * @author <a href="mailto:mar...@in...">Mark Lillywhite</a> */ -/* - * Mark Lillywhite(?) made the following comment: Did lots of - * cleaning up and made the class implement the new Renderer - * interface. This class could also do with a general audit, - * and I suspect it's not swing-thread-safe either. +/** + * A {@link Renderer} that displays the document using AWT. */ public class AWTRenderer extends Renderer implements Printable, Pageable { Modified: trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/GoToPageDialog.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/GoToPageDialog.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/GoToPageDialog.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -47,7 +47,9 @@ * Stanislav Gorkhover: Sta...@jC... */ - +/** + * Dialog box allowing the user to go to a different page. + */ public class GoToPageDialog extends JDialog { static final long serialVersionUID = 663961335818273528L; Modified: trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/IconToolBar.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/IconToolBar.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/IconToolBar.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -39,6 +39,9 @@ import javax.swing.JButton; import javax.swing.JToolBar; +/** + * The icon toolbar for the Viewer. + */ public class IconToolBar extends JToolBar { static final long serialVersionUID = 726305148932931753L; Modified: trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/PreviewDialogAboutBox.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/PreviewDialogAboutBox.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/PreviewDialogAboutBox.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -50,7 +50,9 @@ import javax.swing.border.EmptyBorder; - +/** + * An "About" dialog box for the Viewer. + */ public class PreviewDialogAboutBox extends Dialog implements ActionListener { static final long serialVersionUID = 235027317547788598L; Modified: trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/ProgressListener.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/ProgressListener.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/ProgressListener.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -31,10 +31,11 @@ * Stanislav Gorkhover: Sta...@jC... */ - +/** + * Listener for measuring the progress of rendering the document. + */ public interface ProgressListener { void progress(int percentage); void progress(String message); void progress(int percentage, String message); } - Modified: trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLStream.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLStream.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLStream.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -27,6 +27,9 @@ import java.io.IOException; import java.io.OutputStream; +/** + * Specialized output stream used by {@link PCLRenderer}. + */ public class PCLStream { OutputStream out = null; boolean doOutput = true; Modified: trunk/foray/foray-render/src/java/org/foray/render/ps/PSStream.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/ps/PSStream.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-render/src/java/org/foray/render/ps/PSStream.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -28,6 +28,9 @@ import java.io.IOException; import java.io.OutputStream; +/** + * Specialized output stream used by {@link PSRenderer}. + */ public class PSStream extends FilterOutputStream { public PSStream(final OutputStream out) { Modified: trunk/foray/foray-render/src/java/org/foray/render/svg/SVGRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/svg/SVGRenderer.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-render/src/java/org/foray/render/svg/SVGRenderer.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -68,6 +68,9 @@ import java.util.HashMap; import java.util.Map; +/** + * A {@link Renderer} implementation that writes the document as SVG. + */ public class SVGRenderer extends Renderer { static final String svgNS = SVGDOMImplementation.SVG_NAMESPACE_URI; Document svgDocument; Modified: trunk/foray/foray-render/src/java/org/foray/render/txt/TXTStream.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/txt/TXTStream.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-render/src/java/org/foray/render/txt/TXTStream.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -27,6 +27,9 @@ import java.io.IOException; import java.io.OutputStream; +/** + * {@link OutputStream} wrapper used by {@link TXTRenderer}. + */ public class TXTStream { OutputStream out = null; boolean doOutput = true; Modified: trunk/foray/foray-text/src/java/org/foray/text/line/LineBreaker.java =================================================================== --- trunk/foray/foray-text/src/java/org/foray/text/line/LineBreaker.java 2006-08-30 01:48:34 UTC (rev 7844) +++ trunk/foray/foray-text/src/java/org/foray/text/line/LineBreaker.java 2006-08-30 14:36:27 UTC (rev 7845) @@ -40,6 +40,9 @@ import java.util.ArrayList; +/** + * Abstract superclass for all line breakers. + */ public abstract class LineBreaker implements org.axsl.text.line.LineBreaker { /** The "parent" TextServer. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <vic...@us...> - 2006-08-30 01:48:46
|
Revision: 7844 Author: victormote Date: 2006-08-29 18:48:34 -0700 (Tue, 29 Aug 2006) ViewCVS: http://svn.sourceforge.net/foray/?rev=7844&view=rev Log Message: ----------- Add and comply with checkstyle requirement for package-level documentation. Modified Paths: -------------- trunk/foray/scripts/checkstyle-config.xml Added Paths: ----------- trunk/foray/foray-common/src/java/org/foray/common/sax/package.html trunk/foray/foray-common/src/java/org/foray/common/url/classpath/package.html trunk/foray/foray-common/src/java/org/foray/common/url/package.html Added: trunk/foray/foray-common/src/java/org/foray/common/sax/package.html =================================================================== --- trunk/foray/foray-common/src/java/org/foray/common/sax/package.html (rev 0) +++ trunk/foray/foray-common/src/java/org/foray/common/sax/package.html 2006-08-30 01:48:34 UTC (rev 7844) @@ -0,0 +1,11 @@ +<html> + +<head> +<title>org.foray.common.sax Package</title> +</head> + +<body> +<p>Classes useful with SAX.</p> +</body> + +</html> Property changes on: trunk/foray/foray-common/src/java/org/foray/common/sax/package.html ___________________________________________________________________ Name: svn:keywords + "Author Id Rev Date URL" Name: svn:eol-style + native Added: trunk/foray/foray-common/src/java/org/foray/common/url/classpath/package.html =================================================================== --- trunk/foray/foray-common/src/java/org/foray/common/url/classpath/package.html (rev 0) +++ trunk/foray/foray-common/src/java/org/foray/common/url/classpath/package.html 2006-08-30 01:48:34 UTC (rev 7844) @@ -0,0 +1,13 @@ +<html> + +<head> +<title>org.foray.common.url.classpath Package</title> +</head> + +<body> +<p>Contains a URLStreamHandler for the "classpath" protocol. +A separate package is required to conform to the Java property lookup +scheme.</p> +</body> + +</html> Property changes on: trunk/foray/foray-common/src/java/org/foray/common/url/classpath/package.html ___________________________________________________________________ Name: svn:keywords + "Author Id Rev Date URL" Name: svn:eol-style + native Added: trunk/foray/foray-common/src/java/org/foray/common/url/package.html =================================================================== --- trunk/foray/foray-common/src/java/org/foray/common/url/package.html (rev 0) +++ trunk/foray/foray-common/src/java/org/foray/common/url/package.html 2006-08-30 01:48:34 UTC (rev 7844) @@ -0,0 +1,12 @@ +<html> + +<head> +<title>org.foray.common.url Package</title> +</head> + +<body> +<p>Classes useful for URL management, including a custom protocol registration +scheme.</p> +</body> + +</html> Property changes on: trunk/foray/foray-common/src/java/org/foray/common/url/package.html ___________________________________________________________________ Name: svn:keywords + "Author Id Rev Date URL" Name: svn:eol-style + native Modified: trunk/foray/scripts/checkstyle-config.xml =================================================================== --- trunk/foray/scripts/checkstyle-config.xml 2006-08-30 01:07:03 UTC (rev 7843) +++ trunk/foray/scripts/checkstyle-config.xml 2006-08-30 01:48:34 UTC (rev 7844) @@ -45,4 +45,8 @@ <property name="tokens" value="VARIABLE_DEF,PARAMETER_DEF"/> </module> </module> + + <!-- Make sure each package has javadoc package.html --> + <module name="PackageHtml"/> + </module> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <vic...@us...> - 2006-08-30 01:07:08
|
Revision: 7843 Author: victormote Date: 2006-08-29 18:07:03 -0700 (Tue, 29 Aug 2006) ViewCVS: http://svn.sourceforge.net/foray/?rev=7843&view=rev Log Message: ----------- Conform to axsl changes. Modified Paths: -------------- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FootnoteBodyPL.java Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FootnoteBodyPL.java =================================================================== --- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FootnoteBodyPL.java 2006-08-28 01:14:13 UTC (rev 7842) +++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FootnoteBodyPL.java 2006-08-30 01:07:03 UTC (rev 7843) @@ -95,7 +95,8 @@ if (footArea.hasChildren()) { return; } - final PageSequence pageSeq = bac.getWritablePage().getPageSequence(); + final PageSequence pageSeq = bac.getWritablePage() + .getWritablePageCollection().getPageSequence(); final StaticContent separator = pageSeq.getFootnoteSeparator(); if (separator == null) { return; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <vic...@us...> - 2006-08-28 01:14:20
|
Revision: 7842 Author: victormote Date: 2006-08-27 18:14:13 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/foray/?rev=7842&view=rev Log Message: ----------- Conform to axsl changes. Modified Paths: -------------- trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLRenderer.java trunk/foray/foray-render/src/java/org/foray/render/txt/TXTRenderer.java Modified: trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLRenderer.java 2006-08-28 00:46:20 UTC (rev 7841) +++ trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLRenderer.java 2006-08-28 01:14:13 UTC (rev 7842) @@ -411,7 +411,7 @@ case Constants.FOVAL_JUSTIFY: break; } - switch (area.traitAlignmentBaseline()) { + switch (area.getLineArea().traitAlignmentBaseline()) { case Constants.FOVAL_BASELINE: break; case Constants.FOVAL_MIDDLE: Modified: trunk/foray/foray-render/src/java/org/foray/render/txt/TXTRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/txt/TXTRenderer.java 2006-08-28 00:46:20 UTC (rev 7841) +++ trunk/foray/foray-render/src/java/org/foray/render/txt/TXTRenderer.java 2006-08-28 01:14:13 UTC (rev 7842) @@ -411,7 +411,7 @@ case Constants.FOVAL_JUSTIFY: break; } - switch (area.traitAlignmentBaseline()) { + switch (area.getLineArea().traitAlignmentBaseline()) { case Constants.FOVAL_BASELINE: break; case Constants.FOVAL_MIDDLE: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <vic...@us...> - 2006-08-28 00:46:37
|
Revision: 7841 Author: victormote Date: 2006-08-27 17:46:20 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/foray/?rev=7841&view=rev Log Message: ----------- Conform to axsl changes. Modified Paths: -------------- trunk/foray/foray-areatree/src/java/org/foray/area/AbstractInlineArea.java trunk/foray/foray-areatree/src/java/org/foray/area/Area.java trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLRenderer.java trunk/foray/foray-render/src/java/org/foray/render/pdf/PDFRenderer.java trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java trunk/foray/foray-render/src/java/org/foray/render/txt/TXTRenderer.java trunk/foray/foray-render/src/java/org/foray/render/xml/XMLRenderer.java Modified: trunk/foray/foray-areatree/src/java/org/foray/area/AbstractInlineArea.java =================================================================== --- trunk/foray/foray-areatree/src/java/org/foray/area/AbstractInlineArea.java 2006-08-27 23:55:08 UTC (rev 7840) +++ trunk/foray/foray-areatree/src/java/org/foray/area/AbstractInlineArea.java 2006-08-28 00:46:20 UTC (rev 7841) @@ -117,4 +117,8 @@ return crBPDInline(); } + public org.axsl.areaR.LineArea getLineArea() { + return (org.axsl.areaR.LineArea) this.getParentOut(); + } + } Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java =================================================================== --- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2006-08-27 23:55:08 UTC (rev 7840) +++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2006-08-28 00:46:20 UTC (rev 7841) @@ -102,7 +102,7 @@ * ...Opt, and ...Max methods which return the constraints to be placed on * the computation returned by this method. */ - public int actualLetterSpacing() { + public int letterSpacing() { return traitLetterSpacingOpt(); } Modified: trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLRenderer.java 2006-08-27 23:55:08 UTC (rev 7840) +++ trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLRenderer.java 2006-08-28 00:46:20 UTC (rev 7841) @@ -402,7 +402,7 @@ */ public void render(final ForeignObjectArea area) { // if necessary need to scale and align the content - switch (area.traitTextAlign()) { + switch (area.getLineArea().traitTextAlign()) { case Constants.FOVAL_START: break; case Constants.FOVAL_END: 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 2006-08-27 23:55:08 UTC (rev 7840) +++ trunk/foray/foray-render/src/java/org/foray/render/pdf/PDFRenderer.java 2006-08-28 00:46:20 UTC (rev 7841) @@ -302,7 +302,7 @@ / 1000; getContentStream().setWordSpacing(wordSpacing); } - final float letterspacing = area.actualLetterSpacing() / 1000f; + final float letterspacing = area.letterSpacing() / 1000f; getContentStream().setCharacterSpacing(letterspacing); /* Position the cursor. */ Modified: trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java 2006-08-27 23:55:08 UTC (rev 7840) +++ trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java 2006-08-28 00:46:20 UTC (rev 7841) @@ -816,8 +816,8 @@ } String psString = null; - if (area.actualLetterSpacing() > 0) { - final float f = area.actualLetterSpacing(); + if (area.letterSpacing() > 0) { + final float f = area.letterSpacing(); psString = (new StringBuffer().append(f).append(" 0.0 (") .append(sb.toString()).append(") A")).toString(); } else { Modified: trunk/foray/foray-render/src/java/org/foray/render/txt/TXTRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/txt/TXTRenderer.java 2006-08-27 23:55:08 UTC (rev 7840) +++ trunk/foray/foray-render/src/java/org/foray/render/txt/TXTRenderer.java 2006-08-28 00:46:20 UTC (rev 7841) @@ -402,7 +402,7 @@ */ public void render(final ForeignObjectArea area) { // if necessary need to scale and align the content - switch (area.traitTextAlign()) { + switch (area.getLineArea().traitTextAlign()) { case Constants.FOVAL_START: break; case Constants.FOVAL_END: Modified: trunk/foray/foray-render/src/java/org/foray/render/xml/XMLRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/xml/XMLRenderer.java 2006-08-27 23:55:08 UTC (rev 7840) +++ trunk/foray/foray-render/src/java/org/foray/render/xml/XMLRenderer.java 2006-08-28 00:46:20 UTC (rev 7841) @@ -347,8 +347,6 @@ final StringBuffer buffer = new StringBuffer(); outputGeneratedBy(area, buffer); outputDimension(area, buffer); - outputAttribute(buffer, "start-indent", area.traitStartIndent()); - outputAttribute(buffer, "end-indent", area.traitEndIndent()); writeStartTag(area, buffer); outputAllRectangles(area); renderChildren(area); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <vic...@us...> - 2006-08-27 23:55:19
|
Revision: 7840 Author: victormote Date: 2006-08-27 16:55:08 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/foray/?rev=7840&view=rev Log Message: ----------- Conform to axsl changes: Using relative instead of absolute traits. Modified Paths: -------------- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java trunk/foray/foray-render/src/java/org/foray/render/PrintRenderer.java trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java trunk/foray/foray-render/src/java/org/foray/render/svg/SVGRenderer.java Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java =================================================================== --- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2006-08-27 23:42:57 UTC (rev 7839) +++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2006-08-27 23:55:08 UTC (rev 7840) @@ -68,38 +68,6 @@ return this.traitGeneratedBy().traitBackgroundImage(this); } - public int getPaddingTop() { - return this.traitGeneratedBy().traitPaddingTop(this); - } - - public int getPaddingLeft() { - return this.traitGeneratedBy().traitPaddingLeft(this); - } - - public int getPaddingBottom() { - return this.traitGeneratedBy().traitPaddingBottom(this); - } - - public int getPaddingRight() { - return this.traitGeneratedBy().traitPaddingRight(this); - } - - public int getBorderTopWidth() { - return this.traitGeneratedBy().traitBorderTopWidth(this); - } - - public int getBorderRightWidth() { - return this.traitGeneratedBy().traitBorderRightWidth(this); - } - - public int getBorderLeftWidth() { - return this.traitGeneratedBy().traitBorderLeftWidth(this); - } - - public int getBorderBottomWidth() { - return this.traitGeneratedBy().traitBorderBottomWidth(this); - } - public BlockContainerRA getNearestAncestorAreaContainer() { AreaNode areaNode = this.getAreaNodeParent(); while (areaNode != null && !(areaNode instanceof BlockContainerRA)) { @@ -187,20 +155,20 @@ return getPrimaryFont().getFont().getDescender(traitFontSize()); } - public Color traitBorderTopColor() { - return traitGeneratedBy().traitBorderTopColor(this); + public Color traitBorderBeforeColor() { + return traitGeneratedBy().traitBorderBeforeColor(this); } - public Color traitBorderLeftColor() { - return traitGeneratedBy().traitBorderLeftColor(this); + public Color traitBorderStartColor() { + return traitGeneratedBy().traitBorderStartColor(this); } - public Color traitBorderRightColor() { - return traitGeneratedBy().traitBorderRightColor(this); + public Color traitBorderEndColor() { + return traitGeneratedBy().traitBorderEndColor(this); } - public Color traitBorderBottomColor() { - return traitGeneratedBy().traitBorderBottomColor(this); + public Color traitBorderAfterColor() { + return traitGeneratedBy().traitBorderAfterColor(this); } public String traitFontFamily() { Modified: trunk/foray/foray-render/src/java/org/foray/render/PrintRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/PrintRenderer.java 2006-08-27 23:42:57 UTC (rev 7839) +++ trunk/foray/foray-render/src/java/org/foray/render/PrintRenderer.java 2006-08-27 23:55:08 UTC (rev 7840) @@ -62,23 +62,23 @@ final int bottom = area.traitBorderAfterWidth(); // If style is solid, use filled rectangles if (top != 0) { - drawRectangle(rx, ry, w, top, true, area.traitBorderTopColor(), - true, area.traitBorderTopColor()); + drawRectangle(rx, ry, w, top, true, area.traitBorderBeforeColor(), + true, area.traitBorderBeforeColor()); } if (left != 0) { drawRectangle(rx - left, ry - h - bottom, left, h + top + bottom, - true, area.traitBorderLeftColor(), - true, area.traitBorderLeftColor()); + true, area.traitBorderStartColor(), + true, area.traitBorderStartColor()); } if (right != 0) { drawRectangle(rx + w, ry - h - bottom, right, h + top + bottom, - true, area.traitBorderRightColor(), - true, area.traitBorderRightColor()); + true, area.traitBorderEndColor(), + true, area.traitBorderEndColor()); } if (bottom != 0) { drawRectangle(rx, ry - h - bottom, w, bottom, - true, area.traitBorderBottomColor(), - true, area.traitBorderBottomColor()); + true, area.traitBorderAfterColor(), + true, area.traitBorderAfterColor()); } } Modified: trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java 2006-08-27 23:42:57 UTC (rev 7839) +++ trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java 2006-08-27 23:55:08 UTC (rev 7840) @@ -450,22 +450,22 @@ if (area.traitBorderBeforeWidth() != 0) { drawLine(rx, ry, rx + w, ry, -area.traitBorderBeforeWidth(), - Constants.FOVAL_SOLID, area.traitBorderTopColor()); + Constants.FOVAL_SOLID, area.traitBorderBeforeColor()); } if (area.traitBorderStartWidth() != 0) { drawLine(rx, ry, rx, ry - h, area.traitBorderStartWidth(), - Constants.FOVAL_SOLID, area.traitBorderLeftColor()); + Constants.FOVAL_SOLID, area.traitBorderStartColor()); } if (area.traitBorderEndWidth() != 0) { drawLine(rx + w, ry, rx + w, ry - h, -area.traitBorderEndWidth(), - Constants.FOVAL_SOLID, area.traitBorderRightColor()); + Constants.FOVAL_SOLID, area.traitBorderEndColor()); } if (area.traitBorderAfterWidth() != 0) { drawLine(rx, ry - h, rx + w, ry - h, area.traitBorderAfterWidth(), - Constants.FOVAL_SOLID, area.traitBorderBottomColor()); + Constants.FOVAL_SOLID, area.traitBorderAfterColor()); } } Modified: trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java 2006-08-27 23:42:57 UTC (rev 7839) +++ trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java 2006-08-27 23:55:08 UTC (rev 7840) @@ -991,7 +991,7 @@ write(w + " 0 rlineto"); write(area.traitBorderBeforeWidth() + " setlinewidth"); write("0 setlinecap"); - useColor(area.traitBorderTopColor()); + useColor(area.traitBorderBeforeColor()); write("stroke"); } if (area.traitBorderStartWidth() != 0) { @@ -1000,7 +1000,7 @@ write("0 " + (-h) + " rlineto"); write(area.traitBorderStartWidth() + " setlinewidth"); write("0 setlinecap"); - useColor(area.traitBorderLeftColor()); + useColor(area.traitBorderStartColor()); write("stroke"); } if (area.traitBorderEndWidth() != 0) { @@ -1009,7 +1009,7 @@ write("0 " + (-h) + " rlineto"); write(area.traitBorderEndWidth() + " setlinewidth"); write("0 setlinecap"); - useColor(area.traitBorderRightColor()); + useColor(area.traitBorderEndColor()); write("stroke"); } if (area.traitBorderAfterWidth() != 0) { @@ -1018,7 +1018,7 @@ write(w + " 0 rlineto"); write(area.traitBorderAfterWidth() + " setlinewidth"); write("0 setlinecap"); - useColor(area.traitBorderBottomColor()); + useColor(area.traitBorderAfterColor()); write("stroke"); } } Modified: trunk/foray/foray-render/src/java/org/foray/render/svg/SVGRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/svg/SVGRenderer.java 2006-08-27 23:42:57 UTC (rev 7839) +++ trunk/foray/foray-render/src/java/org/foray/render/svg/SVGRenderer.java 2006-08-27 23:55:08 UTC (rev 7840) @@ -311,22 +311,22 @@ if (area.traitBorderBeforeWidth() != 0) { drawLine(rx, ry, rx + w, ry, area.traitBorderBeforeWidth(), - Constants.FOVAL_SOLID, area.traitBorderTopColor()); + Constants.FOVAL_SOLID, area.traitBorderBeforeColor()); } if (area.traitBorderStartWidth() != 0) { drawLine(rx, ry, rx, ry - h, area.traitBorderStartWidth(), - Constants.FOVAL_DASHED, area.traitBorderLeftColor()); + Constants.FOVAL_DASHED, area.traitBorderStartColor()); } if (area.traitBorderEndWidth() != 0) { drawLine(rx + w, ry, rx + w, ry - h, area.traitBorderEndWidth(), - Constants.FOVAL_DASHED, area.traitBorderRightColor()); + Constants.FOVAL_DASHED, area.traitBorderEndColor()); } if (area.traitBorderAfterWidth() != 0) { drawLine(rx, ry - h, rx + w, ry - h, area.traitBorderAfterWidth(), - Constants.FOVAL_DASHED, area.traitBorderBottomColor()); + Constants.FOVAL_DASHED, area.traitBorderAfterColor()); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <vic...@us...> - 2006-08-27 23:43:01
|
Revision: 7839 Author: victormote Date: 2006-08-27 16:42:57 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/foray/?rev=7839&view=rev Log Message: ----------- Remove unneeded method override. Modified Paths: -------------- trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java Modified: trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java 2006-08-27 23:30:49 UTC (rev 7838) +++ trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java 2006-08-27 23:42:57 UTC (rev 7839) @@ -35,12 +35,10 @@ import org.axsl.areaR.Area; import org.axsl.areaR.BasicLinkArea; import org.axsl.areaR.BookmarkTreeArea; -import org.axsl.areaR.ExternalGraphicArea; import org.axsl.areaR.ForeignObjectArea; import org.axsl.areaR.GeneralInlineArea; import org.axsl.areaR.GraphicArea; import org.axsl.areaR.LeaderArea; -import org.axsl.areaR.LineArea; import org.axsl.areaR.PageArea; import org.axsl.areaR.SVGArea; import org.axsl.common.Constants; @@ -754,35 +752,6 @@ } /** - * Render an image area. - * - * @param area the image area to render - */ - public void render(final ExternalGraphicArea area) { - // adapted from contribution by BoBoGi - int x = area.rrOriginX(); - int ploffset = 0; - if (area.getParentOut() instanceof LineArea) { - ploffset = ((LineArea) area.getParentOut()).getAscender(); - } - final int y = area.rrOriginY() + ploffset; - final int w = area.rrIPD(); - final int h = area.rrBPD(); - - x += w; - - final Graphic img = area.getGraphic(); - - if (img == null) { - getLogger().error("Error while loading image: area.getImage() is " - + "null"); - } else { - final Rectangle rect = new Rectangle(x, y, w, h); - drawImage(area, img, rect, null); - } - } - - /** * render an image area to PostScript * * @param area the area to render This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <vic...@us...> - 2006-08-27 23:31:00
|
Revision: 7838 Author: victormote Date: 2006-08-27 16:30:49 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/foray/?rev=7838&view=rev Log Message: ----------- Use the relative-direction methods instead of the absolute-direction methods. Modified Paths: -------------- trunk/foray/foray-render/src/java/org/foray/render/PrintRenderer.java trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java trunk/foray/foray-render/src/java/org/foray/render/svg/SVGRenderer.java Modified: trunk/foray/foray-render/src/java/org/foray/render/PrintRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/PrintRenderer.java 2006-08-27 21:26:23 UTC (rev 7837) +++ trunk/foray/foray-render/src/java/org/foray/render/PrintRenderer.java 2006-08-27 23:30:49 UTC (rev 7838) @@ -56,10 +56,10 @@ final int rx = area.brOriginX(); final int ry = area.brOriginY(); - final int left = area.getBorderLeftWidth(); - final int right = area.getBorderRightWidth(); - final int top = area.getBorderTopWidth(); - final int bottom = area.getBorderBottomWidth(); + final int left = area.traitBorderStartWidth(); + final int right = area.traitBorderEndWidth(); + final int top = area.traitBorderBeforeWidth(); + final int bottom = area.traitBorderAfterWidth(); // If style is solid, use filled rectangles if (top != 0) { drawRectangle(rx, ry, w, top, true, area.traitBorderTopColor(), Modified: trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java 2006-08-27 21:26:23 UTC (rev 7837) +++ trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java 2006-08-27 23:30:49 UTC (rev 7838) @@ -448,23 +448,23 @@ final int w = area.brIPD(); final int h = area.brBPD(); - if (area.getBorderTopWidth() != 0) { - drawLine(rx, ry, rx + w, ry, -area.getBorderTopWidth(), + if (area.traitBorderBeforeWidth() != 0) { + drawLine(rx, ry, rx + w, ry, -area.traitBorderBeforeWidth(), Constants.FOVAL_SOLID, area.traitBorderTopColor()); } - if (area.getBorderLeftWidth() != 0) { - drawLine(rx, ry, rx, ry - h, area.getBorderLeftWidth(), + if (area.traitBorderStartWidth() != 0) { + drawLine(rx, ry, rx, ry - h, area.traitBorderStartWidth(), Constants.FOVAL_SOLID, area.traitBorderLeftColor()); } - if (area.getBorderRightWidth() != 0) { - drawLine(rx + w, ry, rx + w, ry - h, -area.getBorderRightWidth(), + if (area.traitBorderEndWidth() != 0) { + drawLine(rx + w, ry, rx + w, ry - h, -area.traitBorderEndWidth(), Constants.FOVAL_SOLID, area.traitBorderRightColor()); } - if (area.getBorderBottomWidth() != 0) { - drawLine(rx, ry - h, rx + w, ry - h, area.getBorderBottomWidth(), + if (area.traitBorderAfterWidth() != 0) { + drawLine(rx, ry - h, rx + w, ry - h, area.traitBorderAfterWidth(), Constants.FOVAL_SOLID, area.traitBorderBottomColor()); } } Modified: trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java 2006-08-27 21:26:23 UTC (rev 7837) +++ trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java 2006-08-27 23:30:49 UTC (rev 7838) @@ -1016,38 +1016,38 @@ final int w = area.crIPD(); final int h = area.crBPD(); - if (area.getBorderTopWidth() != 0) { + if (area.traitBorderBeforeWidth() != 0) { write("newpath"); write(rx + " " + ry + " M"); write(w + " 0 rlineto"); - write(area.getBorderTopWidth() + " setlinewidth"); + write(area.traitBorderBeforeWidth() + " setlinewidth"); write("0 setlinecap"); useColor(area.traitBorderTopColor()); write("stroke"); } - if (area.getBorderLeftWidth() != 0) { + if (area.traitBorderStartWidth() != 0) { write("newpath"); write(rx + " " + ry + " M"); write("0 " + (-h) + " rlineto"); - write(area.getBorderLeftWidth() + " setlinewidth"); + write(area.traitBorderStartWidth() + " setlinewidth"); write("0 setlinecap"); useColor(area.traitBorderLeftColor()); write("stroke"); } - if (area.getBorderRightWidth() != 0) { + if (area.traitBorderEndWidth() != 0) { write("newpath"); write((rx + w) + " " + ry + " M"); write("0 " + (-h) + " rlineto"); - write(area.getBorderRightWidth() + " setlinewidth"); + write(area.traitBorderEndWidth() + " setlinewidth"); write("0 setlinecap"); useColor(area.traitBorderRightColor()); write("stroke"); } - if (area.getBorderBottomWidth() != 0) { + if (area.traitBorderAfterWidth() != 0) { write("newpath"); write(rx + " " + (ry - h) + " M"); write(w + " 0 rlineto"); - write(area.getBorderBottomWidth() + " setlinewidth"); + write(area.traitBorderAfterWidth() + " setlinewidth"); write("0 setlinecap"); useColor(area.traitBorderBottomColor()); write("stroke"); Modified: trunk/foray/foray-render/src/java/org/foray/render/svg/SVGRenderer.java =================================================================== --- trunk/foray/foray-render/src/java/org/foray/render/svg/SVGRenderer.java 2006-08-27 21:26:23 UTC (rev 7837) +++ trunk/foray/foray-render/src/java/org/foray/render/svg/SVGRenderer.java 2006-08-27 23:30:49 UTC (rev 7838) @@ -309,23 +309,23 @@ final int w = area.crIPD(); final int h = area.crBPD(); - if (area.getBorderTopWidth() != 0) { - drawLine(rx, ry, rx + w, ry, area.getBorderTopWidth(), + if (area.traitBorderBeforeWidth() != 0) { + drawLine(rx, ry, rx + w, ry, area.traitBorderBeforeWidth(), Constants.FOVAL_SOLID, area.traitBorderTopColor()); } - if (area.getBorderLeftWidth() != 0) { - drawLine(rx, ry, rx, ry - h, area.getBorderLeftWidth(), + if (area.traitBorderStartWidth() != 0) { + drawLine(rx, ry, rx, ry - h, area.traitBorderStartWidth(), Constants.FOVAL_DASHED, area.traitBorderLeftColor()); } - if (area.getBorderRightWidth() != 0) { - drawLine(rx + w, ry, rx + w, ry - h, area.getBorderRightWidth(), + if (area.traitBorderEndWidth() != 0) { + drawLine(rx + w, ry, rx + w, ry - h, area.traitBorderEndWidth(), Constants.FOVAL_DASHED, area.traitBorderRightColor()); } - if (area.getBorderBottomWidth() != 0) { - drawLine(rx, ry - h, rx + w, ry - h, area.getBorderBottomWidth(), + if (area.traitBorderAfterWidth() != 0) { + drawLine(rx, ry - h, rx + w, ry - h, area.traitBorderAfterWidth(), Constants.FOVAL_DASHED, area.traitBorderBottomColor()); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <vic...@us...> - 2006-08-27 21:26:29
|
Revision: 7837 Author: victormote Date: 2006-08-27 14:26:23 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/foray/?rev=7837&view=rev Log Message: ----------- Conform to axsl change. Modified Paths: -------------- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/TableColumn.java Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java =================================================================== --- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2006-08-27 19:28:25 UTC (rev 7836) +++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2006-08-27 21:26:23 UTC (rev 7837) @@ -588,13 +588,6 @@ /** * {@inheritDoc} */ - public double traitColumnWidthTableUnits() { - return propertyList.getColumnWidthTableUnits(); - } - - /** - * {@inheritDoc} - */ public short traitBreakAfter(final FOContext context) { return propertyList.getBreakAfter(context); } Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/TableColumn.java =================================================================== --- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/TableColumn.java 2006-08-27 19:28:25 UTC (rev 7836) +++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/TableColumn.java 2006-08-27 21:26:23 UTC (rev 7837) @@ -107,4 +107,11 @@ return factory.makeProxy(this); } + /** + * {@inheritDoc} + */ + public double traitColumnWidthTableUnits() { + return propertyList.getColumnWidthTableUnits(); + } + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <vic...@us...> - 2006-08-27 19:28:30
|
Revision: 7836 Author: victormote Date: 2006-08-27 12:28:25 -0700 (Sun, 27 Aug 2006) ViewCVS: http://svn.sourceforge.net/foray/?rev=7836&view=rev Log Message: ----------- Conform to some minor axsl changes. Modified Paths: -------------- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/GlyphOrientation.java trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/HyphLadderCount.java trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/SwitchTo.java Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/GlyphOrientation.java =================================================================== --- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/GlyphOrientation.java 2006-08-21 00:21:41 UTC (rev 7835) +++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/GlyphOrientation.java 2006-08-27 19:28:25 UTC (rev 7836) @@ -91,7 +91,7 @@ switch (keyword) { case Constants.FOVAL_AUTO: { // AUTO only applies to glyph-orientation-vertical - return -1; + return Short.MIN_VALUE; } case Constants.FOVAL_INHERIT: { return getValueNoInstance(context, fobj, axis); Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/HyphLadderCount.java =================================================================== --- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/HyphLadderCount.java 2006-08-21 00:21:41 UTC (rev 7835) +++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/HyphLadderCount.java 2006-08-27 19:28:25 UTC (rev 7836) @@ -38,7 +38,7 @@ public class HyphLadderCount extends Property { - public static final int NO_LIMIT_VALUE = 2147483647; + public static final int NO_LIMIT_VALUE = Integer.MAX_VALUE; private static final short[] validKeywords = { Constants.FOVAL_NO_LIMIT, Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/SwitchTo.java =================================================================== --- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/SwitchTo.java 2006-08-21 00:21:41 UTC (rev 7835) +++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/SwitchTo.java 2006-08-27 19:28:25 UTC (rev 7836) @@ -41,7 +41,7 @@ private static final short[] validKeywords = { Constants.FOVAL_XSL_PRECEDING, Constants.FOVAL_XSL_FOLLOWING, - Constants.FOVAL_ANY, + Constants.FOVAL_XSL_ANY, }; public SwitchTo(final PropertyList propertyList, final short enumeration, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <vic...@us...> - 2006-08-21 00:21:49
|
Revision: 7835 Author: victormote Date: 2006-08-20 17:21:41 -0700 (Sun, 20 Aug 2006) ViewCVS: http://svn.sourceforge.net/foray/?rev=7835&view=rev Log Message: ----------- Change the table-layout property return value from an int to a short. Modified Paths: -------------- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TableLayout.java Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java =================================================================== --- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2006-08-21 00:20:42 UTC (rev 7834) +++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2006-08-21 00:21:41 UTC (rev 7835) @@ -1095,7 +1095,7 @@ /** * {@inheritDoc} */ - public int traitTableLayout() { + public short traitTableLayout() { return propertyList.getTableLayout(); } Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java =================================================================== --- trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2006-08-21 00:20:42 UTC (rev 7834) +++ trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2006-08-21 00:21:41 UTC (rev 7835) @@ -1544,7 +1544,7 @@ return property.getValue(context, fobj); } - public int getTableLayout() { + public short getTableLayout() { final TableLayout property = (TableLayout) getProperty(Constants .FOPROP_TABLE_LAYOUT); if (property == null) { Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TableLayout.java =================================================================== --- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TableLayout.java 2006-08-21 00:20:42 UTC (rev 7834) +++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TableLayout.java 2006-08-21 00:21:41 UTC (rev 7835) @@ -56,14 +56,14 @@ throw unexpectedValue(value, propertyList); } - public int getValue() { + public short getValue() { if (this.value instanceof PropertyKeyword) { return ((PropertyKeyword) this.value).getValue(); } return getValueNoInstance(); } - public static int getValueNoInstance() { + public static short getValueNoInstance() { return Constants.FOVAL_AUTO; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <vic...@us...> - 2006-08-21 00:20:49
|
Revision: 7834 Author: victormote Date: 2006-08-20 17:20:42 -0700 (Sun, 20 Aug 2006) ViewCVS: http://svn.sourceforge.net/foray/?rev=7834&view=rev Log Message: ----------- Use the constant instead of describing it. Modified Paths: -------------- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtSpace.java Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtSpace.java =================================================================== --- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtSpace.java 2006-08-19 22:19:46 UTC (rev 7833) +++ trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtSpace.java 2006-08-21 00:20:42 UTC (rev 7834) @@ -35,8 +35,7 @@ */ public class DtSpace extends Datatype { - /* Set to the maximum integer value. */ - public static final int PRECEDENCE_FORCE = 2147483647; + public static final int PRECEDENCE_FORCE = Integer.MAX_VALUE; public static final short[] CONDITIONALITY_KEYWORDS = { Constants.FOVAL_DISCARD, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <vic...@us...> - 2006-08-19 22:19:54
|
Revision: 7833 Author: victormote Date: 2006-08-19 15:19:46 -0700 (Sat, 19 Aug 2006) ViewCVS: http://svn.sourceforge.net/foray/?rev=7833&view=rev Log Message: ----------- Remove unneeded comment. Modified Paths: -------------- trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFPathPaint.java Modified: trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFPathPaint.java =================================================================== --- trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFPathPaint.java 2006-07-23 23:52:22 UTC (rev 7832) +++ trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFPathPaint.java 2006-08-19 22:19:46 UTC (rev 7833) @@ -29,12 +29,10 @@ public abstract class PDFPathPaint extends PDFObject implements org.axsl.pdfW.PDFPathPaint { - // protected int colorspace = 0; //default is 0:RGB, not 1:CMYK protected ColorSpace colorSpace; public PDFPathPaint(final PDFDocument doc) { super(doc); - } public PDFPathPaint() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |