summaryrefslogtreecommitdiff
path: root/sw/source/ui
AgeCommit message (Collapse)Author
2020-06-11Fix 983db96a17630be906b868d2be811663f0d846f6Julien Nabet
warn:unotools.config:172285:172285:unotools/source/config/configitem.cxx:409: ignoring XHierarchicalNameAccess to /org.openoffice.Office.Writer/FormLetter/PrintOutput/AskForMergeFormLetter/FileOutput/FilePassword/FromDatabaseField com.sun.star.container.NoSuchElementException message: FormLetter/PrintOutput/AskForMergeFormLetter/FileOutput/FilePassword/FromDatabaseField /home/julien/lo/libreoffice/configmgr/source/access.cxx:436 missing comma + confusion in switch cases in SwMiscConfig::Load + typo Encyrpted->Encrypted Author: Gülşah Köse <gulsah.kose@collabora.com> Date: Fri May 22 11:51:33 2020 +0300 Add an option to create encyrpted PDF files with mailmerge. With that option user can create encyrpted pdf files with a password column in database via mailmerge. Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95033 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit 90d3311b08cef7418376d183b7116223db3e627d) Change-Id: I1ae9bbeb3f69ed9c0ba51709852f8edd5f2dc683 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96069 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-27Add an option to create encyrpted PDF files with mailmerge.Gülşah Köse
With that option user can create encyrpted pdf files with a password column in database via mailmerge. Change-Id: I081ef050bc269b1fec24fd01ecc812acd7b857ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94709 Tested-by: Jenkins Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94830 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-22Don't show styles frame in insert table in onlineSzymon Kłos
Change-Id: I2ee2daef028b49a409920c0fe83190575e7a82c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94639 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-20Make Insert Table dialog asyncSzymon Kłos
Change-Id: Id2458c16f259a58e2376f42104a9a6c9056cab11 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94536 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-12Add mobile version of WordCountDialogSzymon Kłos
Change-Id: Icf8d8b0993d8d307925a28cae4a178c0c4bde48a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94042 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-27remove macro tab for image dialog in onlinePranam Lashkari
Change-Id: I02de19e8048fd045a6ef6bdcc655c9911f0f9f01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92958 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-24sw: add UI for semi-transparent textMiklos Vajna
Somewhat surprisingly the test passed without the fix, i.e. the uitest operated happily on a hidden widget; so explicitly assert that it's visible. Change-Id: I321c7e0e3cb2d67a07724523c885d50577a116a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87656 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit 6d6e80435fd7f71342c429a67759a7b7b280cc55) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89223 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-02-04tdf#129798: store SwWrtShell when it's availableMike Kaganski
GetActiveWrtShell may return nullptr when attaching a new component to current frame, e.g. destroying on print preview. OTOH SwWrtShell is passed to SwFieldDBPage::SetWrtShell on creation, so store it to own base class then. Possibly that would be enough, and we could remove all the checks in other methods - but I don't know the code well enough to be sure that SwFieldDlg::PageCreated and SwFieldEditDlg::CreatePage will always set SwWrtShell; to be on the safe side, I kept the checks where SwWrtShell is used, and stored it in those places if not yet stored. Regression after commit 39ba5e3bde93358af1b363da8f850bdc96806cfa. Change-Id: I21f3c8ef24764e98b1bc287db3c6485ce0b3ab48 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86253 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87947 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-11-25Add ooo.vba.word.XDocument.Close() method and implementTor Lillqvist
Will be needed in COLEAT. And seems like a fairly obviously missing API otherwise, too. Change-Id: I990c605a7e3f9cff3b72f20a626477d010da9852 Reviewed-on: https://gerrit.libreoffice.org/81369 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit b0b0788ba040be2bf42aa19313759ba9f4811d38) Reviewed-on: https://gerrit.libreoffice.org/83660
2019-09-30use Image(OUString) instead of Image(Bitmap(OUString))Noel Grandin
which benefits LOOL since we can delay creating the image until we know the dpi setting of the display we are going to write to. Achieved by perl -pi -w -e "s/\bImage\s*\(\s*BitmapEx\s*\((\w+)\s*\)\s*\)/Image\(\1\)/g" $( git grep -lw "BitmapEx" ) followed by git grep -nP '\bImage\s*\(\s*BitmapEx\s*\(' followed by commenting out the BitmapEx(OUString) constructor and seeing what needed adjusting. Reviewed-on: https://gerrit.libreoffice.org/64760 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/64860 Tested-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit 89161e4d5835b93f0942e960a116a0d3863cc55c) Change-Id: I3224e11937d720fa484b0d659d25673a9e809267 Reviewed-on: https://gerrit.libreoffice.org/79844 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-09-29lok: Bullets and Numbering → disable Graphic selection in CustomizeHenry Castro
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> Reviewed-on: https://gerrit.libreoffice.org/79810 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2019-09-20Add a SAL_INFO for SwVbaDocument::SaveAs2000()Tor Lillqvist
Change-Id: Ic91b9c3a832d68ca3ccc61ccb19b0e29b488abc0 (cherry picked from commit 6412701313a875aff199dbf862e250faf6861cd0) Reviewed-on: https://gerrit.libreoffice.org/79256 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Add a SAL_INFO for SwVbaDocuments::Open()Tor Lillqvist
Change-Id: I0c62864f3efa53dde0dc78482d8e9c7ffc35b6ee (cherry picked from commit 0993ccb56eba6e52d5b3b00f60ea069571f2554a) Reviewed-on: https://gerrit.libreoffice.org/79255 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Add ooo.vba.word.XDocument.SavePreviewPngAs() and implementTor Lillqvist
This is for COLEAT's internal use. Change-Id: If1ac2a5b251129e4431d3c0bde82529d6bdc7ccc (cherry picked from commit 41f996044ad752faa19ed6cde4b659d38e74ea07) Reviewed-on: https://gerrit.libreoffice.org/79215 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Add a SAL_INFO to SwWordBasic::FileSaveAs()Tor Lillqvist
Change-Id: I04a3a22918ead008b560c2e1159747e8d28da404 (cherry picked from commit caee51e429119fe252d1aa4b075ab14863420b2c) Reviewed-on: https://gerrit.libreoffice.org/79209 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Add XWordBasic.FileSaveAs() and implementTor Lillqvist
Factor out the setFilterPropsFromFormat() also used by SwVbaDocument::SaveAs2000() to a header file of its own. Change-Id: I4bc9e1e420719a115036beb7e82a4ac3feac05f0 Reviewed-on: https://gerrit.libreoffice.org/79208 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Change XWordBasic methods to return anyTor Lillqvist
Possibly this is more in line with what callers expect. Change-Id: Ie84b05a0bdb5ef1cb3e1f9fb7df6772831ff4980 (cherry picked from commit deb409861d677b8799c8120c29412d3d9e4a73b9) Reviewed-on: https://gerrit.libreoffice.org/79199 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Fix compilation error without precompiled headersTor Lillqvist
Change-Id: I06eea66ac783296a6278d4bcf3be5829a2d7d277 (cherry picked from commit afbc688fba50e8b76f2e367f62d943587c3411d8) Reviewed-on: https://gerrit.libreoffice.org/79191 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Add SaveAs2000() and SaveAs() to ooo.vba.word.XDocument and implementTor Lillqvist
Change-Id: If7e45e2f791a7806e6cf8e7fc9693e19e87d2dbb (cherry picked from commit 0de4f894cf23635db639a64fcac2e77b8560c122) Reviewed-on: https://gerrit.libreoffice.org/79189 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20tdf#123821: Correct accidental overlap with IIDs used in CalcTor Lillqvist
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 (cherry picked from commit 1a5d7407d508057f4e4f8f4a3f890453623a0481) Reviewed-on: https://gerrit.libreoffice.org/79176 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Interpret the parameter of WordBasic.FileClose() more correctlyTor Lillqvist
In particular, the value 2 means "do not save". Change-Id: I9788d201f8ecfcc016a12aa2088552ee994e1c17 (cherry picked from commit fb797eb41bf9b26261c4d9fe7a38ba635b80a20c) Reviewed-on: https://gerrit.libreoffice.org/79164 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20The WindowName param to WordBasic.AppMaximize() is optional and must be an AnyTor Lillqvist
Change-Id: I52d75427fe30945293f347e3f49d21bc2016edae (cherry picked from commit 699676cec58083afd7fa60b67e32cf7d6c9cf63f) Reviewed-on: https://gerrit.libreoffice.org/79163 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20The parameter to WordBasic.AppShow() is optional and thus has to be an AnyTor Lillqvist
Change-Id: I134101d1be5922051e34352331a49f5706030ff2 (cherry picked from commit b1b54a5faf899488e5045c6b3e26241c9d7299de) Reviewed-on: https://gerrit.libreoffice.org/79162 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Ignore RuntimeException in Application.WindowState setterTor Lillqvist
Probably helps VB6 clients. Change-Id: I3a1072e6ededbd0322c4b0dcd0ef4b16ace215d1 (cherry picked from commit e9f87f7b8e33352b66d52b37c459a52a6737eb80) Reviewed-on: https://gerrit.libreoffice.org/79161 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Add a dummy implementation of WordBasic.AppCount()Tor Lillqvist
Change-Id: Ia9e78c331d2cb711653ee3e64597ebf2824e0eeb (cherry picked from commit c06a3f33d0de59f9cbfddef353f9018a6583df4a) Reviewed-on: https://gerrit.libreoffice.org/79160 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Add a dummy implementation of WordBasic.AppShow()Tor Lillqvist
Change-Id: I14379c5732c1921b8f52293045d01acf99e0b840 (cherry picked from commit ad19df8696346e608b530a7e84b8da4fad6d8c80) Reviewed-on: https://gerrit.libreoffice.org/79159 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Add a dummy implementation of WordBasic.DocMaximize()Tor Lillqvist
Change-Id: I972f9446560cc8ac51031dbc36fc05d438d150e7 (cherry picked from commit 3c42f006076ecd71371612d67d84381ac42b88da) Reviewed-on: https://gerrit.libreoffice.org/79158 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Add a dummy implementation of WordBasic.AppMaximize()Tor Lillqvist
Change-Id: I4606e5a3717c3717d105dd2e63c9fd7d2e1abf83 (cherry picked from commit 990c88a9a84c1960a704052f84318bc33b744fb5) Reviewed-on: https://gerrit.libreoffice.org/79157 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Use bool and not sal_Bool, says a pluginTor Lillqvist
Change-Id: I1714a609ecb520260b99f361e4ed65bdc77ddddc (cherry picked from commit 5f5726d82e92e0ed403240dbcea57567a5c38a1f) Reviewed-on: https://gerrit.libreoffice.org/79156 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Add WordBasic.FileClose()Tor Lillqvist
Change-Id: Ifc48e5fbcc212f0e80cf6877e2781910e38e5e54 (cherry picked from commit e4b3fd40e583fbcbeba0bfb0a1457c1f92e1cb0f) Reviewed-on: https://gerrit.libreoffice.org/79155 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Found documentation for WordBasic.ToolsOptionsView()Tor Lillqvist
Change-Id: Ic049f78fddcaabafbe6be18b92a87b56352c1a4c (cherry picked from commit ac97be7a81370289b2e82705952eea80ba00fc68) Reviewed-on: https://gerrit.libreoffice.org/79154 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Add a couple know parameters to WordBasic.ToolsOptionsViewTor Lillqvist
Change-Id: Ifd472f4ca79ab97a1d6d5c5007537375121f6f58 (cherry picked from commit f3b2383b2c8967ad57c8b9316395edcb297121ed) Reviewed-on: https://gerrit.libreoffice.org/79153 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-20Implement WordBasic.FileSave()Tor Lillqvist
Change-Id: Iafb5be16ebb23aa09e0300a77c2f2dbe29b85cad (cherry picked from commit bd70fbe1d93c72dda2e8518975cf0b94e606199e) Reviewed-on: https://gerrit.libreoffice.org/79152 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-19Add a (dummy) WordBasic.FileSave()Tor Lillqvist
Change-Id: I021d63c9d57f1e0435bcc5f97abc57bc39fece01 (cherry picked from commit 78579b56ccb51ca0f011614f0549b2c9f9452eb7) Reviewed-on: https://gerrit.libreoffice.org/79150 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-19Add TODO FIXMETor Lillqvist
Change-Id: I1492c604ac39ce72fe2cfe8804ac15e8c41b9a46 (cherry picked from commit bac428070379c1da45851760a92971a6eaece408) Reviewed-on: https://gerrit.libreoffice.org/79149 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-19Add a dummy WordBasic.ToolsOptionsViewTor Lillqvist
Does nothing. Needed for customer application to proceed. Once we are further along in getting it to work, we can investigate what the parameters passed to this ToolsOptionsView method actually are. (This WordBasic thing is something that has been deprecated since last century, I suspect, so no wonder it is hard to find authoritative documentation on it.) Change-Id: I62a6d6d9abb9364afca110570fa341a2375a77a6 (cherry picked from commit ac43be5afca3691f85f455035628df009f2d9694) Reviewed-on: https://gerrit.libreoffice.org/79148 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-19Try ignoring RuntimeException in ComḿandBars(), VB6 clients don't like them?Tor Lillqvist
Change-Id: Ia577174fac926295db439349f6caca178b363ba0 (cherry picked from commit f5499236c69d602ae518359c8e3e7d5e239b8eda) Reviewed-on: https://gerrit.libreoffice.org/79147 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-19Don't throw an exception, just ignore trying to set an unhandled WindowStateTor Lillqvist
End-user VB6 applications might not like the exception. Better to just ignore. Change-Id: I42718de7855079e38c7983db39180c184ab7224f (cherry picked from commit 0043408b027be8664dbf88093da538ba8bbbbe24) Reviewed-on: https://gerrit.libreoffice.org/79146 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-09-19Add Documents.OpenOld() method and Application.CustomizationContext propertyTor Lillqvist
OpenOld() just forwards to the regular Open(), passing empty extra parameters. CustomizationContext is fully dummy for now. Change-Id: I167494700853768d971fe16afea35e90a647a00e (cherry picked from commit 5a615ebe4d4c076d9daff9610038a20397c45792) Reviewed-on: https://gerrit.libreoffice.org/79145 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2019-08-21tdf#126792: DOCX legacy drop-downs are only supposed to hold 25 items, GUITamás Zolnai
Implement GUI part. Do not allow to add more items to the drop-down field if the count of items reached the 25 limit. Change-Id: I126edc500bc18e2f0f4b6864775f89be6801f887 Reviewed-on: https://gerrit.libreoffice.org/77843 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit d3c8973f54037f915e12cd038a6a76501d237ea4) Reviewed-on: https://gerrit.libreoffice.org/77871 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2019-08-05tdf#126471 Apply selected MM printer on dialog openMichael Weghorn
Calling 'PrinterChangeHdl_Impl' in 'SwMMResultPrintDialog::FillInPrinterSettings' makes sure that a preselected printer is actually taken into account (i.e. 'm_pTempPrinter' set accordingly etc.) as soon as the dialog is created, not only when explicitly selecting another printer. Since 'PrinterChangeHdl_Impl' is now called initially and every time another printer is selected, there's no more need to do so in 'PrinterSetupHdl_Impl' any more. This fixes the issue that printout would always happen on default printer instead of the preselected one when SwMMResultPrintDialog was opened a second time. Change-Id: I5c930ed56d1025a7e94cc98fb70c01612bda0d22 Reviewed-on: https://gerrit.libreoffice.org/75933 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> (cherry picked from commit 0f0adc34889ff68da584cea97a9de649174b0333) Reviewed-on: https://gerrit.libreoffice.org/75968 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> (cherry picked from commit 9711e8ed4c7353e453aa5a9b59187f6cd31f24f1) Reviewed-on: https://gerrit.libreoffice.org/76941 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2019-08-05Mail merge: Preselect proper printerMichael Weghorn
The proper printer has already been set a few lines above depending on the value of 'bMergePrinterExists', so it shouldn't be unconditionally overwritten here with a potentially invalid printer (using the same statement as already used 7 lines above for the 'else' case). This e.g. makes sure that the default printer is selected when no printer has been set, e.g. just after running Mail Merge Wizard on a new Writer doc, in which case no printer was selected previously. Change-Id: I922b8234be9c80536b6b0a9ba0dd19bdc39246e8 Reviewed-on: https://gerrit.libreoffice.org/75932 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> (cherry picked from commit 3bc1f99d3a792cdba037bcc757e8611d7e187b73) Reviewed-on: https://gerrit.libreoffice.org/75967 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> (cherry picked from commit 8d4733df5ca12e92dbf5d5ac525fd4d8bf9307dd) Reviewed-on: https://gerrit.libreoffice.org/76938 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2019-07-17MSForms: Rework text-based date form field's representationTamás Zolnai
* Better to represent it similar to text form field with two marking characters selecting a text range * So the text between the two marks can be anything (not only a well formatted date) and also have any character formatting. * With this we handle the case when the user needs a placeholder text in the date field or when the user needs time values (hour, minute, sec) next to the date. Reviewed-on: https://gerrit.libreoffice.org/75459 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 68e1be4ccbb90ee9a788962219a88312c4ffbea2) Change-Id: Id60a50a2028058f8a6a080e265c0730d88b98543
2019-07-17MSForms: date format: better searching of date format entriesTamás Zolnai
* GetEntryKey and PutEntry methods are not consistent. * It can happen that GetEntryKey does not found the format we are searching for, however the PutEntry() method finds it among the entries and so returns with failure. * Let's check the nFormat instead, PutEntry returns the found entry key if the entry exists. Change-Id: Ia7e8702b03999950adfa649d1adc3a839dc5a178 Reviewed-on: https://gerrit.libreoffice.org/75453 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 9e007eb2b0ab44b436da9d00559150cc4fa37dc5)
2019-07-17MSForms: date form field dialog: create the format entry if it does not existTamás Zolnai
Change-Id: I62da736efeabc2da634d9a7a38512d7e908b03fc Reviewed-on: https://gerrit.libreoffice.org/75450 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 9b4e0e65e38b21b9af7314732d6839e8bfd671c2)
2019-07-17MSForms: date field converions: better error handlingTamás Zolnai
Change-Id: Ia518c7c50079e443ddf135f1c32c5c39d2c85552 Reviewed-on: https://gerrit.libreoffice.org/75449 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 1e6b8e5c2a42b2ca35c963bbbe83f3e2e817ff50)
2019-07-17MSForms: Implement calculation of the displayed text in date form fieldTamás Zolnai
* Change ODF_FORMDATE_DATEFORMAT to store the date format in a standard way (e.g. "MM.DD.YY") * Also add a new attribute called ODF_FORMDATE_DATEFORMAT_LANGUAGE to store the language for the date format. * Set a default date format and language by insertion. * Display the date in the field using the set format. * Store the current date in a specific format, which will make import / export easier (MSO DOCX format). Reviewed-on: https://gerrit.libreoffice.org/75444 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 1df055ba2a01a4c83d90c7c64998e7950ca8d795) Change-Id: I852975bbf81556f0e21f8f85d1c293707fdf672e
2019-07-17MSForms: Introduce a properties dialog for date form fieldTamás Zolnai
* The dialog can be opened by the menu item and also by double click. * The dialog contains a list to specify the date format. Reviewed-on: https://gerrit.libreoffice.org/75439 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 870c66694e7ed392141f0956ef74d1f71cdf8975) Change-Id: I109a688752c5155f5bfabff272da3d6ab90dcded Reviewed-on: https://gerrit.libreoffice.org/75533 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2019-07-09respect read-only config item: AutoFunction/Text/ShowToolTipAndras Timar
Change-Id: Ib808e35d3cc3c2895993193ac6ed05d556c1857d Reviewed-on: https://gerrit.libreoffice.org/70278 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/75238 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2019-07-08sw lok: hide UI to set Word-incompatible anchor typesMiklos Vajna
Let's make it a bit harder for users to hurt themselves, at least in Online. Affects the context/popup menu and the dialog of frames. This is similar to how certain border types are hidden on the UI, depending on if MSO supports them. Though that goes a bit further and disables those types even on the desktop. (cherry picked from commit 4154d281fbecaadf6cd118c00cc6cff929e339a4) Change-Id: I6b9205ef3df8a7bc15fbcf787d134743c09e98da