Commit graph

23514 commits

Author SHA1 Message Date
Miklos Vajna
328d154015 resolvePict: import the stream as a graphic object 2011-06-10 18:56:08 +02:00
Miklos Vajna
a15e61ec50 pass the component context to RTFDocumentImpl 2011-06-10 18:34:35 +02:00
Miklos Vajna
2bdecc7110 provide picture data as XInputStream 2011-06-10 16:15:51 +02:00
Miklos Vajna
582630888b use asHex() in resolvePict() 2011-06-10 15:31:49 +02:00
Miklos Vajna
8c7eaf10be factor out RTFDocumentImpl::asHex 2011-06-10 15:26:18 +02:00
Miklos Vajna
240d78c022 RTFDocumentImpl::resolvePict skeleton 2011-06-10 14:54:57 +02:00
Fridrich Štrba
346dbb0a6e For the time being approximate ellipic arc with a straight line 2011-06-10 14:50:02 +02:00
Miklos Vajna
99089efda0 RTF_ULNONE is a flag 2011-06-10 13:16:15 +02:00
Muthu Subramanian
7e152b6746 n#683578: Performance improvements for xlsx imports.
Specifically reduces the number of UNO calls for
importing cell attributes.
2011-06-10 12:39:08 +05:30
Caolán McNamara
403eb7e5b1 oops, this comparator doesn't order correctly 2011-06-10 00:08:54 +01:00
Caolán McNamara
d4f2fd7fcb init this to NULL to match dtor assert 2011-06-10 00:08:54 +01:00
Julien Nabet
31d9a8682b Some cppcheck cleaning 2011-06-09 23:14:20 +02:00
Julien Nabet
097225a9ce Some cppcheck cleaning 2011-06-09 23:06:51 +02:00
Julien Nabet
121ec60a5d Some cppcheck cleaning 2011-06-09 22:32:17 +02:00
Miklos Vajna
2fb2339e77 enter RTF_SHPPICT and RTF_PICT 2011-06-09 16:50:28 +02:00
Fridrich Štrba
8821487f7a Workaround a limitation of draw 2011-06-09 15:03:27 +02:00
Fridrich Štrba
5be713f813 Give a more dignified name to the Visio file-format 2011-06-09 15:01:30 +02:00
Miklos Vajna
558d5c25a0 implement RTF_LTRPAR and RTF_RTLPAR 2011-06-09 14:59:11 +02:00
Miklos Vajna
b13d5a8321 implement RTF_AI 2011-06-09 14:44:09 +02:00
Miklos Vajna
ce53091e03 '1.' (with '2.' prefix omitted) is %2, not %1 2011-06-09 13:31:05 +02:00
Miklos Vajna
abbb7f0c35 implement DESTINATION_LEVELNUMBERS 2011-06-09 12:43:03 +02:00
Miklos Vajna
c78750e10f add RTFValue::setString() 2011-06-09 12:39:23 +02:00
Miklos Vajna
22a8ffcde5 better RTF_LEVELTEXT support
numberings with style "none" are now imported
2011-06-09 11:06:52 +02:00
Miklos Vajna
71a50a9d6c cleanup 2011-06-09 10:14:43 +02:00
Caolán McNamara
45395858ba these are empty by default 2011-06-09 00:30:34 +01:00
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
Fridrich Štrba
a90fa6413f Laying foundation for multipage support in writerperfect's OdgGenerator 2011-06-08 14:44:37 +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
Joseph Powers
991fce7134 gcc 4.0 doesn't support the C++0x usage of enum::value 2011-06-07 21:12:25 -07:00