aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* First real step towards collapsing table borders.Jeremias Maerki2005-02-2111-103/+862
| | | | | | | | | | | border-collapse="collapse" rules implemented but not fully tested, yet. Collapsing of borders works only for start and end borders, yet, and there only for non-spanned cells. CellLM is now prepared to get the full list of grid unit it occupies (necessary for collapsed border painting). Row.CellInfo extracted and renamed to GridUnit. WIP... git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198450 13f79535-47bb-0310-9956-ffa450edef68
* Corrected the logic of adding markers. LayoutManagers are responsibleSimon Pepping2005-02-207-38/+81
| | | | | | | | | | for correctly setting is-first and is-last on the BreakPoss and from there in the arguments of the addMarkers method. Implemented this for BlockLM. Also made a small change in the retrieval of markers from preceding pages. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198447 13f79535-47bb-0310-9956-ffa450edef68
* Commented stray System.out. Should be replaced by Commons Logging calls or ↵Jeremias Maerki2005-02-191-5/+5
| | | | | | removed in time. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198446 13f79535-47bb-0310-9956-ffa450edef68
* Restored JDK 1.5 compatibility.Jeremias Maerki2005-02-192-13/+13
| | | | | | | | Bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=33645 Submitted by: Oskar Berggren <d99beo.at.dtek.chalmers.se> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198445 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-02-191-0/+1
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Page numbering bug fixed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198444 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-02-183-33/+8
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: More cleanup in PageSequence (also removed local LayoutMasterSet variable to emphasize Root's ownership of this object in the FO Tree hierarchy.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198443 13f79535-47bb-0310-9956-ffa450edef68
* border-style "hidden" also forces border-width to 0.Jeremias Maerki2005-02-171-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198440 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bad page-master and region margin calculations. All margin ↵Jeremias Maerki2005-02-173-38/+31
| | | | | | | | | calculations now use margin-* attributes directly, ignoring start|end-indent and space-*. Better check for borders and padding on regions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198436 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-02-171-1/+0
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Removed unneeded variable. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198435 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-02-178-274/+85
| | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Cleanup of page number handling throughout application. Removed old code from PageSequence.java. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198434 13f79535-47bb-0310-9956-ffa450edef68
* First step towards collapsing table borders:Jeremias Maerki2005-02-164-66/+280
| | | | | | | | | | - Mode on BorderProps controls painting behaviour. - Extended toString() on BorderProps - Painting the borders already works for all three modes (separate, collapsing-inner and collapsing-outer) - ATM only inner borders are painted. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198432 13f79535-47bb-0310-9956-ffa450edef68
* Code clean-up only.Jeremias Maerki2005-02-161-14/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198431 13f79535-47bb-0310-9956-ffa450edef68
* Set border traits for fo:table only if border-collapse="separate".Jeremias Maerki2005-02-156-10/+42
| | | | | | | Some clean-up. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198430 13f79535-47bb-0310-9956-ffa450edef68
* Some cleanup -- moved getSimplePageMasterToUse() to PageSequence (logicGlen Mazza2005-02-122-74/+31
| | | | | | | is useful with other implementations of PSLM.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198428 13f79535-47bb-0310-9956-ffa450edef68
* Extend the user agent to pipe title, author and keywords through to the PDF. ↵Jeremias Maerki2005-02-123-4/+69
| | | | | | A title on the user agent will override any title info gathered from fo:title elements. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198426 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-02-125-164/+46
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Removed flush() override from PSLM, consolidated StorePagesModel & AreaTreeModel, removed unused LineTrait.java. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198425 13f79535-47bb-0310-9956-ffa450edef68
* Implemented the rest of the border styles. Now uses clipping while painting ↵Jeremias Maerki2005-02-112-41/+327
| | | | | | | | | the borders to paint nicer edges. Some of this code should later be extracted into utility classes so other renderers can use the same code. Dotted-style could use some tweaking (dots are clipped at the edges). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198424 13f79535-47bb-0310-9956-ffa450edef68
* empty-cells implemented.Jeremias Maerki2005-02-112-3/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198422 13f79535-47bb-0310-9956-ffa450edef68
* Implemented table-omit-header-at-break. The same for footers comes later ↵Jeremias Maerki2005-02-112-5/+21
| | | | | | when page breaking is revisited. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198418 13f79535-47bb-0310-9956-ffa450edef68
* Table headers/footers need to be recalculated for each page (for dynamic ↵Jeremias Maerki2005-02-102-55/+33
| | | | | | elements like page-numbers and changing page-masters together with auto layout). Therefore a new LM is created for each page. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198416 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-02-103-38/+14
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Some simplification to StorePagesModel, removal of not very informative comment in PSLM. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198415 13f79535-47bb-0310-9956-ffa450edef68
* Rearranged the process a bit to better show the different phases. Helped me ↵Jeremias Maerki2005-02-101-16/+24
| | | | | | to better understand what's going on there. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198414 13f79535-47bb-0310-9956-ffa450edef68
* Some LMs don't need the childLM List. So create only when necessary.Jeremias Maerki2005-02-101-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198413 13f79535-47bb-0310-9956-ffa450edef68
* Remove dependency of pdf package to the FOP user agent.Jeremias Maerki2005-02-102-11/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198410 13f79535-47bb-0310-9956-ffa450edef68
* Updates to team page. Added Luca (Layout) and Simon (Layout, XSL FO Tree, ↵Glen Mazza2005-02-101-24/+20
| | | | | | and Properties) to skill sets at bottom--please raise objections soon if you are uncomfortable with being listed. Gave myself my first "X" (XSL FO Tree), and added more for Jeremias and Finn. Team, please adjust as you feel appropriate. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198409 13f79535-47bb-0310-9956-ffa450edef68
* No longer fail when no table-columns are defined. The table creates a ↵Jeremias Maerki2005-02-093-20/+61
| | | | | | | | | | "default column" which is used to handle any defaults and inheritance. The columns list is populated with at least the default column. The first row is not yet inspected for determining column widths as described in fixed table layout. (see comment in code) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198407 13f79535-47bb-0310-9956-ffa450edef68
* Fix for handling of horizontal border-separation. My first interpretation ↵Jeremias Maerki2005-02-092-13/+26
| | | | | | was wrong. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198403 13f79535-47bb-0310-9956-ffa450edef68
* Accessor for table-layout property.Jeremias Maerki2005-02-091-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198402 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to take padding into account.Jeremias Maerki2005-02-081-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198399 13f79535-47bb-0310-9956-ffa450edef68
* Fix for ArrayOutOfBoundsException in resetPosition().Jeremias Maerki2005-02-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198397 13f79535-47bb-0310-9956-ffa450edef68
* Support for column-number on table-cell.Jeremias Maerki2005-02-082-75/+191
| | | | | | | | RowLM now also handles gaps (=empty cells) properly. Positioning of cells inside the row changed. More responsibility into getNextBreakPoss stage because it is a lot easier to implement and there's less redundancy. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198396 13f79535-47bb-0310-9956-ffa450edef68
* Method for checking if there's a column-numberJeremias Maerki2005-02-081-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198395 13f79535-47bb-0310-9956-ffa450edef68
* Initial support for column spanning. Still WIP.Jeremias Maerki2005-02-082-25/+70
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198394 13f79535-47bb-0310-9956-ffa450edef68
* Correct cell-borders when border-collapse="separate" and initial support for ↵Jeremias Maerki2005-02-082-8/+44
| | | | | | | | | horizontal border-separation. This is WIP, just a save-point while I'm investigating other issues surrounding tables. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198393 13f79535-47bb-0310-9956-ffa450edef68
* Support for table-cells as direct children of table-body|header|footer.Jeremias Maerki2005-02-085-5/+82
| | | | | | | | The table-cells are grouped into table-rows using starts-row and ends-row properties during FO tree building so the layout managers don't have to handle both cases. This will hopefully keep the code simpler. Additional accessors on some FO objects. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198391 13f79535-47bb-0310-9956-ffa450edef68
* moving retrieve-marker replacement into separate method to make preLoadList ↵Jeremias Maerki2005-02-081-12/+27
| | | | | | easier to read and understand. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198390 13f79535-47bb-0310-9956-ffa450edef68
* Support for border-spacing shorthand.Jeremias Maerki2005-02-074-9/+92
| | | | | | | Accessor for border-separation on table. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198389 13f79535-47bb-0310-9956-ffa450edef68
* Temporary fix for markers (using isBogus() check)Jeremias Maerki2005-02-0710-24/+230
| | | | | | | ipd/height and display-align support for table rows and cells. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198387 13f79535-47bb-0310-9956-ffa450edef68
* Fix for adding absolutely positioned block without children.Jeremias Maerki2005-02-071-8/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198386 13f79535-47bb-0310-9956-ffa450edef68
* use hasBackground() as a fail-fast.Jeremias Maerki2005-02-071-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198385 13f79535-47bb-0310-9956-ffa450edef68
* Additional accessors and style.Jeremias Maerki2005-02-072-25/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198384 13f79535-47bb-0310-9956-ffa450edef68
* Method for determining if there's a background at all.Jeremias Maerki2005-02-071-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198383 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-02-069-24/+22
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Rolled the PageNumberGenerator from PSLM back into PageSequence (slightly simpler, also this functionality is useful for non-layout render types), renamed PageViewport.getPageNumber() to .getPageNumberString() to emphasize what it is actually returning. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198381 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-02-063-56/+30
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Minor variable renaming in PSLM, removed pageCount variable from ATH. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198380 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-02-054-9/+3
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Switch to Root's page number counter. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198379 13f79535-47bb-0310-9956-ffa450edef68
* Better table-column build-up. Columns can now be in non-consecutive order ↵Jeremias Maerki2005-02-041-10/+35
| | | | | | (using column-number) and number-columns-repeated is now respected. Missing columns (gaps) are logged as an error but no further handling ATM. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198376 13f79535-47bb-0310-9956-ffa450edef68
* Checks and an addtional method to determine whether a column-number is set.Jeremias Maerki2005-02-041-7/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198375 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for list labels that were not properly placed when the list-block is ↵Jeremias Maerki2005-02-041-0/+4
| | | | | | a child of a flow and there are margins on the page-master. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198373 13f79535-47bb-0310-9956-ffa450edef68
* Notify the AreaTreeHandler about new pages being added.Jeremias Maerki2005-02-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198372 13f79535-47bb-0310-9956-ffa450edef68
* Add a facility for the PageSequenceLayoutManager to notify about a new page ↵Jeremias Maerki2005-02-031-3/+17
| | | | | | being added so the rendering statistics work again. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198371 13f79535-47bb-0310-9956-ffa450edef68