summaryrefslogtreecommitdiff
path: root/xmloff
AgeCommit message (Collapse)Author
2013-05-10Resolves: #i122208# introduce rtl::CStringHash and rtl::CStringEqualHerbert Dürr
unify the various c-string compares and hashes. (cherry picked from commit b7e3470a154538a92f0a21b14e726d75723f4a92) Conflicts: oox/inc/oox/export/shapes.hxx oox/source/export/shapes.cxx sal/inc/rtl/string.hxx sdext/source/minimizer/pppoptimizertoken.cxx svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx vcl/source/glyphs/gcach_ftyp.cxx writerfilter/source/resourcemodel/TagLogger.cxx xmloff/source/draw/EnhancedCustomShapeToken.cxx Change-Id: Ib742744077bfb4d38a462d88b44bdef45601b4ae
2013-05-09Update pchAurimas Fišeras
Change-Id: I7c0c9158eb17cb79ffceae6770b4c513d57b3817 Reviewed-on: https://gerrit.libreoffice.org/3831 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-05-07officecfg: remove Package_cppheaderMichael Stahl
Instead include generated headers directly from workdir. Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
2013-05-06fix typos (wich instead of which)Philipp Riemer
2013-05-04install openoffice 1.0 DTD files using filelistDavid Tardon
Do we need to install them? Or even have them in the sources, FWIW? The old XML format has been superceded by ODF 10 years ago... Change-Id: I909afcf86ae808441c7dbc6182512bedb9789c1c
2013-05-03fdo#48056 treat report chart as draw chartLionel Elie Mamane
Change-Id: I0a716b4339747f1994e5c8710e15474807aea4a2
2013-05-03janitorial: indentationLionel Elie Mamane
Change-Id: I6886f5ed011871a1c2718c9e1fadc9d0cb053098
2013-05-03add a warningDavid Tardon
Change-Id: I0baf90cfe8d3caa96f826695c1be4bc563864c00
2013-05-03fdo#60075 need to return context when availableDavid Tardon
Change-Id: I53a83a3f2234dc061c23344116b0e294594f1c90
2013-05-03fdo#60075 open drawings with connector attached to SVGDavid Tardon
This problem arises when there is a connector attached to draw:frame element with multiple draw:image elements in it. The import code expects that they are different representations of the same image (I have not found if this is specified in ODF), so it only selects the most "suitable" for import. To do that, it imports them all and then removes all but the selected one. The image import context, SdXMLGraphicObjectShapeContext, shares the parent frame's attributes, which means that all the images in a frame have got the same ID. in SdXMLGraphicObjectShapeContext::AddShape, the created css::draw::XShape is registered with its ID... That means that anything that refers to the frame's ID, like a draw:connector, will always get the _first_ image in the frame. Solution is to extend comphelper::UnoInterfaceToUniqueIdentifierMapper to allow reserving an identifier and setting an interface for it later. That way, SdXMLFrameShapeContext can reserve its own ID before it starts importing the first draw:image, and then set the selected XShape at the end. Change-Id: I2e11cfd38e1e3534df2b3c01d85da0d755a266c3
2013-05-03the var. must be persistent over multiple callsDavid Tardon
Change-Id: Ieb48dfe85ed16a8123917b30873f301d523ea381
2013-05-02ditch explicit char arrays for string literalsLuboš Luňák
Change-Id: I77a4f6d338751c00942f091f4267e5f7d1d1742f
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-30Fix fdo#64062 - can't assume para styles to be there.Thorsten Behrens
Change-Id: I5da53ff44fdf00ec6c0fdf1a722f806971b6683a
2013-04-26some more namespace cleanupThomas Arnhold
Change-Id: Ib1e80d717f199db8f8ac4181d4377a86d88e3244
2013-04-25add error to office:value-type for calc cells and fdo#51810Markus Mohrhard
For cached value import we need the information which cells are error cells. For ODF 1.2 extended we therefore export now calcext:office-value with the additional value "error". Change-Id: I9bc988ea4924bea767ba5e504b77f6a16e51a82e
2013-04-25update pchThomas Arnhold
Change-Id: I67e73438312f2a672e71762ee6707ec5d425bb47
2013-04-25comments and code reformatMaxime de Roucy
Change-Id: Ib4e45cb85c9e5e5ffa6476c939300c6795412b1a Reviewed-on: https://gerrit.libreoffice.org/3582 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-04-24x error bars are also defined in ODF 1.2Markus Mohrhard
I suppose they were deactivated in ODF 1.2 because of the invalid ODF files produced by the old code Change-Id: I42624a3e0f57405b38110bef86a0aa533f491c6c
2013-04-24fix a problem with error bar weightMarkus Mohrhard
Change-Id: I812bbcdc346bffd2f0c968077a3fe86a241cf231
2013-04-24gbuild: drop uses of removed packagesDavid Tardon
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-23execute move of global headersBjoern Michaelsen
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23fdo#46808, convert form::Forms to new styleNoel Grandin
Change-Id: I966ed18d45dc8a04c97a703d3c83382714025f2c
2013-04-22xmloff::token::GetXMLToken: only execute the check onceMichael Stahl
Tor says this check eats many CPU cycles, and the checked array is static, so checking it just once is sufficient. Change-Id: Ic8f85ebe940e4cf2c258cc778a8fd14512bdef94
2013-04-22xmloff::token::GetXMLToken: deploy assert in consistency checkMichael Stahl
There will be serious problems if that is inconsistent. Change-Id: I41b8de66132224fb5cd2a6dcb7ff3128eb704016
2013-04-22fix mismerge in PropertyMap.hxxMarkus Mohrhard
Change-Id: Ic8a0b81a9a44d8494ef1634e23b25fcb9423e7ff
2013-04-22get the handling of error bar ranges correct in xmloffMarkus Mohrhard
We finally produce valid files again for error bars export. Additionally we don't export unnecessary attributes anymore. Change-Id: Idc4b4259c47a945e3679dac1a9810cd9f1f05bac
2013-04-22more work on getting the error bar export produce valid docsMarkus Mohrhard
Change-Id: I19189e6be83dde58b4b3b7b55f40b701818eceed
2013-04-22bring some sense into the error bar mappings for styles exportMarkus Mohrhard
There were several properties that were duplicated for the X error bars but where effectively not used by the code as these properties did not work. We now specify only one used entry from the chart2 API and remove the entries from the old chart API. As soon as the old chart API is unused in the import/export filter we can deprecate it. Change-Id: Ib0487b41ea044136714037c27418ce049a5b92b7
2013-04-22little formatting clean-upMarkus Mohrhard
Change-Id: I3f30e2b69933f740a9938ac1ed93e7f7727b78bc
2013-04-22fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan
- replaced osl_trace with sal_info - replaced dbg_* with sal_* Change-Id: I4db4a2db0f4f2e9913826f428ba129099b1ac8a8 Reviewed-on: https://gerrit.libreoffice.org/3526 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-20Remove pass-through header file sot/inc/sot/clsids.hxxMichael Dunphy
Change-Id: I122669d4ffaf72fb1d5f6fccc98e8a648f31aa23 Reviewed-on: https://gerrit.libreoffice.org/3490 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza
Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-19Remove pass-through header svtools/inc/svtools/txtcmp.hxxMichael Dunphy
Change-Id: I605ae778e57a12588dca274a4ee34a018004034e Remove pass-through header sfx2/inc/sfx2/imgdef.hxx Change-Id: I9a5ebabefccdd63b55d64aec26488542d0d362e3 Remove pass-through header xmloff/inc/xmloff/xmlcnitm.hxx Change-Id: If880679499daee2f77d1f6e148dba963d09bbb9c Reviewed-on: https://gerrit.libreoffice.org/3477 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-18Fix typos: HEIGTH -> HEIGHT and WEIGTH -> WEIGHTLior Kaplan
Change-Id: Ie5dc62bf535360cde8a5ccd6f8be3965ff48739c Reviewed-on: https://gerrit.libreoffice.org/3435 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-04-17fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan
- replaced osl_trace with sal_info - replaced dbg_* with sal_* Change-Id: Ie5d3ae7d2c5dbaaed30d0b39740748845c9f1641 Reviewed-on: https://gerrit.libreoffice.org/3423 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
2013-04-15fdo#60724 successfull -> successfulThomas Arnhold
Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-15fdo#60724 informations -> informationThomas Arnhold
Change-Id: Ifd34ebfc7fe01b4a470eb072597dd3ec97c97863
2013-04-12i#98430: Import at least the shape.Jan Holesovsky
The image that is inside is dropped though, we do not have support for that in editeng. Change-Id: I16dc1656e6f71fd80136bc39233decef4e1d4069
2013-04-11i#52127: Avoid .back() on an empty vector, fixes ooo52127-1.odt.Jan Holesovsky
Change-Id: I3463b727e024260c13a01c017cfd96109a793cb1
2013-04-10fdo#60594: Fix crash in the document (does not fix the original report).Jan Holesovsky
Change-Id: I2129cf89ef1c9b8dd814a5c2079629385b92577a
2013-04-10fdo#39066: using UNO_QUERY instead of UNO_QUERY_THROW displays hyperlinksChr. Rossmanith
Change-Id: Iafa9e273c009fe0772a9401b47b51738dc235a13 Reviewed-on: https://gerrit.libreoffice.org/3296 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-04-07Some cppcheck cleaningJulien Nabet
Change-Id: I425ed98a721ded162c2ae08d145aaa9dbf548632
2013-04-07remove needless forward rtl::OUString declarationsLuboš Luňák
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05new module i18nlangtagEike Rathke
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015