Miklos Vajna
|
360480425a
|
these static methods are no longer needed
|
2011-07-29 17:32:40 +02:00 |
|
Miklos Vajna
|
b612a56783
|
Introduce the RTFSprms class
Instead of hardwiring an ugly list in RTFParserState::Clone(), turn the
RTFSprms_t typedef to a real class with a proper copy constructor.
|
2011-07-29 17:32:40 +02:00 |
|
Miklos Vajna
|
572bad05f8
|
Introduce RTFParserState::Clone, closes fdo#36922
|
2011-07-29 17:32:40 +02:00 |
|
Miklos Vajna
|
6596e6880e
|
Make RTFValue::Clone a deep copy
Otherwise nested attributes/sprms won't be restored when popping the
parser state.
|
2011-07-29 17:32:40 +02:00 |
|
Miklos Vajna
|
77097a386f
|
RTF_SL: ignore zero parameter, that means auto, which is the default
|
2011-07-29 17:32:40 +02:00 |
|
Miklos Vajna
|
d2d77fd86e
|
groups inside font/style/revision tables are optional
|
2011-07-29 17:32:40 +02:00 |
|
Miklos Vajna
|
4864ca3b6a
|
Alter font/style tables earlier
Now that those tables belong to the document, no need to delay the
addition of entries.
|
2011-07-29 17:32:40 +02:00 |
|
Miklos Vajna
|
3b47c0788e
|
Move font and style table out of rtf parser state
Those tables are global, so they belong to the document, not to the
parser state.
|
2011-07-29 17:32:40 +02:00 |
|
Miklos Vajna
|
32a8777fd8
|
implement RTF_ATNAUTHOR
|
2011-07-29 17:32:40 +02:00 |
|
Miklos Vajna
|
d92d5aea5d
|
implement RTF_ATNDATE
|
2011-07-29 17:32:40 +02:00 |
|
Miklos Vajna
|
6e1b869de4
|
don't try to close the last section if it's not started
|
2011-07-29 17:32:39 +02:00 |
|
Miklos Vajna
|
c67e8d76d2
|
fixes for CVE-2010-3333-1.rtf
|
2011-07-29 17:32:39 +02:00 |
|
Miklos Vajna
|
b96d333787
|
fixes for CVE-2010-3451-1.rtf
|
2011-07-29 17:32:39 +02:00 |
|
Miklos Vajna
|
7757cb0a7e
|
don't try to skip the header of an empty stream
|
2011-07-29 17:32:39 +02:00 |
|
Miklos Vajna
|
027c31207a
|
skip the ole header when sending native data
|
2011-07-29 17:32:39 +02:00 |
|
Miklos Vajna
|
6c144a4cf0
|
Initial OLE object support
Size and replacement graphic already works.
|
2011-07-29 17:32:39 +02:00 |
|
Miklos Vajna
|
9756f6efdc
|
teach RTFValue to deal with io::XInputStream
|
2011-07-29 17:32:39 +02:00 |
|
Miklos Vajna
|
8aa3f0d155
|
enter object and result destinations
|
2011-07-29 17:32:39 +02:00 |
|
Miklos Vajna
|
bdc2e95be6
|
implement RTF_COMMENT
|
2011-07-29 17:32:39 +02:00 |
|
Miklos Vajna
|
bd7528d7da
|
implement RTF_COMPANY
|
2011-07-29 17:32:39 +02:00 |
|
Miklos Vajna
|
23b0f427f2
|
implement RTF_OPERATOR
|
2011-07-29 17:32:39 +02:00 |
|
Miklos Vajna
|
9e759b5025
|
implement RTF_VERSION
|
2011-07-29 17:32:39 +02:00 |
|
Miklos Vajna
|
21e6699958
|
implement RTF_NOFCHARSWS
|
2011-07-29 17:32:39 +02:00 |
|
Miklos Vajna
|
68b86b13ef
|
implement RTF_NOFPAGES, WORDS, CHARS
|
2011-07-29 17:32:39 +02:00 |
|
Miklos Vajna
|
efef084311
|
implement RTF_EDMINS
|
2011-07-29 17:32:39 +02:00 |
|
Miklos Vajna
|
cfe9c5777b
|
implement RTF_AUTHOR
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
d4ce64b485
|
rtftokenizer should not know about charsets
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
9a3392f871
|
rtfcontrolwords should not know about rtfdocumentimpl
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
10f3a47b52
|
implement RTF_PRINTIM
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
7524ddc126
|
introduce lcl_getDateTime
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
9e10670cc9
|
implement RTF_REVTIM
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
e50fdb53a8
|
implement RTF_CREATIM
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
0797eb7c5e
|
introduce RTFTokenizer
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
cd8ab067c5
|
introduce RTFFormFieldTypes
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
078881494c
|
implement RTF_FF*RES for dropdown lists
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
d79a73fc16
|
implement RTF_FFL
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
8b227c552a
|
debug code in product build
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
24957e8562
|
implement formtext field
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
c4f7573181
|
ignore formfield outside fldinst
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
63f4b1367f
|
implement RTF_FFDEFRES and RTF_FFRES for checkboxes
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
a17c8edd5a
|
RTF_FFTYPE: we need it later, but not dmapper
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
0e7ac3bc01
|
implement RTF_FFNAME
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
bc49087c32
|
enter formfield destination
|
2011-07-29 17:32:38 +02:00 |
|
Miklos Vajna
|
d8c57765e9
|
move drawpage handling to sdrimport
|
2011-07-29 17:32:37 +02:00 |
|
Miklos Vajna
|
24c413558a
|
factor out shape import to the RTFSdrImport class
|
2011-07-29 17:32:37 +02:00 |
|
Miklos Vajna
|
f0b1ff715e
|
shape type 0 is no longer special
|
2011-07-29 17:32:37 +02:00 |
|
Miklos Vajna
|
cf9405a6ce
|
the scope of path properties can be reduced
|
2011-07-29 17:32:37 +02:00 |
|
Miklos Vajna
|
6e7f7864de
|
the path property is now created independent from the type
|
2011-07-29 17:32:37 +02:00 |
|
Miklos Vajna
|
0a5f10879f
|
avoid hardwired size for path properties
|
2011-07-29 17:32:37 +02:00 |
|
Miklos Vajna
|
57a44d0cf5
|
implement freeform lines
|
2011-07-29 17:32:37 +02:00 |
|