Commit graph

23136 commits

Author SHA1 Message Date
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
Miklos Vajna
61f9a54b21 reset cell definition list on trowd 2011-06-22 13:12:00 +02:00
Miklos Vajna
ec22bf47b1 send table width to dmapper 2011-06-22 11:29:13 +02:00
Miklos Vajna
10493b75a3 RTFDocumentImpl: no longer necessary debug message 2011-06-22 11:17:52 +02:00
Miklos Vajna
639732f50e introduce lcl_Break 2011-06-21 00:15:15 +02:00
Miklos Vajna
18df7b6b5a avoid unnecessary OUString 2011-06-21 00:10:22 +02:00
Miklos Vajna
2b0526cf4f buffering row ends is not necessary 2011-06-20 22:05:56 +02:00
Miklos Vajna
53561d51c7 Nested tables: buffer cell contents till cell definitions
This is necessary as nested cells' RTF_CELLX definition hits the parser
later, than the actual \nestcell cell contents.
2011-06-20 22:02:56 +02:00