summaryrefslogtreecommitdiff
path: root/sw/source
AgeCommit message (Collapse)AuthorFilesLines
2019-03-24Unfloat: Move the button to the top of the framecp-6.0-27Tamás Zolnai5-18/+18
User can find it easier in this position. Reviewed-on: https://gerrit.libreoffice.org/69562 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 743b0a92acc3d1850f4890efaa706098ebf9f558) Change-Id: I38fd782485a180e0d5223b52cc2c6ee061661600 Reviewed-on: https://gerrit.libreoffice.org/69581 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-03-20tdf#124162: Crash when trying to accept changesHenry Castro1-2/+2
Reviewed-on: https://gerrit.libreoffice.org/69441 Tested-by: Jenkins Reviewed-by: Aron Budea <aron.budea@collabora.com> (cherry picked from commit 2ac8d81a00bc9061f88dfd13a6a08873d92a5b86) Change-Id: If4a4034a891d6539b183f6083c0711b05ef7692d Reviewed-on: https://gerrit.libreoffice.org/69451 Reviewed-by: Henry Castro <hcastro@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-03-18MSForms: Add some extra comments for the new codeTamás Zolnai2-0/+6
Change-Id: I4b70eb2164032623a12f9e703c660eca1d6768ec Reviewed-on: https://gerrit.libreoffice.org/68965 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit d47f037a220636d70297bc098ed08e0bcb763aa9)
2019-03-18MSForms: Fix handling of drop-down form field after DOC importTamás Zolnai2-3/+5
In the properties dialog, code expected that the ODF_FORMDROPDOWN_RESULT is not set in case of an empty list. This caused a crash. The field popup window code expected that the list is not specified when it is empty, but DOC import code sets ODF_FORMDROPDOWN_LISTENTRY even if the list is empty. Change-Id: If4c86fc5a08cdc578150afaa42ad7e86bdba9150 Reviewed-on: https://gerrit.libreoffice.org/68963 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/69197 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-03-18MSForms: Open Control Properties dialog by double click for drop-down fieldTamás Zolnai1-0/+15
Change-Id: I66c0a7bad63d929ae346afe9d328d87dfa2c24ae Reviewed-on: https://gerrit.libreoffice.org/68962 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/69196 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-03-18MSForms: Add a drop-down button for drop-down form fieldTamás Zolnai14-125/+470
* Introduce a editing frame with a button for drop-down form field. ** The frame is mouse transparent. ** Pushing the button opens the popup window with the items of the field. * The button is visible when the cursor is inside the field. Reviewed-on: https://gerrit.libreoffice.org/68961 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 10be5b6ce972dff517f3ceed41cab04d3e051f57) Change-Id: I5c7db138d14380899fee046c95a5afe14cfea213 Reviewed-on: https://gerrit.libreoffice.org/69195 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-03-18MSForms: Introduce a new IFieldMark for drop-down form fieldTamás Zolnai7-8/+117
* It was weird anyway that a drop-down form field was represented as an CheckboxFieldmark. * It will be useful for later commits, to have a separate field type for drop-down field. * Needed to fix-up the API a bit because it was designed to specify the field type after initialization. I solved it in a way to not break the API behavior. Hopefully it's not very slow. Reviewed-on: https://gerrit.libreoffice.org/68960 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit f66a83c95c21b4311918a64bb85016857b49f4d4) Change-Id: I3103e6b1c36289b27b62ab9ca7dfeebc14901c8a Reviewed-on: https://gerrit.libreoffice.org/69194 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-03-18MSForms: Update cursor position after the drop down form field was changedTamás Zolnai1-0/+1
Change-Id: I0e9e8a0e9212cdf539caa163f9071bc2f21e4c9f Reviewed-on: https://gerrit.libreoffice.org/68959 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 499501e8cf1d511eb95a7b72b755c2dc69985719) Reviewed-on: https://gerrit.libreoffice.org/69193 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-03-18MSForms: Disable legacy field menu slots if the cursor is inside a text fieldTamás Zolnai1-0/+24
Insertion of fields inside fields is not an allowed operation. Change-Id: Icfdbc1add9c828227201b70cd545a83b6dcbc3e6 Reviewed-on: https://gerrit.libreoffice.org/68957 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit c138047c75dcd0d6c572a58870edf2a7761ae35e) Reviewed-on: https://gerrit.libreoffice.org/69192 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-03-18Fix typoTamás Zolnai1-1/+1
Change-Id: I2b09bf30c3769f6b987409cabf24735647d3c31d Reviewed-on: https://gerrit.libreoffice.org/68958 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins (cherry picked from commit ba296f8e413f0cb1cd4095a342495b511df2aea4) Reviewed-on: https://gerrit.libreoffice.org/69191 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-03-18MSForms: Implement undo / redo for insertion of legacy form fieldsTamás Zolnai8-0/+233
Need to handle undo / redo explicitely for form fields, because there is no a general working undo / redo mechanism for fieldmarks. During the insertion of the fieldmark, text insertion also happens which generates an interfering undo action, so we need to disable undoing temporary. Also need to invalidta SID_UNDO slot to make the undo toolbar item updated after we insert a form field. Reviewed-on: https://gerrit.libreoffice.org/68956 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 55d6be75732d1bb0067bba9496c74ef30be9a3ec) Change-Id: I358c2704cb30212a38f8a998888a36f72fa404e5 Reviewed-on: https://gerrit.libreoffice.org/69190 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-03-18MSForms: Fix removal of all items on the drop-down form field dialogTamás Zolnai1-1/+2
Reviewed-on: https://gerrit.libreoffice.org/69038 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 31f1789c810970fda7b300b2943f20e10761a5e0) Change-Id: I37ffbbe48a8b08cc10c83d4bb68946908475776d Reviewed-on: https://gerrit.libreoffice.org/69201 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-03-18DOCX autotext import: speed up handling of large amount of blocksMiklos Vajna1-1/+8
WW8Glossary::Load() does the same for the DOC autotext import. Old cost for a document with 2508 document parts: 843842 ms. New cost for the same document: 46572 ms (5% of baseline). (cherry picked from commit 87670fa998a26ab059e40bbe8f5e0acf0ad6ea04) Change-Id: If0ff183315cb7465dd2b32c1a4fc856b50611265 Reviewed-on: https://gerrit.libreoffice.org/69381 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-03-15LOK: re-factor async key & mouse event re-posting.Michael Meeks1-42/+3
A fairly pure re-factor, although adding disposed window checking to a number of sites with a warning. Moves the event emission helpers from VCL into SfxLokHelper: we're going to need more view / integration here next anyway. Removes lots of copy/paste horror. Change-Id: I279c11a1d8093b4feeeb6b7850f500806fff80dd Reviewed-on: https://gerrit.libreoffice.org/69218 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/69268 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-03-14coverity#1427648 Dereference after null checkcp-6.0-26Caolán McNamara1-3/+6
Change-Id: Ib4be7b819a5ba68d78d98d8ae05d755898f3cad1 Reviewed-on: https://gerrit.libreoffice.org/48136 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 432f4369cdb62fd05abbde50804ff4e1d5011f39)
2019-03-13tdf#124057: Do call RegisterControls() on non-DESKTOPTor Lillqvist2-5/+2
Otherwise the Tools > Word Count dialog doesn't show up in the iOS app. Change-Id: Ic425749cc8f3245d7a16d7784d77b02f6d47253f
2019-03-05tdf#123705: avoid duplicate themeColorJulien Nabet1-0/+3
See http://bugs.documentfoundation.org/attachment.cgi?id=149585 + https://bugs.documentfoundation.org/show_bug.cgi?id=123705#c4 Change-Id: I3c6fb0a1ac46a62c75bb9daeaded1633889416eb Reviewed-on: https://gerrit.libreoffice.org/68398 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit 42398e3860aafd6468688eda6c0da942323b7f82)
2019-03-04tdf#122456 filter/ww8 export: no fake section at end of documentJustin Luth1-0/+4
If Writer has a section that is ending, then the part after that would need to be another section for MS formats. However, if the section ends at the end of the document, there is no need to start a new section. This is particularly important for exporting RTF (preventing accumulating sections/paragraphs), but it also affects docx and doc (without noticable benefit or harm, but now instead of "fake" section properties it will end with the properties of the real section - which can only be a good thing, right?) This is one step in the right direction for resolving the comment //0xffffffff, what ... is going on with that!, fixme most terribly reinterpret_cast<SwSectionFormat*>(sal_IntPtr(-1)) Change-Id: Ie0641eb78c11103b33e3d849fe0b7935476a6505 Reviewed-on: https://gerrit.libreoffice.org/65974 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-on: https://gerrit.libreoffice.org/66051 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit 5deec1c02ca1f2df30b0c33d516d3aa10285fb3b) Reviewed-on: https://gerrit.libreoffice.org/68500 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2019-03-03tdf#123821: Correct accidental overlap with IIDs used in CalcTor Lillqvist1-2/+2
These are used for functionality that hasn't really been tested yet, that I added right before moving on to other things last Spring, I guess, which is why I hadn't noticed. Change-Id: I1df26c5dff62269315b1a7eaaf574f7e38c452f6
2019-02-25sw: fix warning in SwTextShell::GetState()Miklos Vajna1-1/+1
warn:sw.core:31398:31398:sw/source/core/bastyp/index.cxx:322: SwIndex::operator--() wraps around Change-Id: I5c37a6b5e1fe24bc3b6b84e762bad6577583f3d8 Reviewed-on: https://gerrit.libreoffice.org/68127 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit 6415b0c49c8dffc3d27920b9422531d5debcf767) Reviewed-on: https://gerrit.libreoffice.org/68241 Tested-by: Miklos Vajna <vmiklos@collabora.com>
2019-02-19tdf#110987: Don't mis-detect .doc files as .dotTor Lillqvist1-0/+22
Also add a unit test for that. Change-Id: I86c195cebbe12b2bdf498954956db882f6f0d12b
2019-02-18tdf#123378 Prevent modifying doc when printingSamuel Mehrbrodt1-3/+0
Just remove this update fields call, they are updated anyway. Change-Id: Iaed1b6e7e1be8138ecb48e7557cc09ec0eeebda3 Reviewed-on: https://gerrit.libreoffice.org/67754 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-02-18Resolves: tdf#123163 avoid null derefCaolán McNamara1-3/+4
one RemoveDrawObjFromPage is already null-deref protected, do the same for the other Change-Id: Ica5bb2df4a8dbffd8397df76b673adab75bb7aef Reviewed-on: https://gerrit.libreoffice.org/67457 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> (cherry picked from commit e6e8f02407ea781a3634fd2669ad6467e9587db4)
2019-02-18sw: fix use-after-free in SwCursorShell::MoveFieldType()Michael Stahl1-1/+2
Change-Id: Ie272373bcef3459b05dc29bf874ecc3fdfa31d4a Reviewed-on: https://gerrit.libreoffice.org/67151 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Jenkins (cherry picked from commit 1ec8caedace2de2b7e6bf91468301548b54a28a8) Reviewed-on: https://gerrit.libreoffice.org/67173 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit ffccaf2110a25f0b05174e6e9728e4e860c6398b)
2019-02-17MSForms: Make Control Properties menu to work with drop-down form fieldTamás Zolnai1-0/+59
Always forward the Execute and State method to the form shell, so if a form control is selected the Control Properites will work correctly. Otherwise we check whether there is any field next to the cursor. Reviewed-on: https://gerrit.libreoffice.org/67911 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 770ef0d216a30efd756b4be26e9fc6e077748fed) Change-Id: I25055c17d887a2f2a716d8325f46825cc408179e Reviewed-on: https://gerrit.libreoffice.org/67926 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-02-17MSForms: Don't show popup dialog of drop-down field when there is no item listTamás Zolnai1-0/+11
Change-Id: Ife361e0ee18437da6f188e77713ea51403b70dbc Reviewed-on: https://gerrit.libreoffice.org/67910 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 575438b0b68baeee3d37d887d8645757a4505971) Reviewed-on: https://gerrit.libreoffice.org/67925 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-02-17MSForms: Introduce a properties dialog for Drop-down form fieldTamás Zolnai5-0/+266
- Dialog created similar to the edit dialog of Input field - On the dialog, the user can edit the list of the drop down field - This dialog is only for editing of the field, so the user can't select an item from the list to display in the field. Reviewed-on: https://gerrit.libreoffice.org/67909 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 117da8dab05986380db586f1fae6a2f0af9ce389) Change-Id: I6222aba9b211afeb0e9d10d97a49347921ff7353 Reviewed-on: https://gerrit.libreoffice.org/67924 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-02-17MSForms: Make Drop-Down form field to have a default sizeTamás Zolnai2-3/+5
Similar to MSO Drop-down form field and LO Input List. Change-Id: Idba278d8c2a2106b6f3cc22d8b9f8570f45bfae9 Reviewed-on: https://gerrit.libreoffice.org/67908 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit d24fe1116ddd9eec3a0884c7b222455c44bd6eb4) Reviewed-on: https://gerrit.libreoffice.org/67923 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-02-17MSForms: Insert Legacy Form Fields from MS compatible Forms menuTamás Zolnai2-0/+51
I added a new submenu under MS compatible Forms menu called Legacy Forms. Under this submenu user can insert the three legacy form fields. These fields were already supported by DOC / DOCX filters, but were missing from the UI. When inserting text form field we insert 5 enspace to make the field visible, otherwise we use the same insertion methods what is called by DOC import. Reviewed-on: https://gerrit.libreoffice.org/67907 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 5a94be3e677e4b7ccb2990a3a79fbf2219322f80) Change-Id: I1fb8c03d969b4c547ca92e783ac5e216767685d5 Reviewed-on: https://gerrit.libreoffice.org/67922 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-02-17MSForms: Show restart dialog when MS compatible Forms menu setting is changedTamás Zolnai1-0/+8
Reviewed-on: https://gerrit.libreoffice.org/67906 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 54b2615e0d209f815b3d503523fd4c517dc6b5cd) Change-Id: Icb98dac73dea5f5cb18e1ca34e37e9d9bf84782e Reviewed-on: https://gerrit.libreoffice.org/67921 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-02-17MSForms: Introduce a new compatibility flag to enable MS compatible Forms menuTamás Zolnai2-0/+36
* It's a global option not a document level setting (like other compatibility options) so I created a separate section on the GUI for this option on the same tab page. * In the configuration the option is placed under Compatibility/View since the existing Compatibility/FormattingOptions seems related to document formating and not the GUI. * Since it was added with a new configuration root I needed to add also a new ConfigItem derviative class to handle this option. Reviewed-on: https://gerrit.libreoffice.org/67902 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 11669b9cf970d953d41b8dd2c5ce85d6fa7e31ef) Change-Id: I54668ae9808a1ca3c3b7fe81f2f201720257b3fb Reviewed-on: https://gerrit.libreoffice.org/67918 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-02-15Interpret the parameter of WordBasic.FileClose() more correctlyTor Lillqvist1-2/+2
In particular, the value 2 means "do not save". Change-Id: I9788d201f8ecfcc016a12aa2088552ee994e1c17
2019-02-12tdf#116371: export rotation of SwGrfNodecp-6.0-23Mike Kaganski1-14/+23
Change-Id: I42620da798a35dfada67d9a9fb23d554cc20b16f Reviewed-on: https://gerrit.libreoffice.org/66963 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/67670 Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-02-08lok: Bullets and Numbering → disable Graphic selection in CustomizeHenry Castro1-1/+11
Change-Id: If0f7b953a40ca1d5f469087cb8f362a949c39b37 Reviewed-on: https://gerrit.libreoffice.org/67499 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-02-07The WindowName param to WordBasic.AppMaximize() is optional and must be an AnyTor Lillqvist1-2/+2
Change-Id: I52d75427fe30945293f347e3f49d21bc2016edae
2019-02-07The parameter to WordBasic.AppShow() is optional and thus has to be an AnyTor Lillqvist1-2/+2
Change-Id: I134101d1be5922051e34352331a49f5706030ff2
2019-02-06Ignore RuntimeException in Application.WindowState setterTor Lillqvist1-5/+11
Probably helps VB6 clients. Change-Id: I3a1072e6ededbd0322c4b0dcd0ef4b16ace215d1
2019-02-06Add a dummy implementation of WordBasic.AppCount()Tor Lillqvist1-0/+10
Change-Id: Ia9e78c331d2cb711653ee3e64597ebf2824e0eeb
2019-02-06Add a dummy implementation of WordBasic.AppShow()Tor Lillqvist1-0/+9
Change-Id: I14379c5732c1921b8f52293045d01acf99e0b840
2019-02-06Add a dummy implementation of WordBasic.DocMaximize()Tor Lillqvist1-0/+10
Change-Id: I972f9446560cc8ac51031dbc36fc05d438d150e7
2019-02-06Add a dummy implementation of WordBasic.AppMaximize()Tor Lillqvist1-0/+10
Change-Id: I4606e5a3717c3717d105dd2e63c9fd7d2e1abf83
2019-02-06Use bool and not sal_Bool, says a pluginTor Lillqvist1-1/+1
Change-Id: I1714a609ecb520260b99f361e4ed65bdc77ddddc
2019-01-30Unfloat: Fix some issues with unfloat operationTamás Zolnai1-2/+35
- Use the correct method to remove the frame, so DOC export will work correctly. - Remove pagedesc attribute of the first text node if the table is moved before it to avoid to generate a page break. Reviewed-on: https://gerrit.libreoffice.org/67093 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 70c29e50af8e16b864d1e5e5a74c30a1de8250de) Unfloat: Need to move the page desc into the table node AttrSet Reviewed-on: https://gerrit.libreoffice.org/67126 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 9d319865f8bf78d25ca2e614d148420054a6461a) Change-Id: I02802c4d25c947ec140b846c594848117815f1ce b9868bb31238905dd178fcf54c79f013079a037b Reviewed-on: https://gerrit.libreoffice.org/67098 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Miklos Vajna <vmiklos@collabora.com>
2019-01-25sw: Ctrl + shape insertion was not setting up the layer.Jan Holesovsky1-0/+1
The consequence was that the shapes were inserted into the background layer. The problem was particularly visible with the LOK, but reproducible on the desktop too. Includes unit test. Change-Id: I16137331f944101e25679ec8c4a034bea658bc57 Reviewed-on: https://gerrit.libreoffice.org/66915 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Miklos Vajna <vmiklos@collabora.com>
2019-01-23Add WordBasic.FileClose()Tor Lillqvist1-0/+20
Change-Id: Ifc48e5fbcc212f0e80cf6877e2781910e38e5e54
2019-01-22Found documentation for WordBasic.ToolsOptionsView()Tor Lillqvist1-41/+65
Change-Id: Ic049f78fddcaabafbe6be18b92a87b56352c1a4c
2019-01-21Add a couple know parameters to WordBasic.ToolsOptionsViewTor Lillqvist1-4/+4
Change-Id: Ifd472f4ca79ab97a1d6d5c5007537375121f6f58
2019-01-21Implement WordBasic.FileSave()Tor Lillqvist2-2/+2
Change-Id: Iafb5be16ebb23aa09e0300a77c2f2dbe29b85cad
2019-01-18Add a (dummy) WordBasic.FileSave()Tor Lillqvist1-0/+7
Change-Id: I021d63c9d57f1e0435bcc5f97abc57bc39fece01
2019-01-18Add TODO FIXMETor Lillqvist1-0/+1
Change-Id: I1492c604ac39ce72fe2cfe8804ac15e8c41b9a46