summaryrefslogtreecommitdiff
path: root/officecfg
AgeCommit message (Collapse)AuthorFilesLines
2020-10-18tdf#137393: Add "Noto {Sans, Serif} {SC,TC,HK,JP}" to the default font listKevin Suo1-39/+39
As per discussion in the bug report, in some systems these fonts are named as "Noto {Sans, Serif} {SC,TC,HK,KR,JP}", instead of ""Noto {Sans, Serif} CJK {SC,TC,HK,KR,JP}". It is noted that the KR section has already been updated. Also removed the non-mono fonts from zh_CN section. Change-Id: I0e67b895649502780b8e5cdff2b7d6dade3ff6b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104222 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit 2d1b5ecdf81d19993f2d9dd4f07521361fac4570) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104490 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-10-14tdf#136555 drop custom start center button colorsJan-Marek Glogowski1-14/+0
Custom button text or background colors don't play nice with any complex theming. Maybe we should still allow a custom background color for the button bar, but probably that attempt is also futile and clashes with theming easily. As long as the botton bar uses themable push-buttons as a control custom coloring will break at some point, as these buttons can have too many states, which curently depend on the theme. There is no way for LO to know, if a roll-over button will return with a different backround or just some changed border from a themed paint call. So this reverts the button part of tdf#90452. It doesn't affect the preview area, as that is a custom widget, which doesn't use any theming, but has it's own setting - for better or worse. Change-Id: I1ef17a50d15a5876a11bce89ae3f764aa91f66bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103041 Tested-by: Jenkins Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> (cherry picked from commit a927e0964ba0442d53fffb22c577e54bcf183ed7) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104048 Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-09-25tdf#134782 sw,unotools,officecfg: adapt configuration and UIMichael Stahl1-1/+7
Store AddParaLineSpacingToTableCells in configuration as "AddTableLineSpacing", consistently inconsistent like AddTableSpacing (the <desc> elements are not subject to translation). Adapt SwCompatibilityOptPage with some ugly hacks to allow 3 different states (TriState) for the corresponding checkbox that map to false/false, true/false and true/true. The checkbox widget doesn't allow to change *to* indeterminate but at least the status of the document can be displayed this way, with a non-obvious tweak to optcompatpage.ui to reference "checktri1" column. Change-Id: I5f32e05c93b5e16e782cba5d1d055809d9e5e251 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103318 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de> (cherry picked from commit 68aec8fd57eda8c05926b7f361dc102772f2c501) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103358 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-07-15tdf#126085: Restore Ctrl+; & Ctrl+Shift+; shortcuts for nl-NLMihkel Tõnnov1-2/+0
Revert the addition of Ctrl+Comma & Ctrl+Shift+Comma for nl-NL, as people commonly use the US International layout in the Netherlands: https://en.wikipedia.org/wiki/QWERTY#Dutch_(Netherlands) Change-Id: I693468a084dd0714bce44bfc641bebda8ca4a394 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98452 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-07-13tdf#67560: PNG export option Save transparency not rememberedJulien Nabet1-0/+22
Change-Id: I61198987f311ea090b1d28491063acb9c399f59d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98457 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-07-07tdf#126085: Enable Ctrl+Comma & Ctrl+Shift+Comma with European layoutsMihkel Tõnnov1-2/+36
Also: tdf#127726, tdf#130073 As many European layouts don't have a semicolon key (";" is instead produced by Shift+Comma), map .uno:InsertCurrentDate and .uno:InsertCurrentTime to Ctrl+Comma and Ctrl+Shift+Comma, respectively. The list of locales is based on information about national keyboard layouts from Wikipedia (mostly https://en.wikipedia.org/wiki/QWERTY). Change-Id: I858dc2affe2b29b8abfa3000a37cea43374837d8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94305 Tested-by: Jenkins Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> (cherry picked from commit 1c7d792ae27d2a899244d30a9c3cd3c04b5755ae) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98080 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-06-30tdf#133524 add option to angle quote AutoCorrectLászló Németh2-0/+16
in Localized Options page of AutoCorrect Options dialog window: [x] Replace << and >> with angle quotes Note: this is optional part of Double Quotes replacement. Note: fix also redundant loading of new localized option added by commit da64ec8c8a91db6a6ec9657898f081d5ee67e739 (tdf#133589 AutoCorrect: transliterate to Old Hungarian) Conflicts: cui/source/tabpages/autocdlg.cxx editeng/source/misc/svxacorr.cxx Change-Id: Ib0c7e8837a89c3772c5db76720811d440e62183a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97094 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org> (cherry-picked from commit 77b213890a96d144d9cfacdfd35ac0bba68b9f7a and commit 076c95b27bf0e9be1fa1c077674cf974b22210fd) Change-Id: I3877ae930fa3e1e813a4b93b9ec4c2b18f8f5dd1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97359 Tested-by: Jenkins Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-06-23tdf#134043 DOCX import: DropDown text field instead of ComboBox form controlSerge Krot1-0/+12
Change-Id: Ide9cedefde3b00fa0eeb37a6540e8d4a420b70c0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96471 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96729
2020-06-05tdf#133589 AutoCorrect: transliterate to Old HungarianLászló Németh2-0/+16
In right-to-left paragraph mode, transliterate Hungarian text word by word during typing, also add the associated checkbox to Localized Options page of AutoCorrect dialog window. Old Hungarian (ISO 15924: Hung) is a historical and renewed script which is still in use to transliterate Hungarian writing. As a localized AutoCorrect feature, the patch supports the followings: – word-by-word transliteration of Hungarian texts only in right-to-left paragraph mode. – consonant disambiguation of digraphs and trigraphs based on hyphenation (now pattern-based Huhyphn dictionary of libhyphen, planned dictionary based Hunspell later) – transliteration by extended hu-Hung module of Numbertext library. Note: transliteration of the selected text using AutoCorrect Apply function has't been implemented, yet. Change-Id: Iee0f18e2485c974c35acf0a3abc3a49c2cf80196 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95303 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org> (cherry-picked from commit da64ec8c8a91db6a6ec9657898f081d5ee67e739) Change-Id: If6639761278048d2fca61f7881a3287d38a1a313 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95378 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-05-26Add an option to create encyrpted PDF files with mailmerge.Gülşah Köse1-0/+18
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>
2020-05-22[API CHANGE] officecfg,xmloff: remove SaveBackwardCompatibleODFMichael Stahl2-13/+0
org.openoffice.Office.Common.Save.Document.SaveBackwardCompatibleODF was added in 2007 and apparently enables storing invalid ODF (or OOoXML) to workaround bugs in OOo <= 2.3; nobody should need it in this day and age, and the OOoXML export has been removed anyway. bce5e157785745a6729db62b15fb98bc396cddee 2007 c7a3859693971bf7103bfb0d05d64712e724fa37 2007 7477a65e09b20917adf025550c550f8822b508ee 2007 77baabe992c77018a0467ffec8f9482f8d76b66b 2007 575222083e058a740f5ad69e14e18622c3d4f7af 2007 66b908b45cde78af020b35e817e67bc40b8493f0 2007 Change-Id: Ib3f730c7c9ac6fbbbbae9fb4a42c1bd65f6c93df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94571 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-05-18officecfg,unotools,cui: add ODF 1.2 Extended / ODF 1.3 versionsMichael Stahl1-0/+10
... to configuration and UI. The new default is ODF 1.3 Extended, which is now ODFVER_LATEST and stored as value "3" in configuration. Adapt a few places related to DocumentDigitalSignatures etc. to new default. Change-Id: I420da4f7787cc864c6bd88470d61b146b9399aa1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93177 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-05-18Added a new tab "Styles Inspector" at the side barShivam Kumar Singh1-0/+49
Patch significance :- 1) Added a new tab "Styles Inspector" at the side bar 2) Added the "Character Styles" properties in the inspector Change-Id: I717f0a555d9c90f833c61b641c8eba53f93d4655 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93909 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-05-14tdf#49247: add sidebar panel for soft edges effectMike Kaganski1-0/+26
Shapes are handled in all modules; images only in draw/impress (TODO). Change-Id: Ib96eb4c36fdb69dd605f9b5a507f67a279797286 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94162 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-05-09Re-indent sanelyTor Lillqvist1-129/+124
Change-Id: I68e2ae23bdba5c47a9156d1fa8d2078b364c1061 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93750 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-05-08implement PowerPoint 'flash' slide transition (API CHANGE)Luboš Luňák1-0/+13
It's like 'fade', but using white instead of black. It's a separate type in the pptx file (although I actually cannot find it in the spec OOXML, but PowerPoint 2013 generates it). The API change in XTransitionFactory should be fine, I doubt there's anything external using it. Change-Id: I3479840f265ed8227b3b8301ecff56a63d57f493 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93668 Tested-by: Luboš Luňák <l.lunak@collabora.com> Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-05-06tdf#79998 FILESAVE: XLSX export with long sheet names (length > 31 characters)Serge Krot1-0/+17
Change-Id: If18e3b751486144f3477b6e0c2615751f57e5565 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92372 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2020-05-06tdf#101181: implement glow effect also for SdrGrafPrimitive2DMike Kaganski1-0/+1
... using the implementation from f9fc420dceb1ece2c98767da16a21aaff771f140 that is already functional for SdrCustomShapePrimitive2D. For now, only for Draw/Impress. Change-Id: I4936e8276df2b21cb5c438e89c215b819e9b8a40 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92636 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-05-03Related tdf#131125: Improperly used ampersandJulien Nabet2-15/+15
Really search all occurences of Find & Replace Change-Id: I1c1301451afa4d339902a275594ecb4cd46030db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93331 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-04-29improve: pdf export caching of jpeg bitmapsThorsten Behrens1-0/+8
* make cache size configurable (defaults to 15) * have one cache object per PDFWriter instance, thus avoiding accidentally caching JPEGs with different compression settings Change-Id: I6664fc09b382f471cbe7c3e7aaedb3ebb5883b47 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93112 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-04-28tdf#127811 tdf#127813 Introduce compatibility key for the data seriesTünde Tóth1-0/+8
order of filled net and normal area charts. The data series of filled net and normal area charts are drawn in reversed order in LibreOffice but not in Microsoft Office. Default value is true to keep current behavior. Change-Id: I07adac814597b756878d74610d028f07327f7214 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/83897 Tested-by: Jenkins Reviewed-by: Balazs Varga <balazs.varga991@gmail.com>
2020-04-24weld StylesPropertyPanelCaolán McNamara1-0/+11
and SvxStyleToolBoxControl, etc. use a GtkOverlay to support the submenu hackery in the Style wysiwyg combobox dropdown Change-Id: I17baa56f382243070ee49e6d707e97324e4f4d67 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85720 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-04-23Add config to disable individual infobarsSamuel Mehrbrodt2-0/+54
In some deployments users want to disable certain infobars to not interfere with their workflows. Also, there are individual users who want to disable certain infobars for various reasons. This could be a generic config setting where you can set a list of Infobar IDs which should be disabled. That however would require knowledge about the internal IDs which are not exposed (and might even change over time). So instead, add a config option for each known infobar where we suspect users might want to turn it off. This list might change over time. Change-Id: I13f0456435b59aafe929a46498de5a8847f138e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92638 Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-04-17Change default PDF version to 1.6 (released in 2004)Miklos Vajna1-1/+6
We already write markup which is newer than 1.5, but the PDF version was not changed. Fix the one violation I'm aware of. Printing is left unchanged, similar to how commit 99ac4ee05b039166eedfe361fb985682fd92dd13 (Change default PDF version to 1.5, 2018-04-24) updated the default last time. Change-Id: I9598dc46fe7db428bd2eff98bebff8b3c873b4ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92457 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2020-04-17Revert "[API CHANGE] remove some primitives rendering settings"Noel Grandin1-0/+64
This reverts commit c71656f51a09e88ecae4f3423c96fee84778647d. Reason for revert: I give up Change-Id: I2a09c36c1f0d731f4d3f7d809364de7efa8d8a58 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92426 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-04-16[API CHANGE] remove some primitives rendering settingsNoel Grandin1-64/+0
Remove the following settings: QuadraticFormControlRenderLimit Quadratic3DRenderLimit RenderSimpleTextDirect RenderDecoratedTextDirect SnapHorVerLinesToDiscrete which have no way to be set from the user interface. Change-Id: Ie96531425f5ba6021ade4f247b18b99092fd7e5f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92275 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-04-03tdf#125268 officecfg: export LO character background as MSO shading by defaultMiklos Vajna1-1/+1
This restores commit 701238ea7d8a06fe7a90de15b7660b7c6d854f09 (tdf#125268: Export LO character background as MSO shading by default., 2020-03-23). As per ESC discussion, see <https://lists.freedesktop.org/archives/libreoffice/2020-April/084813.html> for the details. Summary: the benefit is that this way we don't loose data, and the cost is that LO's highlighting is called shading in MSO now. The minutes has several good ideas how to improve this further in follow-up commits. Change-Id: I12c76a7c273178d284b84c6c23e9348feb316127 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91611 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2020-03-31Revert "tdf#125268: Export LO character background as MSO shading by default."Tamás Zolnai1-1/+1
This reverts commit 701238ea7d8a06fe7a90de15b7660b7c6d854f09. Reason for revert: <INSERT REASONING HERE> Change-Id: I56facce4191644a4aaf565e572abab400e2b61a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91388 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-03-30tdf#101652 Add config option to prevent disabling readonly modeSamuel Mehrbrodt1-0/+6
There are various cases where people don't want users to be able to turn off readonly mode, so add a config option for it. Setting this option will remove the "Edit document" button from the readonly infobar and also disable the "Edit mode" menu entry. Change-Id: I7988da5b181455f778a6ab148e6bf32182c72618 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91144 Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-30tdf#124686 HideWhiteSpace should be positive Show Whitespaceshameempk1-0/+8
"Hide Whitespace" under View menu changes to "Show Whitespace". Functions and associated strings are renamed accordingly. Change-Id: Id0c91ecf5c59a8c0cd5d00574f3ce0f38d6dd6d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90324 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-03-30Fix indentationSamuel Mehrbrodt1-1/+1
Change-Id: Ic53ea0f324be1d0441922cff7113465bf199bbf7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91143 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-25tdf#101181: add sidebar panel for Glow effectMike Kaganski1-0/+25
... in Writer, Calc, Draw and Impress for CustomShapes. The artifacts that become apparent using the controls, e.g. remnants of the effect when decreasing radius (in Impress), or glow not drawn until reload after enabled or radius set to 0, should be fixed in a separate commit. Change-Id: I6107597161bc67ae8c3e62c260ef6ad241c7dedf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91056 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-03-24Sukapura: Add more 32px and independent iconsRizal Muttaqin2-0/+12
- Update Impress's hover image - Fix for wrong named icon - etc Change-Id: I1ad1f74a1b6ee4658b55fdb25d85d08e42e9a138 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90933 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-03-23tdf#125268: Export LO character background as MSO shading by default.Tamás Zolnai1-1/+1
Change-Id: I139f7b0795a12bbf0f54a0031883c2f05bf644cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90909 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-03-22Sukapura: Add Fill Cell iconsRizal Muttaqin1-0/+21
- Update hide related icons, etc Change-Id: I053a628f58f9a3eeb2690b74ea50ce4c5320b64c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90867 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-03-21Casual users don’t care about Unicode code pointsAdolfo Jayme Barrientos1-1/+1
It was too geeky to include this detail in the first place, but the bigger problem was that no other options do. Besides, the capitalization used here was wrong (menus are title case). Change-Id: Ia103850709739aedf43fda2b905143b991a9d43c
2020-03-21tdf#128276 Font names are not localized on macOS CatalinaTomofumi Yagi1-8/+8
1. We would like to call CTFontDescriptorCopyLocalizedAttribute function simply. We don't need to compare language settings of LibreOffice UI to OS lang- uage settings. This comparison was a way to save users from confusion, but it was bad idea. Because CTFontDescriptorCopyLocalizedAttribute function before macOS Catalina returns RFC 3066 bis as a language tag, but LibreOffice and macOS Catalina uses BCP 47 as a language tag. CTFontDescriptorCopyLocalizedAttribute function use the language setting for the operating system, therefore Users will change it if needed. 2. Fix font aliases on macOS Catalina I added some entries because I notice that those doesn't working with a Hiragino Sans font alias. Change-Id: Ie05a96f45cba13a19fcc1b855bd908f397e585a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/81145 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-03-16Add option to disallow opening files locked by other usersSamuel Mehrbrodt1-0/+6
Change-Id: I316b80a56b0d6dcb257fbc805fbac3afc93472ae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90425 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-12tdf#95854 Same shortcut for insert and edit commentMaxim Monastirsky1-122/+17
But at the same time keep them as two separate commands for tdf#84153. The idea is to define a global shortcut for the insert command (it's the same shortcut in all modules anyway), and then override it as a Calc-specific shortcut for the edit command. As a result, both menu (or context menu) items will show the same shortcut, but what will be actually executed by the shortcut is the edit command (as module specific commands have higher priority). This would work, as both commands share the same execution code. The only problem is that the edit command is disabled when the cell doesn't have a comment, and so can't be executed. Solve that by setting the FastCall sdi property on it (and reuse this general solution for the lok case too). Change-Id: I8a7280edb2aad7016ca31c63ca778b98fef85365 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90354 Tested-by: Jenkins Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-03-11tdf#125440 Allow raising text import dialog for pasteSamuel Mehrbrodt1-0/+11
This adds an entry to the "Paste special" dialog to raise the Text Import Dialog. This way, users can correctly import CSV/TSV, even when pasting just one line of formatted input. Change-Id: Ic09d7d60a05b14906f166668b38ec0eb8ead2d19 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89886 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-07Fix typoAndrea Gelmini1-1/+1
Change-Id: I581d853b056a2335521de1f556b909bdf5a6c6eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90143 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-02-28enable Skia by default on Windows, instead of OpenGLLuboš Luňák1-0/+5
Change-Id: I653dbff412944fb77fb9faebc3d127459dfe34cf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89549 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-02-27tdf#92484 UI: lock toolbar by defaultA_GAN1-1/+1
Change-Id: I29f283fcc3a55e535c01efe36e19db74244cef02 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89603 Tested-by: Jenkins Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-02-26tdf#130886 add ... to Edit Macros in Tools - Macros menuSeth Chaiklin1-1/+1
Change-Id: I04c0987b0b0c8a26ec4ce5517b9be4302b7920ce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89506 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2020-02-23Make shortcut of .uno:TraceChangeMode preferredMaxim Monastirsky1-6/+6
So it will show in menus and toolbar tooltips. Change-Id: Ieea3231416784141d2fa9c55c9b18a49f27eac75 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89291 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2020-02-23Same grid layout in all apps for better arrangement and presetsandreas kainz4-8/+8
Change-Id: I566dfe6e40228fb7b0ff9c55a6a3596c1fdbbaee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89264 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-02-21Drop o3tl::optional wrapperStephan Bergmann1-2/+2
...now that macOS builds are guaranteed to have std::optional since 358146bbbd1b9775c12770fb5e497b6ec5adfc51 "Bump macOS build baseline to Xcode 11.3 and macOS 10.14.4". The change is done mostly mechanically with > for i in $(git grep -Fl optional); do > sed -i -e 's:<o3tl/optional\.hxx>\|\"o3tl/optional\.hxx\":<optional>:' \ > -e 's/\<o3tl::optional\>/std::optional/g' \ > -e 's/\<o3tl::make_optional\>/std::make_optional/g' "$i" > done > for i in $(git grep -Flw o3tl::nullopt); do > sed -i -e 's/\<o3tl::nullopt\>/std::nullopt/g' "$i" > done (though that causes some of the resulting #include <optional> to appear at different places relative to other includes than if they had been added manually), plus a few manual modifications: * adapt bin/find-unneeded-includes * adapt desktop/IwyuFilter_desktop.yaml * remove include/o3tl/optional.hxx * quote resulting "<"/">" as "&lt;"/"&gt;" in officecfg/registry/cppheader.xsl * and then solenv/clang-format/reformat-formatted-files Change-Id: I68833d9f7945e57aa2bc703349cbc5a56b342273 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89165 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-18tdf#130519 Add "More options" button to Lists sectionRoman Kuznetsov1-0/+3
on Impress Sidebar Change-Id: I839cfe98e7d7ce8656f07977fe1ee4824d7f27ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88255 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-02-17Add menu entries for field/bookmark protectionSamuel Mehrbrodt1-0/+8
Change-Id: I5e0a194698a85e81089a929a0979e2b4022555e9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88612 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-16GBUILD_TRACE, support for finding out where the build time is spentLuboš Luňák1-0/+4
See instructions in solenv/gbuild/Trace.mk . This generates a file than can be viewed e.g. in the Chromium tracing view. Change-Id: I5f90647c58ca729375525b6daed2d4918adc8188 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88754 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>