summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-09-11convert select address book to .uiCaolán McNamara
Change-Id: I578bd89d2abb077c7b90ec4f75e0b8204dd33f92
2013-09-11DOCX import: fix default section break type inside multiple columnsMiklos Vajna
Change-Id: I7c44a2bdb69563953d3257b435aeed5bae50f7b2
2013-09-11Related: fdo#38838 Remove String::SearchChar()Thomas Arnhold
Change-Id: Ide40e0ef91aec04c2ae274aaf2a957dd5064854c Reviewed-on: https://gerrit.libreoffice.org/5894 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-11CID#736213 clip nLevel to legal boundsCaolán McNamara
Change-Id: I805425885ea86fdaf658d89f955a47769782c0cd
2013-09-11CID#736212 clip word 2 pap boundsCaolán McNamara
and add a unit test for the word 2..5 formats Change-Id: I6c7c26be6092acbb81282080de6c393d92ad5dd4
2013-09-11convert include/editeng/brushitem.hxx from String to OUStringNoel Grandin
and convert String* to OUString, no need to hold a pointer to a ref-counted value type. Change-Id: I79c62979ee8ec0d5e6d2efc50609ad5595571a7d
2013-09-11convert include/editeng/editobj.hxx from String to OUStringNoel Grandin
Change-Id: I076ae20fb21accf8ff7e7fad096534e97ba7dab4
2013-09-11convert include/editeng/splwrap.hxx from String to OUStringNoel Grandin
Change-Id: I52e6e34776fe494da431f8387f5f330b9aca36fe
2013-09-11convert SvxAutocorrWord from String to OUStringNoel Grandin
Change-Id: I4f70ebb03d5028db77ab3d86eb884462c92ec9dc
2013-09-11convert SvxAutoCorrDoc from String to OUStringNoel Grandin
Also: - simplify the return type of the GetPrevPara method, there is no need return an OUString by pointer - simply the ppPara parameter of the ChgAutoCorrWord method, passing a pointer to a pointer to a value type is unnecessary. Change-Id: I4a8c44fdab1cf68af88c34003827d1c20704f839
2013-09-11convert include/editeng/swafopt.hxx from String to OUStringNoel Grandin
Change-Id: Ic3686fb44cd1e448b9998f2ddc73f9bfd1b3aaa8
2013-09-11oox: Smart-Art DOMs stored in the InteropGrabBagAndres Gomez
The XDocuments representing the DOM documents of a DrawingML diagram (Smart-Art) are now stored as the PropertyValues "OOXData", "OOXLayout", "OOXStyle", "OOXColor" and "OOXDrawing" into the "InteropGraBag" property of the parent SvxGroupShape created from such diagram. Modified the oox::drawingml::dgm::Diagram class to be able to hold the map storing the XDocuments and its names. Added the getDomMap() method to obtain the map directly and the getDomsAsPropertyValues method to get the map as a sequence of Property Values. Modified the methods for importing and loading the Smart-Art into the Diagram so they add automatically the DOM documents to it. Modified the oox::drawingml::Shape class to be able to hold the sequence of PropertyValues storing the XDocuments and its names coming from the oox::drawingml::dgm::Diagram class. Added the getDiagramDoms() and setDiagramDoms() methods. Enhanced the oox::shape::ShapeContextHandler::getShape() method to add the extended drawing document to the oox::drawingml::Shape class. Modified the oox::drawingml::Shape::createAndInsert() method to store the sequence of XDocuments in the "InteropGrabBag" property of the GroupShape service SvxGroupShape implementation representing a Smart-Art. Change-Id: I7d0b9dfbfc9d5299ddd25fab394e5e9a422d1dd1 Reviewed-on: https://gerrit.libreoffice.org/5849 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-09-10CID#1078790 Resource leakCaolán McNamara
Change-Id: I1c5af09932a5004c5c76080fd490e53d8927c285
2013-09-10String to OUStringThomas Arnhold
Change-Id: If859505c52b7166e9e586008b40a6aff3a2ccf3c Reviewed-on: https://gerrit.libreoffice.org/5893 Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org> Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
2013-09-10CppunitTest_sw_ooxmlexport: do not build failing testcaseMiklos Vajna
Change-Id: Iec2db10104e79406cb2b9b6bac81d64dbe597d8d
2013-09-10Improve border equal check in filter tests 2.Zolnai Tamás
Change the order of words BORDER and EQUAL in the macro name to become consistent with other macro names. e.g. CPPUNIT_ASSERT_DOUBLES_EQUAL Use a function inside the macro to make it type safe. Add additional message to make clear why the test failed. Change-Id: I9fc7a5813adf2cac36ae831d438cec498232b06c Reviewed-on: https://gerrit.libreoffice.org/5885 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-09-09CID#1079152 uninitialized m_bOnWinCaolán McNamara
Change-Id: I8f7e56ce86e7097379a8e063405bf95405616318
2013-09-09convert info not found to .uiCaolán McNamara
Change-Id: I553e6f696ad10e847d845c263fbfbab5d2279345
2013-09-09convert customize address list dialog to .uiCaolán McNamara
Change-Id: I91c69add679f62af5f67cc1bd7c2739b2de84cfb
2013-09-09convert find entry dialog to .uiCaolán McNamara
Change-Id: I0d8ef363e45f9032676a161c63d7cf9bcbe417fd
2013-09-09Use hex color code in character border filter testsZolnai Tamás
Change-Id: I19bd1cbedd42101186fd4afbcd7af9afb630f857
2013-09-09Avoid using in headerZolnai Tamás
Change-Id: I1365cf183a768f17dd2d16f695a27d9710eb4daf
2013-09-09String to OUstringMatteo Casalin
Change-Id: I98f2e16f1e679cb2c01984ed34dc4efb254c918d Reviewed-on: https://gerrit.libreoffice.org/5876 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-09String to OUStringMatteo Casalin
Change-Id: I0adbe625400f71eb8cb21d0b36a117c708348a20 Reviewed-on: https://gerrit.libreoffice.org/5875 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-09fdo#68291 RTF paste: don't set PageDescName during pasteMiklos Vajna
In general, paste should not deal with page styles. In this case, it even caused an additional page break. Change-Id: Ia7c5a9ad844821b6622babfbd94469ec3c04cf0a
2013-09-08convert add/rename entries dialogs to .uiCaolán McNamara
Change-Id: I40040a237763a0706177ba5c6c1a664a51b3ee07
2013-09-08SwAddrDlg can now be converted to SfxSingleTabDialogCaolán McNamara
Change-Id: I7fb53193d52d6c04c34fce23aa1610ce1035493c
2013-09-08SwBackgroundDlg can now be converted to SfxSingleTabDialogCaolán McNamara
Change-Id: I6e15b914e022674e27a14023144fe7a3add0ed43
2013-09-08SwDropCapsDlg can now be converted to SfxSingleTabDialogCaolán McNamara
Change-Id: I2d9baf887cf31789e0d439c4b9bbe3c1371b8f18
2013-09-08Related: fdo#38838 String::GetBufferAccess is now no moreCaolán McNamara
Change-Id: I9fdd600fd0a530c0763875109eee6600e4a77879
2013-09-08SwMailConfigDlg can now be converted to SfxSingleTabDialogCaolán McNamara
Change-Id: Ic9895e027be8b5406dda7756a19127bd4edee63d
2013-09-08convert already exists dialog to .uiCaolán McNamara
Change-Id: I6cb2a11b6ee2f94f611aa852c79dd1a6534381da
2013-09-08CharBrd 9.4: DOC filtersZolnai Tamás
-WW8 filter is the only MS filter which ignores padding of character border. Change-Id: I17973d8d2ae624d68356729334c701864fe0a10d
2013-09-08CharBrd 9.3: RTF filtersZolnai Tamás
-Use sprm:CBrc attribute for all MS filter (for ooxml too). -Extract general code to FormatCharBorder() method, it selects the border side and decides whether add shadow to the border. -RTF export has a color table, which must be filled with border colors before the actual export.temp Change-Id: Ic3ceae6e19ddc2ed5aaa8de85617f9a592289b4f
2013-09-08CharBrd 9.2: DOCX filtersZolnai Tamás
- Modify HasTextItem() method to able to get character attributes during export. (in this case RES_CHARTR_SHADOW) - Only one side of the border can be exported. Selecting order: (top, left, bottom, right) - During import set all four side and use the Word default shadow type (back, bottom-right, border width wide) Change-Id: I3e1e27a2ef2d77b397f2ca8efe578e09271bcf8c
2013-09-08CharBrd 9.1: HTML filtersZolnai Tamás
-I don't implement shadow because HTML filter use css1 attributes and there isn't box-shadow in css1. -Border merge: skip span open and close tags to get the right result. Change-Id: I17edc2e1cc42359b5f1721b8891350c528c7793e
2013-09-08Revert "It seems lcl_ExtendLeftAndRight is just a workaround"Zolnai Tamás
This reverts commit 9ece71a185c93845e38c25eae91bc1955d60bfed. I solved some bug which were hide by the usage of this method, but there are other cases where it is neccessary. Conflicts: sw/source/core/layout/paintfrm.cxx Change-Id: I01f27c812890d7bc4d47e645f25213ba67a955d5
2013-09-08Fix expected and actual order in odf export testZolnai Tamás
Change-Id: Ib8168112e297571cc99b39fbf365d888e2247da5
2013-09-08Improve border equal check in filter testsZolnai Tamás
With macro the error message will point to the right line. Check padding distinct. Change-Id: Id09fbf65350a7a3708923eb07d673068c2943b50
2013-09-08Generalize SwHTMLWriter::ToPixel methodZolnai Tamás
Change-Id: Iba4c292a3130f33792ef39b97d774a48c181359a
2013-09-08Use the equivalent GetScaledWidth()Zolnai Tamás
Change-Id: I621f9ad1a7f1aa47450da86d3462daec4e8fe124
2013-09-08Update attribute table of html filterZolnai Tamás
If these lists are not updated with new hintids, it can break the filters. Change-Id: I5f5408679cbfbf0922d7926de16122c0d21fc5e3
2013-09-08Paint character border for tabulatorZolnai Tamás
It seems tab portion is not a text portion so we have to move text portion join members to line portion. Avoid painting border for tabulator after numbering portion. Change-Id: Ic773dd14a8e90fd68980c5a0220c6ac14da0a693
2013-09-08Remove a useless code duplicationZolnai Tamás
Change-Id: I36e90fcc5773e418be7f6343e2abd8de8568092e
2013-09-07add/remove blank lines and braces (in sw/source/core/crsr/)Philipp Riemer
Change-Id: I4dea8ea84d83c28eb258d0e8ddc2966476a50223 Reviewed-on: https://gerrit.libreoffice.org/272 Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com> Tested-by: Philipp Riemer <ruderphilipp@gmail.com>
2013-09-07work on comments in sw/source/core/docnode/Philipp Riemer
Change-Id: Ie988076dc73f80fa962daa2e9d8e05132ed7180b Reviewed-on: https://gerrit.libreoffice.org/5869 Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com> Tested-by: Philipp Riemer <ruderphilipp@gmail.com>
2013-09-07remove/add blank lines for consistent code layout in sw/source/core/docnode/Philipp Riemer
Change-Id: I4ccd099b8ae491c69f25fd32d12a532348d6655d Reviewed-on: https://gerrit.libreoffice.org/5868 Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com> Tested-by: Philipp Riemer <ruderphilipp@gmail.com>
2013-09-07remove/add blank lines in sw/source/corePhilipp Riemer
Change-Id: I4d0aa521fc4c24f954d2636aa68e968456a829e7 Reviewed-on: https://gerrit.libreoffice.org/2879 Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com> Tested-by: Philipp Riemer <ruderphilipp@gmail.com>
2013-09-07%1 placeholder never replaced with anythingCaolán McNamara
Change-Id: Icd7111ec044032fe76a19454bcf6b795229a0e56
2013-09-07set explicit default buttonCaolán McNamara
Change-Id: I288c00b5eff6876ba9d790ee5ab4f0d1cbc2cd4f