summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-11-25DOCX import: tblHeader implies firstRowMiklos Vajna
If a table row is marked as tblHeader, then the firstRow section of the table style should be applied, even if that row is in fact not the first row. Change-Id: I10605f404160e72c620e9204503203fea1c6d6d8
2013-11-25CppunitTest_sw_ooxmlexport: make it possible to use ..._TEST_ONLY with -WerrorMiklos Vajna
Change-Id: I451f81495a8e8535c8e0194198602ee5732164c6
2013-11-25DOCX import: handle NS_sprm::LN_CFSmallCaps == 0 after NS_sprm::LN_CFCapsMiklos Vajna
"caps and no smallcaps" means style::CaseMap::UPPERCASE, not style::CaseMap::NONE. Different XML elements in DOCX, single UNO property. Change-Id: I8cbc719f2c307d5d2cbd4af93ea61e35b640ad1d
2013-11-25Fixed for libreoffice crashes while opening file.PriyankaGaikwad
Change-Id: I85a16e4ef8d75f19250115d5522046a968d5fc91 Reviewed-on: https://gerrit.libreoffice.org/6760 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-24Remove temporary and update assertion conditionMatteo Casalin
Change-Id: I0714b21cfda04bbaee0a7bd9ec485b3569a7ea4d
2013-11-24Bail out earlyMatteo Casalin
Change-Id: Ic0bb06e3d64933df4887ce1402f62c16e917fdbd
2013-11-24Reduce scope of some variablesMatteo Casalin
Change-Id: I2e2b10f95582c2c155ca78d4c7818ac38faa7a61
2013-11-24STRING_LEN is no more the maximum string length + some cleanupsMatteo Casalin
Change-Id: Idbdfb4dd39ce5e419f7b9338db39ddda186d014d
2013-11-24xub_StrLen to sal_Int32Matteo Casalin
Change-Id: I8ad8cade0b2cbc29a934a983c72d25f7f00af6bc
2013-11-24Avoid temporary, just return the resultMatteo Casalin
Change-Id: I644abe042175168dab489476a41254fba6883982
2013-11-24Improve formattingMatteo Casalin
Change-Id: I0cb8eb5b78ef5ca10d6b8765bff387ca09ec291c
2013-11-24Prefer += and -=Matteo Casalin
Change-Id: I0b1ba2e7c8287340eebec7eb9b3e1aea8945d82f
2013-11-24Use std::min + rename Ende to EndMatteo Casalin
Change-Id: I835d661a5bd30c235fdf61a94ad73f85b57bf9ed
2013-11-24Remove unneeded xub_StrLen castMatteo Casalin
Change-Id: Ia26f220fa7857f14dfc89b2929f60669ade3b4ea
2013-11-23widht -> widthJulien Nabet
Change-Id: I661eeb167a95540a223ce72aac51789daf3767dc
2013-11-23rigth -> right (other occurences)Julien Nabet
Change-Id: Ic899aa36b1b18237f90295eaa04ea83450958c87
2013-11-23rigth -> rightMiklos Vajna
Change-Id: Id7071246932a0fef11168d887e64272c8e4586df
2013-11-23DocxAttributeOutput: m_i -> m_nMiklos Vajna
Change-Id: I5d67b53ddf74be2b1ef315cdbef8cc3fabaac9aa
2013-11-23Remove STRING_MAXLEN and cleanup codeMatteo Casalin
Change-Id: I933b69af09c8d58a71d9d82d7e13b1b893e57ec0
2013-11-23DocxAttributeOutput: vpt -> pointMiklos Vajna
Change-Id: Ia99ea2db8956d6f329679d7a21f5e68290a1efda
2013-11-23else is not needed after continue or returnMatteo Casalin
Change-Id: If2d3f3ca1b7cbf5cb9273043d0299c41286898e7
2013-11-23Reduce scopeMatteo Casalin
Change-Id: Ic04a48c1a1230824b9676a6d7615b2eb39608985
2013-11-23Bail out earlyMatteo Casalin
Change-Id: I6dfa1ae680a71fef55fdd7e891cfa058a05dffa0
2013-11-23No need for an else after a breakMatteo Casalin
Change-Id: I538fbbe5e628d03b4e641c5eb558b30d7654333e
2013-11-23Reduce scope of some variables and simplify checksMatteo Casalin
Change-Id: Ice6ce4c13040fc0ad7aa4fb9c95144d0a130f2b6
2013-11-23Simplify lcl_getMinPosMatteo Casalin
Change-Id: Ibf272e1bd1a0c76b0f07dfe136197043fb3e15e2
2013-11-23xub_StrLen to sal_Int32Matteo Casalin
Change-Id: I7f30e122a44eda7ee1c93595029ec15b6b426d6c
2013-11-23ww8: remove unused AttribHere classMatteo Casalin
Change-Id: I3bc56192095d6564046115520626289c62d7234d
2013-11-23xub_StrLen to sal_Int32Matteo Casalin
Change-Id: I395e62831f624b05e2979169440ff8663f76e835
2013-11-23Don't subtract 1 to just add it backMatteo Casalin
Change-Id: I2d7e08b70047c98e9164b8b733bae50ca8872142
2013-11-23xub_StrLen to sal_Int32 and some optimizationsMatteo Casalin
Change-Id: I49d398ab9f086c769941767bb4431bbbb96f56b0
2013-11-23xub_StrLen to sal_Int32Matteo Casalin
Change-Id: Iedc8eec38c0ea490b1b8da4ff7ca9237a77505b2
2013-11-23Clarify loop conditionMatteo Casalin
Change-Id: Ia6131a9964288e781bb76d59e24591b3cb375db9
2013-11-23Bail out earlyMatteo Casalin
Change-Id: Ib137aeb14405e99adbfcadaf8b3b0408c217093d
2013-11-23Share common code of if/else branchesMatteo Casalin
Change-Id: I0641d37dbde2e8dc734d2a8cb7ef598aeb5f028e
2013-11-23int/sal_Bool to bool, bEnde to bEndMatteo Casalin
Change-Id: Ie569c505f9e0f7dcd939fc6e7aafc9b88542b7b2
2013-11-23SwPaM: xub_StrLen to sal_Int32Matteo Casalin
Change-Id: I553f91c4f49c02b3bcd2a778cbaf871b397ed89b
2013-11-23SwNumRule: rename member variables missing their prefixesMiklos Vajna
Change-Id: I9433438824f2c0e50cc4afa3e265e6d41350829f
2013-11-23WaE: macro is not usedTor Lillqvist
Change-Id: I7748517d2298c20e4fd6c6ebf403a2ccc8228054
2013-11-23Mark as const / staticTakeshi Abe
Change-Id: Ia41b8cc062fc1e7c2cf0b8ba64c303919448ef06
2013-11-22cp#1000016 DOCX/RTF import: fix RemoveLastParagraph() on WindowsMiklos Vajna
Change-Id: I3f9d69ddbb2144c60a724e4242128b65ae167455
2013-11-22DOCX drawingML shape filter: import wps:txbx inside the shapeMiklos Vajna
The problem was that previously the shape text was imported normally, and the shape itself was simply appended after the text. In case of the VML import, the following mechanism made it possible to have the shape earlier: OOXMLFastContextHandlerShape::sendShape() is called twice, early in OOXMLFastContextHandlerWrapper::lcl_createFastChildContext(), in case the shape had text, and later in OOXMLFastContextHandlerShape::lcl_endFastElement(), in case the shape didn't have text. This works because the parent element of v:textbox (v:shape) is already something that isn't handled in writerfilter, so the parent of the w:txbxContent's parent was a OOXMLFastContextHandlerWrapper. In case of WPS, the problem was that the parent of w:txbxContent is wps:txbx, and the parent of that is wps:wsp, which is something (unlike v:shape) we do handle in writerfilter. Fix this by adding an early call to sendShape() in OOXMLFastContextHandlerShape::lcl_createFastChildContext() as well. Change-Id: Ia24678871d7bbad89d18b1d5f468c17f68feec10
2013-11-22Improve exception messagesStephan Bergmann
Change-Id: I95b8d1bfcba66ba5670345e9159f0dca11e6d967
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAMNoel Grandin
A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
2013-11-21Related: rhbz#1033108 how did pAnchoredObj end up as NULLCaolán McNamara
Change-Id: If7d442567d9cea4e3f4d3d68689d11fad0dc930b
2013-11-21longparas: nTxtBreak is really a xub_StrLenCaolán McNamara
Change-Id: If8c3b366bfdf1e626823aca0d7026e877e21c63b
2013-11-21Resolves: fdo#67263 CRASH when deleting applied bulleted paragraph styleJulien Nabet
Change-Id: I70dc18363480e6c07577a93279ddd083631f6cc3 Reviewed-on: https://gerrit.libreoffice.org/6702 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-21longparas: these are really xub_StrLensCaolán McNamara
Change-Id: Ia754de347f277a07479e4056b7c9a03534a3dab4
2013-11-21longparas: this should be xub_StrlenCaolán McNamara
Change-Id: I018104df6fcae8bf1474db1479742238d1cb4cd2
2013-11-21longparas: these are really xub_StrLensCaolán McNamara
Change-Id: I512bf822fcccd158bbe57184ea85a9a72724ca8c