summaryrefslogtreecommitdiffstats
path: root/sw
Commit message (Collapse)AuthorAgeFilesLines
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-07739-5872/+5698
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* Simplify after 6215c718a5884ed7301b97dc9f7e3f1d1f9ce96cTor Lillqvist2013-04-071-2/+1
| | | | Change-Id: If0a6296c9b226c479413b475788d0c11d6ee7318
* SwCrsrShell: rename member variables missing their prefixMiklos Vajna2013-04-0611-858/+859
| | | | Change-Id: Id1720a55bf7984e2b1316fbfadb0d12ae7fd6b4d
* Fix issue i120716: The graphic's border size and spacing is not correctXisco Fauli2013-04-051-5/+3
| | | | | | | | | | | * source/filter/ww8/ww8graf2.cxx MS Word Binary compatibility Patch by: Fan Zheng,<zheng.easyfan@gmail.com> Found by: dongjun zong,<zongdj001@gmail.com> Review by: Jian Hong Cheng,<chengjh@apache.org>(cherry picked from commit d91933a4fddd16e2997f7bc945424a97a540a8d3) Change-Id: I63faa611317b554af3d34372ea0d4c8c2cbc4bfb
* Fix issue #i119649: Hyperlink font size increased if saved to .doc fileJian Hong Cheng2013-04-051-0/+7
| | | | | | | | | * sw/source/filter/ww8/ww8atr.cxx MS Word Binary compatibility Patch by: Chen Peng,<chenpeng2006@gmail.com> Found by: Yan Ji,<yanji.yj@gmail.com> Review by: Jian Hong Cheng,<chengjh@apache.org>
* new module i18nlangtagEike Rathke2013-04-0557-67/+67
| | | | | | | | | | | Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
* Get rid of copy&paste by moving code from WW8Export to MSWordExportBaseMiklos Vajna2013-04-054-73/+9
| | | | Change-Id: I1a36fb3d20d1e67484668b7ba8feb1c96505af59
* w:numPicBullet export testcaseMiklos Vajna2013-04-053-23/+22
| | | | Change-Id: Ia8a32b6d9fcb53e3974940c173edb2fe4c9e1ab3
* DOCX export of w:numPicBulletMiklos Vajna2013-04-054-2/+137
| | | | Change-Id: Ib8bcfb6bc63a5f14fbc36edc39a907b4955628e9
* We need the vbahelper headers especially when DISABLE_SCRIPTINGTor Lillqvist2013-04-051-0/+4
| | | | Change-Id: I632c3f14e4babbdbe2c35810a17bb39d5a42baf6
* Simpler and cleaner way to get rid of rulers and scrollbars for non-DESKTOPTor Lillqvist2013-04-052-16/+38
| | | | | | | | | | Modify the IsView*() inline functions in the viewoprt.hxx header to always return sal_False for non-DESKTOP. No ifdefs in the source files. Presumably when optimizing the compiler will notice that the inlined function always returns false and not generate code for the unwanted case. Change-Id: I07a4bc57cd621f63839d8e8bf551d40250fd9078
* fdo#42781 WaE: C4101 unreferenced local variablePetr Kraus2013-04-041-57/+12
| | | | | | | | | | fixed by OSL_FAIL -> SAL_WARN. Rewritten rest of the file to match this style. Change-Id: I7fdb5a1b0a16ee7cfe15f7aee4b2fb95b9072c3d Reviewed-on: https://gerrit.libreoffice.org/3204 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* make border property of multiline edit optionalCaolán McNamara2013-04-041-1/+1
| | | | Change-Id: Ideeda46baf3d96dd52a77b5d225df3c00153183e
* Not escape single quotes in src\hrc filesZolnai Tamás2013-04-041-1/+1
| | | | | | | | Escaping them is not needed. Plus escaped quotes are taken into po files and make translater's work more uncomfortable. Change-Id: I2ea7218120bc3d9967bdf51091ef091acbf2b73c
* w:numPicBullet import testcaseMiklos Vajna2013-04-042-0/+23
| | | | Change-Id: I70ccfe4d927f404ce90d970e76fdbf0e2d7a5cf7
* Resolves: #i56806# Page background lost when export to doc formatYong Lin Ma2013-04-042-0/+13
| | | | | | | | Patch by: Chen ZuoJun Review by: mayongl (cherry picked from commit 4034798d137593863fdc9041ec9cd55ad88fbf84) Change-Id: I76eb50834eae00837caaf4e49d547d7d0e309f30
* Revert "Fix issue i120718: after save the sample file with page border and ↵Xisco Fauli2013-04-031-3/+1
| | | | | | shadow to doc, the shadow depth and color changed" This reverts commit ac4c6860961264d23504df90ccf805bd25be032f.
* Fix issue i120718: after save the sample file with page border and shadow to ↵Jian Hong Cheng2013-04-031-1/+3
| | | | | | | | | | | doc, the shadow depth and color changed * source/filter/ww8/ww8par6.cxx MS Word Binary compatibility Patch by: Fan Zheng,<zheng.easyfan@gmail.com> Found by: dongjun zong,<zongdj001@gmail.com> Review by: Jian Hong Cheng,<chengjh@apache.org>
* remove obsolete helpids and cleanup uiconfig XMLMichael Meeks2013-04-0310-63/+63
| | | | | | | | | | /usr/bin/perl -pi.bak s/\s+statusbar:helpid="helpid:\d+"\s*/ /g; s/\s+toolbar:helpid="helpid:\d+"\s*/ /g; s|" />|"/>|g; Change-Id: Iebb40c7e168835e02a63c17b93adee4139069ee0
* remove obsolete helpids and cleanup uiconfig XMLMichael Meeks2013-04-03168-2177/+2177
| | | | | | | | | /usr/bin/perl -pi.bak s/\s+statusbar:helpid="helpid:\d+"\s+/ /g; s/\s+toolbar:helpid="helpid:\d+"\s+/ /g; s|" />|"/>|g; Change-Id: I3489a943476f9dae1bd6009e3cd2ea7ea04b6275
* fdo#51916 testcaseMiklos Vajna2013-04-032-0/+326
| | | | Change-Id: I27ffbab64cfb6763235d4dfd7fb47aa98235274d
* fix fdo#40496: don't reset RES_FRAMEDIR attribute.navin patidar2013-04-031-2/+1
| | | | | | | | | | | | | | fix regression introduced by bb920862c02047471f0ac5e78358e8d8fd9b93e7 commit discussed here : https://bugs.freedesktop.org/show_bug.cgi?id=40496#c13 choosing correct default alignment for RTL text need some discussion. Change-Id: I2aec9391d076af6d5fbf00ba5bdad030ac0286ed Reviewed-on: https://gerrit.libreoffice.org/3182 Reviewed-by: Lior Kaplan <kaplanlior@gmail.com> Tested-by: Lior Kaplan <kaplanlior@gmail.com>
* sal_Bool -> bool.Jan Holesovsky2013-04-031-7/+7
| | | | Change-Id: Ie23ba9e2635d2dee8ad311df956b30e62e76935e
* fdo#32082: Do not reset number format in table cells on edit.Jan Holesovsky2013-04-031-17/+21
| | | | | | | | | | | | | | | When we changed the default to _not_ to recognize the number formats in table cells (commit 334c34e4ec803c65e43abf20edbc6faf7fa95e76), it caused that any edit of a number formatted cell had reset it to text on edit. This was quite unexpected, because when eg. there was a number that contributed to a sum, and it changed to text, the sum changed as if there was a '0' there. To solve this, try hard to retain the number format regardless of the 'Recognize Number Formats' setting when there was a number formatting assigned to the cell. Change-Id: Ib43e0877420d90cdac7a0357d1ef3a549c866fb7
* Keep semantics, but improve readibility.Jan Holesovsky2013-04-031-27/+24
| | | | Change-Id: I32c18cb7b080f4847118a2d7e8d77dcd2bbce308
* ooxmlimport: conditional table styles fixedSJacobi2013-04-031-0/+0
| | | | | | | Change-Id: I84f1d7c718dfc120b76364479ca68f63d2549b9f Reviewed-on: https://gerrit.libreoffice.org/3175 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
* coverity#704129: Operands don't affect resultJulien Nabet2013-04-021-1/+1
| | | | | | | Change-Id: I6faf86c3a41296ba4a267a58d7d0814e526b85a8 Reviewed-on: https://gerrit.libreoffice.org/3141 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* implement import/export of RTF_MNORMiklos Vajna2013-04-022-0/+96
| | | | Change-Id: I9caea7fbea4643e57d81ad3b7812d0cc10f54c11
* fix fdo#40496: don't reset RES_PARATR_ADJUST & RES_FRAMEDIR attributes.navin patidar2013-04-021-1/+3
| | | | | | | Change-Id: I69298632d56decbce3eb7058b982d845cb3e7240 Reviewed-on: https://gerrit.libreoffice.org/3146 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
* fdo#59273 DOCX import: fix table width when w:tblW is missingMiklos Vajna2013-04-021-1/+4
| | | | | | | | Regression from 6718482c072defe5d885030826fef5ef833732e9, put back the table width counting in DomainMapperTableManager::endOfRowAction(), in case the document has no explicit w:tblW token. Change-Id: I8bd983045e1950451c9afb4f15f1deb87312524e
* Resolves: #i119292# remove misusage of <SwDoc::Set|IsLoaded()>Oliver-Rainer Wittmann2013-04-025-53/+50
| | | | | | | | | | | | | | | | | ...for the adjustments of certain AT_PAGE anchored objects Addresses the underlying problem of fdo#37024 fixed by 9d32497c01475f2b5e5bec756e4dd0ca9f9d4928 (cherry picked from commit b41eec25c2c6bc44eef55ae1c4ef57b9012fc8e6) Conflicts: sw/inc/doc.hxx sw/source/core/doc/doclay.cxx sw/source/core/doc/docnew.cxx sw/source/core/layout/frmtool.cxx Change-Id: I786eabdf84677e14c6f4b67d79e1e210e0532a21
* Fix typo: addtional => additional in the comment.Golnaz Irannejad2013-04-021-1/+1
| | | | | | | | Change-Id: I7e9e71c721266a0cbc4412024ec49cb689672876 Reviewed-on: https://gerrit.libreoffice.org/3165 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
* update pch filesThomas Arnhold2013-04-021-0/+1
| | | | Change-Id: Ic33dd20a469d1905d2bdaf1ce3633e6ac6db8a4c
* sw: remove macrosThomas Arnhold2013-04-027-121/+98
| | | | Change-Id: Iec447843f4f314bbd562f2e4821b4bcfadeeb565
* Fix #119510# - fix some invalid FLY_AT_PARA case:Lei De Bin2013-04-011-2/+11
| | | | | | | | | | | | | The width should be automatically re-sized, then for the horizontal alignment left is better than right. Found by: yan ji Patch by: Lei De Bin Review by: Chen Zuo Jun Conflicts: sw/source/filter/ww8/ww8par.cxx Change-Id: I584b81bf2f32e8ae41bd761f760672a33d1bfd73
* Avoid rulers in non-DESKTOP environmentTor Lillqvist2013-04-011-1/+3
| | | | | | Another simple first step. Change-Id: If683004cbb1ffac01e90b9b27e81c033d5b0e529
* Comment translation GER-ENG in sw/source/ui/utlui/ (Part 3)Matthias Freund2013-04-017-139/+63
| | | | | | | Change-Id: I33a96565553a78e30f4d6af0b4b92371188d053e Reviewed-on: https://gerrit.libreoffice.org/3144 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* fdo#62470 fix the table format dialog readingFaisal M. Al-Otaibi2013-04-011-2/+19
| | | | | | | | | | | this will fix the wrong reading in table format borders dialog. Change-Id: Ie8061ec4073fe9fd779a739ed717348d37319fe4 Change-Id: I624cf7c162d3983fe4625e8e2e6fef4fc556eed0 Reviewed-on: https://gerrit.libreoffice.org/3134 Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
* fdo#62470 fix the input change when the table RTLFaisal M. Al-Otaibi2013-04-011-21/+58
| | | | | | | | | this fix the wrong borders changes when the table RTL. Change-Id: I6e963c1bb71c63bffe8c8f95c091a5692c21cd31 Reviewed-on: https://gerrit.libreoffice.org/3133 Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
* Comment translation GER-ENG in sw/source/ui/utlui/ PART2Matthias Freund2013-03-316-70/+54
| | | | | | | Change-Id: If636f0de7d883412e36c76fe0de997204021d45b Reviewed-on: https://gerrit.libreoffice.org/3129 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* #120573# fix the export issue for the text box in header&footer with the ↵Lei De Bin2013-03-311-0/+6
| | | | | | | | margin mirrored layout Reported by: Yan Ji Patch by: Lei De Bin Review by: Chen Zuo Jun
* #119609# Fixed alphabetical and roman numberals became ditial numberingLei De Bin2013-03-311-1/+1
| | | | | | Reported by: Yan Ji Patch by: Chen Zuo Jun Review by: Lei De Bin
* Multiple typo fixes, small code changesChris Sherlock2013-03-3110-98/+81
| | | | | | | | | | | | | * Corrected spelling errors in comments * In accpara.cxx, SwAccessibleParagraph::_getRunAttributesImpl had the if statement commented out, but the scope block remained... minor in the grand scheme of things, but messy code * Some unused commented out code removed Change-Id: Id8b29c4051c7c09a1cc555996f9e56fd4f0f3611 Reviewed-on: https://gerrit.libreoffice.org/3135 Tested-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
* Correct typos in sw READMEChris Sherlock2013-03-311-1/+1
| | | | | | | Change-Id: I61323685b33817a2641713455bac1a079687cb4d Reviewed-on: https://gerrit.libreoffice.org/3131 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
* Use OUString and sal_Int32 in GetTextBreak()Chr. Rossmanith2013-03-302-12/+32
| | | | | | | Change-Id: I66b85365d1c59f802253b8abdb1e04e25950a09b Reviewed-on: https://gerrit.libreoffice.org/3098 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* OSL_FAIL -> SAL_WARNThomas Arnhold2013-03-301-4/+1
| | | | | | | Change-Id: I1871e5e3a319b2d5177ae4bd470046c022c14eb7 Reviewed-on: https://gerrit.libreoffice.org/3121 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* fix buildThomas Arnhold2013-03-301-1/+0
| | | | Change-Id: Icb72b18785bb37457f2eaf86e0639cedc119ee92
* Comment translation GER-ENG in sw/source/ui/utlui/ (Part1)Matthias Freund2013-03-305-291/+175
| | | | | | | Change-Id: I2e216493168e5fea170fa9f0be35919a8c7d2020 Reviewed-on: https://gerrit.libreoffice.org/3101 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* fdo#48557 implement DOCX export of inner margin values for textbox textMiklos Vajna2013-03-294-1/+30
| | | | Change-Id: I524e3bcd21731ad203a420f60dd328c6551f0eb7
* implement RtfAttributeOutput::PlaceholderFieldMiklos Vajna2013-03-293-2/+16
| | | | Change-Id: Ib6fd380736c5567a98317ec117969d8c76a31f02