aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed unused methodAndreas L. Delmelle2005-09-201-13/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290542 13f79535-47bb-0310-9956-ffa450edef68
* Update for initial-values of column-number + some pending style-violation ↵Andreas L. Delmelle2005-09-206-35/+91
| | | | | | corrections git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290540 13f79535-47bb-0310-9956-ffa450edef68
* Fixed inheritance error (bugzilla 36720)Andreas L. Delmelle2005-09-201-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290481 13f79535-47bb-0310-9956-ffa450edef68
* Remove the AreaInfo objects representing trailing spaces, in order to ↵Luca Furini2005-09-207-14/+109
| | | | | | prevent them reappearing again when getChangedKnuthElements() is called. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290422 13f79535-47bb-0310-9956-ffa450edef68
* Correction of style violationsAndreas L. Delmelle2005-09-193-7/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290272 13f79535-47bb-0310-9956-ffa450edef68
* Correction of style violationsAndreas L. Delmelle2005-09-191-25/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290270 13f79535-47bb-0310-9956-ffa450edef68
* Correction of style violationsAndreas L. Delmelle2005-09-192-37/+67
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290268 13f79535-47bb-0310-9956-ffa450edef68
* Commented out the code that causes an NPE.Jeremias Maerki2005-09-191-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290167 13f79535-47bb-0310-9956-ffa450edef68
* Simplification -- replace unnecessary call to getExplicit()Andreas L. Delmelle2005-09-181-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289971 13f79535-47bb-0310-9956-ffa450edef68
* Implementation for initial values of the column-number propertyAndreas L. Delmelle2005-09-1714-98/+622
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289865 13f79535-47bb-0310-9956-ffa450edef68
* Report area tree output mode.Simon Pepping2005-09-171-1/+10
| | | | | | | Report that option -d fails for other than the command line logger. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289827 13f79535-47bb-0310-9956-ffa450edef68
* Implemented the wrap-option property.Luca Furini2005-09-165-24/+45
| | | | | | The overflow property is not yet implemented, so at the moment if wrap-option = "no-wrap" and the text overflows it invades the margins. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289531 13f79535-47bb-0310-9956-ffa450edef68
* Provide the TABLE_UNITS base value through the PrecentageBaseContext.Jeremias Maerki2005-09-165-88/+29
| | | | | | | Remove the LayoutDimension mechanism entirely. This fixes a problem with proportional-column-width() in nested tables. The LayoutDimension mechanism would look in the parent table for the base value when the base value for the actual table was only just calculated. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289439 13f79535-47bb-0310-9956-ffa450edef68
* Style touch-upJeremias Maerki2005-09-161-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289433 13f79535-47bb-0310-9956-ffa450edef68
* An informative warning for the user if he doesn't supply enough table-column ↵Jeremias Maerki2005-09-163-2/+41
| | | | | | elements in fixed table layout. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289428 13f79535-47bb-0310-9956-ffa450edef68
* bugzilla 36678 - region name reported when region is found with non zero ↵Chris Bowditch2005-09-161-2/+2
| | | | | | | | borders/padding. patch submitted by Matthew Daniel <bugzilla.at.mdaniel.scdi.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289427 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Lengths evaluated through percentages evaluated to zero in side-regions.Jeremias Maerki2005-09-161-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289426 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for table_width.xml. Table width was not determined correctly when ↵Jeremias Maerki2005-09-151-8/+12
| | | | | | specified explicitely and indents are present. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289245 13f79535-47bb-0310-9956-ffa450edef68
* Comments added; I hope they are clear, not too few and not too many ... ↵Luca Furini2005-09-151-4/+28
| | | | | | otherwise ask again! :-) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289203 13f79535-47bb-0310-9956-ffa450edef68
* Removal of ColumnNumberPropertyMaker.java (until all further conflicts have ↵Andreas L. Delmelle2005-09-154-57/+9
| | | | | | been resolved) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289198 13f79535-47bb-0310-9956-ffa450edef68
* Added new Maker subclass for the column-number propertyAndreas L. Delmelle2005-09-151-0/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289197 13f79535-47bb-0310-9956-ffa450edef68
* Documentation request for the getChangedKnuthElements() method. Very few of ↵Jeremias Maerki2005-09-151-1/+3
| | | | | | us will have a good idea what this method is for. I only know it has to do with (1) justification of boxes in b-p-d and (2) with hyphenation in i-p-d. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289187 13f79535-47bb-0310-9956-ffa450edef68
* Style fixes. Jeremias Maerki2005-09-141-6/+6
| | | | | | Assimilate toString() with SpaceProperty's toString(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280857 13f79535-47bb-0310-9956-ffa450edef68
* Correct handling of the combination of hyphenation and text-align = center, ↵Luca Furini2005-09-141-11/+72
| | | | | | left or right. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280854 13f79535-47bb-0310-9956-ffa450edef68
* Fixed wrong defaults for conditionality component for padding-before and ↵Jeremias Maerki2005-09-141-2/+2
| | | | | | padding-after. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280851 13f79535-47bb-0310-9956-ffa450edef68
* Stupid me.Jeremias Maerki2005-09-141-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280817 13f79535-47bb-0310-9956-ffa450edef68
* Warn about fonts which are not available.Jeremias Maerki2005-09-141-6/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280816 13f79535-47bb-0310-9956-ffa450edef68
* Factorized the creation of the elements in TextLM: now both getNextKE() and ↵Luca Furini2005-09-131-249/+184
| | | | | | | | getChangedKE() call the same methods createElementsForASpace() and crateElementsForAWordFragment(). This should definitively solve bug 36533. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280520 13f79535-47bb-0310-9956-ffa450edef68
* Font weights 800 and 900 would not cause a bold font.Jeremias Maerki2005-09-121-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280288 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36068:Finn Bock2005-09-124-22/+79
| | | | | | | | | Validation added for font-style and font-weight by making both properties enums. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280286 13f79535-47bb-0310-9956-ffa450edef68
* Removed TODO. No MT issues here.Jeremias Maerki2005-09-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279721 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile error. Removed the user agent setting because it's not used and ↵Jeremias Maerki2005-09-092-17/+1
| | | | | | the FOUserAgent can be accessed through the parent LM's FObj if this ever becomes necessary again. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279719 13f79535-47bb-0310-9956-ffa450edef68
* Require at least Java 1.4 for building the javadocs.Joerg Pietschmann2005-09-081-4/+4
| | | | | | | | Add todo tag to javadoc task. Fixed @todo: tags. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279661 13f79535-47bb-0310-9956-ffa450edef68
* Fixed javadoc errors.Joerg Pietschmann2005-09-0843-132/+129
| | | | | | | Added a few TODOs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279656 13f79535-47bb-0310-9956-ffa450edef68
* Removing trailing spaces at the end of text areas: this is done by storing ↵Luca Furini2005-09-081-4/+4
| | | | | | | | the Position, whose value points to the AreaInfo created for a space, inside the glue element that is ignored if there is a line break. This fixes item 2) in bug 36533. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279551 13f79535-47bb-0310-9956-ffa450edef68
* Squashed CheckStyle warnings, mostly JavaDoc.Joerg Pietschmann2005-09-0716-57/+156
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279439 13f79535-47bb-0310-9956-ffa450edef68
* Using the fo property last-line-end-indent instead of a hard coded value.Luca Furini2005-09-073-13/+28
| | | | | | | | This fixes item 1) in bug 36533. Note that the old behaviour (before the changes) was not completely equivalent to the one requested by the specs, as the empty space was not necessarily placed at the end of the line; for example, the last line in a right-aligned paragraph was aligned as the previous lines, although shorter. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279338 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36520: Jeremias Maerki2005-09-062-99/+227
| | | | | | | | Cleaner transformation matrix handling. SVG painting extracted into an XMLHandler subclass like for the other renderers. Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279005 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36508: Jeremias Maerki2005-09-062-2/+33
| | | | | | | Support for padding-before and padding-after in RTF output. Submitted by: Sergey Simonchik <Sergey.Simonchik.at.borland.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278982 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36505: Jeremias Maerki2005-09-061-9/+11
| | | | | | | | | | | | | Several fixes for SVG painting in the Java2DRenderer. Updated SVG test case to test additional features. Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk> Comments and changes by jeremias: Added an additional SVG image with an intrinsic size and modified the test case to use and test that, too. I'll commit this patch because it improves the current situation but I'm not happy with the current state of Java2DRenderer.renderSVGDocument(). Creating inverse transformation matrices is surely not the right way to do this. The matrix should be saved and restored instead. Furthermore, renderSVGDocument should be extracted into a Java2DSVGHandler like it is done for the other renderers. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278966 13f79535-47bb-0310-9956-ffa450edef68
* Fix for SVG images with an intrinsic size when the FOUserAgent does not ↵Jeremias Maerki2005-09-061-6/+9
| | | | | | | | default to 72dpi. Round the intrinsic size, don't truncate it. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278957 13f79535-47bb-0310-9956-ffa450edef68
* My earlier fix didn't quite work if the protocol isn't the same between the ↵Jeremias Maerki2005-09-051-3/+3
| | | | | | base URI and the parameter URI. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278842 13f79535-47bb-0310-9956-ffa450edef68
* Fixes a compile error. I used a method from a SVN checkout of Commons IO. Sorry.Jeremias Maerki2005-09-051-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278816 13f79535-47bb-0310-9956-ffa450edef68
* Implemented embedding of Type 1 fonts. Jeremias Maerki2005-09-058-93/+399
| | | | | | | | | | font dict writing moved to new class PSFontUtils. PSGenerator.resolveURI() does the same as FOUserAgent.resolveURI() but thus avoids the dependency on FOUserAgent. Needed for font embedding. Treat fonts as resources now. Wrap font keying in FOP-specific comments for reliable finding. New class SubInputStream which reads a maximum number of bytes from an underlying InputStream and then behaves like it has reached EOF. Used for Type1 font embedding. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278782 13f79535-47bb-0310-9956-ffa450edef68
* Not sure if it's the best solution but this changes the following: Jeremias Maerki2005-09-051-36/+50
| | | | | | | | - Enable plain filenames (without "file:" scheme) as URI. FOURIResolver tries to create a java.io.File to access the file. - If after removing the scheme from a file: URL the string still contains a ":" it is likely an absolute Windows path for which the user forgot to specify a leading "/", i.e.: file:C:/Temp/test.txt --> file:/C:/Temp/test.txt git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278779 13f79535-47bb-0310-9956-ffa450edef68
* Re-adjusting lines after a page-number or a page-number-citation is resolved.Luca Furini2005-09-0510-22/+447
| | | | | | At the moment, only TextAreas are adjusted, the other will be fixed soon! git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278765 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36479: Jeremias Maerki2005-09-053-2/+11
| | | | | | | Bookmarks are now working in RTF output. Submitted by: Sergey Simonchik <Sergey.Simonchik.at.borland.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278724 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36476: Jeremias Maerki2005-09-054-35/+110
| | | | | | | | | | | | | | | | Border support on block, block-container and inline introduced. Nesting borders are supported partially: only two levels of nesting. Consecutive paragraphs with identical border formatting are considered part of a single group with the border information applying to the entire group. Bugzilla #36477: start-indent and end-indent are used instead of margins only to do indentation. Submitted by: Sergey Simonchik <Sergey.Simonchik.at.borland.com> Changes to the patch by jeremias: Fix for deferred handling which didn't work for block-containers. They got ignored. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278720 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36475: Jeremias Maerki2005-09-052-17/+37
| | | | | | | Fix for block background not extending to the whole block content-width. Submitted by: Sergey Simonchik <Sergey.Simonchik.at.borland.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278695 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36487: Jeremias Maerki2005-09-0515-781/+775
| | | | | | | | | | | | | | | | Background images were incorrectly positioned in some absolute positioned blocks. Some additional attributes output by the XMLRenderer. Refactored the layout for e-g and i-f-o. Introduced common base classes for the corresponding flow objects as well as the e-g and i-f-o LMs. Fixed incorrectly applied margins on region-body when writing mode is not lr. Fixed application of correct percent base for margins and extents on regions when the reference orientation is 90 degrees. Fixed incorrectly positioned regions when writing mode is different between the simple-page-master setting and the setting on the region. Several updates to the layout engine test cases. Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278690 13f79535-47bb-0310-9956-ffa450edef68