summaryrefslogtreecommitdiff
path: root/sw/qa
AgeCommit message (Collapse)AuthorFilesLines
2018-12-18sw_redlinehide: make layout based Show/Hide mode the defaultMichael Stahl1-0/+3
remove ExperimentalMode checks Change-Id: Ie098eda0840bbd3231696cae43cc572ad61379fc
2018-12-18sw: refactor a confusing thicket of overloads, all named Find()Michael Stahl1-2/+2
Also, some of these don't really make much sense as member functions of SwPaM, so make them plain functions instead. Also, some pointer parameters are never null, but there is code to handle that case in MakeRegion(); simplify that. Change-Id: I822e814b0cab14f7f31cfa33478ed15774405a61
2018-12-18tdf#108021 Chart: Fix text break of column chart X axisBalazs Varga2-0/+20
With this patch the text break is allowed for column chart X axis if the text is rotated with 0, 90 or 270 degree. (The MS Office only allowed the text break of X axis text when the rotation is 0, 90, or 270 degree.) Change-Id: I0914f6208d5a5c0c864dc0227032ef858b044445 Reviewed-on: https://gerrit.libreoffice.org/65165 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2018-12-18tdf121374 ooxmlexport: export H/F to default sectionJustin Luth4-1/+57
It wouldn't be terrible to duplicate headers/footers unnecessarily, but it is terrible to have them disappear. If the last SectPr has no idea about the section start, it can't know whether it is continuous or started with a page break. In that case, just ensure that the header and footer are explicitly written out. This seems to be a DOCX problem only. I think that doc and rtf both write the section information at the BEGINNING of the section, but DOCX writes it at the END. So, sharing code between these two opposite approaches is difficult. A followup commit can try to make it smarter about knowing the start of the section (because usually pPDNd is zero). Another followup commit can add the missing page breaks. Change-Id: Iff54ed097b4f8692d7d7764089002b00fbde4f51 Reviewed-on: https://gerrit.libreoffice.org/64821 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-12-18tdf#121804 DOCX import: handle sub/superscript inside group shapesMiklos Vajna2-0/+18
Regression from commit d5c934d150cb6cea5f96cbbee4fb5e8312bf027e (n#792778 DOCX import: parse group shapes in oox only, 2012-12-14), where where manual wordprocessingML -> drawingML translation did not handle this character property. Change-Id: I87481bc9c26651fd15dd39a58a92f467e8311256 Reviewed-on: https://gerrit.libreoffice.org/65289 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-12-17tdf#122156: closing a section link should not clear its Hidden flagMike Kaganski2-0/+81
If a section is hidden or not does not depend on whether it's linked or not. Clearing the Hidden flag made all linked sections not hidden in DocumentLinksAdministrationManager::EmbedAllLinks() during mail merge. Existed since commit 84a3db80b4fd66c6854b3135b5f69b61fd828e62 initial import Change-Id: If347008e4cf48ab1327eb04db9fdf69750ce8fa5 Reviewed-on: https://gerrit.libreoffice.org/65286 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-12-17tdf#99631 DOCX import: set 1:1 scale in embedded XLSXLászló Németh2-0/+9
based on the OLE object size, instead of applying different scales for the bad (non-imported) VisibleArea settings. Change-Id: I3f246b779afd145fe260af83173c1944df21fb1a Reviewed-on: https://gerrit.libreoffice.org/65244 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2018-12-17Allow setting some MediaDescriptor properties during runtimeSamuel Mehrbrodt1-0/+59
Change-Id: Id6bb554c0e165c6d1f9c28c48fdbcd7156f42316 Reviewed-on: https://gerrit.libreoffice.org/65256 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-12-17tdf#121110 ww8import Jc80 justify is absolute, not Bidi relativeJustin Luth2-0/+6
Paragraph justification can be specified either absolutely (in old versions or with eWW8:Jc80) or relatively (with eWW8:Jc). The last processed SPRM wins (I assume). The WW8 format seems to ALWAYS specify Jc80, and that is overwritten by an optional Jc SPRM. I haven't seen Jc be processed before a Jc80 SPRM, but if it does, then the justify would need to be treated as absolute. If for some reason neither of these exist, BiDi will adjust by default only if it is the newer WW8 format. Again, that is an assumption because I haven't seen such a document to test. Change-Id: I966077d743f1d148fe2fb9faba87fbdd8f3507f3 Reviewed-on: https://gerrit.libreoffice.org/63591 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-12-17Fix typoAndrea Gelmini1-1/+1
Change-Id: I62306962317a4801b2f6a83a96fa3645e652e80f Reviewed-on: https://gerrit.libreoffice.org/65238 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2018-12-14sw export: restore ww8 FormatBreak() to pre-2014 logicJustin Luth2-0/+9
In LO 4.3, Feb 2014 commit a31fbb53dba76736b37213b98b64937f05929a67 totally changed the logic of the FormatBreak function, affecting doc and rtf even though the focus was only on docx. This was quickly patched for some specific cases, but the careless changes weren't fully reversed. Doing that now, because reading the code it just seems all wrong. As I understand it, there seems to typically be two passes - a valid pass for bBreakBefore and then a separate PageAfter pass. When DOC changed to prefer a breakBefore sprm, it removed the bBefore flag, did nothing on the bBreakBefore pass, and on the after pass, nC wasn't defined, so it did nothing extra. Dropping the bBefore flag probably broke the docx case. Docx commit a31fbb53dba76736b37213b98b64937f05929a67 just blew that all away, and swapped when SectionBreak was called. Another 2014 patch restored the DOC PageBefore behaviour (nC not defined, so nothing happens), but didn't restore the PageAfter behaviour so SectionBreak was still swapped. So what logically seems to be needed is to restore the bBefore flag (prior to DOC's preference for breakBefore sprm), restore writing PageBreak_After in after pass, and ignore the FollowPageDesc (because it didn't seem to be included purposefully). PageAfter only seems to be UI possible in a table's text flow. So it is VERY uncommon (no instance at all in existing unit tests.) And, not surprisingly, it doesn't export a page break after the table in doc or docx format anyway. At least now it won't put the break BEFORE the table in docx. This will restore these previous behaviours: -doc/rtf: PageAfter no longer written in bBreakBefore stage -docx: -PageAfter no longer written in bBreakBefore stage -PageBefore not affected by FollowPageDesc. PageBefore is generally unaffected by this change, and now the test for page/column break matches again, as would be expected. Change-Id: I265541a04be49e6b60bfbd84c33ab5783b454058 Reviewed-on: https://gerrit.libreoffice.org/64983 Reviewed-by: Justin Luth <justin_luth@sil.org> Tested-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-12-14sw: support for saving into .dotx fileVasily Melenchuk2-0/+44
Template format now supported not only for import, but for export too. Change-Id: I9fb9da14c4d6466b6979fa37fb2c0359ce5 Reviewed-on: https://gerrit.libreoffice.org/64947 Tested-by: Jenkins Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2018-12-13tdf#78611 mailmerge: new unit tests: numbering in headingsSerge Krot3-5/+50
Change-Id: I8672376dabcdc0011c59bb9ac5c32b8dbb88396d Reviewed-on: https://gerrit.libreoffice.org/65035 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-12-12tdf#121734: ww8 import: use direct formatting for floating object framesMike Kaganski2-0/+43
... and don't modify standard frame styles to have no borders and padding. This makes "Frame", "OLE", and "Graphics" frame styles of imported DOC files to have usual settings (for "Frame", it's 1.5 mm padding and all borders set to 0.05 pt black line). All objects that need invisible frame will have them with all necessary settings set explicitly, which allows to copy and paste such frames to other documents without problems. This makes DOC import aligned with DOCX import in this regard. Change-Id: I6f05cf71e63ceccb8e0ddebe23ec41bf69af9b52 Reviewed-on: https://gerrit.libreoffice.org/64992 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-12-11sw: fix paragraph enumeration going past a selected tableMiklos Vajna1-0/+38
Writer has the internal invariant that if a text (non-table) selection starts outside a table, it should end outside a table as well. This means if you start your selection before a table and you try to select till the end of the table, your selection will end at the start of the next non-table node in fact. This is especially confusing if you turn the selection into a paragraph enumeration, where the last paragraph's 0 -> 0 character range is "selected" (i.e. none of the paragraph content is selected) and still the paragraph is included in the paragraph enumeration. Special-case the "selection ending at para start after a table" situation when it comes to turning this selection into a paragraph enumeration to avoid the unexpected empty paragraph at the end. Change-Id: I51432dee9e5d76971533c8059edab1cd9683434b Reviewed-on: https://gerrit.libreoffice.org/64972 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2018-12-11tdf#62364: mailmerge: new unit testSerge Krot2-0/+28
Problem was: during mailmerge, all paragraphs became list nodes when the last node in original document (template) was list node. Change-Id: I8b457c5ef04ab6569e7860deb1f5b3d73dadacd0 Reviewed-on: https://gerrit.libreoffice.org/64955 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-12-11Related: tdf#121664 DOCX filter: fix line numbering start value handlingMiklos Vajna1-1/+2
SwWW8ImplReader::HandleLineNumbering() and WW8AttributeOutput::SectionLineNumbering() does the same for the DOC filter. Change-Id: I13c53a135d640829aeab44c29991c61c27a4ccf1 Reviewed-on: https://gerrit.libreoffice.org/64892 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-12-10uitest for bug tdf#81292 and tdf#99334 - Sort tableZdeněk Crhonek4-0/+100
Change-Id: Id43b223133cfc35875d6f2fc44582983120397be Reviewed-on: https://gerrit.libreoffice.org/64884 Tested-by: Jenkins Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2018-12-10uitest for bug tdf#106099Zdeněk Crhonek1-0/+53
Change-Id: Id92e84c0eba019b5c5d9ed84703c1fb35871c64c Reviewed-on: https://gerrit.libreoffice.org/64885 Tested-by: Jenkins Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2018-12-10tdf#115094 Part II: OOXML Feature: Add layoutInCell to Doc modelPatrick Jaap4-0/+37
Change-Id: I50dcc2363982f8e6b68f10b0b724b59e9430d6c5 Reviewed-on: https://gerrit.libreoffice.org/63380 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-12-10tdf#42949 Fix IWYU warnings in include/vcl/s*Gabor Kelemen2-0/+2
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ie87d27dd2c385a63349e0b322fd067ba03d2d152 Reviewed-on: https://gerrit.libreoffice.org/64479 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-12-10forcepoint#76 avoid deleting footnote that would delete undeletable pageCaolán McNamara2-0/+3393
Change-Id: I4622569eb9c757c6dcbdda32081ddc94e53db919 Reviewed-on: https://gerrit.libreoffice.org/64622 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-12-10Revert "uitest writer - insert field"Zdenek Crhonek2-187/+0
This reverts commit 5743e432e45ed5ed7a4f010a262b2737f1351d3c. The test is not stable. Change-Id: I3ad13392ef32ab2d8d305e7a0876014573c79a37 Reviewed-on: https://gerrit.libreoffice.org/64856 Tested-by: Jenkins Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2018-12-09uitest writer - insert fieldZdeněk Crhonek2-0/+187
Change-Id: I3794cb6bbe608f48829b85d69150628a059ba290 Reviewed-on: https://gerrit.libreoffice.org/64741 Tested-by: Jenkins Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2018-12-09Removed executable permission on odt fileAndrea Gelmini1-0/+0
Change-Id: I1308f5ce49c6670bdf9fc1005b40cee6cd48e1f4 Reviewed-on: https://gerrit.libreoffice.org/64784 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-12-07tdf#114163 Chart: fix order of legend namesBalazs Varga2-0/+20
Respecting the axis direction in case of normal/stacked/percent stacked Bar chart and the legend names will be in the right order. Change-Id: If782393a33e48dae32f919d137e1d1148a85b0b0 Reviewed-on: https://gerrit.libreoffice.org/64632 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2018-12-06uitest for bug tdf#119462Zdeněk Crhonek1-0/+51
Change-Id: I87e601b8a68bfcfee700299526e2b899427e56f1 Reviewed-on: https://gerrit.libreoffice.org/64652 Tested-by: Jenkins Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2018-12-05tdf#121561: sw: DOCX: add std/stdPr/stdContent around TOCSerge Krot3-5/+18
During export into DOCX from ODT we need to do it because in this case the TOC title will be recognized inside MS Word as part of the TOC. Later we could add support of these keywords in LO import in order to detect TOC title from DOCX input. Added unit test for export. Change-Id: I7135e91dc04d4c0501e6074a046fc473e041f014 Reviewed-on: https://gerrit.libreoffice.org/63786 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-12-05Removed executable permission on docx fileAndrea Gelmini1-0/+0
Change-Id: I7738c8048a3dee4788b89826d69b35d62ce79417 Reviewed-on: https://gerrit.libreoffice.org/64356 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-12-05tdf#105413 track changes: keep paragraph stylesLászló Németh2-0/+107
applied in Show Changes mode, instead of losing them after saving the document or hiding the changes. The bug occured in paragraphs with directly preceding tracked deletions. Change-Id: I9a5fd1b82cb7e99884d8807d0abee1fea59d5df3 Reviewed-on: https://gerrit.libreoffice.org/64518 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
2018-12-04sw: fix paragraph enumeration going past selection endMiklos Vajna2-0/+35
SwCursor::MovePara() may move the uno cursor past the end of the selection range, check for this explicitly. In practice this makes sure that in case a 1-paragraph cell text is selected, we never jump to the next cell for a selection created from the previous cell. Change-Id: Ibe2d00cfa75ed0c32b9c89d86cfae3b51d70ddc6 Reviewed-on: https://gerrit.libreoffice.org/64509 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2018-12-04tdf#121664 DOCX import: fix lack of line numbering reset on page breakMiklos Vajna2-0/+10
Regression from commit d620629521aee48dc820b6970ca446c329d0b09a (Use constants for ST_LineNumberRestart values, 2014-10-01) where I forgot to adapt the constructor's initializer list to also use the new constants. Change-Id: I7113d23cceb3a00f0d466b63c99a18bf3dfd0ee3 Reviewed-on: https://gerrit.libreoffice.org/64489 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-12-01weld OfaAutocorrExceptPageCaolán McNamara1-6/+6
Change-Id: I735ca7d70045b278d6b885cc2de35bf76885b487 Reviewed-on: https://gerrit.libreoffice.org/64258 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-12-01sw_redlinehide_4a: finish conversions guess.cxx,itrcrsr.cxx,porfld.cxxMichael Stahl1-7/+7
... and tests. Change-Id: I847a9441b73cdfc9bd826fad2c9075a9aa1d7d2d
2018-12-01sw: rename to SwTextNode::GetParaAttr(), at least that's uniqueMichael Stahl1-17/+17
Change-Id: I1de6b544a4868f0d30077ba2c6d195bffd2e8b00
2018-12-01sw: SwTextNode::GetAttr() inconsistencyMichael Stahl2-0/+2
If there are hints, the aFormatSet.Differentiate(rSet) will cause the pre-existing items in the parameter rSet to win, whereas without hints the SwContentNode::GetAttr() calls rSet.Set() which clears everything. It looks like WW8Export::WriteFootnoteBegin() was sort of relying on this; presumably it wants the pCFormat to win over node's items but hints on the position to win over pCFormat. Well that's what it currently gets anyway, so try to preserve that. The other use in SwUnoCursorHelper::SetPropertyValues() looks like an oversight. Change-Id: I80e18e040413fcf26f6f77844ed731de31a464d2
2018-12-01sw: new unit tests for editing text in bookmarksSerge Krot2-0/+304
Change-Id: Ia7b49c0ae685f6a18e9d372a689643422f1f6a04 Reviewed-on: https://gerrit.libreoffice.org/64189 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-11-30[API CHANGE] Resolves: tdf#42518 new KParseTokens::GROUP_SEPARATOR_IN_NUMBEREike Rathke1-1/+1
Default unset bit now does not accept/skip group separators in numbers. See .idl description comment for why this is incompatible and how. This actually uncovered a "bug" (or at least unexpected) in the Math parser that parsed "0," as one entity instead of "0" followed by ",". As obtaining the text form appends a blank after each entity the sw/qa/extras/rtfexport/rtfexport.cxx testMathEqarray() testcase had to be adapted. Change-Id: I2b605742ab3d8a9bb81ad6880faf050535dc80fa Reviewed-on: https://gerrit.libreoffice.org/64270 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2018-11-30tdf#119824 fix undo/redo of overlapping redlinesLászló Németh1-0/+68
Overlapping redlines (introduced by the commit 9dbf817fe5c5253fba0831aefa17575ae0ba3af1 "handle scope of w:pPrChange and w:rPrChange properly" for showing tracked DOCX paragraph formatting) resulted losing of tracked deletion, ie. reappearing deleted content using Redo (reported after fixing the broken non-visible change tracking with overlapping redlines in commit 694a6389e84d5b416cde6dde2d5eaa589a0a6493 "tdf#119019 DOCX track changes: fix invisible delete and insert"). Change-Id: I63fde7e89afde99cff242968d34cc70455c5c3c2 Reviewed-on: https://gerrit.libreoffice.org/64218 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2018-11-30tdf#121435 OOXML export: fixing linestyle export in chartsAdam Kovacs2-0/+14
Fixing linestyle export of chart wall (plot area) and chart page. Change-Id: Id5265110352d393d9c3e01ff55cea0770d4e0cef Reviewed-on: https://gerrit.libreoffice.org/63418 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
2018-11-29loplugin:stringconstant look for unnecessary OString constructor useNoel Grandin1-1/+1
and tweak the methods in check.hxx to make them more flexible when called with dc.Class(xxx ? "foo" : "bar") Change-Id: I881fe628f22121ced4d8849715d6b1c92b092da1 Reviewed-on: https://gerrit.libreoffice.org/64207 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-28tdf#121369 - Header and Footer parent stylesheiko tietze1-1/+1
New "Header and Footer" style introduced as parent to header/footer styles Right alignment set for HeaderR and FooterR Change-Id: Iff407da8907b761236ebc2aa8877b9d6b8294e10 Reviewed-on: https://gerrit.libreoffice.org/64152 Tested-by: Jenkins Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
2018-11-27tdf#112195 Writer: page background covers whole pageLászló Németh1-1/+1
as in ODT implementation of Google Docs, and as in DOCX supporting basic requirements of creating digital and professional print media. This patch fixes DOCX import (tdf#121668) and it gives the required PDF export, too. In the case of solid color, color gradient, hatching, pattern and tiled bitmap (except stretched bitmap), this patch removes the obsolete white border around the text area, if the user modifies the page background. Note: likely the white border was good for home printing in former times, but now it forms only a serious barrier for most users to create de facto design standard whole page background formatting instead of its unacceptable poor man's version. Note 2: the OpenDocument standard refers XSL/CSS here, and browsers adapt background settings to the body margin area the same way, as Google Docs and fixed LibreOffice do. More information: tdf#112195 "(Whole-Page-Filling) - Allow page background to cover the whole page (reloaded)" tdf#33041 "Allow page background to cover the whole page, not only within page borders/margins" tdf#121668 "FILEOPEN DOCX Page Color created with Word disappears on the margins" ooo#9370 "Off-margin page background" (https://bz.apache.org/ooo/show_bug.cgi?id=9370) Change-Id: I7c6c96ceaf7102b38e3e5c1ed767db0ee63520ab Reviewed-on: https://gerrit.libreoffice.org/63914 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
2018-11-26partial revert tdf79435 doc: round-trip legacy input formfieldsJustin Luth2-20/+23
Apparently import isn't always properly reading some of these strings, so it is just garbage being round-tripped in some cases. Let's just avoid that until such time as import might be fixed. I couldn't readily identify the import problem. It even happens with version eWW8 files and also TestBeltAndBraces() didn't seem to prevent the problem. These crashes are due to reading garbage: /srv/crashtestdata/files/doc/ooo78311-1.doc -DISTRICT_COURSE_OUTLINE_TEMPLATE.doc /srv/crashtestdata/files/doc/kde79024-2.doc -Ü2_Blanko.doc /srv/crashtestdata/files/doc/ooo24395-1.doc -stateapp-emp.doc /srv/crashtestdata/files/doc/abi9921-1.doc /srv/crashtestdata/files/doc/ooo59101-1.doc -Hovedblankett.DOC /srv/crashtestdata/files/doc/fdo48097-1.doc -BR1010.doc Change-Id: Iceaa53760867f06c73ab900c57f197dbc0fb8e65 Reviewed-on: https://gerrit.libreoffice.org/63938 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org>
2018-11-23Unit test for 0853b05b1fabb231a7d57d811c5a06ee542d3295Thorsten Behrens1-0/+25
Change-Id: Iea6554448f7a3fcc621eac7248abcee9c4285688 Related: i#117783 and tdf#38443 Reviewed-on: https://gerrit.libreoffice.org/58687 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-11-23sw: new unit test for XTextCursorVasily Melenchuk2-0/+107
Change-Id: I5b70f6dc8f7399be78daefa95d6d98687d99ec18 Reviewed-on: https://gerrit.libreoffice.org/61098 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-11-23sw: new testcase for XTextVasily Melenchuk1-0/+89
Change-Id: I8c4b89e1e0851e808daa0902f970f967c6d057a9 Reviewed-on: https://gerrit.libreoffice.org/61348 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-11-23sw: new testcase for XTextRangeVasily Melenchuk2-0/+97
Change-Id: Ia476f4f001851d0f8b51fca62b5c041b1d866cc3 Reviewed-on: https://gerrit.libreoffice.org/61174 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-11-23sw: fixup XAutoTextContainer testThorsten Behrens1-91/+34
This is a follow-up to 4967d498c486800b72ba34192c82c232bc0685bd and avoids to have setup errors making these tests silently pass. Also cleanup code a bit & share common init sequence. Change-Id: I043447a28f5e2c9f416aa906135030c07b2cacc8 Reviewed-on: https://gerrit.libreoffice.org/63800 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-11-23sw: new unit test for XAutoTextGroupSerge Krot1-0/+150
Change-Id: I3928248b73025f304c0e1ef7b5f86349df9a3c8d Reviewed-on: https://gerrit.libreoffice.org/61267 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>