summaryrefslogtreecommitdiff
path: root/oox
AgeCommit message (Collapse)AuthorFilesLines
2013-01-22class vs struct mismatchLuboš Luňák1-1/+1
Apparently this was enough to cause a linking error with oox::vml::TextBox::TextBox on Windows. Signed-off-by: Petr Mladek <pmladek@suse.cz>
2013-01-22oox: try to make Windows build happyMiklos Vajna1-1/+1
Change-Id: Ib7340d79fc29ef0d0c46083a6aac6c27aba2629b Signed-off-by: Andras Timar <atimar@suse.com>
2013-01-22n#792778 DOCX import: parse group shapes in oox onlyMiklos Vajna7-12/+109
Previously textframes inside groupshapes were tried to be imported as TextFrames, but then their addition to a GroupShape failed, so the text simply ended up as a normal paragraph. Fix this by importing members of groupshapes as drawinglayer objects, just like how the WW8 import does. Also fix two testcases, which implicitely tested that the groupshape VML element is ignored on import. Change-Id: I1a9fba8a5fd532203a825e55b1d5996277ea12fa Signed-off-by: Andras Timar <atimar@suse.com>
2013-01-22fix cell border line properties n#793408Radek Doulik1-0/+1
Change-Id: Id20fa233b7e7eb0f2f01f4c230d1fe3398f2f4ed Signed-off-by: Andras Timar <atimar@suse.com>
2013-01-15n#794350: [PPTX] Flip gradient fill as well.Muthu Subramanian3-3/+12
Signed-off-by: Noel Power <noel.power@suse.com>
2013-01-15n#793999: PPTX Export - background image fit to slide.Muthu Subramanian1-0/+5
Change-Id: I0365c1a2723e5da06c269802c0503d4e45fe7ac1 Signed-off-by: Noel Power <noel.power@suse.com>
2013-01-08Make LO buildable again after the GraphicFilter move.Jan Holesovsky1-1/+1
Conflicts: svtools/Library_svt.mk q# Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Olivier Hallot <olivier.hallot@documentfoundation.org> Signed-off-by: Adolfo Jayme Barrientos <fitoschido@ubuntu.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2012-12-13fix fdo#58237 import hyperlinks for shapes in xlsx documentsNoel Power3-0/+13
Change-Id: Ib0c661dbb3ce9a2f8c8d29707a1cf0c65aadc81f
2012-12-10oox: v:textbox's inset attribute should be imported in Hmm, not in EmuMiklos Vajna1-4/+4
Trivial reproducer: http://people.freedesktop.org/~vmiklos/2012/simple-textbox.docx Change-Id: I030f7153326affc5a01e7ede1ddf1164fa500071 (cherry picked from commit 5bc835d48f1e5373b3a31bd166fadfdf19b3588f)
2012-12-06bnc#792528: Play it safe for non-Excel documents.Kohei Yoshida1-1/+4
Excel is not the only one that use charts. Let's also store the static label value to maData in case it is used for non-Excel documents. Change-Id: I1faed76e2ff396873039bccb3e1b7dcf27aba8c6
2012-12-06bnc#792528: Import static data series labels from xlsx correctly.Kohei Yoshida1-2/+8
Static data series label is a data series label whose value is a string value rather than a cell reference. Also, when inputting static string label in the UI, we don't have to manually check for quotes; the formula compiler will take care of that later. Change-Id: I1657fc9879a7f652bba84898e308c3a5d5ba87a3
2012-12-03fixes for where fast string operator+ is not perfectly source compatibleLuboš Luňák4-6/+6
Change-Id: I80af0399037e4f68113338139e7f2ad2400e65ab
2012-12-01oox: fix buildIvan Timofeev17-34/+1
Change-Id: Ic0fc64b94d27e1de4d2241f960b0d4f3ae1762d3
2012-12-01Removal ::rtl:: prefixes and macros in oxxJosé Guilherme Vanz4-30/+30
This commit removes some ::rtl:: prefixes and RTL_CONSTASCII_STRINGPARAM, RTL_CONSTASCII_USTRINGPARAM macros in oxx. Change-Id: I12bfb2528e8a9aaf3f119a1e6f0ae0246d16a772 Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1211 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-12-01Removal ::rtl:: prefixes and macros in oxxJosé Guilherme Vanz17-28/+28
This commit removes some ::rtl:: prefixes and RTL_CONSTASCII_STRINGPARAM, RTL_CONSTASCII_USTRINGPARAM macros in oxx. Change-Id: I1139b10256387bb71e8a425153d46add181538bc Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1212 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens1-2/+0
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30do not write rotation when it is equal to multiple of 360 degreesRadek Doulik1-1/+1
Change-Id: I0338964e8f8ded9ce0c488a437d3bf023d08047a
2012-11-29fdo#45495 pptx Export saves rotation of pictures,shapes,textLennard3-11/+23
and Circular and Rectangular shapes, and Tables drawingml was Pivot corrected. There is still some work to be done concerning customshape pptx export. Tables cannot be rotated anyway, but in contrast to Lines, you don't doubly-save the rotation. Patch Version 2. Here, acquiring of the angle from the shapes is done in WriteShapeTransformation. Change-Id: I0d650e669a690164796150615416fab8bb90242b Signed-off-by: Lennard <Wasserthal@nefkom.net> Reviewed-on: https://gerrit.libreoffice.org/1030 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
2012-11-28OUString::replace() does not modify in-placeTor Lillqvist1-2/+2
Change-Id: I6fa7c64bdd3c7af4b9495831da063ecd917057de
2012-11-26Revert "Skip a bunch of files in the disable-export case"Tor Lillqvist1-7/+6
Causes too much pain in scfilt, let's try without for now. This reverts commit 421c8febe88920bb6ebdfb05ce85568f241ddd0e.
2012-11-26Skip a bunch of files in the disable-export caseTor Lillqvist1-6/+7
Change-Id: I58237ce2fdfc55a564e2cf9f00a5eeebed48c046
2012-11-24this method actually can throw, related fdo#57451Markus Mohrhard2-2/+2
Change-Id: I26b79829029e127eb8b9ab4fbea3e0f02035ee41
2012-11-23Remove some other newly tagged unused methodsJulien Nabet2-11/+0
Change-Id: I6413fa7b9a7ca5e5f88c634ac4a7092162a9a9c9
2012-11-22AllSettings with LanguageTagEike Rathke2-1/+2
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-19no matching function for call to 'max(int, long int)'Tor Lillqvist1-1/+1
Change-Id: I7533098781b0b6987cd852d74a688aac6e0af056
2012-11-19export embedded spreadsheet(s), fixes n#780830Radek Doulik4-47/+176
Change-Id: Iee8328a695b554d97f6805b64b98706b9e3d7ab9
2012-11-19limit buSzPct rangeRadek Doulik1-1/+1
Change-Id: I41411301ee131f92b9725208e53133ee0f8a6f82
2012-11-17valgrind: use of uninitialized variableCaolán McNamara1-1/+2
Change-Id: I57de2d1ab4597cf3ef9eae08dfdbda1d5abff621
2012-11-16targetted cleanup of misc. vba pieces.Noel Power2-16/+0
2012-11-15fdo#46808, use service constructor for ucb::SimpleFileAccessNoel Grandin1-4/+3
I upgraded the service to return XSimpleFileAccess3, since it already implemented that interface, and it's backwards compatible. Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b
2012-11-14oox: reduce exception count reading missing attributes.Michael Meeks1-0/+4
2012-11-11oox: ZipStorage: better exception tracingMichael Stahl1-10/+20
Change-Id: I2b81f92cea8a8c9577c3f9ca33b915942708330c
2012-11-09oox: make things easier to debug by tracing exceptionsMichael Stahl2-8/+16
Change-Id: I05df8435874eb65f3acedaaea50b4910e9fc9111
2012-11-08oox: fix doxygen comments in dumpMiklos Vajna1-22/+22
Change-Id: Iab40d3d9778fffb7bbb076a9c2716d3fd11fc937
2012-11-08I hate sal_Int32, episode #1326.Luboš Luňák1-4/+4
Change-Id: Ibfda2b553bae1ad040f722dde46a352a313218fc
2012-11-08implement inset attribute of <v:textbox> (part of bnc#773061)Luboš Luňák8-3/+44
Change-Id: I1ec9b5d9fed86c44dc0a412c2323033ea67985c9
2012-11-07oox: fix doxygen comments in helperMiklos Vajna9-51/+51
Change-Id: I1e9b2075cbbb7a2ad7de64dd449cb42bf95ecc20
2012-11-05bnc#785727: Add more safety checks, exact bug mechanism unclearTor Lillqvist1-1/+1
Change-Id: Ieef2ce470613f6adfbb134d2bd59f2a6fd4a848d
2012-10-28fix some VS 2010 specific issuesDavid Ostrovsky1-0/+1
Change-Id: Iae27a96c1e2ed72d2744fcbe100d6ada7dc41c82 Reviewed-on: https://gerrit.libreoffice.org/914 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-25WaE: 'xChartType$D57056$_pInterface' may be used uninitialized…Christian Lohmaier1-1/+3
… in this function" declaring those functions static breaks the build on MacPPC / gcc 4.0.1 Change-Id: I3a389530d51ae0ddd38418159ca4234016bf93ba Reviewed-on: https://gerrit.libreoffice.org/911 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2012-10-25n#773048: Adjust rotate in relation to fix for n#783433Muthu Subramanian1-1/+1
2012-10-24fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin1-2/+1
Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory. Change-Id: I9f0098af37b91f107d8799f14caa04756eac82b1
2012-10-18Improve vml path parsing to handle repeated commandsPierre-Eric Pelloux-Prayer1-17/+28
Previously commands were executed only when the parser found a new command in the stream. Some vml path commands can handle repeated set of parameters, like this : lx1,y1,x2,y2,x3,y3,x1,y1 This patch adds support for this by executing commands when required parameters count has been met. Change-Id: Iab31fd267842755b81a3e228e45a8de63505fbd0 Reviewed-on: https://gerrit.libreoffice.org/774 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2012-10-16vml import: only apply width-percent attribute if it's != 0Pierre-Eric Pelloux-Prayer1-2/+6
This fixes an issue with a shape defined with these attributes: mso-width-percent:0;mso-height-percent:0 and mso-width-relative:page;mso-height-relative:page; where all points were then located in (0,0) Change-Id: I51070ad2b2e4e05ab64f16813472ca1d7099fb09 Reviewed-on: https://gerrit.libreoffice.org/775 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2012-10-13oox: fix loplugin warningsMiklos Vajna5-9/+9
Change-Id: I73375f46d31ef7446b7c059aa2a23024e677021c
2012-10-13Prefer prefix ++/-- operators for non-primitive typesJulien Nabet1-2/+2
+ replace "<" by "!=" for end iterator comparison with current it Change-Id: I6e90caa8752c7057cca8c74fca12c0a050544dbb
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák1-1/+1
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I1a0e436051d48e7f6224d6f0fc602347df2d4df1
2012-10-11we love you 32bit sal_Int32 as longCaolán McNamara1-1/+1
Change-Id: I006bceae3d05d2c014beae2127ad8a57c9bee353
2012-10-11n#778854: Fixes quite some issues with bullet points.Muthu Subramanian2-5/+21
* Properties needs to be combined before applyed. Rather than applying them separately twice. * ParaMargins set to zero wrongly rather than boost::none This caused its own set of problems. * Hack: Push default zero to tabstops. This makes impress calculate proper values for tabstops using leftmargin.
2012-10-11callcatcher: update unused code listCaolán McNamara2-15/+0
Change-Id: Ie903e37cccf98f1b91c05e87f067f2986b746590