summaryrefslogtreecommitdiff
path: root/oox/inc
AgeCommit message (Collapse)AuthorFilesLines
2016-03-15vcl: move graph.[hx]xx to graphic.[hc]xxChris Sherlock1-1/+1
It's IMO a bit confusing to see a "graph" header that doesn't strictly deal with graphs, but graphics. Backporting to 5.1 series to allow for easier backporting of other potential hotfixes. Change-Id: Ic37c6cd78e23d05939486f98667144c4453bb0a3 Reviewed-on: https://gerrit.libreoffice.org/22949 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2015-11-23loplugin:unusedfields in oox,package,reportdesignNoel Grandin1-2/+0
Change-Id: I83d03dcc76b5f0d54ebb0513ae972acb0db8eef1
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian1-357/+175
Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-23com::sun::star->css in lotuswordpro,mysqlc,ooxNoel Grandin23-106/+111
Change-Id: Id99ff87c4eb3f1b36702261ce63d5d2793ea35d7
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann40-105/+105
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-07tdf#88154 workaround and unit testMarco Cecchetti1-0/+5
Fixed 45-degree layout for axis labels, too. Change-Id: I9764e281aeee0a439fa9eec1e3b0df840221b72f Reviewed-on: https://gerrit.libreoffice.org/18889 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-09-17boost->stdCaolán McNamara4-10/+6
Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
2015-09-09tdf#90839: support for wrapped text in data labels and for centered data valueMarco Cecchetti1-0/+5
Now in a pie chart the text of a label can be wrapped, the wrapping is automatic and the maximum text width is fixed to almost half the pie radius. This feature is used to import correctly the relative text wrapping property provided by MSO. Moreover the data value and percent value of a label are now centered horizontally, respect with the label text. Conflicts: chart2/qa/extras/xshape/chart2xshape.cxx Change-Id: Ie10d6184365436f763cd9693a5bbefcfa9b3862b Reviewed-on: https://gerrit.libreoffice.org/17193 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-08-23oox: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe1-2/+1
with the variadic variants. Change-Id: I8a82df7ea24874d8e246dc983418d872f1943c8e Reviewed-on: https://gerrit.libreoffice.org/17919 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-04sal,rsc,oox: inline some use-once typedefsNoel Grandin1-2/+0
Change-Id: I91bebe06c5c5f3ebe5fbeec83dcf3f5bdf563201
2015-08-03inline some use-once typedefsNoel Grandin1-2/+0
Change-Id: I55cc82c8e180cce371c996690608090b1bfdfda4 Reviewed-on: https://gerrit.libreoffice.org/17494 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-21loplugin:unusedmethods ooxNoel Grandin6-19/+0
Change-Id: I5381e0da0efc1f951e248cfcfb35fc680ace94e4 Reviewed-on: https://gerrit.libreoffice.org/17225 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-10do not include boost/utility.hppMichael Stahl1-1/+1
It just includes a bunch of other boost headers; mostly we need boost/noncopyable.hpp so include that directly. This eliminates 831 MB(!) of boost/preprocessor/seq/fold_left.hpp completely, which is the 2nd biggest header after ustring.hxx. Change-Id: I3df55770adcb46e56f389af828e8ba80da2dc1f2
2015-07-06improve the returnbyref lopluginNoel Grandin1-1/+1
Change-Id: I1b510a6194282dfa4a9001d473127c5ebc8b44eb Reviewed-on: https://gerrit.libreoffice.org/16731 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-03Fix typosAndrea Gelmini1-1/+1
Change-Id: I8e429d1f03aac7c7cdb7ff4b43b3f46d40292510 Reviewed-on: https://gerrit.libreoffice.org/16709 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-06-30remove some unnecessary typedefs to pointerNoel Grandin1-1/+1
that were really not helping make the code any clearer. Found with a search git grep -P 'typedef\s+\w+\s*\*\s*\w+\;' and manual inspection Change-Id: I6a5c031e9e060ad3623a7586ec8a8cc4fe6252e9
2015-06-18drop unused sequenceasvector.hxx (see sequence.hxx)Caolán McNamara1-1/+0
Change-Id: Ib6d91f1ee427d5f94eed75e478f0809346f38e05
2015-05-18Remove include stdio (part2)Julien Nabet1-1/+0
Change-Id: Iae58d107d8df1c543a165086fb2b7c288e7121dd Reviewed-on: https://gerrit.libreoffice.org/15775 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-05-08inherit default title rotation from parent, tdf#75316Markus Mohrhard2-8/+3
Change-Id: I2cf609a3f2c5eb1f9d7716b3ee89d4131d942ffb
2015-05-05loplugin:staticmethodsNoel Grandin2-8/+8
Change-Id: I384a5e60f4b7b2f479c89ef97630519059ab720f
2015-04-30see if a re-org will silence coverity#1272392 Resource leakCaolán McNamara1-1/+1
Change-Id: I65c20f75c4086dc5167c6fa41b0171f07c1419bb
2015-04-30remove whitespaceMarkus Mohrhard1-10/+0
Change-Id: Id3f398e52f7f6b93626f6a067aceb5fb25048658
2015-04-30fix rAngAx MSO 2007 vs OOXML default valueMarkus Mohrhard1-1/+1
Change-Id: I7381e9987257325c7aad387ee0a2781a883be829
2015-04-21fix AxisModel MSO2007 vs OOXMl default valuesMarkus Mohrhard1-1/+1
Change-Id: Ie4265bf5ef02126d88d7521f86b0b922f77817a8
2015-04-21MSO 2007 vs OOXML default valuesMarkus Mohrhard1-7/+7
includes: fix data label delete element handling According to the xsd: <xsd:choice> <xsd:element name="delete" type="CT_Boolean" minOccurs="1" maxOccurs="1"/> <xsd:group ref="Group_DLbl" minOccurs="1" maxOccurs="1"/> </xsd:choice> which is just insane. Therefore as soon as we hit a non-delete element we assume that the entry is not deleted. Change-Id: Ifa8a59fef200250b931dcb1559d4866cb26bd98f
2015-04-21remove whitespaceMarkus Mohrhard1-8/+0
Change-Id: Ie630331957a6ff9514af7d00529ed875f94ddf26
2015-04-21fix TypeGroup MSO 2007 vs OOXML default valuesMarkus Mohrhard1-1/+1
Change-Id: I0d01e5b8d5f284ee3049debaf9fba0012dae005d
2015-04-21fix more mbNoEndCap MSO 2007 vs OOXML placesMarkus Mohrhard1-1/+1
Change-Id: Ib1002488e880fa1478dceb046cd08b40cdfe7b1e
2015-04-21fix legend pos overlay MSO 2007 vs OOXMLMarkus Mohrhard1-1/+1
Change-Id: I277bdd76e79310992bbf645d9e215f4dbba47554
2015-03-30bnc#902652 OOXML: fix import of insets when shape and/or shape text is rotatedAndras Timar1-1/+1
5ac575ee3e109 did not get it right, the vert attribute (i.e. the rotation of text) is relevant, not the rotation of the shape. In that case both text and shape rotation were 270 degrees. I checked that the bugdoc of bnc#773048 looked good after this. Change-Id: I6e0401cd138a82040df82d7da1a47311db7771e4 Reviewed-on: https://gerrit.libreoffice.org/15076 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-03-10handle MSO 2007 vs OOXML in auto title chart importMarkus Mohrhard1-1/+1
Change-Id: Id884a4c90c24b38a1dd22a41d271dcc551b59adc
2015-03-10remove whitespacesMarkus Mohrhard1-10/+0
Change-Id: Ie9d303a7200cf2a6bfd8c0f5f547cfffccaa0444
2015-02-19boost->stdCaolán McNamara9-13/+12
Change-Id: Icae6b6f07ad8dbd287fdfc689739187883a07775
2015-02-17oox: use std::enable_shared_from_thisMiklos Vajna1-2/+2
Change-Id: I184a7a3579bebd81d5d81f64b4ace74bde8e87fb
2015-02-05Updated all precompiled headers.Ashod Nakashian1-0/+6
Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara2-4/+4
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2014-10-13oox: refactor embedded media importMichael Stahl1-1/+4
Currently the oox import creates a temp file and leaks it, and there is no way to clean it up afterwards. Unfortunately it turns out that SdrModel has no way to access the imported OOXML storage, so add a really ugly hack to get the embedded media into the SdrMediaObj by setting both MediaURL and PrivateStream properties (currently oox really wants to set the properties in alphabetical order too...) Change-Id: I5a235fbeb08e7bc17faf066de52b94867e9a79a2
2014-09-24Remove TokenMap::getUnicodeTokenName()Matúš Kukan1-1/+1
Change-Id: I778dc43085b6afbb6456cbf53fe8c95b624b75b3
2014-09-14Replace struct EmbeddedWAVAudioFile with simple string.Matúš Kukan2-18/+5
Change-Id: I6659b6e1be865546f380a28e4803fbe593de0803
2014-09-14Move oox/drawingml/*hxx internal headers to oox/inc.Matúš Kukan39-3/+2422
Do not export LinePropertiesContext class as visible. And move GraphicProperties to its own header. Change-Id: I047c181e9f2adc7e59885f59663ea56c7eb898ed
2014-09-11bnc#892610: OOXML import: Improve chart number formats.Matúš Kukan1-1/+2
If sourceLinked is used, do not set "PercentageNumberFormat" even if showPercent is true. The format string should be used for "NumberFormat". c8cc89ff802d86b1f3a69afe1b4835b7df7f70c7 unnecessarily disabled "LinkNumberFormatToSource". Use that for data labels but not for axis. Also, actually make attaching number format supplier work for Calc. Previously, non standard formats were added into wrong supplier, and they were thrown away later because it was attached too late. (See also ChartModel::attachNumberFormatsSupplier) Change-Id: Iaf9945abc3d82d0ac63d9f36b8888eb49f39ab57
2014-08-20remove whitespaceMarkus Mohrhard1-6/+0
Change-Id: I5634bf40e8ccc4ce076409907c13f9c6f52d11a3
2014-08-13update_pchThomas Arnhold1-0/+6
Change-Id: Ic1dae7aac2f4367b4196ba3128c0aea9be1fbbda
2014-08-07Default data label placement may vary depending on chart types. Get it right.Kohei Yoshida1-0/+2
If we export a wrong placement value, MS Office will flag the file corrupt and the loading will fail. Change-Id: I7ca1239cd390494c1181ecdb3310c5f88bb18f9b
2014-07-29fdo#46037: remove unused comphelper/configurationhelper.hxxAlexandre Vicenzi1-1/+0
Change-Id: I66f9d2912202ba1393d0c65189f8a945bca4fcaa Reviewed-on: https://gerrit.libreoffice.org/10603 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-07-21Most certainly meant to be plural.Kohei Yoshida1-1/+1
Change-Id: I3772091c77307892b13d75cc6a5a191ec07c7bf5
2014-07-07bnc#881025: Mark axis a percent axis only when all data series are percent.Kohei Yoshida1-6/+4
Change-Id: I302cc1e5b164b2ce9999087293b034ec930951af
2014-06-25Move more oox/drawingml/ internal headers to oox/inc.Matúš Kukan25-0/+2919
Change-Id: I0963c92356f8388ce02fb36e172ad3b2af8ba8f8
2014-06-25remove whitespacesMarkus Mohrhard9-14/+0
Change-Id: Ie14ba3dcb97f20479a04538748ef2c1c9e6c5dac
2014-06-23Move oox/drawingml/table/ internal headers to oox/inc.Matúš Kukan15-0/+888
Change-Id: I9de33fdcd8b1ef73d57884033f502ac4a03f63d3