diff options
author | Jeremias Maerki <jeremias@apache.org> | 2008-11-19 20:13:48 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2008-11-19 20:13:48 +0000 |
commit | be4dc692db093ec6b8039d7e61804e28f1709db4 (patch) | |
tree | aa484221fc31f715fcc9e386afb978e31de8b3a0 /src/java/org/apache/fop/render/intermediate/IFParser.java | |
parent | dfeb96c655c3e361b5fdf6f0cecbf46adab01a72 (diff) | |
download | xmlgraphics-fop-be4dc692db093ec6b8039d7e61804e28f1709db4.tar.gz xmlgraphics-fop-be4dc692db093ec6b8039d7e61804e28f1709db4.zip |
Added page master name to IFDocumentHandler.startPage() method.
Wired together the support for out-of-order rendering (only applicable to PDF) when the intermediate format is not used (in-memory rendering).
Fixed a logical bug in IFRenderer that caused some unneeded code. Glyph adjustments (kerning, letter/word space...) were not done right. All painters fixed/adjusted accordingly.
Started implementation of the PostScript painter: Supports only text and filled rectangles so far. Work in progress...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@719051 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/intermediate/IFParser.java')
-rw-r--r-- | src/java/org/apache/fop/render/intermediate/IFParser.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/intermediate/IFParser.java b/src/java/org/apache/fop/render/intermediate/IFParser.java index 5eaef13ae..e514ab889 100644 --- a/src/java/org/apache/fop/render/intermediate/IFParser.java +++ b/src/java/org/apache/fop/render/intermediate/IFParser.java @@ -332,9 +332,10 @@ public class IFParser implements IFConstants { public void startElement(Attributes attributes) throws IFException { int index = Integer.parseInt(attributes.getValue("index")); String name = attributes.getValue("name"); + String pageMasterName = attributes.getValue("page-master-name"); int width = Integer.parseInt(attributes.getValue("width")); int height = Integer.parseInt(attributes.getValue("height")); - documentHandler.startPage(index, name, new Dimension(width, height)); + documentHandler.startPage(index, name, pageMasterName, new Dimension(width, height)); } public void endElement() throws IFException { |