Commit graph

23123 commits

Author SHA1 Message Date
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
Miklos Vajna
944c242048 Initial nested table support
Implement RTF_NESTTABLEPROPS, RTF_NONESTTABLES, RTF_NESTCELL,
RTF_NESTROW and RTF_ITAP.
2011-06-20 16:53:00 +02:00
Miklos Vajna
7d954792ff cell borders are sprms 2011-06-20 13:54:30 +02:00
Miklos Vajna
ac6f0ff1f8 implement RTF_TRRH 2011-06-20 13:46:01 +02:00
Miklos Vajna
9443bff00d implement RTF_TRKEEP 2011-06-20 13:17:59 +02:00
Miklos Vajna
951b737566 Reset cell properties on RTF_CELLX
This fixes import of tables when the first cell has no properties
2011-06-20 12:51:07 +02:00
Miklos Vajna
2ce5dbe263 RTF_CELLX: fix assignment of previous cell abs width 2011-06-20 11:18:26 +02:00
Miklos Vajna
217b9e6f40 implement RTF_CLVERTAL* 2011-06-17 23:38:15 +02:00
Miklos Vajna
5710898ee7 introduce lcl_putNestedAttribute 2011-06-17 22:12:56 +02:00
Miklos Vajna
4df4955319 implement RTF_CLCBPAT 2011-06-17 21:51:03 +02:00
Miklos Vajna
05dde209b0 implement RTF_CELLX 2011-06-17 18:18:30 +02:00
Miklos Vajna
173f7d10fa implement vertical spans for tables 2011-06-17 17:52:42 +02:00
Miklos Vajna
415be269e8 make RTF_CELL and RTF_ROW dmapper xml dump valid again 2011-06-17 17:17:52 +02:00
Miklos Vajna
ab6ae4b17c introduce lcl_putBorderProperty
also, getBorderTable can be a local function
2011-06-17 12:50:39 +02:00