aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
Commit message (Collapse)AuthorAgeFilesLines
* Fix a NPE when break-before is specified on the first row of a table, and ↵Vincent Hennebert2007-04-262-16/+2
| | | | | | when that row contains a row-spanning cell. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@532780 13f79535-47bb-0310-9956-ffa450edef68
* Make keep-with-next and keep-with-previous work on fo:tableVincent Hennebert2007-04-261-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@532754 13f79535-47bb-0310-9956-ffa450edef68
* Fix the handling of padding for spanning cells in the collapsing-border modelVincent Hennebert2007-04-201-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530887 13f79535-47bb-0310-9956-ffa450edef68
* Time to enable border-collapse="collapse"Vincent Hennebert2007-04-201-7/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530727 13f79535-47bb-0310-9956-ffa450edef68
* Fix the computation of cells' IPD when they contain children with forced breaks.Vincent Hennebert2007-04-202-71/+50
| | | | | | | In such cases TableCellLM.getNextKnuthElements was called several times, and thus the borders/paddings of the cell were substracted several times from the IPD. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530724 13f79535-47bb-0310-9956-ffa450edef68
* Move out all statistics/debug related code into an inner Statistics class.Vincent Hennebert2007-04-201-122/+153
| | | | | | | Patch submitted by Adrian Cumiskey (fop-dev AT cumiskey DOT com) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530682 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: update dx also for grid units having no border, in the addAreas methodVincent Hennebert2007-04-191-31/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530469 13f79535-47bb-0310-9956-ffa450edef68
* - remove call to addPadding in TraitSetter.addCollapsingBordersVincent Hennebert2007-04-192-2/+2
| | | | | | | - make the call explicit in TableCellLM, only when necessary. That is, areas holding borders for spanning cells in collapsing mode don't need to have padding set git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530445 13f79535-47bb-0310-9956-ffa450edef68
* Fix the handling of forced breaks which were sometimes counted twice.Vincent Hennebert2007-04-181-16/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530040 13f79535-47bb-0310-9956-ffa450edef68
* Extract the logic for advancing to the next grid row, from the getNextStep ↵Vincent Hennebert2007-04-181-53/+56
| | | | | | method to a new one. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529930 13f79535-47bb-0310-9956-ffa450edef68
* ... and correct the test for early returning if stepFound is falseVincent Hennebert2007-04-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529926 13f79535-47bb-0310-9956-ffa450edef68
* Replace the seqCount integer with a stepFound boolean in the getNextStep methodVincent Hennebert2007-04-181-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529921 13f79535-47bb-0310-9956-ffa450edef68
* Replace the array of forced breaks with a single boolean, which should be ↵Vincent Hennebert2007-04-181-12/+4
| | | | | | enough. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529920 13f79535-47bb-0310-9956-ffa450edef68
* - add a columnCount field for clarityVincent Hennebert2007-04-171-19/+19
| | | | | | | - remove unneeded parameter from the getNextStep method git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529670 13f79535-47bb-0310-9956-ffa450edef68
* Style only: fix indentationVincent Hennebert2007-04-171-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529544 13f79535-47bb-0310-9956-ffa450edef68
* - add svn:keywords and svn:eol-style propertiesVincent Hennebert2007-04-171-41/+41
| | | | | | | - style touch up git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529507 13f79535-47bb-0310-9956-ffa450edef68
* Added sorting of the list of named destinations (necessary to have more than ↵Jay Bryant2007-04-111-13/+17
| | | | | | one destination in a document, unless you get lucky and have them in the proper order by coincidence) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@527380 13f79535-47bb-0310-9956-ffa450edef68
* Created a comparator for named destinations, to enable sorting the list of ↵Jay Bryant2007-04-111-0/+41
| | | | | | destinations. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@527379 13f79535-47bb-0310-9956-ffa450edef68
* Added a PDFGoTo to the PDFDestination handler, so that Destinations properly ↵Jay Bryant2007-04-061-1/+5
| | | | | | jump to the page referenced by the PDFGoTo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@526315 13f79535-47bb-0310-9956-ffa450edef68
* Fixes for issues introduced with fox:destination:Jeremias Maerki2007-04-045-121/+51
| | | | | | | | DestinationElementMapping masks ExtensionElementMapping. That caused the tests for widow/orphan extension on tables to fail. Improved Block child validation code (will need to be done for all FOs where fox:destination should be valid. Currently works only as child of fo:block or above fo:page-sequence where no layout managers are constructed. No LMMaker for fox:destination. Improved the handling there so adding the extension element to the list there isn't necessary. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@525526 13f79535-47bb-0310-9956-ffa450edef68
* Allow for the case where a block-container occurs inside an inlineSimon Pepping2007-04-031-3/+7
| | | | | | | FO. This solves bug 42024. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@525253 13f79535-47bb-0310-9956-ffa450edef68
* No change; just add svn:keywords and svn:Id properties on new filesVincent Hennebert2007-04-037-651/+651
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@525081 13f79535-47bb-0310-9956-ffa450edef68
* - fix minor checkstyle issuesVincent Hennebert2007-04-037-8/+64
| | | | | | | | - add missing headers - add an entry in status.xml for the new named destinations feature git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@525078 13f79535-47bb-0310-9956-ffa450edef68
* New class to support named destinationsJay Bryant2007-04-021-0/+112
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@524800 13f79535-47bb-0310-9956-ffa450edef68
* In collapsing-border model, tables have no padding and borders are ↵Vincent Hennebert2007-04-021-2/+4
| | | | | | determined at the cell level. Disable addPendingMarks in such a case. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@524759 13f79535-47bb-0310-9956-ffa450edef68
* changes to support named destinationsJay Bryant2007-04-011-1/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@524607 13f79535-47bb-0310-9956-ffa450edef68
* changes to support named destinationsJay Bryant2007-04-016-10/+481
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@524606 13f79535-47bb-0310-9956-ffa450edef68
* changes to support named destinationJay Bryant2007-04-011-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@524605 13f79535-47bb-0310-9956-ffa450edef68
* changes to support named destinationJay Bryant2007-04-011-1/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@524604 13f79535-47bb-0310-9956-ffa450edef68
* changes to support named destinationJay Bryant2007-04-011-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@524603 13f79535-47bb-0310-9956-ffa450edef68
* changes to support named destinationJay Bryant2007-04-013-0/+171
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@524602 13f79535-47bb-0310-9956-ffa450edef68
* changes to support named destinationJay Bryant2007-04-013-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@524601 13f79535-47bb-0310-9956-ffa450edef68
* changes to support named destinationJay Bryant2007-04-011-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@524600 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for keep-with-next inside tables:Jeremias Maerki2007-04-011-0/+6
| | | | | | Once a keep-with-next was set inside a table, the FO following the table would always be glued to the previous table. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@524571 13f79535-47bb-0310-9956-ffa450edef68
* - fix the painting of borders for spanning cells in collapsing modelVincent Hennebert2007-03-303-97/+129
| | | | | | | | - rename gridUnit into primaryGridUnit in TableCellLM for clarity - fix some checkstyle issues git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@524062 13f79535-47bb-0310-9956-ffa450edef68
* Don't log a stacktrace when a JPEG is encountered that has a bad ICC profile ↵Jeremias Maerki2007-03-281-3/+8
| | | | | | | | and give a nicer warning message. Log the event when a CMYK JPEG with an APPE marker is encountered. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@523452 13f79535-47bb-0310-9956-ffa450edef68
* Replace deprecated addBorders method with the new ones in addAreasVincent Hennebert2007-03-281-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@523374 13f79535-47bb-0310-9956-ffa450edef68
* TableRowIterator:Vincent Hennebert2007-03-283-119/+121
| | | | | | | | | | | - bugfix: add the correct grid unit for a col span RowPainter.addAreasAndFlushRow: - substract a part of this method into another method - avoid calling it twice by properly resetting lastRow - simplify it thanks to the previous point and the bugfix above git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@523349 13f79535-47bb-0310-9956-ffa450edef68
* Factorize in a method the code handling TableContentPosition elements, in ↵Vincent Hennebert2007-03-271-22/+22
| | | | | | TableContentLayoutManager. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@522908 13f79535-47bb-0310-9956-ffa450edef68
* Some more comments for RowPainter.Jeremias Maerki2007-03-232-1/+18
| | | | | | Additional test that checks that no cell paints more than one area in that case. Because if you remove one or more of the checks now newly commented, you get multiple areas. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@521744 13f79535-47bb-0310-9956-ffa450edef68
* Better document some of the code in RowPainter.Jeremias Maerki2007-03-231-7/+23
| | | | | | Added a check in table-cell_number-rows-spanned_bug38397.xml which is the reason for one of the if-branches in RowPainter. It wan't tested previously so that if-branch could easily be mistaken to be useless. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@521713 13f79535-47bb-0310-9956-ffa450edef68
* Avoid an IndexOutOfBoundsException when more columns are used than are ↵Jeremias Maerki2007-03-231-2/+8
| | | | | | specified even though this is illegal with fixed table layout. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@521640 13f79535-47bb-0310-9956-ffa450edef68
* Small improvements in the SpaceResolver class:Vincent Hennebert2007-03-221-3/+3
| | | | | | | | - constructor made private as it shouldn't be called by other classes - inner classes made static; they are candidate for later becoming top-level classes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@521185 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a problem with the auto-rotate-landscape setting in the PostScript ↵Jeremias Maerki2007-03-211-6/+13
| | | | | | renderer. It didn't generate the right setpagedevice command. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@520797 13f79535-47bb-0310-9956-ffa450edef68
* Documentation, cleanup, log statements in the table layout code.Vincent Hennebert2007-03-1910-71/+190
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@519975 13f79535-47bb-0310-9956-ffa450edef68
* Some javadoc and variables renaming in TableStepper.Vincent Hennebert2007-03-131-28/+46
| | | | | | | I finally grasped the actual meaning of this rowSpanPending variable... git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@517814 13f79535-47bb-0310-9956-ffa450edef68
* Fixed an IllegalArgumentException for absolutely positioned block-containers ↵Jeremias Maerki2007-03-121-1/+3
| | | | | | with a border and no height/bpd set. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@517415 13f79535-47bb-0310-9956-ffa450edef68
* Correction of a typo; reported by Paul VinkenoogAndreas L. Delmelle2007-03-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@517356 13f79535-47bb-0310-9956-ffa450edef68
* Extract sub-classes from TableContentLayoutManager and make them top-level ↵Vincent Hennebert2007-03-067-197/+282
| | | | | | classes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@515041 13f79535-47bb-0310-9956-ffa450edef68
* Tweak: add FO context info to clarify the message.Andreas L. Delmelle2007-03-021-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@513970 13f79535-47bb-0310-9956-ffa450edef68