Commit graph

2017 commits

Author SHA1 Message Date
Cédric Bosdonnat
52e6bfeb32 RTF import: fixed the missing paragraph breaks from fdo#43206.
"\\\n" is used as an equivalent to \par even though I couldn't find it
in the specs.
2011-11-25 10:04:41 +01:00
Luboš Luňák
a685e8fb72 remove debug output 2011-11-24 18:44:00 +01:00
Luboš Luňák
f8f1ccbaf9 rename and move mathml oox support classes in oox to better places 2011-11-24 18:43:58 +01:00
Luboš Luňák
e443c83aa3 remove debug output 2011-11-24 18:43:57 +01:00
Luboš Luňák
e9462ed2d9 ooxml mathml import - first very basic implementation
still needs a number of cleanups (and handling more of course)
2011-11-24 18:43:57 +01:00
Luboš Luňák
1acdbe4dfe initial (very hacky) work on mathml ooxml import
This commit needs to be generally reworked for upstream, but it
more or less works.
2011-11-24 18:43:56 +01:00
Cédric Bosdonnat
f4f4a899f0 RTF import: partly fixed the WMF images scaling. 2011-11-24 16:08:46 +01:00
Cédric Bosdonnat
e846db6448 RTF: OLE object import with graphic result fixed, the file can now be opened 2011-11-23 11:24:06 +01:00
Cédric Bosdonnat
a45c82f930 Show some exception message when getting one in RtfFilter 2011-11-23 11:24:06 +01:00
Cédric Bosdonnat
98f32b2b8e RTF import: better implement \trrh to import fixed height rows 2011-11-22 15:17:05 +01:00
Cédric Bosdonnat
b03fbe13f3 writerfilter: Fixed crasher when importing docx files with dbglevel>1 2011-11-22 15:17:05 +01:00
Cédric Bosdonnat
07b5fe3b8c n#417818: empty paragraphs in tables weren't considered in the table.
The paragraph properties weren't propagated to the empty paragraphs in
the tables. Called checkNeedPap() to do that job when finding \par.
2011-11-22 15:17:04 +01:00
Miklos Vajna
fcae5e4103 Related: i#86517 avoid crash on invalid LEVELTEXT 2011-11-21 01:24:23 +01:00
Miklos Vajna
8731f25549 Related: i#83069 fix crash in DomainMapper_Impl::FindOrCreateFieldMaster
The next line would deference a NULL pointer otherwise, so use UNO_QUERY_THROW.
2011-11-21 00:16:42 +01:00
Miklos Vajna
9b78fe9621 Related: i#60831 fix RTF import of DOCPROPERTY fields 2011-11-21 00:16:41 +01:00
Miklos Vajna
3ece03f3d4 Related: i#93039 fix RTF import of MACROBUTTON fields 2011-11-21 00:16:41 +01:00
Miklos Vajna
51a4292c99 RTFSdrImport: unneeded include 2011-11-19 12:55:31 +01:00
Miklos Vajna
59a0064c2a RTFDocumentImpl: remove 15 unused includes 2011-11-18 23:44:24 +01:00
Miklos Vajna
cde0485eae Related: i#2593 fix RTF import of REF fields 2011-11-18 11:17:43 +01:00
Miklos Vajna
a8cae44d7c Related: i#56948 fix crash during RTF import of FILLIN field 2011-11-18 10:59:59 +01:00
Miklos Vajna
3aec127f4d Related i#44806: Fix crash in dmapper when importing FILENAME fields 2011-11-17 17:19:57 +01:00
Miklos Vajna
c2439ecdd4 Related: i#113308 null pointer check for the unit test 2011-11-16 12:00:01 +01:00
Miklos Vajna
bec1bff6af Related i#113308: fix import of RTF table rows having no cells 2011-11-16 11:09:00 +01:00
Caolán McNamara
f535855d7b tagLogger dtor never called 2011-11-14 07:35:56 +00:00
Miklos Vajna
3f170f2232 Related: i#110745 fix crash on invalid RTF tables 2011-11-13 04:14:19 +01:00
Miklos Vajna
3510a6f639 RTFDocumentImpl: cleanup
checkFirstRun() should not do what checkNeedPap() already does
2011-11-13 04:14:19 +01:00
Miklos Vajna
2cbb64ca30 Related: i#108154 null pointer check for the unit test 2011-11-12 15:36:03 +01:00
Cédric Bosdonnat
8a232f0074 RTF import: Fixed unicode characters import, fdo#42109
Actually implemented the \uc to skip the ANSI representation after the
unicode value.
2011-11-12 14:25:11 +01:00
Cédric Bosdonnat
74b6759ee8 n#707157: Word doesn't break the numberings and prefers hiding them
Added a compatibility option to reproduce Word's behavior when importing
Doc, docx and RTF files. The default behavior isn't changed.
2011-11-12 14:25:11 +01:00
Miklos Vajna
843494285d Related: fdo#38966 null pointer check for the unit test 2011-11-12 00:09:31 +01:00
Miklos Vajna
ac8782bd51 Related: fdo#37716 null pointer check for the unit test 2011-11-12 00:03:56 +01:00
Miklos Vajna
444d04b60b Related: fdo#37498 don't try to read after the last closing brace 2011-11-12 00:03:55 +01:00
Miklos Vajna
5a212d501e Related: fdo#33012 null pointer check for the unit test to pass 2011-11-12 00:03:55 +01:00
Noel Power
02c6f5c74b fix rtf image import ( causing wrong image sometimes displayed ) fdo#42640 2011-11-09 14:37:40 +00:00
Cédric Bosdonnat
0e26bd2097 writerfilter import, fixed the shapes import
In some cases like an OLE object inside a textbox, the imported document
was empty. This was due to unremoved text context in dmapper.
2011-11-08 17:05:19 +01:00
Cédric Bosdonnat
b32bcaf10a sw, writerfilter: fixed debug builds and output dmapper table messages 2011-11-08 17:05:19 +01:00
Luboš Luňák
247ac3b109 fix incorrect OSL_FAIL message because of copy&paste 2011-11-08 15:37:54 +01:00
Miklos Vajna
a23ee867ea RTFDocumentImpl: rename m_bIsInShape to m_bIsInFrame
The "in shape" term was confusing since it was false for non-text-frame
shapes all the time.
2011-11-08 15:03:09 +01:00
Miklos Vajna
dc060230a1 RTFDocumentImpl: use boost::shared_ptr for m_pInStream and m_pGraphicHelper 2011-11-06 14:01:22 +01:00
Miklos Vajna
e4323bd5f5 RTF import: close file descriptor once import finished 2011-11-06 13:55:30 +01:00
Miklos Vajna
009c572b2f RTF import: delete graphic helper once it's not used (fdo#42640) 2011-11-06 13:45:28 +01:00
Miklos Vajna
11e227371a Related: i#95668 Fix encoding of non-continuous font indexes
The non-continuous font index first has to be converted before the
encoding can be looked up.
2011-11-02 02:30:47 +01:00
Miklos Vajna
2a5e99cb83 RTF_FFRES should be parsed for list fields only
See spec v1.9.1, page 198.
2011-10-29 01:06:33 +02:00
Miklos Vajna
d6df2cdd2e Fix crash of text frames inside RTF tables (fdo#39856) 2011-10-29 00:58:08 +02:00
Miklos Vajna
43d5a03d02 Related: fdo#39856 fix RTF import of some special accented chars in tables 2011-10-29 00:26:02 +02:00
Michael Stahl
521001049d writerfilter: add some bling to customtarget 2011-10-21 20:17:19 +02:00
Tor Lillqvist
62f4128d74 char can be unsigned, use sal_Int8 2011-10-20 08:41:36 +03:00
Miklos Vajna
ee2e2a1f52 fdo#41080: fix crash while importing footnotes in RTF tables 2011-10-14 14:53:06 +02:00
Caolán McNamara
0123fc6d03 these can go behind DEBUG_CONTEXT_HANDLER 2011-10-10 22:36:55 +01:00
Tor Lillqvist
ebcb781ab0 WaE: class has virtual functions, but destructor is not virtual 2011-10-07 16:10:01 +03:00