Commit graph

23656 commits

Author SHA1 Message Date
Miklos Vajna
ba082513c9 implement RTF_SUPER / RTF_SUB 2011-06-29 10:00:38 +02:00
Muthu Subramanian
5e30bfb921 Improved xlsx formula import.
Now uses the values present in the import document
rather than calculating the formula. This speeds up
document loading.
TODO: Extend this to string results as well.
2011-06-29 12:56:51 +05:30
Caolán McNamara
26cdd787f6 CreateFromDouble->valueOf 2011-06-27 23:55:09 +01:00
Miklos Vajna
77354635bf colums can use the border accessor as well 2011-06-28 00:13:17 +02:00
Miklos Vajna
e1c8813213 introduce lcl_getBordersAttributes to avoid code duplication 2011-06-28 00:08:00 +02:00
Miklos Vajna
486e5c0c81 implement section borders 2011-06-28 00:04:07 +02:00
Miklos Vajna
c2026fa9a8 introduce RTFBorderState 2011-06-27 23:40:14 +02:00
Miklos Vajna
2cad2a5fa0 implement RTF_DEFTAB 2011-06-27 23:20:49 +02:00
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
Tor Lillqvist
12330bfe5b Fix Windows build 2011-06-27 14:06:18 +03: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