Commit graph

2131 commits

Author SHA1 Message Date
Miklos Vajna
d4ad67379e WaE: initialise these, older gcc does not recognize we always do so later 2011-08-12 15:24:42 +02:00
Miklos Vajna
dd525ec15c Merge remote-tracking branch 'feature/gsoc2011_rtfimport' 2011-08-12 14:58:10 +02:00
Miklos Vajna
bcc2fbef8f fdo#37691: Initial support for the textbox shape
For now, only pictures supported
2011-08-12 12:34:26 +02:00
Miklos Vajna
f40fcd9d10 support picture at the start of the document 2011-08-12 12:19:08 +02:00
Miklos Vajna
e0514fd4e8 Picture frame: we need the destination text outside the pict group
I broke this in 6751324082
2011-08-12 11:40:21 +02:00
Norbert Thiebaud
751531df52 add the module oox into tail_build's fold 2011-08-11 23:10:40 -05:00
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
Luboš Luňák
f511fee19b adjust for timezone when reading datetime 2011-08-11 16:02:50 +02:00
Luboš Luňák
593ae387ce do not ignore attributes on <w:comment> 2011-08-11 16:02:49 +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
Matúš Kukan
0ed9ed793d correct dependencies in writerfilter 2011-08-11 15:20:54 +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
Takeshi Abe
b2bd33ea25 prefer makefile-gmake-mode to plain makefile-mode 2011-08-10 02:12:48 +09: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