Commit graph

23406 commits

Author SHA1 Message Date
Miklos Vajna
1de245a2cb implement RTF_TITLEPG 2011-06-27 22:13:23 +02:00
Miklos Vajna
85289e8a63 RTF_PGNDEC stub 2011-06-27 22:07:53 +02:00
Miklos Vajna
30805d7e0b implement other header / footer keywords 2011-06-27 21:21:15 +02:00
Miklos Vajna
e8bb4a301e mark local functions as static 2011-06-27 18:35:29 +02:00
Miklos Vajna
b41267fb0a multiple tabs per paragraph: clean up and fix 2011-06-27 18:31:15 +02:00
Miklos Vajna
3777088037 Handle empty fldrslt groups
We used to end the field in a text group, but this won't work for empty
contents.
2011-06-27 18:00:14 +02:00
Miklos Vajna
d16338cdaf substreams can live without section properties 2011-06-27 17:28:14 +02:00
Miklos Vajna
a59b6aba72 output headers/footers at the end of the section 2011-06-27 17:21:28 +02:00
Miklos Vajna
826203a2de explicitly end last section 2011-06-27 17:17:26 +02:00
Miklos Vajna
5d8fc66e8d introduce lcl_TableBreak 2011-06-27 17:06:52 +02:00
Miklos Vajna
371cc95968 convert section break to a method 2011-06-27 17:04:32 +02:00
Miklos Vajna
a9c29d5211 these are attributes 2011-06-27 15:25:22 +02:00
Miklos Vajna
59c0c19ea5 add RTFSprm::erase 2011-06-27 14:04:41 +02:00
Miklos Vajna
27c5340ae1 send section properties to the substream 2011-06-27 12:47:27 +02:00
Miklos Vajna
200cb887aa RTFDocumentImpl::resolveSubstream to avoid code duplication 2011-06-27 11:58:11 +02:00
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