summaryrefslogtreecommitdiff
path: root/oox
AgeCommit message (Collapse)Author
2012-08-07n#774167: Crash fix.Muthu Subramanian
2012-08-01-Werror,-WformatStephan Bergmann
Change-Id: Ie6fbcb1a11f47b54d3c697716b03f9891a1dea49
2012-08-01fdo#45724 improve WW8 textbox exportMiklos Vajna
If there is no default value, but there is a current one, export that instead. Change-Id: I01af5cfa641b061b0aeb959e579bca66340781e9
2012-08-01fdo#45724 fix WW8 export of textbox default background colorMiklos Vajna
regression from 5609c512cd4d2899300b432d88d93cff05a05c87 Change-Id: I5f3ce73943b2805b7de1ae41699e605af9086b15
2012-07-27SmRtfExport: get current encoding from Writer instead of assuming the defaultMiklos Vajna
Change-Id: Ia8bdf83f36d986ca45ddad985aca827224c194f4
2012-07-26rhbz#842552 always create text contentDavid Tardon
The following line in oox::drawingml::table::TableCell::pushToXCell suggests that it is assumed that the cell always contains text: Reference< text::XText > xText( rxCell, UNO_QUERY_THROW ); So TableCell should always hold a valid TextBody too. Change-Id: Ic2db7b535c98dd5f2b18941846709a781df4585c
2012-07-25export RTF_M{OMATH,R,F,FPR,TYPE,NUM,DEN,MATH}Miklos Vajna
Change-Id: If717d5d3b2179210516eec61959af0afa8b38319
2012-07-23oox::formulaimport::XmlStream: allow avoiding XFastAttributeListMiklos Vajna
Change-Id: Iba0ad5ae72920f27e8a443a043c5891b102aee98
2012-07-23Bogus warning C4701: potentially uninitialized local variableStephan Bergmann
Change-Id: I51caaca911f71788940260bd63d3854526d7473f
2012-07-17cleanup custom perl XML parser, use strict, and tolerate updated XMLMichael Meeks
2012-07-17re-base on ALv2 code. Includes:Michael Meeks
retain presence of MPL licensed nssrenam.h symbol renamer.
2012-07-17dr78: correct include guardDaniel Rentz [dr]
2012-07-13Search for char instead of 1 char long string, when possible.Christophe JAILLET
It is faster and even avoid memory allocation somtimes. Change-Id: Ic12ff70e95953de44ef5798131150669d07a5445
2012-07-10Crash fix.Muthu Subramanian
Though getTheme() is not supposed to be returning NULL. It seems like doing that sometimes.
2012-07-09targetted rename xcr -> xmlscript to match includes and module nameMichael Meeks
2012-07-05remove forgotten debug printfDavid Tardon
Change-Id: Iff5a53735d78a2afcf90299a5f28a47f1376e393
2012-07-04n#768027: Slide notesMaster and notes import.Muthu Subramanian
2012-07-03ditch String::CreateFromAsciiCaolán McNamara
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-02use master's shape position/size for layout shapes when needed (n#760997)Radek Doulik
Change-Id: I2a9d4f6b134817bda84645df3ab6fa217186e1d2
2012-07-02Remove unused definesThomas Arnhold
Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks
2012-07-01don't build oox::drawingml::TextListStyle::dump by defaultMiklos Vajna
Change-Id: I24a468dbe208afd2a71dd10e7ed5610d8c259aec
2012-06-27Remove commented out code (includes)Thomas Arnhold
Change-Id: I0a11d09544c10d78a2036a5c3c94132b17fbfbe8
2012-06-27add import of axis color for data bars from xlsxMarkus Mohrhard
Change-Id: I2a15f8787afceaea1cb8e1c2902c05367d3e5b15
2012-06-26re-base on ALv2 code.Michael Meeks
2012-06-26oox: fix remaining vba doxygen errorsMiklos Vajna
Change-Id: Ic7816065fd5fda640ce85ab25514df76be098b12
2012-06-25n#759210: Certain smartart drawings weren't imported.Muthu Subramanian
SmartArt info was reset, when there was a chart (e.g.) in the same slide.
2012-06-25merge 3 copy and paste efforts back together as bestFitOpenSymbolToMSFontCaolán McNamara
Change-Id: Ia830af58a1e2b80e85b2748b4acceb0bfc340afc
2012-06-25TODO: get rid of this in another incompatible build with SW projectCaolán McNamara
Change-Id: Ic3fb0c8eb37317d55bcdc6abc7ff9843ba11fac6
2012-06-25oox: kill last vml doxygen errorsMiklos Vajna
Change-Id: I955086f0c816d58fe8dfd104fe90367c76ad6568
2012-06-24Fix consecutive breakJulien Nabet
Change-Id: Ifd5dddee6950bcc08dc48c17293e794bf5aeb48e
2012-06-22.pptx files don't need executable bitsMichael Stahl
Change-Id: I90069f562c61359f9b226b147fe99807ecb3ad8a
2012-06-22re-base on ALv2 code.Michael Meeks
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21n#758883 oox: anchor vml shapes without anchor info as at-characterMiklos Vajna
w10:wrap was originally arrived to writerfilter::dmapper::WrapHandler::lcl_attribute(), but writerfilter::dmapper::DomainMapper_Impl::PushShapeContext() was called already and set the anchor type. Fix this, then we can set a a suitable anchor type in lcl_SetAnchorType() based on the type model. Change-Id: Ib411450b10f29f814bc13d81eaec434971b2e52a
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21make sure we don't export shapes with negative size (fixes n#760997)Radek Doulik
Change-Id: Id77cbfaa287d15c4af9a91976f3b091e68229223
2012-06-20oox: mso-wrap-style is about wrapping mode for text in shapesMiklos Vajna
This commit partially reverts 9e8957de203bb9abb208516ad32aee9527feb67b (as it interpreted mso-wrap-style as the wrap type of the textbox itself, not the wrap type of the contained text) and also extends the effect of commit 0016757efef898205452a586ba5927e5d11fdabe to the SimpleShape class as well. Change-Id: If2bded6ad94f2866e8ea398ff0f2792e8c8e86b0
2012-06-19rework handling the case of recursive ooxml shapes againLuboš Luňák
Another attempt, whoever has written this apparently didn't consider the possibility of recursion at all, and this still feels a bit hackish. Writerfilter keeps just one oox::shape::ShapeContextHandler object during the entire time of parsing the document, because e.g. <v:shapetype> needs to be reachable even across VML block (see sw testcases for bnc#705956). This however presents a problem when VML contains <w:txbxContent> which contains another VML, as this code previously just took whatever has been read and returned it to writerfilter, and it broke with recursion. So now try to mark recursion entry and returns the right shape. Related to 36c12c246d886b2d96d7a2d4d0c250db9d925c74 and the previous commits it reverted. Change-Id: I949a6b52ec7540aa59b047c7b6e908b10fb3bdc1
2012-06-19Revert "rework getting shape for the .docx import filter"Luboš Luňák
Stupid containers with shared_ptr. Trying to remove the object from it gets it deleted because it's owned by the shared_ptr and there's no sensible way to wrestle it out of it. This will need to be redone somehow. This reverts commit 04d600d4be7c50db4b3b505039eb8bc96856f593.
2012-06-19oox: fix all vmlshapecontainer doxygen errorsMiklos Vajna
Change-Id: Ieccd1f5e89c550095cd83a3f11939eec210f789e
2012-06-18oox: last vmlshape doxygen mistakesMiklos Vajna
Change-Id: I1d74aad0280662cd06dcc633072402ba13199898
2012-06-14fix reading two smartart shapes in one documentLuboš Luňák
Change-Id: If693eea8deceec7eebd45ab04de020223dc7f6a7
2012-06-12oox: fix TextFontModel doxygen commentsMiklos Vajna
Change-Id: I0f869af4fd497461fc06897540d3be0a6703f00e
2012-06-11callcatcher: update unused codeCaolán McNamara
Change-Id: Id5f730fc447b11000b266954f9e7f5287bad02f4
2012-06-11attempt to anchor vml shapes properly as they should beLuboš Luňák
This is a mess. Shapes from oox/vml are added to Writer by calling SwXDrawPage::add(), which forces the shapes to be AT_PAGE, because the pDoc->GetCurrentLayout() there is NULL. After that writerfilter in DomainMapper_Impl::PushShapeContext() tries to do further tricks with the anchoring. Such as the fix for bnc#764005 (0a412cc13edf0904524ee2cf1e38ccc36b713065) that broke inline shapes because of the AT_PAGE above. So try to set the proper anchoring already in oox, although I'm not entirely sure I got it right. Ideally writerfilter should not touch it, but when I simply removed it another testcase breaks, so hopefully this all can be cleaned up somewhen later when we have enough testcases for all the possibilities. Change-Id: I7dd95d87bd027ce0f129f76b3377f3d1445c34d1
2012-06-08handle f suffix (1/65536ths) when reading VML percentagesLuboš Luňák
Not all percentage attributes actually use this, but better be safe and no point in checking only the allowed ones use them. Change-Id: I851f9b19ea85201d70d5e6b2e219bbcd88ae3dea
2012-06-07shapes with position:static (default) should be anchored inlineLuboš Luňák
Visible with incorrect alignment of the image in the footer in the doc from bnc#764745. Change-Id: Ibea9f38f7404981a9a846c23a09f8244c6020797
2012-06-07n#757905 fix VML import of mso-wrap-style:noneMiklos Vajna
There were two problems here: 1) SimpleShape::implConvertAndInsert() did not set the anchor type 2) DomainMapper_Impl::PushShapeContext() tried to overwrite it Change-Id: I2c32016c4bb15c891cf287d8208e10817c6291e6
2012-06-06import vmlshape 'hidden' style attribute and apply to controls bnc#757609Noel Power
ensure 'hidden' controls are imported as such.