aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
Commit message (Collapse)AuthorAgeFilesLines
* applied Luca Furini's patch from bug #28314Chris Bowditch2004-04-261-5/+14
| | | | | | | fixes problems with justification on last line in a block. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197540 13f79535-47bb-0310-9956-ffa450edef68
* For area.Blocks created in BlockLayoutManager.getParentArea(), I set theGlen Mazza2004-04-257-43/+46
| | | | | | | | | | | | | | | width of the Block to that of its parent block. This fixes a layout problem where <fo:table-cell><fo:block border-bottom="1pt solid black">some text</ ></ > was causing a line to draw across the entire page, because the cell width present in fo:table-cell's Block was not copied into the inner fo:block's Block. (This problem did not occur if the border-bottom attribute was set in fo:table-cell.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197539 13f79535-47bb-0310-9956-ffa450edef68
* Removed currently unused Document object from the LayoutStrategy (the latterGlen Mazza2004-04-243-8/+4
| | | | | | | class is already a child of Document, and a two-way interface appears unneeded.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197536 13f79535-47bb-0310-9956-ffa450edef68
* More apps.Document->fonts.FontInfo conversion.Glen Mazza2004-04-247-43/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197535 13f79535-47bb-0310-9956-ffa450edef68
* PDFRenderer does not presently support out-of-order rendering (e.g.,Glen Mazza2004-04-241-1/+1
| | | | | | | | | a 10 page document that has an "ending page" fo:page-number-citation in use will have page 10 printed first, then pages 1-9). Turning this value to false has the pages generate in correct order. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197534 13f79535-47bb-0310-9956-ffa450edef68
* Logger "LogFactory.getLog(PDFObject.class.getPackage().getName())" wasGlen Mazza2004-04-233-10/+2
| | | | | | | | | causing null pointer exceptions when the Ant task is run (although not with command-line usage); switched to "LogFactory.getLog(PDFObject.class.getName())", which works for both command-line and Ant task. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197533 13f79535-47bb-0310-9956-ffa450edef68
* Unneeded imports removed.Glen Mazza2004-04-223-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197532 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-04-2233-347/+122
| | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Patch #28525 applied -- new FontInfo class. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197531 13f79535-47bb-0310-9956-ffa450edef68
* New FontInfo class (original design was from Layout.FontInfo, and was removedGlen Mazza2004-04-211-0/+232
| | | | | | | | | | | and placed into the Document class last year). This class is to be an encapsulation of the Font information within apps.Document, also to be used in Transcoder and other non-XSL-specific classes and packages instead of an apps.Document object, in those cases where the latter either presents too much information and/or is not relevant for referenced class' task. Currently not used, pending new patch in Bugzilla. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197527 13f79535-47bb-0310-9956-ffa450edef68
* Remaining changes done with Avalon->Commons Logging conversion. (Bug 28237)Glen Mazza2004-04-181-50/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197517 13f79535-47bb-0310-9956-ffa450edef68
* Apparent off-by-one error fixed for initial-page-number property:Glen Mazza2004-04-181-1/+1
| | | | | | | http://www.w3.org/TR/2003/WD-xsl11-20031217/#initial-page-number git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197516 13f79535-47bb-0310-9956-ffa450edef68
* 3/4ths of Simon's patch committed at the moment, with minor changesGlen Mazza2004-04-092-42/+23
| | | | | | | made. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197496 13f79535-47bb-0310-9956-ffa450edef68
* <sigh> line endings got mucked up by last commit.Chris Bowditch2004-04-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197494 13f79535-47bb-0310-9956-ffa450edef68
* applied Luca Furini's patch to fix justification bug 28208Chris Bowditch2004-04-071-17/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197493 13f79535-47bb-0310-9956-ffa450edef68
* Comments added.Glen Mazza2004-04-061-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197492 13f79535-47bb-0310-9956-ffa450edef68
* Ordinary Java code should never throw Error instances, use RuntimeException ↵Jeremias Maerki2004-04-042-39/+39
| | | | | | instead. That said, RuntimeException is equally suboptimal here. We should probably create an exception class like SAXException for the handler methods. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197490 13f79535-47bb-0310-9956-ffa450edef68
* Another attempt at fixing the space removal issue. This methodGlen Mazza2004-04-045-49/+79
| | | | | | | | | | | | combines the long-standing previous method (the one that removed spaces between words correctly, at a cost of a leading extra space for the first FOText instance of an fo:block) with my later patch (which would fix the extra space issue but had problems with spaces between words). It appears to work well, but the fo:inline issues Simon brought up will still need further work. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197489 13f79535-47bb-0310-9956-ffa450edef68
* New function to determine whether a particular character is available for ↵Jeremias Maerki2004-04-035-16/+64
| | | | | | this font. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197488 13f79535-47bb-0310-9956-ffa450edef68
* Some improvements on the quality fallback for text (use stroking when in ↵Jeremias Maerki2004-04-037-70/+265
| | | | | | | | | | doubt). PSGenerator returns the PS level to use. Start bringing back bitmap support. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197487 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 27971 Jeremias Maerki2004-04-031-0/+1
| | | | | | | | Fix for translated gradients. Submitted by: Gang Liu <gliu.at.actuate.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197486 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla Bug 28078 Jeremias Maerki2004-04-032-4/+19
| | | | | | | | | | PDFInfo fixed to output the correct timezone for the creation date. Submitted by: Tomas Soucek <tomas.soucek.at.i.cz> Patch not applied as given. I moved the formatting of the date/time into PDFObject avoiding the inner class. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197485 13f79535-47bb-0310-9956-ffa450edef68
* corrected line endings. changed ko option to kkvChris Bowditch2004-04-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197484 13f79535-47bb-0310-9956-ffa450edef68
* Applied Luca Furini's patch from bugzilla entry 28021.Chris Bowditch2004-04-021-2/+15
| | | | | | | Corrections to behaviour of whitespace-treatment property git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197483 13f79535-47bb-0310-9956-ffa450edef68
* Applied Luca Furini's patch from bugzilla entry 28130.Chris Bowditch2004-04-022-18/+18
| | | | | | | Corrections to space adjustment for text justification git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197482 13f79535-47bb-0310-9956-ffa450edef68
* PDF library no longer gets a logger from its owner.Jeremias Maerki2004-04-022-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197481 13f79535-47bb-0310-9956-ffa450edef68
* Changed logging to use "static" loggers from Jakarta Commons Logging (via ↵Jeremias Maerki2004-04-022-126/+122
| | | | | | | | | | LogFactory). Changed the way Commons Logging is set up. Some touch-up in the code. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197480 13f79535-47bb-0310-9956-ffa450edef68
* Changed logging to use "static" loggers from Jakarta Commons Logging (via ↵Jeremias Maerki2004-04-0210-166/+97
| | | | | | LogFactory). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197479 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-03-3149-355/+584
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Conversion of Avalon to Commons-Logger. (Will still need to update the examples, which I will take care of next; Jeremias will be modifying the PDF libraries for more efficient use of the CL loggers.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197474 13f79535-47bb-0310-9956-ffa450edef68
* Fix to get use-content option of fo:leader working again. leader.fo nowGlen Mazza2004-03-211-2/+3
| | | | | | | runs without error. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197468 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Removed xsl file for property generation (no longer used, due toGlen Mazza2004-03-214-19/+30
| | | | | | | | | | | Finn's work.) Removed build.xml entry. 2.) Disconnected the FOUserAgent from the SVGUserAgent. This will make the SVGUserAgent more portable although at the cost of a more complex constructor. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197467 13f79535-47bb-0310-9956-ffa450edef68
* Merged LayoutProcessor into LayoutManager interface.Glen Mazza2004-03-2130-320/+290
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197466 13f79535-47bb-0310-9956-ffa450edef68
* Comments fixed.Glen Mazza2004-03-201-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197464 13f79535-47bb-0310-9956-ffa450edef68
* Moved SVGUserAgent back to SVG package (not being used by SVG FO extensions.)Glen Mazza2004-03-195-8/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197463 13f79535-47bb-0310-9956-ffa450edef68
* Updated details on getAscender bugPeter Bernard West2004-03-181-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197461 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-03-189-25/+15
| | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Switch from init() to clearer initialize() in Layout classes; removed unneeded logger reference in ContentLayoutManager. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197460 13f79535-47bb-0310-9956-ffa450edef68
* Unneeded line of code removed.Glen Mazza2004-03-171-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197458 13f79535-47bb-0310-9956-ffa450edef68
* minor simplifications; removed redundant variables.Glen Mazza2004-03-171-41/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197457 13f79535-47bb-0310-9956-ffa450edef68
* Removed obsolete request for namespace-prefixes (supported by all SAX2Glen Mazza2004-03-161-6/+0
| | | | | | | parsers by definition, questionable whether needed by FOP anyway.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197456 13f79535-47bb-0310-9956-ffa450edef68
* Code changed to set the Base URL in FOUserAgent, which allowsGlen Mazza2004-03-165-6/+33
| | | | | | | | | | | | image.ImageFactory to use this value in order to determine locations of images given relative to the input source file. e.g. c:\xml-fop>fop examples\fo\basic\images.fo images.pdf will now run correctly. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197450 13f79535-47bb-0310-9956-ffa450edef68
* Simplifications to FOText whitespace removal; fewer arraycopies performed.Glen Mazza2004-03-126-38/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197443 13f79535-47bb-0310-9956-ffa450edef68
* Fixed bug, masterName variable wasn't being set.Glen Mazza2004-03-091-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197438 13f79535-47bb-0310-9956-ffa450edef68
* Fix of leading-space problem in HEAD. (A single leading space of the firstGlen Mazza2004-03-072-4/+17
| | | | | | | inline child of the block object was being incorrectly retained.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197421 13f79535-47bb-0310-9956-ffa450edef68
* now for some "real" commitsChris Bowditch2004-03-021-27/+55
| | | | | | | | | this is the patch to PDF Renderer for dotted/dashed lines I prepared some time ago. bugzilla link http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25900 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197403 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Modified TextLayoutManager to take an additional lengthGlen Mazza2004-03-016-47/+60
| | | | | | | | | | | | | | parameter, indicating the maximum valid index of the passed-in character array. 2.) Removed from AddLMVisitor (which calls the above class), the re-fitting of the FOText character array to the size of the maximum valid index. 3.) Various small cleanup issues. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197402 13f79535-47bb-0310-9956-ffa450edef68
* Applied Apache License Version 2.0 by following the instructions at ↵Jeremias Maerki2004-02-27586-27680/+8934
| | | | | | http://www.apache.org/dev/apply-license.html. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197384 13f79535-47bb-0310-9956-ffa450edef68
* Some simplification of FOText object.Glen Mazza2004-02-272-10/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197383 13f79535-47bb-0310-9956-ffa450edef68
* Use the new property expressions. Clients must use Length when retrievingFinn Bock2004-02-2614-58/+137
| | | | | | | | | | a length and must delay the call to Length.getValue() until the baselength has been assigned by the LayoutManagers. PR: 26778 (second half) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197382 13f79535-47bb-0310-9956-ffa450edef68
* Made redundant by the expresion tree.Finn Bock2004-02-262-249/+0
| | | | | | | PR: 26778 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197381 13f79535-47bb-0310-9956-ffa450edef68
* Support for percentages in property expression.Finn Bock2004-02-2623-530/+873
| | | | | | | | | | | | | | | | | | | | | | | | The different length properties all implement a Length interface and all clients of the property subsystem must use the Length interface when retrieving lengths. The two different numerics (absolute and relative) both implement a Numeric interface and all property calculations are done in terms of the Numeric interface. Lengths can be cast to numeric and can thus participate in expresions and numerics can be cast to length (when dimension is 1) and can thus be used as a length by the clients. The call to Length.getValue() will cause relative lengths to be resolved against their base length, and care must be taken to ensure that getLength() is only called after all baselength has been assigned to the FO elements. PR: 26778 (first part). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197380 13f79535-47bb-0310-9956-ffa450edef68
* Changed internal renderInlineXXX() functions from public to protected ↵Glen Mazza2004-02-253-56/+12
| | | | | | access. Removed need for renderers to specifically implement them in Renderer interface. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197370 13f79535-47bb-0310-9956-ffa450edef68