summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-04-02fix fdo#40496: don't reset RES_PARATR_ADJUST & RES_FRAMEDIR attributes.navin patidar
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>
2013-04-02fdo#59273 DOCX import: fix table width when w:tblW is missingMiklos Vajna
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
2013-04-02Resolves: #i119292# remove misusage of <SwDoc::Set|IsLoaded()>Oliver-Rainer Wittmann
...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
2013-04-02Fix typo: addtional => additional in the comment.Golnaz Irannejad
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>
2013-04-02update pch filesThomas Arnhold
Change-Id: Ic33dd20a469d1905d2bdaf1ce3633e6ac6db8a4c
2013-04-02sw: remove macrosThomas Arnhold
Change-Id: Iec447843f4f314bbd562f2e4821b4bcfadeeb565
2013-04-01Fix #119510# - fix some invalid FLY_AT_PARA case:Lei De Bin
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
2013-04-01Avoid rulers in non-DESKTOP environmentTor Lillqvist
Another simple first step. Change-Id: If683004cbb1ffac01e90b9b27e81c033d5b0e529
2013-04-01Comment translation GER-ENG in sw/source/ui/utlui/ (Part 3)Matthias Freund
Change-Id: I33a96565553a78e30f4d6af0b4b92371188d053e Reviewed-on: https://gerrit.libreoffice.org/3144 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-01fdo#62470 fix the table format dialog readingFaisal M. Al-Otaibi
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>
2013-04-01fdo#62470 fix the input change when the table RTLFaisal M. Al-Otaibi
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>
2013-03-31Comment translation GER-ENG in sw/source/ui/utlui/ PART2Matthias Freund
Change-Id: If636f0de7d883412e36c76fe0de997204021d45b Reviewed-on: https://gerrit.libreoffice.org/3129 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-31#120573# fix the export issue for the text box in header&footer with the ↵Lei De Bin
margin mirrored layout Reported by: Yan Ji Patch by: Lei De Bin Review by: Chen Zuo Jun
2013-03-31#119609# Fixed alphabetical and roman numberals became ditial numberingLei De Bin
Reported by: Yan Ji Patch by: Chen Zuo Jun Review by: Lei De Bin
2013-03-31Multiple typo fixes, small code changesChris Sherlock
* 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>
2013-03-31Correct typos in sw READMEChris Sherlock
Change-Id: I61323685b33817a2641713455bac1a079687cb4d Reviewed-on: https://gerrit.libreoffice.org/3131 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-03-30Use OUString and sal_Int32 in GetTextBreak()Chr. Rossmanith
Change-Id: I66b85365d1c59f802253b8abdb1e04e25950a09b Reviewed-on: https://gerrit.libreoffice.org/3098 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-30OSL_FAIL -> SAL_WARNThomas Arnhold
Change-Id: I1871e5e3a319b2d5177ae4bd470046c022c14eb7 Reviewed-on: https://gerrit.libreoffice.org/3121 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-03-30fix buildThomas Arnhold
Change-Id: Icb72b18785bb37457f2eaf86e0639cedc119ee92
2013-03-30Comment translation GER-ENG in sw/source/ui/utlui/ (Part1)Matthias Freund
Change-Id: I2e216493168e5fea170fa9f0be35919a8c7d2020 Reviewed-on: https://gerrit.libreoffice.org/3101 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-29fdo#48557 implement DOCX export of inner margin values for textbox textMiklos Vajna
Change-Id: I524e3bcd21731ad203a420f60dd328c6551f0eb7
2013-03-29implement RtfAttributeOutput::PlaceholderFieldMiklos Vajna
Change-Id: Ib6fd380736c5567a98317ec117969d8c76a31f02
2013-03-29Use const_iterator instead of iteratorJulien Nabet
Change-Id: Iaacbbfb4d97d7081e5a0b520b4037d4988604e0b
2013-03-28export placeholder (RES_JUMPEDITFLD) to .docx (part of bnc#779630)Luboš Luňák
Change-Id: Idbf2b1e04eebab703ba3e6c3fac8e50829833c70
2013-03-28testcase for 6718482c072defe5d885030826fef5ef833732e9Miklos Vajna
Change-Id: I32643128598e584076af41d0e4a2ceb58817a4d7
2013-03-28fix failing testcasesMiklos Vajna
Change-Id: I2f4deaca308b64f1dc923e3d0a9c10c6f974a33b
2013-03-28added table width test documentSJacobi
Change-Id: I313eda77cef5f4747decb5ab7c261012954a0a32 Reviewed-on: https://gerrit.libreoffice.org/3112 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-03-28sw: ... and was sentenced to write a unit test for itMichael Stahl
Change-Id: I2fb6f97130910e3ae123242505aed0fb57fee512
2013-03-28sw: some idiot broke text transliterationMichael Stahl
(regression from 8d25fde680beb9dafb7c9c861b5c00d1ae4f4985) Change-Id: I00556cd87115fa8e67f32502fc88a4d1eee2a423
2013-03-28add fwl, scui, sdui, swui to Library_mergedPeter Foley
Change-Id: I2aaa67fef4350d60497b891bc93b43a698c12660
2013-03-28fdo#37716 implement import of RTF_NOWRAPMiklos Vajna
Change-Id: Ic2c0f4c1924811a6ee1c40221db447babdd74a3a
2013-03-28coverity#704348 Logically dead codeJulien Nabet
Change-Id: I8c97042c07e3eb66468591fa9c486998ffb1e37f Reviewed-on: https://gerrit.libreoffice.org/3048 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Christoph Brill <egore911@gmail.com> Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-03-28coverity#704345 Logically dead codeJulien Nabet
Change-Id: I72360ada3abedc75b2718742e8a038eb6d214f0c Reviewed-on: https://gerrit.libreoffice.org/3047 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-03-28Revert "sw: unused COLFUZZY macro in non-debug builds"Stephan Bergmann
This reverts commit 4f90888df7dafde7f06ea11d3a3c5b081a6d9619, got already addressed with 0f60c1a50a98683e44325114e4cc19b355c87f49 "OSL_ENSURE -> SAL_WARN_IF (silence -Werror=unused-macros)."
2013-03-28sw: unused COLFUZZY macro in non-debug buildsMiklos Vajna
Change-Id: I0f2981d691edf1d476bf94deb2f539e8d3c35334
2013-03-28OSL_ENSURE -> SAL_WARN_IF (silence -Werror=unused-macros)Stephan Bergmann
Change-Id: I34cb3308916c95b95d3197d207c49a3799760163
2013-03-27SwCrsrShell: remove pointless resetting of Mark positions...Michael Stahl
... before calling DeleteMark(), which actually resets the Mark position to something guaranteed not to be an SwIndexReg since CWS odfmetadata2; checking HasMark() before DeleteMark() is pointless too. Change-Id: I145c3800a4a7e5d20de9567d8f3163431577e918
2013-03-27fdo#60513: SwCrsrShell::Push(): take position from table cursorMichael Stahl
If there is a table cursor, store its point/mark position on the cursor stack instead of pCurCrsr, which in this case is just one cell in a ring that contains a SwShellCrsr for every selected cell. SwCrsrShell::Pop() is surprisingly able to restore the prior state, because it calls UpdateCrsr(), which detects that the pCurCrsr spans multiple table cells and re-creates pTblCrsr, and then later on the first GetCrsr() call SwTableCursor::MakeBoxSels() will restore the ring of SwShellCrsrs from the pTblCrsr selection. Change-Id: Ibe9a7f379ece61c7dab1a6f69abaebf42a4c85ec
2013-03-27Delete German src stringsZolnai Tamás
Change-Id: Iec1def690a94c7917b6983cb6a12fb953e89eb34
2013-03-27fdo#53442 SwTxtPaintInfo::_DrawBackBrush: color multi-para comment rangesMiklos Vajna
Change-Id: Ieb9a33cda8297b432e1d0ea8224ba9231b6ac2c1
2013-03-27SwPostItField::GetByName: make this available for the layout as wellMiklos Vajna
Change-Id: Ic2a2d759d855cecadb8429541d0a7665a6deaa4b
2013-03-27Remove HTMLMODE_FRM_COLUMNS and export column-count CSS attributeHarri Pitkänen
For multi-column sections in Writer, HTMLMODE_FRM_COLUMNS controlled whether column settings for the section were exported to html or not. This was disabled for Internet Explorer and enabled for other browsers. The export was implemented using non-standard MULTICOL html element and did not actually work in any modern browser (apparently only some versions of Netscape have ever supported this). This patch - exports the column count also using "column-count" CSS attribute which is supported by latest versions of Opera and IE. Firefox and Webkit based browsers would currently require -moz-column-count and -webkit-column-count but I have not added these since the browsers will likely stop requiring the prefix in the future anyway. - removes HTMLMODE_FRM_COLUMNS conditional so that this export will happen with all html compatibility options, including IE. Remaining issue: Using the MULTICOL element (as opposed to DIV element) confuses at least Opera so that it ignores all style attributes applied on the element. But corresponding html import code in LibreOffice still relies on MULTICOL. I will work on a separate patch to add support for column-count CSS attribute to the import code and switch export to use DIV instead. Change-Id: I82a065fdda0e074fbfcd0007e6ff6e46185be3f5 Reviewed-on: https://gerrit.libreoffice.org/2950 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-03-27unit test for fdo#62805Maxime de Roucy
Change-Id: Iebc1a63496aaf54b9e459d0ed53db5cae49929ac Reviewed-on: https://gerrit.libreoffice.org/3086 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-03-27fdo#30983 RTF filter: fix handling of RTF_PVPG and RTF_PHPGMiklos Vajna
There were two issues here: 1) The export filter never exported these keywords. 2) The "flymaincnt" RTF extension we inherited from OOo actually never worked (i.e. it's like this since 7b0b5cdf, the initial import...), as RTFVertOrient / RTFHoriOrient's second parameter was stored in 1 bit, so text::RelOrientation::PAGE_FRAME (7) was read back as 1 instead. Note that I want to get rid of this flymaincnt extension in the exporter anyway soon, so killing the RTFVertOrient / RTFHoriOrient duplication is pointless: the sw version will go away. Change-Id: I5335567833ecf87e6b0ba7c73150a7b95c57f237
2013-03-27Use <config_features.h> instead of -DLIBO_FEATURE_*Tor Lillqvist
Change-Id: Idc198beb6d759dbe3bad6ea58d896c1555b4cc0f
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27Change the German "Lineal" to "Ruler" in identifiersTor Lillqvist
Change-Id: I69f80a3a889b2bae148ac502d472d490c71ecb49
2013-03-27kill some unused inlinesThomas Arnhold
Change-Id: I17160b264b547067c694dd268eb0d3bd1086565d
2013-03-26coverity#735533 Logically dead codeJulien Nabet
Change-Id: Iebc7a7284df0899d31eb6161b25a2e4c2f4cf272
2013-03-25remove external include guardsThomas Arnhold
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd