Commit graph

23391 commits

Author SHA1 Message Date
Miklos Vajna
70c20482f0 avoid duplicated margin attributes 2011-06-27 11:38:11 +02:00
Miklos Vajna
8c1951cf6b lcl_putNested*: support overwrite 2011-06-27 11:32:36 +02:00
Miklos Vajna
0e856ae2c5 these are attributes 2011-06-27 11:25:12 +02:00
Miklos Vajna
27f477c834 implement RTF_HEADERY and RTF_FOOTERY 2011-06-27 11:20:33 +02:00
Miklos Vajna
8268ca0b75 Enable rtftok on experimental mode only 2011-06-27 11:06:04 +02:00
Miklos Vajna
65f918d8c9 Merge remote-tracking branch 'origin/master' 2011-06-26 00:39:17 +02:00
Matus Kukan
1ef868489e update component factory methods to use new prefixes, to add lib merging 2011-06-24 14:55:37 +01:00
Miklos Vajna
c9c7859798 implement RTF_FOOTER 2011-06-24 13:01:55 +02:00
Miklos Vajna
193c84c49f Call dmapper's substream() method
With this, a simple header is imported properly.
2011-06-24 12:51:50 +02:00
Miklos Vajna
1cf3877e0b substream: parse the current group only 2011-06-24 12:39:23 +02:00
Miklos Vajna
e029b7445d skip the header in the main parser 2011-06-24 12:39:12 +02:00
Miklos Vajna
29041d47d2 initial header substream support 2011-06-24 12:35:02 +02:00
Miklos Vajna
583cae3868 store if this is a substream 2011-06-24 11:43:11 +02:00
Miklos Vajna
704ff47030 store xFrame, needed for substreams 2011-06-24 11:38:30 +02:00
Miklos Vajna
332f0332b9 revert header changes, it's a substream 2011-06-24 11:32:01 +02:00
Miklos Vajna
9f2d7cefbe allow parBreak() to call itself 2011-06-24 11:15:44 +02:00
Miklos Vajna
56958bdc61 paragraph break is now a method, so it can read buffers 2011-06-24 11:03:28 +02:00
Miklos Vajna
076eb49d4c introduce lcl_TableBreak for more readable code 2011-06-24 10:58:16 +02:00
Miklos Vajna
930fd02cbd Fix header buffer writing
- reset table buffers at the end of the row
- set the destination state of inner header groups to normal
2011-06-24 10:41:45 +02:00
Miklos Vajna
fa44765290 don't write to m_aTableBuffer, but to m_pActiveBuffer 2011-06-24 10:24:10 +02:00
Miklos Vajna
36564528c4 enter RTF_HEADER 2011-06-24 09:48:51 +02:00
Miklos Vajna
269e128740 m_aBuffer -> m_aTableBuffer
We'll likely need multiple buffers (for headers, etc.)
2011-06-23 16:45:32 +02:00
Miklos Vajna
7b8f997cc7 implement section and row text direction 2011-06-23 12:49:06 +02:00
Miklos Vajna
95e1b67ea8 implement RTF_ASPALPHA 2011-06-23 12:33:50 +02:00
Miklos Vajna
504ee5c6c3 implement RTF_LOCH, RTF_HICH and RTF_DBCH 2011-06-23 12:18:29 +02:00
Miklos Vajna
b29622fba5 implement page margins 2011-06-23 11:36:40 +02:00
Miklos Vajna
70d8d50e1d implement RTF_PGHSXN and RTF_PGWSXN 2011-06-23 11:23:53 +02:00
Miklos Vajna
44cbdc68f9 RTFDocumentImpl::dispatchValue: introduce pIntValue 2011-06-23 11:20:18 +02:00
Miklos Vajna
5e21f16b2d implement RTF_PAPERH and RTF_PAPERW 2011-06-23 10:54:06 +02:00
Miklos Vajna
b8d60986fe use SAL_N_ELEMENTS 2011-06-23 00:22:57 +02:00
Miklos Vajna
d71f6330fc implement a bunch of trivial symbols 2011-06-23 00:03:45 +02:00
Miklos Vajna
892d33c8d5 close last section at the document end if necessary 2011-06-22 22:57:31 +02:00
Miklos Vajna
b601cffbc6 implement simple page break 2011-06-22 21:58:01 +02:00
Miklos Vajna
8141daf8ae a column can have only two properties, handle together 2011-06-22 21:51:32 +02:00
Miklos Vajna
93f01242ba implement RTF_COLSR 2011-06-22 21:25:47 +02:00
Miklos Vajna
4ff26f5289 non-balanced columns 2011-06-22 21:17:57 +02:00
Miklos Vajna
fe553af4f7 implement RTF_COLSX 2011-06-22 20:48:26 +02:00
Miklos Vajna
a92a870720 implement column break 2011-06-22 19:03:32 +02:00
Miklos Vajna
c4f66a6891 Don't send section properties early
We don't need the trick of paragraph properties here.
2011-06-22 18:58:29 +02:00
Miklos Vajna
53cf30bde8 implement RTF_COLS 2011-06-22 18:49:08 +02:00
Miklos Vajna
98d0937a16 Section properties are a paragraph sprm 2011-06-22 18:44:29 +02:00
Miklos Vajna
5e95fe795a implement RTF_SECTUNLOCKED (dmapper ignores it, though) 2011-06-22 18:15:42 +02:00
Miklos Vajna
57932727d0 implement section breaks 2011-06-22 18:07:10 +02:00
Miklos Vajna
3430986b5c implement RTF_SECT and RTF_SECTD 2011-06-22 17:54:21 +02:00
Miklos Vajna
ffddfa7c55 these are never read 2011-06-22 17:27:20 +02:00
Miklos Vajna
b99c3e551c remove never written nTableCellPops 2011-06-22 15:48:08 +02:00
Miklos Vajna
f2b3903f95 BUFFER_NESTCELLEND is not necessary 2011-06-22 15:46:49 +02:00
Miklos Vajna
2037021fb8 buffer RTF_PAR in tables 2011-06-22 15:34:29 +02:00
Miklos Vajna
b4b86b7fcc Buffer non-nested table cells as well
This is required as Word writes table properties at the end of a row.
2011-06-22 14:52:07 +02:00
Miklos Vajna
37da7aa99a RTF_CELL should alter the cell definition list outside its current group 2011-06-22 13:12:28 +02:00