summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2012-08-22fdo#51777: add a hack for 1 twip DOUBLE borders:Michael Stahl
Arguably such annoyingly thin double borders don't make much sense anyway, because they're essentially 2 hairlines with ~no space between, but unfortunately older LO versions are able to create them; since the refactoring in 2d045cdb69176b280812dda0b813371cf1ac72e2, which changed the BorderWidthImpl::Get* methods to return 0 due to rounding, they were ignored at least in the HTML import, which is a regression. So add a special purpose hack that essentially rounds up the first line to 1 but not the other lines so the visual result is a hairline single border. Change-Id: I20ac4675bcf67ea58a6931a40bff3605390e9c0d
2012-08-21n#775899 SwXText::convertToTextFrame fix for multi-paragraph tablesMiklos Vajna
The problem was that when we only had a table inside the frame, the DelFullPara() call removed the last paragraph of the first cell, and returned no error. Instead, check if we had to remove paragraphs both before and after, and if so, use the manual remove all the time. Change-Id: I9a3591ce9a92a2aca7d2f65b62fdf641f54e4f05
2012-08-21n#775899 SwXText::convertToTextFrame fix removing fake paragraphMiklos Vajna
In case the textrange contains a single table, the DelFullPara() call to remove the ending fake paragraph failed. When this happens, we now find the paragraph in question manually to delete it. Change-Id: I7055d4489192a8a694aef118f7646d8db87a64df
2012-08-21fdo#53175: Fixed the end of hyperlinksCédric Bosdonnat
This fixes the end of hyperlinks appearing after field ends (while the start of hyperlink is after field start too). Change-Id: If21b8973baaca183e0103e3a70ed98b99aa59392
2012-08-21add more runtime deps on resource files for unit-testsMatúš Kukan
Change-Id: Id9bbb2bbcafe335eada3f36ae103a9074a56848f
2012-08-20Remove dead java code, fields and local variablesNoel Grandin
Change-Id: If777dcb0e0142229df737c2f1e3e6ecb61f64168
2012-08-20SwXTextTable::setPropertyValue: de-dentMichael Stahl
Change-Id: Icad5dfcf8b9962623ac9f8954672a50a232bb9be
2012-08-20SwXTextTable: add "TableBorder2" propertyMichael Stahl
This new property is necessary because the old TableBorder cannot be extended to contain the BorderLine2 structs without breaking compatibility. Change-Id: I5e22782256b29224225a9d74c818b2c47fee8526
2012-08-20Revert "fdo#53175: docx export, close hyperlinks before fields"Cédric Bosdonnat
This reverts commit 82c46f1877c65042ac976312267c14bf0e5847f4 as it breaks a unit test. Needs to find a better fix.
2012-08-20fdo#53175: Don't load the default values of the styles in writerfilterCédric Bosdonnat
...or we may have some additional properties set on some styles. Change-Id: I5a5d307931a2a6c1f25bd2da93381d8de65c2480
2012-08-20fdo#53175: docx export, close hyperlinks before fieldsCédric Bosdonnat
Change-Id: Ic723149675c3fe2fca08c4ec095d14c5a39f4a8f
2012-08-18remove some useless commentsThomas Arnhold
Change-Id: Ied223890539a3407abbed7c7135dfc3de2f2fe48 Reviewed-on: https://gerrit.libreoffice.org/429 Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com> Tested-by: Philipp Riemer <ruderphilipp@gmail.com>
2012-08-17Translate some German comments to EnglishKevin Hausmann
Change-Id: Iffde46f904ff3090df48f130ee4b82f23b15076e Reviewed-on: https://gerrit.libreoffice.org/423 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-08-17gbuild: register all jarsMichael Stahl
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-08-16idxexample.odt and html.stw cleanup (fdo#49101, fdo#49098)Istvan Turi
idxexample.odt will be localized through the standard l10n framework, i.e. with use of .po files, because now strings are read from resources. html.stw is language independent now, defaults for different scripts are handled in the code. Change-Id: Ie20cafc6191721a959b33e2559b9866e3762a146
2012-08-16sw layout dump: include the height and width of SwTxtPortionMiklos Vajna
Change-Id: Ia2bdff098d1bbd466f857e19315a22c835810202
2012-08-16sw layout dump: include the height and width of SwFlyPortionMiklos Vajna
Change-Id: Ib47087a9dcb96779958edfc1a984cf38cabd1086
2012-08-16de-duplicateMatúš Kukan
Change-Id: I91bcd8721249d14f76270851dc129082a4b25ed5
2012-08-15moved my border test to odfimportArtur Dorda
Change-Id: Iafab67a2e1f75f754be99a98f8e573ad07847463
2012-08-15moving border tests from {rtf,ooxml,ww8}tok to {rtf,ooxml,ww8}importArtur Dorda
Change-Id: I705fc507429c5516e88597bd4db9e2e3dead8d93
2012-08-15Added new border test in Writer, checks all the borders, not only the top oneArtur Dorda
Change-Id: Ibbbd5043e89104de4b91425b4972920e8c51cdca
2012-08-15Border test now available in rtftokArtur Dorda
Change-Id: I9d72c5f5b075983b9be921e15d62c274d84e350c
2012-08-15Border test now available in ww8tokArtur Dorda
Change-Id: I5b1c3f6477583d71eece7c2b4c1b6a4ba7e6f4a2
2012-08-15Refactoring the border test in sw, one header will be in all 3 testsArtur Dorda
Change-Id: I007019738c901e0194006ae34e7e5b99f72ee91d
2012-08-15Word format import - new test in ooxml checking top border's widths in tablesArtur Dorda
Change-Id: I0e4434e9266190f0719df7fbba9f6f2904da8707
2012-08-15fdo#53113 testcaseMiklos Vajna
Change-Id: I64cb3050dcfd10253daa521b2c5fa69ed1cfa952
2012-08-14RtfSdrExport: unnecessary explicit OString ctorsMiklos Vajna
Change-Id: I2d8b9870f2d8c6836e1006e10eed3fe4a2566c2d
2012-08-14RTF export of fillBlip and fillOpacity shape propertiesMiklos Vajna
Change-Id: Ib2c10de54725e51ecbb3dc425ab6ca8e01a4c6ea
2012-08-14fdo#53113 DOCX: export fillBlip shape propertyMiklos Vajna
Change-Id: Id23518d0f72d7650f3d875028f83caf9b6581ccd
2012-08-14RTF shape filter: handle custom segment typesMiklos Vajna
Change-Id: I320bab34080b401c61efbc5b3383836362f5f43f
2012-08-14fdo#50941: "Characters per line" will not change when changing "Max base ↵Takeshi Abe
text size" max characters per line follows max base text size in the squared mode of text grid Change-Id: I47f8cd0db1ece5c940f31aada7d51d40058c7513
2012-08-14minimize fractured text spansCaolán McNamara
There's a mismatch between writer and word as to the categorization of text, which is a pain. Change-Id: Id087034e72113d718a98ad21db1c09c79d1d4772
2012-08-14fdo#39468: Translated German comments in sw/source/core/docnode/ndnotxt.cxxBertrand Lorentz
Change-Id: I0838ef7e1a80056a2a0bf0fc8d4ff91f9acbe5b7
2012-08-13unusedcode.easy: remove unused codeThomas Arnhold
Change-Id: I87e7264ffd3086796aaa8e136c2f9b77fde7b74f
2012-08-13fdo#53113 docx export: initial shape text supportMiklos Vajna
Text is written, but paragraph and character properties are not yet handled. Change-Id: I828f8b6096bde000347066b23925376f6f945dbc
2012-08-13misc. cleanup.Michael Meeks
2012-08-13fdo#53439 SwPageFrm::PaintBorderAndShadow fix painting at small zoomMiklos Vajna
Change-Id: I235895caaf95225148e61d96f4c3b14bf9f5542e
2012-08-13fdo#47495 fix RTF import of multiple shapes inside textframesMiklos Vajna
Change-Id: Iee8541ff9e88139648d45f08968476f2b1d4e1b3
2012-08-13add cppunit tests to guard against .txt import regressionsCaolán McNamara
i.e. aac04652fda01b0299e17087b151f07d6115e894 cockup Change-Id: I858a6895678266cdc714962c04bb24bf5769d656
2012-08-13Default ascii import dialog to fixed text font the the detected languageCaolán McNamara
For the Ascii import dialog detect the language first and base the default fonts off that as the default fixed width font for that language Change-Id: I6e81c7c38900a441076dc591c070b99a2184e081
2012-08-13fdo#53210 testcaseMiklos Vajna
Change-Id: I23606a7601b71890acf7e260951e1bacc0fc2df9
2012-08-11Remove unused local varsJulien Nabet
Change-Id: I80bd0329e15cb365091ea6f5c7e1ef3559d681fc
2012-08-11fdo#53328: sw: ascii import: fix crash:Michael Stahl
The aWork buffer is missing space for the null terminator, which the previous String::AllocateBuffer automatically added. (regression from aac04652fda01b0299e17087b151f07d6115e894) Change-Id: Ia12ad46dfb95dd59965a073debb95b241b2e97d9
2012-08-10Remove TemplateManager menu entry.Rafael Dominguez
Change-Id: I000fc9c1328aec5924da1557da599e6c7bdcb373
2012-08-10Rename Templates->Save menu to Save As Template.Rafael Dominguez
- Move entry to File menu instead of File->Templates. Change-Id: I3c7df6057f9634d0e3879c90e0760f1fecc98954
2012-08-10Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: Ic8d149a78b2bc2bf352b7893202d0d0b6730746c
2012-08-10fdo#53210 SwDoc::UpdateExpFlds don't crash when hiding all sectionsMiklos Vajna
Change-Id: I9b7a61f18f987214708195a89f6e346c865c7f9f
2012-08-10Bin RtfAttributeOutput::WriteHex(sal_Int32 nNum)Julien Nabet
Change-Id: Ibeb903c03a9c4c8638985847f527ebfa7c2756ce
2012-08-10fdo#48446 implement RTF_CPGMiklos Vajna
Change-Id: I2fb2004f2f755ce337ddd1419acf2510f17622f3
2012-08-10Page Break: set position only when button is invisibleIvan Timofeev
and don't let the moribund fading-out button pursue the mouse Change-Id: I6f821f7e8144e9448c1cb65f8ce96102419cd6f0