summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-05-06fix typos (wich instead of which)Philipp Riemer
2013-05-06cleanup whitespaces due to RTL_CONSTASCII_USTRINGPARAM removalPhilipp Riemer
In e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 the method was removed automatically leaving several line breaks etc. as visual noise.
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-06SW : Fix crash by checking find resultArnaud Versini
Change-Id: I6caf18b110dd0a40f09e185c00cb238261457db3 Reviewed-on: https://gerrit.libreoffice.org/3783 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-05-06fdo#42144 WW8 export: avoid writing pointless empty footersMiklos Vajna
Regression from 1348288905ffa75d3634eee4392ba4660d28cdb9 (mismerge, I guess), when header was enabled, actually empty footer was exported, even in case footer was disabled. Change-Id: Ied55dc2a9f0faef87689c07935a47db384d37e1a
2013-05-06fdo#46808, Use service constructor for rendering::CanvasFactoryNoel Grandin
Change-Id: If6bebe0d2dfb30c3fffd0fb284cd766e3f315b49
2013-05-05follow up to commit 2e109641648bed508318d3b65a385f5b9e78edf7Philipp Riemer
Norbert cherry-picked the original patch [1] without changes. However some sentences in it where translated misleadingly. So here I am merging my remarks/corrections to it, plus some minor changes regarding whitespaces in front of punctuations. [1] see https://gerrit.libreoffice.org/3788 Change-Id: If5fa033c48b2bd16fc0b83195ba4d46f5051414b
2013-05-05Partially translate german comments in sw/source/filter/ww8/Joren De Cuyper
Please, only apply this patch if you are a native speaking German. I'm not a native speaker, so a double check is really necessary and appreciated. Thanks in advance! Change-Id: I9493d128e124d319391aa851ae364aefeb27c512 Reviewed-on: https://gerrit.libreoffice.org/3788 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-05-05coverity#1000604: Dereference after null checkJulien Nabet
Change-Id: Id9c3b7eb29c58c55c100db6da644b232ada550ee Reviewed-on: https://gerrit.libreoffice.org/3791 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-05-05remove commented-out code in sw/source/core/viewPhilipp Riemer
Change-Id: Ib94be6370549c6a71879a5af1eb60808fba762e8
2013-05-05fdo#62475 - remove visual noise in sw/source/core/viewPhilipp Riemer
- ASCII art - method comments without further info - multiple blank lines Change-Id: Iec6fac8ce28a82b2ce15a72ed7ffa5fc38d4e218
2013-05-05work on comments in sw/source/core/viewPhilipp Riemer
Change-Id: I3934487475df1da7fe6cf68656c4c38881d1a394
2013-05-05fix indentationPhilipp Riemer
Change-Id: If17defd0a64c0b6b4e2c1faf60601199a978e2e9
2013-05-05fdo#39468: Translate German comments in sw/source/core/viewPhilipp Riemer
Change-Id: Icc9249ec66ea10ae0ceea6b5e611cf774474c7c2
2013-05-05work on comments and remove commented-out code in sw/source/core/graphicPhilipp Riemer
Change-Id: I2b1b29d469277998dafed41fb7c0bb33e8064a16
2013-05-05fdo#39468: Translate German comments in sw/source/core/graphicPhilipp Riemer
Change-Id: Ic78269f73b31125d7326b9aa1bfca76d7e881177
2013-05-05fdo#62475 - remove ASCII art in sw/source/core/graphicPhilipp Riemer
Change-Id: Ie37dbb1c0c5d01c958d168d15ec5285c36bbf28d
2013-05-05fix indentation of a commentPhilipp Riemer
Change-Id: I4528725cdfe2bdd0ae071d5719d4e8e082d88e5b
2013-05-05fdo#62475 - remove pointless comments and ASCII art in sw/source/core/drawPhilipp Riemer
Change-Id: I223cdd6d3bfddf0216453406efc32beee2489ae4
2013-05-05doxygen-ize comments in sw/source/core/drawPhilipp Riemer
Change-Id: I04ef6f0992e6d00dd6519eb6e9bcddecbb97e8de
2013-05-03SwPostItMgr::Delete: fix crash when layout is not yet readyMiklos Vajna
pPostIt is 0 when we have a large document, and the layout is not yet ready for a later part of the document, having a comment. Just don't try to delete such comments, better than a crash. Change-Id: I5fd5c908bc7b1feba926214863e84391b9037484
2013-05-02SwTxtSizeInfo: rename member variables missing their prefixMiklos Vajna
Conflicts: sw/source/core/text/inftxt.hxx Change-Id: I32a430c35d69308f87b7b6f1b4ef232315deed2f
2013-05-02Add --enable-desktop-gui-elements to show such even on non-DESKTOP platformsTor Lillqvist
Not my idea. Change-Id: If4874d97a2035588cd65ded9f281de0c3598b7d7
2013-05-02make parent style for 'frame contents' be 'standard' rather than 'text'Luboš Luňák
The actual reason for this change is a .docx document, which has a textframe and a modified 'text' style. The textframe in MSO has 'normal' style (which is like our 'standard') and so the style is not written to the docx. LO however uses 'frame contents' for the textframe, and since it was based on 'text', it used the modified style, unlike in MSO. But even on its own, this change seems to make sense. It's similar to 4014d40c96b9d70796a154f0ac48cf5b685cf187, and I see no particular reason why contents of textframes should be the same style like the main text of the document, while footnotes, footers, headers, tables, etc. are different. Change-Id: Ibe7bfd6a2820cff5cf29c669fd60b575c63500b0 Reviewed-on: https://gerrit.libreoffice.org/3697 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-02bnc#779630 testcaseMiklos Vajna
Change-Id: Ia888670ad7a5b51c9b6a3d05676b192456311704
2013-05-02Resolves: #i119922 Graphic in header and footer can not be displayed correctlyJian Hong Cheng
* sw/source/core/unocore/unoframe.cxx odf compatibility Patch by: Jane Kang,<kangjane2012@gmail.com> Found by: Yan Ji,<yanji.yj@gmail.com> Review by: Jian Hong Cheng,<chengjh@apache.org> (cherry picked from commit f8ecf85d889ba70b48c2b49ebd650afc0a5ab776) Conflicts: sw/source/core/unocore/unoframe.cxx Change-Id: Iffbe79efd43119e78f6983e27b99ba278118555d
2013-05-02Resolves: #i119516# allow 0x1 0x1 as well as 0x8 0x1 detection for canvasesArmin Le Grand
Be prepared to allow not only 0x8 0x1 detection for canvases, but also 0x1 0x1. Patch by: Lei Debin Detected by: louqle Review by: alg(cherry picked from commit 0711fae8c3f99c53bc1cb091eb218f10f3d8b15f) Conflicts: sw/source/filter/ww8/ww8par.cxx Change-Id: Ib1d8d892470261639fa46ae9955079759c0aebaa
2013-05-02unused old insert chart dialogCaolán McNamara
Change-Id: Ibce96479b440dd3406cb7a46896b89834a14460f
2013-05-02bnc#779630 initial DOCX import of w:sdt's w:dateMiklos Vajna
Also factor out the w:sdt-related methods to a helper class to avoid DomainMapper_Impl become a God object. Change-Id: Ic1a388940bce89688e8558818f92ce9ac997609c
2013-05-02Resolves: #120098# Memoryleak fixed at escher sw exportArmin Le Grand
remember and destroy the used stream. Found by: Chao Huang Patch by: Chao Huang Review by: alg (cherry picked from commit 9914b3172fd4e3867693e5e63c8085dd66f18b5f) Conflicts: sw/source/filter/ww8/wrtww8.cxx Change-Id: I5bccdd71312f32f861291fc600396dc111fc11c7
2013-05-02Don't crash with empty *pTxtFridrich Štrba
Change-Id: I5fdd0cbc70dec1119b1b6a76cb3c5805f11c11ed
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-01put a border around the numbering level listboxCaolán McNamara
Change-Id: Ie45cc82af0e232b7b523d30552cc14317fc479b5
2013-05-01remove unnecessary widgets from word count dialogCaolán McNamara
Change-Id: Ia490b8eb4367e54a73fbf9d54a76cf3155eb1615
2013-05-01convert message box return types to an enumCaolán McNamara
Change-Id: I20889dc94aac1119c1ee9da873ce911887c1c335
2013-04-30fdo#62336 - unit test for conversion failure.Michael Meeks
Turns out this depends on not doing layout, and so is a real corner-case. Change-Id: If9d2db6b1a0df94fc809fb353f2dbf2cf9ac1c9a
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-30bnc#816516: Implement easy access to the recent documents.Jan Holesovsky
This adds a dropdown to the 'Open' toolbar tool. Change-Id: I5b4aa99476e721c1479152b46bbc79cc0b095318
2013-04-30n#592908: docx import, fixed handling of w10:wrapCédric Bosdonnat
commit f837c4288cdae4921b3fb6747ba2e2cd5ce2dcd2 moved the handling of w10:wrap tag in oox, but thus no wrapping was imported any more. The fix consists in letting the w10:wrap element be handled by writerfilter's dmapper if the shape has already been retrieved from oox (which is the case for textboxes). In other cases, make sure that we don't set the Surround property once again in writerfilter as that would override what has been done in oox. (cherry picked from commit 51d5e90b7c09cb980bc72a2c6b1a65303ef15ea2) Conflicts: oox/inc/oox/vml/vmlshape.hxx sw/qa/extras/ooxmlimport/ooxmlimport.cxx Change-Id: I8ab158641afcf6b9945c52238e7f5adb9e8b3adf
2013-04-30fix refresh() callDavid Ostrovsky
Change-Id: Id7cb705b2b719cdd3bf16b8aba858c0319686599
2013-04-29fdo#62336 - fix horribly coupled table rendering code to not crash.Michael Meeks
Change-Id: I7a6ee4dce338b7529fa7500bb0c8341a4f2ebc22
2013-04-29remove demented codeLuboš Luňák
The things are not even enums, so there's no error checking either. Change-Id: Ib33cd96b49a840cbe486dbed9a7c370827b54c2d
2013-04-29convert new user index dialog to .ui formatCaolán McNamara
Change-Id: I7943c7e388b1cb73311d666ff600a31ac70c2838
2013-04-29convert new user index dialog to .ui formatCaolán McNamara
Change-Id: I459f847a67282bd1e3dc914e25a39815a6e177a0
2013-04-29set mnemonic widgets for new bibliography author widgetsCaolán McNamara
Change-Id: Id6c566ada50bd4d6f4043bbff25114e7872b7cc8
2013-04-29Fixing Indentation RTL bugAdam Co
Change-Id: Ie8c3d30cb28afb97d4ded4ac67241ed18ab9e50c Reviewed-on: https://gerrit.libreoffice.org/3651 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-29convert create author entry dialog to .ui formatCaolán McNamara
Change-Id: Ia36b42be8f5caa93937e870467c95f47439d9c9e
2013-04-29...and update TODO commentStephan Bergmann
Change-Id: I04d9988ab2035ec2d68fac19f506a6b461e4d257
2013-04-29RuntimeException missing from exception specification for UNO methodStephan Bergmann
...which lead to std::unoexpected from sw/PythonTest_sw_python. Change-Id: I94bdbbe131a7c65c363f7aa66e8d8df7bd531449
2013-04-29SwTxtSizeInfo ctor: take a pointer, not a referenceMiklos Vajna
The ctor later will turn that reference to a pointer anyway, but the old code made it easy to pass a String, get it implicitly converted to OUString, and then we took the address of the temporary OUString, later resulting in accessing already freed memory. Instead, take an OUString pointer, and then the compiler will warn about a String* -> OUString* conversion. Adapt one remaining caller accordingly. Change-Id: I4084dea1d245f0c8919d6afe47c5f391729f6eaf