aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
Commit message (Collapse)AuthorAgeFilesLines
* Disabled the resolution setting because it can lead to ugly side-effects. ↵Jeremias Maerki2006-03-021-2/+4
| | | | | | Resolution is poort now (72dpi) but at least the SVG gets rendered correctly. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@382317 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixed a problem with certain TrueType fonts which are missing the ↵Jeremias Maerki2006-03-011-1/+5
| | | | | | | | "PCLT" table, where a baseline-shift="sub" had no effect due to a missing x-height value. (Note: This only affects TTFReader, so the font metric file has to be regenerated.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@382089 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug in the construction of a base URL when it's specified as a file ↵Jeremias Maerki2006-03-011-4/+1
| | | | | | system path. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@381978 13f79535-47bb-0310-9956-ffa450edef68
* Fixed bug in handling of text-align-last. Value "relative" was not the ↵Jeremias Maerki2006-02-281-16/+30
| | | | | | default and the resolved property was wrong when it was inherited. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@381618 13f79535-47bb-0310-9956-ffa450edef68
* Activated refinement white-space-handling for fo:title and fo:bookmark-titleAndreas L. Delmelle2006-02-271-1/+9
| | | | | | | | (treating fo:title the same as fo:bookmark-title -- see XSL-FO 1.1 6.11.3 -> Trait derivation) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@381409 13f79535-47bb-0310-9956-ffa450edef68
* A nit: slight performance optimizationAndreas L. Delmelle2006-02-271-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@381397 13f79535-47bb-0310-9956-ffa450edef68
* Ignore attributes from foreign namespaces. This is a temporary fix to get ↵Jeremias Maerki2006-02-271-4/+7
| | | | | | | | rid of ugly warnings until a proper mechanism for handling foreign attributes is available. Submitted by: Nils Meier <nmeier.at.users.sourceforge.net> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@381289 13f79535-47bb-0310-9956-ffa450edef68
* Added support for page sequence title in AreaTreeParser (IF). Fixes problems ↵Jeremias Maerki2006-02-265-13/+138
| | | | | | | | in intermediate format test suite. Introduced a PageSequence area tree object to achieve the proper sequence of Renderer.startPageSequence() calls and Renderer.renderPage() calls. Otherwise, the pageSequence elements are not properly placed in the intermediate format. Doesn't really affect the other renderers because they don't really care. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@381080 13f79535-47bb-0310-9956-ffa450edef68
* InlineLM properly creates an AligmentContext for Title.Simon Pepping2006-02-254-14/+18
| | | | | | | Add 2006 to the copyright lines of my previous commit. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@380917 13f79535-47bb-0310-9956-ffa450edef68
* Avoid a NullPointerException when fo:title is empty.Simon Pepping2006-02-244-10/+44
| | | | | | | Let PSLM and ContentLM create LMs via LayoutManagerMaker. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@380646 13f79535-47bb-0310-9956-ffa450edef68
* Changed the way the URL stream is opened. Use URLConnection now. Jeremias Maerki2006-02-231-2/+49
| | | | | | | Added an empty protected method that can be overridden to set parameters like HTTP Basic Authentication on the URLConnection. Convenience method added for handling HTTP Basic Authentication. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@380092 13f79535-47bb-0310-9956-ffa450edef68
* Tell about the offending font if it's not embedded and PDF/A is active.Jeremias Maerki2006-02-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@380091 13f79535-47bb-0310-9956-ffa450edef68
* Added a convenience URIResolver that uses the ServletContext in a servlet to ↵Jeremias Maerki2006-02-223-4/+119
| | | | | | | | | access resources packed into a web application. The URIResolver listens to the "servlet-context:" protocol. Integrated the new URIResolver into out two servlets at all levels (TransformerFactory, Transformer and FOP). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@379810 13f79535-47bb-0310-9956-ffa450edef68
* More work on PDF/A-1:Jeremias Maerki2006-02-228-6/+94
| | | | | | | | | ID entry is now generated in the trailer. More conformance checks especially for fonts. PDF/A Identification Schema for XMP added. Almost finished. Only color space checking is left to do, I think. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@379798 13f79535-47bb-0310-9956-ffa450edef68
* fixed a few checkstyle warningsPeter Herweg2006-02-199-18/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378930 13f79535-47bb-0310-9956-ffa450edef68
* fixed a few checkstyle warningsPeter Herweg2006-02-1923-62/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378928 13f79535-47bb-0310-9956-ffa450edef68
* added support for borders at fo:table; fixed a few checkstyle warningsPeter Herweg2006-02-1913-31/+142
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378923 13f79535-47bb-0310-9956-ffa450edef68
* Tweak: modified warning to occur only for non-inherited props where the ↵Andreas L. Delmelle2006-02-181-5/+12
| | | | | | parent fo doesn't have an explicit value git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378709 13f79535-47bb-0310-9956-ffa450edef68
* Some explanations and warnings.Jeremias Maerki2006-02-172-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378564 13f79535-47bb-0310-9956-ffa450edef68
* A nit: dc:creator needs to be an ordered Text array.Jeremias Maerki2006-02-171-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378562 13f79535-47bb-0310-9956-ffa450edef68
* XMP metadata generation from the PDFInfo object now conforms to PDF/A-1 ↵Jeremias Maerki2006-02-177-12/+218
| | | | | | | | | | (6.7.3 in ISO 19005-1:2005(E)). On PDFDocument, it is now possible to set the PDF-A mode which triggers conformance checks where necessary. The first PDF/A-1b conformance checks are now in the code. When conformance problems are detected, the new PDFConformanceException (subclass of RuntimeException since this would be a programmer error) is thrown. PDF Renderer got a setting (through rendering options and XML configuration) to set the PDF/A-1 mode. Default is "disabled". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378560 13f79535-47bb-0310-9956-ffa450edef68
* Added support for userconfig attribute in FOP Ant task. Jeremias Maerki2006-02-171-5/+31
| | | | | | | | | Submitted by: Jirí Mareš <Jiri.Mares.at.svt.cz> In addition to that: Now deleting the output file when an exception is encountered. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378508 13f79535-47bb-0310-9956-ffa450edef68
* DOM2SAX code replaced. Copied and adapted from Xalan-J: ↵Jeremias Maerki2006-02-173-72/+226
| | | | | | | | http://svn.apache.org/repos/asf/xalan/java/trunk/src/org/apache/xalan/xsltc/trax/DOM2SAX.java There were issues with well-formedness and namespace prefixes when an XMP fragment was serialized to XML. Now this works fine. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378503 13f79535-47bb-0310-9956-ffa450edef68
* Initial support for XMP metadata (PDF 1.4) under fo:declarations. Both ↵Jeremias Maerki2006-02-1725-219/+1558
| | | | | | | | | | | | | | | | xmpmeta and RDF elements can be used as root elements for XMP metadata. Extracted DOM2SAX functionality from XMLXMLHandler into utility class since it is now reused elsewhere. New DOMBuilderContentHandlerFactory is used to create ContentHandlers that build generic DOMs. New DelegatingContentHandler is a convenience base class modelled after XMLFilterImpl but as passive SAX receiver. It is used by DOMBuilderContentHandlerFactory. Refactored FOTreeBuilder. FO tree building is now in a special ContentHandler which can be replaced temporarily when handling foreign XML like SVG or XMP. Extension Elements wanting the set their own ContentHandlers (instead of using the standard FO tree building mechanism) return a non-null value in getContentHandlerFactory(). The old mechanism is still supported (MathML, Plan and Barcode4J still use that). However, SVG support is changed to use a ContentHandlerFactory. Extension elements for xmpmeta and RDF elements making use of the new DOM build-up using ContentHandlerFactory. XMP metadata is passed to the renderer as ExtensionAttachment to the document. Only PDFRenderer uses the XMP extension attachment at this time. The PDFRenderer automatically builds XMP metadata based on the basic metadata information in the PDFInfo object if no explicit XMP metadata has been added to the XSL-FO document. XMP metadata merging is not implemented because this would involve a more sophisticated XMP infrastructure. That also means that XMP metadata is not validated. It's passed into the PDF as is. The PDF library now provides the PDFMetadata class to embed XMP metadata in PDFs version >=1.4. stream contents use a special filter list which is initially empty, so non-PDF-aware XMP readers can extract (and optionally modify) the XMP metadata. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378482 13f79535-47bb-0310-9956-ffa450edef68
* Trivial update:Andreas L. Delmelle2006-02-161-6/+5
| | | | | | | | | Change the wording of a few attributeWarnings -- properties aren't ignored (possible inheritance, property value function calls...) see: http://marc.theaimsgroup.com/?l=fop-dev&m=114001378911300&w=2 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378206 13f79535-47bb-0310-9956-ffa450edef68
* Added default empty String to the border-* shorthands. Added warning for the ↵Andreas L. Delmelle2006-02-152-4/+17
| | | | | | case where inherit is used, but no value is available from the parent. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378017 13f79535-47bb-0310-9956-ffa450edef68
* Added default empty String to the border shorthand. Avoids NPE mentioned in ↵Andreas L. Delmelle2006-02-151-0/+4
| | | | | | Bugzilla 38648. Still need to add a warning, since property now silently falls back to the default(s). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378003 13f79535-47bb-0310-9956-ffa450edef68
* Added support for the background-position shorthand.Andreas L. Delmelle2006-02-142-2/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377762 13f79535-47bb-0310-9956-ffa450edef68
* RTF: length of leveltext has to be specified as two-digit hex-valuePeter Herweg2006-02-121-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377256 13f79535-47bb-0310-9956-ffa450edef68
* Slight correction: single quoted font-family names not properly handledAndreas L. Delmelle2006-02-121-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377242 13f79535-47bb-0310-9956-ffa450edef68
* Extra constants needed for the font shorthandAndreas L. Delmelle2006-02-121-1/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377223 13f79535-47bb-0310-9956-ffa450edef68
* Added implementation for the font shorthand property (+ some checkstyle cleanup)Andreas L. Delmelle2006-02-1214-58/+390
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377222 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for Bug 38041: correct handling of different list-item-label'sPeter Herweg2006-02-126-21/+92
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377220 13f79535-47bb-0310-9956-ffa450edef68
* RTF: fix a few checkstyle warningsPeter Herweg2006-02-124-21/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377219 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38618:Jeremias Maerki2006-02-117-58/+103
| | | | | | | cleanup of rgb() and implementation of system-color() Submitted by: Max Berger <max.at.berger.name> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377045 13f79535-47bb-0310-9956-ffa450edef68
* Creation of Font instances centralized in FontInfo and added a cache for ↵Jeremias Maerki2006-02-1010-65/+53
| | | | | | them. This removes duplicate code in a number of places, improves speed a little and saves memory. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376706 13f79535-47bb-0310-9956-ffa450edef68
* Reworked area building in AreaTreeParser to match the scheme that the ↵Jeremias Maerki2006-02-091-329/+558
| | | | | | FOTreeBuilder uses. Cuts away another 10-15% processing time. Too many String.equals() calls and a minor optimization in setTraits(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376293 13f79535-47bb-0310-9956-ffa450edef68
* Decorate warning with location info.Jeremias Maerki2006-02-091-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376250 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixed two causes for ClassCastExceptions in BlockContainerLayoutManager.Jeremias Maerki2006-02-091-7/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376235 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: padding-top and padding-bottom on list-items could lead to wrong ↵Jeremias Maerki2006-02-092-15/+30
| | | | | | | | | page break decisions and thus to overlapping text. Bugfix: break-before and break-after were ignored on list-items. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376226 13f79535-47bb-0310-9956-ffa450edef68
* Added missing values in area tree XML for PageViewport ↵Jeremias Maerki2006-02-085-163/+210
| | | | | | | | | | | (simple-page-master-name and blank). Performance improvement of about 10% for a simple document inside the AreaTreeParser (Hotspot: setTraits()) Changed the way that trait info lookup is done in Trait.java. Should be just a little faster now. Unused traits disabled. Commented unused methods. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375983 13f79535-47bb-0310-9956-ffa450edef68
* Style fixesJeremias Maerki2006-02-071-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375605 13f79535-47bb-0310-9956-ffa450edef68
* Non-SVG XML got loaded into a non-namespace-aware node which caused problems ↵Jeremias Maerki2006-02-071-1/+8
| | | | | | later when serializing the foreign XML to the intermediate format. Fixes a problem with serializing barcodes (Barcode4J) to the intermediate format. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375604 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug 38507: the elements representing a non-breaking space were not ↵Luca Furini2006-02-071-190/+127
| | | | | | | | | | always correct, sometimes allowing a break. This also solves another bug concerning the incorrect suppression of a nbsp at the beginning of a line. A bit of clean-up in TextLayoutManager git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375585 13f79535-47bb-0310-9956-ffa450edef68
* RTF: fix a few checkstyle warningsPeter Herweg2006-02-0523-48/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375067 13f79535-47bb-0310-9956-ffa450edef68
* RTF: remove usage of TableLayoutManager; use SimplePercentBaseContext insteadPeter Herweg2006-02-051-9/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375060 13f79535-47bb-0310-9956-ffa450edef68
* Correction of the issue raised on the WhiteSpace Wiki (see accompanying change)Andreas L. Delmelle2006-02-031-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374712 13f79535-47bb-0310-9956-ffa450edef68
* File missing from http://svn.apache.org/viewcvs?rev=374174&view=rev... ↵Andreas L. Delmelle2006-02-021-3/+5
| | | | | | Thanks, Manuel! :-) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374541 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38453:Jeremias Maerki2006-02-021-51/+54
| | | | | | | Bugfix: Text-decoration was not promoted if no text-decoration attribute was specified on a nested element. Nice side-effect: more efficient evaluation of text-decoration. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374425 13f79535-47bb-0310-9956-ffa450edef68
* Don't swallow characters if the handler does not implement LexicalHandler.Jeremias Maerki2006-02-021-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374312 13f79535-47bb-0310-9956-ffa450edef68