summaryrefslogtreecommitdiff
path: root/oox
AgeCommit message (Collapse)Author
2013-06-13Revert "bnc#819614: Fix runaway lines."Jan Holesovsky
This reverts commit 5fe65c0c5e5a8d815d9d15ef192e7652726662e6. Unfortunately this causes a regression elsewhere. This also disables the unit test for this bug - will re-enable when I find a fix that both fixes this, and does not regress other stuff :-) Change-Id: Iad334e3c59c928edb78f25c0f36a33a26a7e6125
2013-06-07bnc#820788 VML import of v:textbox's mso-fit-shape-to-text style propertyMiklos Vajna
Change-Id: I74a0ecd50ca61a4f5bf7ebdbf12743dc1fd9368a (cherry picked from commit a22ef599bd3fdcf0bd5c3616aa566a5922624ff3)
2013-06-06Don't merge this fileXisco Fauli
Change-Id: I5efca8bf4969252198e06ac3309064e8d69c0e55 (cherry picked from commit 355329a3cdbd8e4f2b7c6032ba0538a9a2a13d86)
2013-06-06Fix issue #i120723#: Table style is lost when import PPTX by AOOZhe Wang
* subversion/main/oox/inc/oox/drawingml/table/tableproperties.hxx * subversion/main/oox/source/drawingml/table/tableproperties.cxx []if the imported table in pptx just have tableStyleId, should fill the tablestyle's content. Patch by: Ma Bingbing <jiazema@gmail.com> Suggested by: Wang Zhe <kingwisemmx@gmail.com> Found by:Ma Bingbing <jiazema@gmail.com> Review by: Wang Zhe <kingwisemmx@gmail.com>(cherry picked from commit 74b1435a4d39eac71e36fb1c387b24af4b353fa0) Conflicts: oox/inc/oox/drawingml/table/tableproperties.hxx oox/source/drawingml/table/tableproperties.cxx Change-Id: I554169522a95343662781c3f169c6485c38a6800 (cherry picked from commit f39f7ba614749d99362a2059919521eee6bdb6fc)
2013-06-03Fixing crash with dereferencing front() and back() of an empty vectorFridrich Štrba
Change-Id: If7204614aa7a650f4a2804fc63dd3301ece2281e (cherry picked from commit f5d6e7af69f6b8972bd97d1d8e2a6d9ec5a6294a)
2013-05-30bnc#817956 VML import of mso-position-vertical-relative:marginMiklos Vajna
Change-Id: I86464c44022ef8c8a8037d4228bb2a6409fc77af (cherry picked from commit f2720b87093968670e3fb47d24d4952f1631a654)
2013-05-30bnc#817956 fix VML import of rotationMiklos Vajna
In VML, positive rotation angles are clockwise, we have them as counter-clockwise. This wasn't noticed earlier, as the n751117.docx testcase also had flip:x. (For example, rotation with angle 90 + flip:x is presented as 270 by the UI.) Fix this, and also mirror the angle when flip:x is present. Change-Id: I591ec3369a5bdca53f9684006a459d11e37fbc33 (cherry picked from commit b2c16f6c1b8bd3c96e0549eb3036c820094a795f)
2013-05-30bnc#817956 VML import of v:textpathMiklos Vajna
Word exposes this as Watermark in its UI. Change-Id: I23d9b2aab2dab60a98c7f456b0592c2b74bcaf81 (cherry picked from commit 290695c785ef831abb6e78cd3675bc071f05f643)
2013-05-30Fix tinderbox failures due to missing includeFridrich Štrba
Change-Id: Ied4c829bbe3038e483524669a85a0a7eaa055eb9 (cherry picked from commit 319ac1fded32875416c668b51e6566ecacd1c0e1)
2013-05-30Fix crash with fdo60063-1.docxFridrich Štrba
Compared to the original version, this one tries hard not to produce empty keywords. Change-Id: I11d036c2d54cde2d3c311a77c115011246f38d0a Reviewed-on: https://gerrit.libreoffice.org/4091 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org> (cherry picked from commit b2f97d77237cde249b4c40acc8ad3f7f8755e768)
2013-05-27x86 register vs memory accuracy double pitaCaolán McNamara
with x86 gcc-4.1.2-54.el5 the sd import test fails while x86-64 passes. Tracked it down eventually to this double equality test failing on x86. Apparently excess precision in registers compared with memory. Change-Id: I61b43b2f0e9c9aded570448a1c5a7c9dbad8986e (cherry picked from commit 34c2e8845804921c027ed66884fdf7c31f75fd87)
2013-05-27respect element order in OOXML chart export, related fdo#63114Markus Mohrhard
Change-Id: I591a63c38ab18b03a2f86428defbdac0cb96a1c0 (cherry picked from commit 54fbbc20b8397a8362f5a0878744c3a082464713)
2013-05-23bnc#820786: Best effort mapping of the OOXML patterns to our hatches.Jan Holesovsky
Change-Id: I0138c2186741acf0964f0166953b69872a822907
2013-05-23Revert "fdo#46808, Convert chart2::Title service to new style"Stephan Bergmann
This reverts commit d256dbede60533369d1aac64cca34721183f6a8a: For one, the new css.chart2.XTitle2 looked unfinished, in that it transfered the direct properties of the old-style css.chart2.Title service into attributes, but left out all the properties inherited by the old-style service from css.style.ParagraphProperties, css.drawing.FillProperties, css.drawing.LineProperties (and that missing FIXME css.layout.LayoutElement, whatever that is supposed to be). This needs more thought, to either make available all propertiers as attributes, or none. For another, this broke JunitTest_chart2_unoapi (sch.ChXChartDocument, sch.ChartTitle), for hard-to-debug reasons. Conflicts: chart2/source/model/main/Title.cxx chart2/source/model/main/Title.hxx offapi/com/sun/star/chart2/XTitle2.idl sc/source/filter/inc/xlchart.hxx (cherry picked from commit f30399c540f01f16f097b86ff518251324d558d7) Conflicts: sc/source/filter/inc/xlchart.hxx Change-Id: I4747208a13984904d0e409ea49a73b0f667c86c7
2013-05-21fdo#46808, Convert chart2::Title service to new styleNoel Grandin
API CHANGE: The chart2::XTitled interface now takes and returns a XTitle2 instead of an XTitle. Change-Id: I96c35909d3a13f1abb544296a782a0b6a7a58ec6
2013-05-21fdo#46808, Convert various chart2:*Scaling services to new styleNoel Grandin
Change-Id: I93294be4c822160e609ae6aab552edd64478e34b
2013-05-19WaE on mac osx buildNorbert Thiebaud
Change-Id: Ief28d2563b66754d00fdc09d6d68ea3a73aff22a
2013-05-16bnc#819614: Fix runaway lines.Jan Holesovsky
Change-Id: I360ec44872dbb555870d7d3fc8a9ed81c95e8c07
2013-05-16Fix length check - it would be out of bounds.Jan Holesovsky
Change-Id: I5430fed06ea1a81a68ddfaafa595d7d5b0167f3b
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist
2013-05-15Fix fdo#64579 Don't assume dsp:dataModelExt has valid DrawingML.Thorsten Behrens
Just don't assume the DSP_TOKEN( spTree ) was seen in input. Change-Id: Iaabdcafdfcfc995198c1265e975df4dde8e0a39c
2013-05-14detect whether a bezier shape is open or closedLuboš Luňák
For open shapes e.g. fill does not work. Part of bnc#780044. Change-Id: Id0ce50e94ae86c0398f06b2a67e3fd13d487ae7a
2013-05-14remove non-sensical /*static*/ commentsLuboš Luňák
They are presumably meant to say the functions are class-static, but at the function definition it's pretty confusing (looks like file-static). Change-Id: I28c69244c9eb7aa3f20f07d8784f3704dc6a57bf
2013-05-13-Werror=maybe-uninitializedStephan Bergmann
Change-Id: I320e08d7d83727a93e0644db80943bc2bb896222
2013-05-13fdo#46808, Convert some chart2 services to new styleNoel Grandin
The services already existed, they just needed IDL files Change-Id: Ia7bdae932c5fb4b47d23afd2bb0756ecc9cbf6f7
2013-05-13fdo#46808 Convert chart2::FormattedString service to new styleNoel Grandin
API CHANGE: dropped the following services from the new unified interface because the current service does not implement them. service ::com::sun::star::style::CharacterProperties; [optional] service ::com::sun::star::style::CharacterPropertiesAsian; [optional] service ::com::sun::star::style::CharacterPropertiesComplex; Change-Id: I7cb6a5d4e998975b1272f4f4da03feea30cd30b6
2013-05-11Resolves: #i119889# .pptx table vertical text directionJürgen Schmidt
Set property to cell object if the cell has vertical property. And fix in svx module by setting cell's vertical property. Patch By: companycy Found By: Shan Zu Review By: jsc (cherry picked from commit bb8bf7bde59c22776199e791b8cfcbf07992de8e) Conflicts: oox/source/drawingml/table/tablecell.cxx Change-Id: I58bb1548617c4c1e231280a405d6071ea8813039
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-09fix userform data aware control importNoel Power
Change-Id: I86f5cc0c60bba48eaaf40a3471cc0fb22e5e4b9c
2013-05-08oox: fix dependencies in CustomTargetMichael Stahl
This breaks on incremental build after files have been renamed like in 38f5717b1d488b866d55a603eea1260c6203fd69, hope Windows tinderboxes are happy now. Change-Id: I292508c242f7e6da1db3693cf54ba11876ac8997
2013-05-07oox: remove Package_generated and Package_tokensMichael Stahl
Change-Id: Iab5eb4fbfecea905f4eeb9f1b1f503c1908dadc8
2013-05-06data label export does not work with bar chartsMarkus Mohrhard
Excel just removes the chart during import. Additionally we should work on only exporting the data label information for points that really contain data labels. Change-Id: I80aef8effe27c729feb69c25c319ca129dc961a5
2013-05-06remove unnecessary explicit namespacesMarkus Mohrhard
Change-Id: Idb6bf5704a3b569ae4ae19d35526f19528ab63a6
2013-05-06map full transparent solid fill to no fill, fdo#64224Markus Mohrhard
Change-Id: I9ec33b347647bfcd6c1411c4db7af51ca597dc8e
2013-05-06let us be explicit about default valuesMarkus Mohrhard
Different MSO versions behave differently in respect to the default values. 2007 is not compliant to OOXML and is what our export filter expects, 2010+ are compliant to OOXML and therefore our charts look awful. Change-Id: If301d878a1603ed9835884cfbb9ed9c902526ba0
2013-05-05another validation error in chart OOXML exportMarkus Mohrhard
Change-Id: I2edd5cb877fdf66926483c866382480f7ae3d36f
2013-05-05respect element order in OOXML chart export, fdo#59857Markus Mohrhard
The chart part of the document passes validation now. Change-Id: I52c946c0ad399038e5f9ffff08a117f2693c55b5
2013-05-05respect element order in OOXML chart export, related fdo#59857Markus Mohrhard
Change-Id: Iecb47635cb8c854ec6c12a12f895972fcf099009
2013-05-05respect element order in OOXML export, related fdo#59857Markus Mohrhard
Change-Id: I00bb173010419a47ee30c9d6ae1173bb1ea0e370
2013-05-05overlap is only valid for the 2D bar chart, related fdo#59857Markus Mohrhard
Change-Id: Ie17ef54a2b2f2058cef97dacd9110a3065f76f68
2013-05-05respect element order in OOXML chart export, related fdo#59857Markus Mohrhard
Change-Id: Icd40ad5a1a428d6ae0d012b1896a9dd713a4e79b
2013-05-05respect order of elements in OOXML chart export, related fdo#59857Markus Mohrhard
Change-Id: I541e04d2f4a3b272894ceb67b4bd970e235b96a2
2013-05-02place ooxml shapes properly to paragraph area (part of bnc#816583)Luboš Luňák
style="position:absolute;left:0" is relative to paragraph area, not paragraph text area (which is different if it's indented). Change-Id: I12a1d2b8a68aa3fa9c65b3d469118b5334f83d7f
2013-05-02fdo#60549 - pptx export presentation as well as draw shape objects.Michael Meeks
Change-Id: Ibe6e0b9fa55bab7a7d02e55560c1db4c8ed84132
2013-05-02fdo#60780, refactor Save a Copy and fixÁdám Csaba Király
Refactor Save a Copy, basing it on Export functionality. SID_SAVEACOPY takes its parameters, and sends a SID_EXPORTDOC request with them, using SID_SAVEACOPYITEM to differentiate Save a Copy from regular Export. Fix storing docx to url, by preventing finalizeFilter method, in filterbase.cxx, from writing back to the original file's MediaDescriptor. Change-Id: I876dbe17e43b26a43f29e797fdb157e31889ee1e Reviewed-on: https://gerrit.libreoffice.org/3355 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-05-02Update pchAurimas Fišeras
Change-Id: Ia400389ca7c4fbe752e19ca2d38f2fee00f6ee7d Reviewed-on: https://gerrit.libreoffice.org/3736 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-05-01we need to exclude scatter chart for data label export for nowMarkus Mohrhard
Excel does not like our data label export and removes the charts during import. I could not figure out what is wrong as the files are valid. Change-Id: I92458803a48bff1436e7c47ca29d27e487c0642b
2013-04-30better to use no overlay for nowMarkus Mohrhard
We have no way to determine whether the lengend touches the chart area so let us use no overlay for now. That should be much more in line of the most use cases. Change-Id: Idecb0113e47a3f7c925ff8c45238152406ce8954
2013-04-30only export c:SymbolSize if attribute is thereMarkus Mohrhard
Change-Id: I4f167d1ec6998b27025450e9339d14d94c06e3c1
2013-04-30also export point sizeMarkus Mohrhard
The current formula size/250*7 is just a guess based on some test docs. If someone has an idea how to translate them please tell me. Change-Id: Ibdd27d52d545ac96882c128485c48a3116eb4467