Miklos Vajna
7a01b7cba3
we already have a using directive for these
2011-08-11 16:45:33 +02:00
Miklos Vajna
70569eb6d6
fix the "last char is missing from footnote when Word produces the rtf" bug
2011-08-11 16:23:48 +02:00
Miklos Vajna
d80ff1025b
ignore RTF_FORMSHADE
2011-08-11 16:00:55 +02:00
Miklos Vajna
fa73964707
implement RTF_NOLINE
2011-08-11 15:43:29 +02:00
Miklos Vajna
bad3177c55
the rtf exporter uses RTF_ENDDOC to order footnotes to the end of a chapter
2011-08-11 15:26:02 +02:00
Miklos Vajna
c8f3ce0a24
rtftok: send footnote numbering types
2011-08-11 14:59:00 +02:00
Miklos Vajna
df10654b1d
dmapper: implement footnote numbering types
2011-08-11 13:35:55 +02:00
Miklos Vajna
308df0b438
skip RTF_AFTNRSTCONT and RTF_AFTNRESTART
2011-08-11 12:20:42 +02:00
Miklos Vajna
4ace481210
implement footnote numbering types
2011-08-11 11:09:09 +02:00
Miklos Vajna
5a38c231cc
implement RTF_FTNSTART
2011-08-11 10:22:41 +02:00
Miklos Vajna
8d4a0dbc11
it's enough to set these as a default sprm
2011-08-11 10:14:27 +02:00
Miklos Vajna
da8f7be84f
implement RTF_AFTNSTART
2011-08-11 10:10:26 +02:00
Miklos Vajna
d7d9d3a744
implement endnote numbering types
2011-08-10 20:14:02 +02:00
Miklos Vajna
53b709286c
skip RTF_AENDDOC and RTF_AENDNOTES
2011-08-10 19:12:03 +02:00
Miklos Vajna
7c9156d9c5
implement the RTF_FALT destination
2011-08-10 18:43:08 +02:00
Miklos Vajna
6751324082
Move destination text to RTFParserState
...
For example a font name may be interrupted by an RTF_FALT destination
anytime.
2011-08-10 18:35:54 +02:00
Miklos Vajna
3721e245b4
RTFDocumentImpl: avoid raw pointers
2011-08-10 17:07:52 +02:00
Miklos Vajna
41430f1026
RTFValue: avoid raw pointers
2011-08-10 16:40:39 +02:00
Miklos Vajna
e20a75a4f3
dmapper: implement PAGEREF field
2011-08-10 16:15:23 +02:00
Miklos Vajna
ed7b24e4d5
Fix page numbers
...
I broke that in commit 5338fee30b
2011-08-10 11:44:04 +02:00
Miklos Vajna
e7253c562e
use RTFSkipDestination instead of skipDestination()
2011-08-08 23:43:55 +02:00
Miklos Vajna
825c6e7190
Add a new RTFSkipDestination class
...
The idea is that calling skipDestination() all the time before return is
boring: better to just place an RTFSkipDestination and its destructor
will do its job when it goes out of scope.
2011-08-08 23:41:44 +02:00
Miklos Vajna
197fe11da2
RTFDocumentImpl: add set/get methods for SkipUnknown
2011-08-08 23:24:17 +02:00
Miklos Vajna
98158723b2
implement font alignment paragraph sprms
2011-08-08 18:49:31 +02:00
Miklos Vajna
9d4f6c02b1
dmapper: paragraph vertical alignment support
2011-08-08 17:26:28 +02:00
Miklos Vajna
57a189d7f9
DomainMapper_Impl::AddBookmark: missing empty stack check
2011-08-08 16:18:56 +02:00
Miklos Vajna
ea31506b0d
fix shape import for the unit test
2011-08-08 16:16:24 +02:00
Miklos Vajna
5338fee30b
dmapper: more null pointer checks for the unit test
2011-08-08 16:15:58 +02:00
Miklos Vajna
88f72f525c
testrtf: add support for an indeterminate directory
2011-08-08 16:15:57 +02:00
Miklos Vajna
e077fe6efa
Fix paragraph styles in non-debug build
...
In debug build, StyleSheetEntry::StyleSheetEntry already set the style
type to paragraph.
2011-08-08 13:11:03 +02:00
Miklos Vajna
c6f68eb654
modelfactory may not be available, that's fine
2011-08-08 12:17:08 +02:00
Norbert Thiebaud
7851e052d4
[PATCH] do not use hard-code/clone/in writerfilter tests
2011-08-06 13:07:58 -05:00
Takeshi Abe
1a44d29eb1
Emacs modeline compatible with vim's one
2011-08-05 10:59:45 +09:00
Caolán McNamara
5c40862ac9
add another dependency
2011-08-04 13:57:05 +01:00
Miklos Vajna
9093cbb476
testrtftok: depend on writerfilter
2011-08-04 14:38:38 +02:00
Miklos Vajna
b030c48949
RTFDocumentImpl::dispatchSymbol: warning fix
2011-08-04 12:32:39 +02:00
Miklos Vajna
1c043a8fde
Merge remote-tracking branch 'feature/gsoc2011_rtfimport'
2011-08-04 12:05:49 +02:00
Miklos Vajna
74561937b7
CVE-2010-3451-1.rtf: reduce size of this
...
The fix for this is in commit 9bd6527559cf12ef7b04761212e26149e1a229a7,
reverting the rtfnum.cxx part of it shows that this smaller sample tests
the issue as well.
2011-08-04 01:31:34 +02:00
Miklos Vajna
6f48388f89
add new failing test rtf files
2011-08-04 01:18:52 +02:00
Miklos Vajna
4b3008dc45
testrtf: ignore dotfiles
2011-08-04 01:04:15 +02:00
Miklos Vajna
fe02b4ec17
reject files with unmatched { or }
2011-08-04 00:57:43 +02:00
Miklos Vajna
957a48e650
dmapper: m_xText may be null
2011-08-04 00:57:24 +02:00
Miklos Vajna
a249d1e96f
testrtftok: fix path on windows
2011-08-03 21:35:15 +02:00
Miklos Vajna
0b4df1d83d
a control word's name cannot be longer than 32 letters
2011-08-03 20:18:18 +02:00
Miklos Vajna
a426d5890e
more passing rtf test docs
2011-08-03 19:47:22 +02:00
Miklos Vajna
7a897a329b
fixes for CVE-2010-3333-1.rtf
2011-08-03 19:47:22 +02:00
Miklos Vajna
f2c14788dd
fixes for CVE-2007-0245-1.rtf
2011-08-03 19:42:07 +02:00
Miklos Vajna
e9eeee0d82
initial rtf unit test
2011-08-03 19:35:05 +02:00
Miklos Vajna
6353ccd87f
couple of null pointer checks for the unit test
2011-08-03 19:02:44 +02:00
Miklos Vajna
735dea2d93
the old filter does not support parsing without a destination document
2011-08-03 16:36:13 +02:00