Commit graph

2009 commits

Author SHA1 Message Date
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
Tor Lillqvist
86cbc1dd99 WaE: switch statement contains 'default' but no 'case' labels 2011-10-07 15:56:03 +03:00
Tor Lillqvist
d0aaada282 WaE: unreferenced local variable 2011-10-07 15:56:01 +03:00
Tor Lillqvist
11b64d662d WaE: assignment within conditional expression
A whole bunch of them.
2011-10-07 15:55:59 +03:00
Tor Lillqvist
e76df814a5 WaE: type name first seen using 'struct' now seen using 'class' 2011-10-07 15:55:57 +03:00
Tor Lillqvist
535cd4acc2 WaE: unreferenced local variable 2011-10-07 15:55:54 +03:00
Caolán McNamara
eddc7f6846 WaE: unused variables 2011-10-05 16:30:08 +01:00
Caolán McNamara
1f5c696c37 add mode-lines to .m files and last round of merged files, etc. 2011-09-30 09:09:25 +01:00
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00