Commit graph

2154 commits

Author SHA1 Message Date
Luboš Luňák
eccb19aebb Revert "adjust for timezone when reading datetime"
This reverts commit 7fcd99b3d261b0bd76bbf4a7f9bfcb93793be4e4.
Apparently everybody lives in UTC+0 timezone according to MSOffice,
wherever they live.
2011-08-18 15:15:50 +02:00
Miklos Vajna
10de8cf0e3 warnings fixes for RTFPicture and RTFFrame 2011-08-18 15:09:59 +02:00
Miklos Vajna
13c00ce322 Enable the writerfilter-based RTF import in non-experimental mode
Disable the unit tests in sw, as that would duplicate the unit test in
writerfilter now.

Do not remove the old filter yet, so this commit can be reverted later
if needed.
2011-08-18 12:11:03 +02:00
Miklos Vajna
7f3a3e02d7 Tokenize text::HoriOrientation 2011-08-18 02:28:45 +02:00
Miklos Vajna
57f28d9900 complete text::VertOrientation 2011-08-18 02:14:02 +02:00
Miklos Vajna
5d2a624f46 tokenize text::RelOrientation 2011-08-18 02:09:30 +02:00
Miklos Vajna
d8ceaa2fb5 implement RTF_FLYANCHOR 2011-08-18 01:54:39 +02:00
Miklos Vajna
e4c1f2a7ab dmapper: don't reset anchor type of text frames 2011-08-18 01:53:16 +02:00
Miklos Vajna
0b415dac18 these ctors are unused 2011-08-18 01:03:51 +02:00
Miklos Vajna
2e67f17fb3 fly props are needed outside their destination 2011-08-18 01:01:57 +02:00
Miklos Vajna
6c8d683a4b implement RTF_FLYVERT and RTF_FLYHORZ 2011-08-18 00:56:43 +02:00
Miklos Vajna
a5d694abef enter RTF_FLYMAINCNT 2011-08-18 00:38:48 +02:00
Miklos Vajna
32ebb1e830 Add data structures to import LO-specific fly frame RTF extensions 2011-08-18 00:34:42 +02:00
Miklos Vajna
2f2c6b05cb Support empty paragraphs in text frames 2011-08-18 00:07:36 +02:00
Miklos Vajna
fd0a8ca957 Support multiple paragraphs inside a single frame 2011-08-17 23:54:17 +02:00
Miklos Vajna
b7633fa4b2 Implement textframe margins 2011-08-17 21:12:25 +02:00
Miklos Vajna
174b65ec87 initial textframe support 2011-08-17 20:49:52 +02:00
Miklos Vajna
2f6dab7668 dmapper: textframes have to be inserted before text can be appended to them 2011-08-17 18:24:33 +02:00
Miklos Vajna
997cd18a65 send crop values to dmapper 2011-08-15 13:09:12 +02:00
Miklos Vajna
db55a63928 implement RTF_PICWGOAL and RTF_PICHGOAL 2011-08-15 12:54:01 +02:00
Miklos Vajna
08a968d100 unused code: picture size is set in the extent attributes 2011-08-15 12:20:19 +02:00
Miklos Vajna
eecb1bb4ef no special handling of text box shapes, we already have a drawpage set 2011-08-12 18:33:52 +02:00
Miklos Vajna
dddba7cb21 bugus null pointer check 2011-08-12 17:41:38 +02:00
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