summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-24coverity#707318 Uncaught exceptionCaolán McNamara
Change-Id: I65bfcbe4ab6fceed3ae474dcb3225df197ddaa2b
2014-02-24coverity#735810 Dereference after null checkCaolán McNamara
Change-Id: I005ae6bf505fd2131c06e889f9fc3c12dae23c64
2014-02-24coverity#735808 Dereference after null checkCaolán McNamara
Change-Id: Idd8ff57f5c970d15e199831bb1b1251ced32eeec
2014-02-24coverity#735747 Dereference after null checkCaolán McNamara
also coverity#736774 Dereference before null check Change-Id: Ic2e2a341565af0609ec748b40ac7848a46c9e3af
2014-02-24coverity#735751 Dereference after null checkCaolán McNamara
Change-Id: Id7e11fefec40d11c509bde01533122ca68db7402
2014-02-24coverity#735801 Dereference after null checkCaolán McNamara
Change-Id: I4a403098388bdb7f4f09242fcd71a50d38fc630e
2014-02-24warning C4805: '==' : unsafe mix of type 'sal_Bool' and type 'bool'Stephan Bergmann
Change-Id: I3719401a0eb68ba9204be19c2dd4f93617bf097c
2014-02-24sw: Unit test for spreadsheets embedded in docxJacobo Aragunde Pérez
Change-Id: I0a91ea0ca36d57320c3495a5cedba7924d3a7ea7
2014-02-24sw: Preserve embedded spreadsheets in docxJacobo Aragunde Pérez
Embedded spreadsheets consist on two files: * The spreadsheet found in word/embeddings/ directory. * A preview image found in word/media/ directory. This patch saves these two files and writes the proper XML to the document. It looks like this: <w:object> <v:shape id="ole_rId2" style="width:362.55pt;height:145.7pt" o:ole=""> <v:imagedata r:id="rId3" /> </v:shape> <o:OLEObject Type="Embed" ProgID="Excel.Sheet.12" ShapeID="ole_rId2" DrawAspect="Content" ObjectID="_227653443" r:id="rId2" /> </w:object> Some simplifications were done in comparison with the XML generated by Word; the lines above seem to be the minimum working code. Similarly to drawings, charts, etc. our code postpones the actual process of the OLE objects until the rPr tag is closed. TODO: * Unit tests. * Add information about xlsx extension to [Content_Types].xml * Without that, Word doesn't detect the OLE as an spreadsheet. Change-Id: Ia0c797b72cd6e99ca9ad7fa11897b62ab3867a5e
2014-02-24filter: Code reduction, prevents crash.Jacobo Aragunde Pérez
Not all shape types have the full com.sun.star. prefix, for example FrameShape. The existing code would crash in that case, but the new code doesn't. Change-Id: I9aa3d0f20f48ab91a6770e8409a8da2028816504
2014-02-24comphelper: EmbeddedObjectContainer::GetObjectStream methodsJacobo Aragunde Pérez
These methods were added to provide access to the stream to the embedded object itself. Change-Id: I0a47a54852cddbd5ddd0a6599bba21999afd96ba
2014-02-24comphelper: code refactorJacobo Aragunde Pérez
Change-Id: Ica71d0691cf02aeaa03b6570015d9828cd7daeed
2014-02-24nss: continue delivering libsqlite on Mac OS X 10.5Douglas Mencken
Change-Id: Ibfd47071c73fc5f6c48d268a1f00d7f52762d0f2 Reviewed-on: https://gerrit.libreoffice.org/8204 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-02-24Restore abandoned lines in bridges/Library_cpp_uno.mkDouglas Mencken
Fixes build error: bridges/Module_bridges.mk:29: *** no bridge selected for build: bailing out. Stop. Change-Id: I1d173e75ade45878e53ed07758783bdb5a7370c8 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-02-24Yet another one undefined comparison of 'const' and a 'non-const' iteratorsDouglas Mencken
Fixes: no match for ‘operator!=’ in ‘i != std::vector<_Tp, _Alloc>::rend() [with _Tp = rtl::OUString, _Alloc = std::allocator<rtl::OUString>]()’ Change-Id: I7b4ba07ebe51c73893a3d6b77dcf5681b7638efb Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-02-24error: enumeral and non-enumeral type in conditional expressionStephan Bergmann
Change-Id: I30293ac22fb26e0f7c9bfd335ccaa9a2d263d02f
2014-02-24Replace exisiting TriState, AutoState with more generic TriStateStephan Bergmann
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-24offapi: document the 4 new properties which are no longer read-onlyMiklos Vajna
Change-Id: Ia2844af91159bf4a512fcb70883fc6a1eddfce35
2014-02-24SwXShape: implement reading the Relative*Relation propertiesMiklos Vajna
Change-Id: I1e99a2ff08c83ac361ab001e90047d9b8d5524fc
2014-02-24SwXShape: implement reading the RelativeWidth propertyMiklos Vajna
Change-Id: I40d451c170699ed7616c1159a354bd93444743c0
2014-02-24SwXShape: implement reading of the RelativeHeight propertyMiklos Vajna
Change-Id: I479eabcd45b741a633d7d00b2bdcbd3d0dcbf0ff
2014-02-24toolkit: sal_Bool -> boolStephan Bergmann
Change-Id: I5153c4413004d1b50cc503b3e70657bc831a5793
2014-02-24Re-introduce code to try to get GDI metafile replacement imageTor Lillqvist
The code was commented out in 2009 in CWS metropatch01_DEV300, with any reasoning behind it lost in history, and then cleaned away in 2010. Re-introduce the bit that tries FORMAT_GDIMETAFILE. Seems to work for data that produces a reasonably sized metafile. (For data from an Excel "Select All" followed by "Copy", that puts a million rows on the clipboard, good luck... Unfortunately when doing that in Excel, sometimes you get a million rows, sometimes just the non-empty relevant part of the worksheet.) Change-Id: Ib5f1a989b65ad0a30194a1ed23f8b94dd3822cac
2014-02-24Here the line made sense, bring it back.Jan Holesovsky
Change-Id: Iba1c798edfe1b0eb5edcba904ceacec9174cacc6
2014-02-24OUString -> const OUString&, Sequence<> -> const Sequence<>&Jan Holesovsky
Change-Id: I5d17a04fe0a3051374d75d9c989d95377f18c79d
2014-02-24make the implementation use the same type than the declarationNorbert Thiebaud
Change-Id: I860e6db6ea4a7a7194283ba4fc23ae30cb1de4f8 Reviewed-on: https://gerrit.libreoffice.org/8201 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-24abi#11739 DOCX export: fix validation error, wrong order of some elementsMiklos Vajna
Change-Id: Ic1c0174718ba6853fcc8795324a99b2a332b865e
2014-02-24Remove some temporaries around calls to SvNumberFormatter methodsMatteo Casalin
Change-Id: Ib03c97a52df120bac1ac9b2b9d2e52431ead1027
2014-02-24Fix -Werror=shadowMatteo Casalin
Change-Id: I30312e039c98007d6f379c3ee9b1500ddfbfc39d
2014-02-24Adapt to osl_atomic_inc-/decrementStephan Bergmann
Change-Id: I848873b07ab05cefdc755a8bf1301907fdfbc299
2014-02-24Remove unnecessary bool2anyStephan Bergmann
Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
2014-02-24Remove unnecessary extractInterfaceStephan Bergmann
Change-Id: I4848bf84615274ad5732223a354fb7a6b845d9a8
2014-02-24Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe
Change-Id: I55292f5f0049e7c77d5bb0e5ef5fa187b815d159
2014-02-24ooxml export: w14:reflection elementTomaž Vajngerl
Change-Id: I84cd2cd13b56a2fa369fc4c1e98c5be519a50e78
2014-02-24writerfilter: put w14:reflection attributes into a GrabBagTomaž Vajngerl
Change-Id: I0738b3a69df9acc6e636849fbb78231621e1cad9
2014-02-24writerfilter: TextEffectsHandler - simplyfy switchTomaž Vajngerl
Change-Id: I9fe8967892f2298729940af3b3781fde760de69d
2014-02-24writerfilter: add property ids for all w14 main elementsTomaž Vajngerl
Change-Id: Ieb622364c1fbb2e5177392ff576a457a57b5cbb0
2014-02-24writerfilter: add w14:reflection to model.xmlTomaž Vajngerl
Change-Id: I5d94ebf602d06f334661936136213cb4eddb6a36
2014-02-23Resolves: #i119985# date/time is displayed as different languageZhe Wang
(cherry picked from commit 977a050343fc836fc3e7bd876afaee931c47252c) Change-Id: I1f31f6731353b2d8b8fd684fc6ea29becfd4a814
2014-02-23Related: #i119985# date/time is displayed as different languageZhe Wang
(cherry picked from commit 2a3c87a5ea5e3308a138e461dffae19483c0184c) Change-Id: I3ef171481b206f7a9d356110d1b4a1559cd5e837
2014-02-23writerfilter: convert sprm:CF{Outline,Shadow,Emboss,Imprint}Miklos Vajna
Change-Id: I03a2d24d5ff6b868cd67c7b3e1d19c6a2243b92f
2014-02-23CoreText SDK 10.5 compatibilityDouglas Mencken
Change-Id: Ic876ec473b1c03a70c160af4251c68b299b27eca Reviewed-on: https://gerrit.libreoffice.org/7143 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-23drawingML import: reduce code duplicationZolnai Tamás
Change-Id: I7730fb047a10f270498bbf6f1a89dde034514121
2014-02-23drawingML import: remove some unneeded memberZolnai Tamás
Change-Id: Iea975665b9225e535dcc4fbdcd666d7c7bff8ef3
2014-02-23writerfilter: comment out incomplete w14 elements from model.xmlTomaž Vajngerl
Change-Id: Ifdc0c0802e8d13d57023cb24096f8364e6ee9e91
2014-02-23writerfilter: restructure call to TextEffectsHandlerTomaž Vajngerl
Change-Id: Iba02edccfb09c2b42be164c62c57315b58884c98
2014-02-23ooxml: handle w14:shadow in import/exportTomaž Vajngerl
Refactor the code to support an additional main element at processing of w14 elements for rPr. Change-Id: Iaf18a11bbda245b0b5b629e5f2e9f1f9682e6d41
2014-02-23writerfilter: add all main w14 elements for a rPrTomaž Vajngerl
Change-Id: I8fa71bdf837eac6ea277d2e2507622a783625a11
2014-02-23oox: add some more missing w14 tokensTomaž Vajngerl
Change-Id: Ied80a30419ac809c0cb20f8c29427ff0945f5904
2014-02-23make the debug message more readableMarkus Mohrhard
Change-Id: I79c3261bb3672c360073f91e320d8aafce09cd2e