summaryrefslogtreecommitdiff
path: root/sw/qa
AgeCommit message (Collapse)Author
2013-01-22sw: DOCX export of TextFrame border/shadow testcaseMiklos Vajna
Change-Id: I26be6fbd5f0cd95218cdd7235e1fc10eeafb6704
2013-01-22sw: DOCX export of TextFrames testcaseMiklos Vajna
Change-Id: Ie46a2627d247fb293606c6deab3254113b741336
2013-01-21fdo#59530 WW8 import of commented text rangesMiklos Vajna
Change-Id: I3e2928922ebcec8188c1b5416108373c4f26dd62
2013-01-18disable the test case for paragraph mark exportLuboš Luňák
I don't know what's wrong with it or why the problem shows only for me on openSUSE12.2, but it's been broken for several days now and there's not much point in keeping it that way given that it didn't work from the beginning. Change-Id: I608bc01e4ee914629db1aa75ce8463044fe20ca6
2013-01-17fdo#52286 fix RTF export of sub/super script font heightMiklos Vajna
Change-Id: If71cb6a20842f2fbe8eae94955da2d53842999a4
2013-01-16sw unit test: force layout compute after loading documentPierre-Eric Pelloux-Prayer
Change-Id: I35173bbc2a4e33dfee555aa71f053e219ef01d1e
2013-01-15docx export: add test case for paragraph mark exportPierre-Eric Pelloux-Prayer
Change-Id: I2701ee12221460f8ff19397ea215cc1484648d18 Reviewed-on: https://gerrit.libreoffice.org/1650 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-15clean up copy&paste tests duplicationMiklos Vajna
Change-Id: Idc3e959ba701f9967f7bdb95bd920c8e7416c80a
2013-01-15fdo#59338 fix RTF paste into footnoteMiklos Vajna
Change-Id: I89501f267fd4256eb3b1316ef41a0f9b0786e0f0
2013-01-14fdo#44053 fix this again and this time add a testcase as wellMiklos Vajna
This was about importing RTF tables where different rows had different number of cells. In the meantime, a better implementation was added for DOCX, just using that for RTF fixes the import of this bugdoc. Also fixes a crasher while loading ooo43817-1.rtf. Change-Id: I0970275272eca7f33a442bd6acc97a4f8d9dabeb
2013-01-14SwPaM::HasReadonlySel: sal_Bool -> boolMiklos Vajna
Change-Id: If4c9cb523c6ac357683522029769a82ba10667f1
2013-01-14fdo#57938 testcaseMiklos Vajna
Change-Id: I5a219011952f37861b0688e17afca1b3b07fdc31
2013-01-11doc export: add unit test for bug i106749Pierre-Eric Pelloux-Prayer
Change-Id: I1df4cbb013d94cff7ae5195427044b1e1b2d8895 Reviewed-on: https://gerrit.libreoffice.org/1646 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-11sw unit test: add call to CalcLayout before using the layoutPierre-Eric Pelloux-Prayer
Change-Id: Ibb3f8175729cb579a687275a11884c397152fe94 Reviewed-on: https://gerrit.libreoffice.org/1645 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-11doc export: add unit test for fdo#56513Pierre-Eric Pelloux-Prayer
Change-Id: Ie87648368f877af56878bc83fe3d5ece66f77304 Reviewed-on: https://gerrit.libreoffice.org/1644 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-11sw unit test: layout dump must be resetted in 'reload' methodPierre-Eric Pelloux-Prayer
Otherwise tests relying on layout dumps will parse the wrong dump. Change-Id: Ib7b4bc3a231eb3082567a1d1ed38c96835d43add Reviewed-on: https://gerrit.libreoffice.org/1643 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-09fdo#58242: sw: fix more crashes when not on SwTxtNodeMichael Stahl
In getCrsrPropertyValue etc.; also add a unit test for the problem. Change-Id: Ibd459a43393c39b4fed9fb89aae4a5f7bacff007
2013-01-09fdo#58933 RTF import: avoid fake pars / cells when having graphic inside cellsMiklos Vajna
Regression from 8063e36115a11ddf3db05928db9287947beee74d.
2013-01-09Revert "fix a few /tmp file leaks"Miklos Vajna
This reverts commit 92045e69dab8be60a1c84774f04c437066c3c2bf. Broke a unit test and made all tinderboxes red. Requested-by: Stephan Bergmann <sbergman@redhat.com>
2013-01-08fix a few /tmp file leaksMichael Meeks
Thanks to Jean-Baptiste Faure for digging for these.
2013-01-08n#793998 testcaseMiklos Vajna
2013-01-08SwModelTestBase: clear layout dump cache after testing a documentMiklos Vajna
2013-01-07WW8 filter: zoom factor testcaseMiklos Vajna
Change-Id: I89944f0a242174cc4b3c1fcf4f3f2fe744287ee3
2013-01-04n#793262 testcaseMiklos Vajna
2013-01-02sw: fix loplugin warningsMiklos Vajna
Change-Id: I090a51c112c960b8cc9b208bc7378a5aa3754552
2012-12-30fdo#54612 don't crash on RTF_DPPTX before RTF_DPPOLYCOUNTMiklos Vajna
Change-Id: I35bf580df157dee429d9dca193945ea95616d678
2012-12-28fdo#45183 fix RTF import of tables with different row widthsMiklos Vajna
2012-12-24fdo#57678 fix import of RTF_PARD between RTF_CELL and RTF_ROWMiklos Vajna
2012-12-23fdo#58076 fix import of RTF page margins vs partial section propsMiklos Vajna
The problem was that \sbknone (being a section property) triggered creating a section, but the document doesn't have multiple sections. Make sure we don't send section properties as long as no \sect control words present.
2012-12-22fdo#57886 fix import of RTF_MLIMLOCMiklos Vajna
The RTF spec says control words are case sensitive, and page 252 of the v1.9.1 spec defines \mlimloc, but earlier page 118 and 125 also defines \mlimLoc, so let's accept both.
2012-12-21sw: add csv output for extra filter testsMiklos Vajna
Like the minimal filter tests, these tests are invoked from a single cppunit method since commit 0a30cb22a141c26b4eab43a478d32df0769596ec, so some info about exactly what file failed is necessary. If we are at it, also print the (re)loading time as well.
2012-12-21fdo#53604 fix RTF export of empty footnotesMiklos Vajna
Regression from d4069372484f18b242a42a1996767f57b031fff6
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-19fdo#57881 sw: make UseOnPage independent from SvxPageUsageMiklos Vajna
UseOnPage got changed in commit fa0f42bafbf24e9141ddee728b160b5ab47077f2, but SvxPageUsage got unchanged. Given that right now other applications don't support first page headers / footers, leave SvxPageUsage unchanged and provide conversion methods between the two types.
2012-12-18sw: update README of qa/extrasMiklos Vajna
Change-Id: I7fc9fb44cbcabfc6d9e766777a3425794beb2bb2
2012-12-18fdo#58376 testcaseMiklos Vajna
2012-12-17n#792778 testcaseMiklos Vajna
Change-Id: I0f86c70f5068b32e2a1cf1ac605e32b7e5903e94
2012-12-17n#792778 DOCX import: parse group shapes in oox onlyMiklos Vajna
Previously textframes inside groupshapes were tried to be imported as TextFrames, but then their addition to a GroupShape failed, so the text simply ended up as a normal paragraph. Fix this by importing members of groupshapes as drawinglayer objects, just like how the WW8 import does. Also fix two testcases, which implicitely tested that the groupshape VML element is ignored on import. Change-Id: I1a9fba8a5fd532203a825e55b1d5996277ea12fa
2012-12-08fdo#49934 fix RTF import of column break in case no columns are definedMiklos Vajna
It turns out on that case the column break should be parsed as a page break. Change-Id: I5dddc8f334fab35bc2ff03fd8127989ab6a601f3
2012-12-07fdo#55289: fix crash in SwXShape::setPropertyValue:Michael Stahl
In the libreoffice-3-6 branch the docx import crashes here when setting the anchor position of a shape, because the previous setting of the AnchorType was not done properly: the position of the anchor in the SwFmt did not match the actual position of the text attribute, so we get these assertions: "Missing FlyInCnt-Hint." and crash. This cannot be reproduced with the docx import on master, because on master a different intermediate AnchorType is set, and transitioning from that happens not to cause the crash. But it can be reproduced with a unit test. The regression was introduced in libreoffice-3-6 with backport commit bbbb10a0774b9da546557632cd09c4f6958f8939. Change-Id: I394643e11862543177ba57958a26cd8ce06dc09c
2012-12-04docx fine dashed table border import test case.Eilidh McAdam
Change-Id: I27ee8e360b8fd530f8cfefc58c8a0f96d706b979 Reviewed-on: https://gerrit.libreoffice.org/1125 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2012-12-04fdo#54473 fdo#57133 fix RTF import of character stylesMiklos Vajna
Regression from commit d2d77fd86e6cb7341e113557e2cfe3d7948759bd Change-Id: I7accc5c383de3fa53c12527766c3fc155bfa9863
2012-12-04i#25473: this was fixed by previous commit, so enable...Michael Stahl
...those tests again. Also there does not appear to be a reason to exclude MAYBEVOID properties. Change-Id: Ic73adb8800aee7f65e86394cecfe13b7b24eed13
2012-12-03SwXDocumentIndex: implement css.util.XRefreshableMichael Stahl
... as has been promised since the OOo initial import in deprecation notices in XDocumentIndex :-/ Change-Id: I5dd7e482e0e6d60dcad3de883d5815f729e6b80f
2012-11-30API CHANGE: remove service com.sun.star.text.PrintPreviewSettingsMichael Stahl
This service was obsoleted by CWS printerpullpages: the implementation in Writer was defunct in OpenOffice.org 3.3 and completely removed in OpenOffice.org 3.4. Change-Id: Ia4dd6f1f1d8fc399583032b44d99663532409b5c EXISTENCE: published key "/UCR/com/sun/star/text/PrintPreviewSettings" exists only in registry 1 SERVICE: /UCR/com/sun/star/text/DocumentSettings service1 contains 1 more references as service2 incompatible change: Reference 2 ('PrintPreviewSettings') in 'r1' is not longer a reference of this service in 'r2'
2012-11-30fdo#57708 testcaseMiklos Vajna
Change-Id: I5064cb9bb9700483eac4d56a56e671a392e82f73
2012-11-30sw: test a bit more in qa/extrasMiklos Vajna
For this test document, the first paragraph is part of a textbox, when I reduced the original bugdoc, I forgot about this. Change-Id: Ia8d8aa5992d717a55c4115e4eb6d29f37e365df0
2012-11-30re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115 sw34bf06: #o12311627# use <rtl_random> methods to create unique ids for list styles and list ids http://svn.apache.org/viewvc?view=revision&revision=1172112 sw34bf06 #i114725#,#i115828# - method <SwDoc::ClearDoc()> - clear list structures completely http://svn.apache.org/viewvc?view=revision&revision=1172122 i#118572 - remove ui string and help content regarding usage of Java Mail in Writer's Mail Merge as Java Mail is not used. http://svn.apache.org/viewvc?view=revision&revision=1197035 Patches contributed by Mathias Bauer cws mba34issues01: #i117718#: provide filter name in case storage of medium does not allow to detect one http://svn.apache.org/viewvc?view=revision&revision=1172350 cws mba34issues01: #i117721#: directly provide parameters retrieved from SfxMedium http://svn.apache.org/viewvc?view=revision&revision=1172353 gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 cws mba34issues01: #i117723#: convert assertion into trace http://svn.apache.org/viewvc?view=revision&revision=1172355 cws mba34issues01: #i117699#: keep layout alive until swdoc dies http://svn.apache.org/viewvc?view=revision&revision=1172362 cws mba34issues01: #i117943#: missing color attributes in RTF clipboard http://svn.apache.org/viewvc?view=revision&revision=1172363 Patch contributed by Henning Brinkmann imported patch i#103878 http://svn.apache.org/viewvc?view=revision&revision=1172109 Patches contributed by Michael Stahl sw34bf06: #i117955#: WW8 export: disable storing of section breaks in endnotes http://svn.apache.org/viewvc?view=revision&revision=1172119 Patch contributed by imacat Fixed the Asian language work count. http://svn.apache.org/viewvc?view=revision&revision=1241345 Patch contributed by Pedro Giffuni i#20878 - Add comment with BZ issue for reference. http://svn.apache.org/viewvc?view=revision&revision=1244517 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 add writerperfect dependency.
2012-11-29sw: fix RTF export of text frames anchored to empty paragraphsMiklos Vajna
Regression from d4069372484f18b242a42a1996767f57b031fff6 Change-Id: I28e095819e0c2f1a4b110741ace366329937f863 Reported-by: Michael Stahl <mstahl@redhat.com>
2012-11-26sw/qa/extras: default style change name changedMiklos Vajna
Regression from 2e4f4171d6a29858108922619d680606b633d8f2. Change-Id: Iaaf1cf180458e9b745875aae457e1e3355566385