aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
Commit message (Collapse)AuthorAgeFilesLines
* 1.) Added restriction to fo:declarations that fo:color-profile is the only ↵Glen Mazza2004-06-1537-156/+108
| | | | | | | | | XSL namespace child element allowed. 2.) Switched from fo.FOTreeControl to apps.Document throughout app, to better clarify that it is the apps.Document object being accessed/used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197716 13f79535-47bb-0310-9956-ffa450edef68
* Standardized error messages, brought fox:bookmarks under parent fo:root.Glen Mazza2004-06-1513-76/+125
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197715 13f79535-47bb-0310-9956-ffa450edef68
* 1.) App now returns an error if no page-sequence declared within fo:root.Glen Mazza2004-06-137-91/+77
| | | | | | | | | | | 2.) Standardized node names via a new static FONode.getNodeName() method 3.) Declarations object now tied to Root object, will no longer return NPE if empty (bug fixed). 4.) AreaTreeControl removed in favor of direct connection between Document and the Area Tree. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197708 13f79535-47bb-0310-9956-ffa450edef68
* Removed unneeded getCurrentDocument() again from Driver.Glen Mazza2004-06-131-8/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197705 13f79535-47bb-0310-9956-ffa450edef68
* Moved AddLMVisitor accessors into FOTreeHandler.Glen Mazza2004-06-137-46/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197704 13f79535-47bb-0310-9956-ffa450edef68
* Created a validateChildNode() in FONode for better syntax checking in theGlen Mazza2004-06-1263-21/+259
| | | | | | | | | | fo document: e.g., preventing two fo:layout-master-set's from occurring within an fo:root, requiring fo:page-sequence to follow the fo:l-m-s (and fo:declarations, if present). Currently just validates fo:root's children--validateChildNode() needs to be overridden in other FObj subclasses to do the same for other formatting objects. Comments most welcome. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197703 13f79535-47bb-0310-9956-ffa450edef68
* More solid checking to ensure first node encountered is an fo:root FO.Glen Mazza2004-06-122-7/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197702 13f79535-47bb-0310-9956-ffa450edef68
* Removed get/setUserAgent() initializations from the LayoutManagers. ↵Glen Mazza2004-06-126-42/+0
| | | | | | | | | | (Infrequently called, and already obtainable through AbstractLayoutManager's FObj member variable.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197701 13f79535-47bb-0310-9956-ffa450edef68
* Consolidated formatPageSequence() into FOTreeHandler.Glen Mazza2004-06-118-304/+128
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197699 13f79535-47bb-0310-9956-ffa450edef68
* Better error-handling messages added for incorrect LayoutMasterSets.Glen Mazza2004-06-082-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197694 13f79535-47bb-0310-9956-ffa450edef68
* public format() renamed to private formatPageSequence().Glen Mazza2004-06-081-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197693 13f79535-47bb-0310-9956-ffa450edef68
* Removed the new apps.Document from public access within Driver, at least ↵Glen Mazza2004-06-081-16/+0
| | | | | | until the former class' methods have been finalized and its API benefits over apps.Driver better declared. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197692 13f79535-47bb-0310-9956-ffa450edef68
* Hyphenation of words with punctuation marks, patch by Luca Furini, bugSimon Pepping2004-05-291-5/+53
| | | | | | | 28431. Patch applied as modified by me. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197653 13f79535-47bb-0310-9956-ffa450edef68
* Remove trailing spaces at the end of a paragraph.Simon Pepping2004-05-291-21/+18
| | | | | | | | | Modify the way to deal with BPs which have not been added to vecInlineBreaks. See bug 28706. The code was rewritten w.r.t. the submitted patch. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197652 13f79535-47bb-0310-9956-ffa450edef68
* Solve a few problems concerning hyphenation:Simon Pepping2004-05-294-14/+28
| | | | | | | | | | - show the '-' at the end of the hyphenated lines - use the fo:hyphenate property to enable hyphenation, instead of the alignment - specify the hyphenation character using the fo:hyphenation-character property Patch by Luca Furini, bug 27773 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197651 13f79535-47bb-0310-9956-ffa450edef68
* implemented break-before propertyChris Bowditch2004-05-277-78/+160
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197635 13f79535-47bb-0310-9956-ffa450edef68
* added protected log member, so child areas can send messages to logChris Bowditch2004-05-261-8/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197634 13f79535-47bb-0310-9956-ffa450edef68
* Removed getPropertyList() method from PropertyManager, as that methodGlen Mazza2004-05-262-10/+2
| | | | | | | | is already available on the FObj (which owns both the PropertyList and the PropertyManager.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197632 13f79535-47bb-0310-9956-ffa450edef68
* Removed PropertyManager argument from initProperties(), as it is alreadyGlen Mazza2004-05-2613-132/+122
| | | | | | | available within its FObj object. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197631 13f79535-47bb-0310-9956-ffa450edef68
* Reverted part of yesterday's work to make FObj simpler, added more ↵Glen Mazza2004-05-235-121/+74
| | | | | | commenting in FObj. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197619 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-05-2216-223/+220
| | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Made propertyList member variable of fo.FObj protected (instead of public). Property value queries routed through FObj instead of PropertyList. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197614 13f79535-47bb-0310-9956-ffa450edef68
* Switched from handleAttrs() to more intuitive processNode() and (for FO ↵Glen Mazza2004-05-2237-320/+254
| | | | | | namespace) addProperties() methods. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197613 13f79535-47bb-0310-9956-ffa450edef68
* fixed problem with top/bottom borders on regular blocksChris Bowditch2004-05-201-13/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197611 13f79535-47bb-0310-9956-ffa450edef68
* Spelled out FO element maker classes in order to make its toString()Glen Mazza2004-05-192-112/+120
| | | | | | | readable during debugging (without needing to provide individual toString() overrides). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197609 13f79535-47bb-0310-9956-ffa450edef68
* added more friendly message when Jimi/JAI is not presentChris Bowditch2004-05-181-4/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197606 13f79535-47bb-0310-9956-ffa450edef68
* Folded the layout strategy into apps.Document.Glen Mazza2004-05-189-273/+135
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197605 13f79535-47bb-0310-9956-ffa450edef68
* added ipd property to block elementChris Bowditch2004-05-181-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197604 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-05-1523-108/+104
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Moved FOUserAgent, FObj initialization from AddLMVisitor to constructors of respective LayoutManagers. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197602 13f79535-47bb-0310-9956-ffa450edef68
* fixes problem that prevented proportional-column-width function workingChris Bowditch2004-05-131-7/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197592 13f79535-47bb-0310-9956-ffa450edef68
* Removed the getLogger() and setLogger() from FOUserAgent; replaced with ↵Glen Mazza2004-05-1233-92/+129
| | | | | | | | | Commons Logging equivalents in places where previously used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197591 13f79535-47bb-0310-9956-ffa450edef68
* String->int conversion and a few other simplifications to fo.Region* classes.Glen Mazza2004-05-0913-91/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197575 13f79535-47bb-0310-9956-ffa450edef68
* 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