Commit graph

23123 commits

Author SHA1 Message Date
Miklos Vajna
517c37b146 introduce aListLevelEntries on the stack
With this, it's possible including the contents of aTableSprms when
adding a new list level entry to aTableSprms, reducing the size of the
XML dump for a simple numbering from ~2MB to ~100KB.
2011-06-08 23:15:34 +02:00
Miklos Vajna
d9f2d1df80 implement RTF_PLAIN 2011-06-08 19:54:43 +02:00
Miklos Vajna
52f51f5728 dmapper: fix NS_sprm::LN_CFDStrike with zero nIntValue 2011-06-08 19:47:31 +02:00
Miklos Vajna
fe485bcf98 styles entries can have character and paragraph properties 2011-06-08 19:38:38 +02:00
Miklos Vajna
819e9a02ac keep table, character and paragraph properties separate for \plain and \pard 2011-06-08 19:13:08 +02:00
Miklos Vajna
f40e4a1422 RTF_LEVELSTARTAT is a trivial sprm 2011-06-08 17:17:05 +02:00
Miklos Vajna
7a1492c0d8 RTF_LEVELNFC is a trivial sprm 2011-06-08 17:11:06 +02:00
Miklos Vajna
1140b98eb4 RTF_LISTTEMPLATEID has the same value as RTF_LISTID 2011-06-08 17:09:11 +02:00
Miklos Vajna
6f820de75e RTF_LISTOVERRIDECOUNT stub 2011-06-08 17:06:59 +02:00
Miklos Vajna
50dd03a71f implement RTF_LEVELJC 2011-06-08 17:05:20 +02:00
Miklos Vajna
0b0b40e2f7 RTF_LEVELFOLLOW stub 2011-06-08 17:02:21 +02:00
Miklos Vajna
4570b2322e implement RTF_LANGFE 2011-06-08 16:51:54 +02:00
Miklos Vajna
6354889a0b fix RTF_LS: NS_rtf::LN_LSID is an attribute 2011-06-08 16:29:57 +02:00
Miklos Vajna
6ae6064b16 RTFSprm: pretty-print sprm names 2011-06-08 15:10:36 +02:00
Miklos Vajna
1dea984cb3 send listlevel index to dmapper 2011-06-08 13:21:26 +02:00
Miklos Vajna
8fa15b751b move RTF_LS under numPr as well 2011-06-08 13:02:17 +02:00
Miklos Vajna
3e1d048d30 RTF_ILVL should live under NS_ooxml::LN_CT_PPrBase_numPr 2011-06-08 12:58:13 +02:00
Miklos Vajna
a658c7e7d5 implement RTF_LEVELNFC 2011-06-08 12:45:03 +02:00
Miklos Vajna
349b8a9cd0 resolveChars: return early on skipping destinations
When we skip a destination and it contained a \'xx, it was confusing to
see xx az a character in the output, even it was never sent to the
dmapper.
2011-06-08 12:04:41 +02:00
Miklos Vajna
0a68f9929b implement RTF_LEVELTEXT destination 2011-06-08 11:48:57 +02:00
Miklos Vajna
4418e8136d implement RTF_U 2011-06-08 11:04:47 +02:00
Miklos Vajna
68caec03df resolveParse: hex a..f is 10..15, not 0..5 2011-06-08 10:39:54 +02:00
Miklos Vajna
be697c876d implement RTF_LANG 2011-06-08 10:39:15 +02:00
Miklos Vajna
ef82c0b9d8 dmapper: ListsManager::lcl_entry: rtf is not binary doc 2011-06-07 00:30:36 +02:00
Miklos Vajna
3a0d0d8c70 implement RTF_ILVL 2011-06-06 22:45:59 +02:00
Miklos Vajna
8d2e2ce96d skip RTF_LISTTEXT 2011-06-06 22:00:57 +02:00
Miklos Vajna
fd1babf0d7 implement RTF_LS inside list override table 2011-06-06 21:57:05 +02:00
Miklos Vajna
6654aa503a RTF_LISTID: use ooxml namespace to avoid assertion failure 2011-06-06 21:49:50 +02:00
Miklos Vajna
a487f8ca13 rtfvalue: reasonable getstring output for int values 2011-06-06 21:47:32 +02:00
Miklos Vajna
25a7d3ee8e fix typo, the collected properties go to the list table 2011-06-06 20:10:32 +02:00
Miklos Vajna
17af0c7fda implement collecting at the end of DESTINATION_LISTOVERRIDEENTRY 2011-06-06 19:56:14 +02:00
Miklos Vajna
e38601fa8f collect property set at the end of DESTINATION_LISTLEVEL 2011-06-06 19:42:08 +02:00
Miklos Vajna
96ed2f8c7f RTF_LEVELSTARTAT 2011-06-06 19:28:18 +02:00
Miklos Vajna
84f27cc4ff clean up RTF_LISTID, this code should scale well 2011-06-06 19:22:47 +02:00
Miklos Vajna
261140e021 RTF_LISTLEVEL 2011-06-06 19:10:10 +02:00
Miklos Vajna
5e366be031 initial RTF_LISTID 2011-06-06 18:52:09 +02:00
Miklos Vajna
81d6557636 implement RTF_LIST and RTF_LISTOVERRIDE 2011-06-06 18:02:54 +02:00
Miklos Vajna
bf2090e673 move m_aListTableEntries to the parser
that table is needed by both the list table and the list override table,
so keeping it on the stack has no benefit.
2011-06-06 17:54:51 +02:00
Miklos Vajna
7d5c9a0c9a this should be still a map, not multimap 2011-06-06 17:37:48 +02:00
Miklos Vajna
2aa0cdfb76 rtftok: std::map -> std::multimap
This is required by for example numberings, where keys are not unique.
2011-06-06 15:51:14 +02:00
Miklos Vajna
737334fd81 Implement RTF_LISTTABLE and RTF_LISTOVERRIDETABLE 2011-06-06 11:08:32 +02:00
Miklos Vajna
3c92fa238a implement RTF_TL* 2011-06-03 21:55:58 +02:00
Miklos Vajna
e89de96f5d send text based on current encoding
tested so far only with the "..." support, not with real accents
2011-06-03 21:42:34 +02:00
Miklos Vajna
14ae17f9a4 add support for reading hex chars in \'xx form 2011-06-03 21:42:07 +02:00
Miklos Vajna
6bcc508438 RTF_FCHARSET: fix typo 2011-06-03 21:28:57 +02:00
Miklos Vajna
f5861fa5bd implement RTF_TQC and RTF_TQDEC 2011-06-03 19:51:58 +02:00
Miklos Vajna
07aa1add10 RTFValue: return references, that reduces code here 2011-06-03 19:40:18 +02:00
Miklos Vajna
24068dcf0e lcl_insertTabsTab to avoid code duplication 2011-06-03 19:26:20 +02:00
Miklos Vajna
76b3985830 implement RTF_TQR 2011-06-03 19:21:36 +02:00
Miklos Vajna
c333eeee90 implement RTF_TX 2011-06-03 19:15:30 +02:00