1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-05 08:27:22 +03:00
Commit Graph

36 Commits

Author SHA1 Message Date
Simon Sapin
6ffe9236b8 Remove references to document in boxes. 2011-12-02 15:34:47 +01:00
Simon Sapin
89e4635ce6 Count the whole table layout algorithm for table wrapper width. 2011-11-30 14:56:57 +01:00
Simon Sapin
9464643f24 Remove Box.broder_*_width, they’re always the same as in Box.style 2011-11-29 12:41:47 +01:00
Simon Sapin
769ce43c25 Correctly handle table margins with width: auto 2011-11-29 11:23:16 +01:00
Simon Sapin
4b75ed4f6e Add a page break before a table if it does not fit on the page. 2011-11-25 17:20:41 +01:00
Simon Sapin
0d3a6f634b Fix position and size of table rows/columns/row groups/column groups. 2011-11-25 16:50:09 +01:00
Simon Sapin
e089ec6615 Complete table layout! 2011-11-24 18:17:03 +01:00
Simon Sapin
f2bc2bf144 Initial layout for tables. (widths/horizontal only) 2011-11-22 13:06:50 +01:00
Simon Sapin
c84aa14c3a Bug fix in page breaking. 2011-10-24 11:14:05 +02:00
Simon Sapin
24602414c2 Allow page overflow if the page has otherwise no content. 2011-10-21 11:14:38 +02:00
Simon Sapin
30e4fe7dc8 Cleanups 2011-10-14 19:00:22 +02:00
Simon Sapin
4123cc6a2a Bug fix in page breaking. 2011-10-14 16:58:57 +02:00
Simon Sapin
8d1ef82177 Remove margin/border/padding when cutting a block for a page break. 2011-10-13 16:28:26 +02:00
Simon Sapin
549f21c7d3 Bugfix: allow (some) page breaks between blocks, not just between lines. 2011-10-13 16:25:08 +02:00
Simon Sapin
fadb60c14f Use strings or numbers instead of lists of cssutils Value objects.
... where appropriate. This remove much of the need for functions like
get_single_keyword and get_single_pixel_value.
2011-10-08 14:41:12 +02:00
Simon Sapin
887ab05d87 Remove usage of Box.containing_block_size in markers.py 2011-10-06 17:47:04 +02:00
Simon Sapin
81f43a92cf Remove usage of Box.containing_block_size in inlines.py 2011-10-06 16:22:54 +02:00
Simon Sapin
ac9e4ae458 Remove usage of Box.containing_block_size in blocks.py 2011-10-06 16:20:03 +02:00
Simon Sapin
ed5c87faea Remove usage of Box.find_page_ancestor 2011-10-06 15:36:19 +02:00
Guillaume Ayoub
e97764c8fa Merge branch 'master' of github.com:Kozea/WeasyPrint
Conflicts:
	weasy/layout/blocks.py
2011-10-03 18:59:01 +02:00
Guillaume Ayoub
063c3b0331 Make the parent box children immutable 2011-10-03 18:57:26 +02:00
Simon Sapin
b587438c33 Move page break handling out of inlines.py 2011-10-03 17:55:41 +02:00
Simon Sapin
cc85f95c5b Use index stacks instead of popleft for line and page breaks. 2011-10-03 16:14:50 +02:00
Guillaume Ayoub
62fb6b55c0 Fix 2 line lengths 2011-09-02 18:46:13 +02:00
Simon Sapin
5dc9456dfe Correct replaced box layout. 2011-08-26 16:16:40 +02:00
Simon Sapin
c757ba05b4 Fix 'auto' margins on replaced blocks. 2011-08-25 17:33:44 +02:00
Simon Sapin
ad4e3d475c Do not repeat list markers when a list-item box is split at a page break. 2011-08-25 10:51:36 +02:00
Simon Sapin
344f59fd3a Fix missing content at page breaks. 2011-08-24 18:27:05 +02:00
Guillaume Ayoub
f3eed11f15 Clean weasy/layout/blocks 2011-08-24 10:25:45 +02:00
Salem Harrache
a4892f7c9d save linebox children in deque instead of list 2011-08-23 11:06:41 +02:00
Simon Sapin
da655393b9 Put back lines that are beyond the page, for use in the next page. 2011-08-22 18:38:15 +02:00
Salem Harrache
682a34006f Merge branch 'master' of github.com:Kozea/WeasyPrint
Conflicts:
	weasy/draw/helpers.py
	weasy/layout/__init__.py
	weasy/layout/blocks.py
	weasy/layout/inlines.py
2011-08-22 18:33:20 +02:00
Salem Harrache
c0e912876f add InlineContext object for backtracking linebreak 2011-08-22 18:20:23 +02:00
Simon Sapin
0e4b110b1e Very early support for pages breaking. 2011-08-22 18:14:37 +02:00
Guillaume Ayoub
528d5e949e Add a weasy/layout/markers module, fixes the circular imports 2011-08-22 15:37:10 +02:00
Simon Sapin
cc0ec63bb8 Rename weasy.layout.*_formating_context to shorter names. 2011-08-22 11:48:11 +02:00