summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2017-11-04loplugin:constparams in svxNoel Grandin
Change-Id: Ib6ae6b0c1ae1659955124bb5c710f2989a0feb3a Reviewed-on: https://gerrit.libreoffice.org/44250 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-04TSCP: make the configuration key names shorterTomaž Vajngerl
Change-Id: If28e283666f4e1f87758c401b2d4fb5986eb6d8c Reviewed-on: https://gerrit.libreoffice.org/44281 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-04TSCP: limit the input to the IPPart entry fieldTomaž Vajngerl
Limit the input keys to the IPPart entry field. The limit is by default set to free-form with the configuration key. When the limitation is activated it is only possible to input chars '/', ';', ' ' (space) and delete. Change-Id: Id3eb7e0198fb60e07894d6ff22a32351cca9d589 Reviewed-on: https://gerrit.libreoffice.org/44280 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-04TSCP: add a full text. value of the header/footer as doc. propertyTomaž Vajngerl
Change-Id: I4742066c34802017790c1c21ec04a7760d4fe1f7 Reviewed-on: https://gerrit.libreoffice.org/44279 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-04TSCP: Ask if it is OK to change the classification categoryTomaž Vajngerl
Change-Id: I30ccdfb9d0584d8ee9b12666b1f96eb9ba8676ee Reviewed-on: https://gerrit.libreoffice.org/44278 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-03ofz#4034 Integer-overflowCaolán McNamara
Change-Id: Ia126933260ea017f7cfdc8ac2ddc43b16aa37b91 Reviewed-on: https://gerrit.libreoffice.org/44248 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-03TSCP: fix build by correcting member namesAshod Nakashian
Change-Id: I77212f1c6ca3d54ced1b73604e9d8a3022d72700
2017-11-03TSCP: flesh out ClassificationResultAshod Nakashian
Change-Id: Ie6ee33cc21f6f27ae1d58a0e47f367b0539e4378 Reviewed-on: https://gerrit.libreoffice.org/44117 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2017-11-03TSCP: use the BAC identifier as the RDF keyAshod Nakashian
DOCX RDF -> SmartTag logic expects urn:bails namespace to dump the RDF, and it also needs to have the rdf file in tscp/bails.rdf, hence the move. Change-Id: I9ae496c97abe97d3596de46ffccd5f7c80e37d34 Reviewed-on: https://gerrit.libreoffice.org/44116 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2017-11-02ofz#3886 Integer-overflowCaolán McNamara
Change-Id: I936f681b835cca62fc14a326b7ae5cb062b3f1df Reviewed-on: https://gerrit.libreoffice.org/44197 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-02TSCP: make configurable if IP section is expandedTomaž Vajngerl
Change-Id: I38b8c1da096c2b38f52defd8bb9a522e32fb881c Reviewed-on: https://gerrit.libreoffice.org/44188 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-02TSCP: insert at cursor position when clicking an IP partTomaž Vajngerl
Change-Id: I0672f55c1d5ec14324b0d0589e2507c759b95911 Reviewed-on: https://gerrit.libreoffice.org/44186 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-02TSCP: change double-click to single for IP part list boxTomaž Vajngerl
Change-Id: I1ec96ddbb4bba76b82d32a09fd2f47e46c64fc16 Reviewed-on: https://gerrit.libreoffice.org/44185 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-02TSCP: hide markings widgets if the list of markings is emptyTomaž Vajngerl
Change-Id: I0d4a821935ef29b020409a34259a0c1fc487388f Reviewed-on: https://gerrit.libreoffice.org/44183 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-02TSCP: add recently used to advanced classification dialogTomaž Vajngerl
Change-Id: Ic084104b28dbcc439d98cd08a89a7ddc6f291878 Reviewed-on: https://gerrit.libreoffice.org/44158 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-02TSCP: read/write recently used in advanced classification dialogTomaž Vajngerl
This implements the reading and writing of the recently used content in the advanced classification dialog. The recently used content is stored to a xml file in the user profile folder under "classification" folder - filename "recentlyUsed.xml". The content is just a reflection of the resulting ClassificationResult vector in a simple xml form. Change-Id: If148ae123a6c826874b86dc1f374cdaab6e8fea9 Reviewed-on: https://gerrit.libreoffice.org/44150 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-01page.hrc is only included from svx/source/dialogStephan Bergmann
...but itself includes svx/source/dialog/page.h, which only happens to work because of -I$(dir $(3)) in gb_CObject__command_pattern (in solenv/gbuild/platform/com_{GCC,MSC}_class.mk). Clean that up by moving the file. Change-Id: I9f5f4b6884d9ec7357caaffa050c7b516762d71a Reviewed-on: https://gerrit.libreoffice.org/44172 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-01ofz#3886 Integer-overflowCaolán McNamara
Change-Id: I5f7ee16e8b05d7bb7e15ca26e0902ad0c1fed2de Reviewed-on: https://gerrit.libreoffice.org/44164 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-01loplugin:constantparam in connectivityNoel Grandin
Change-Id: Ia13d0931bbdf642fe04119ea1112788fb143eba8 Reviewed-on: https://gerrit.libreoffice.org/44110 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-31TSCP: proper collecting and applying of paragraph and text weightTomaž Vajngerl
Change-Id: I22edc4adb87706a176c3afa3500963c4a5b46ee7 Reviewed-on: https://gerrit.libreoffice.org/44015 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-10-30TSCP: classification edit box doesn't need to be that highAshod Nakashian
Change-Id: Ib6c0dc1b4363377b03934a9b1a296a013183a714 Reviewed-on: https://gerrit.libreoffice.org/44014 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2017-10-30tdf#96505 Get rid of cargo cult long integer literalsudareechk
Removing unnecessary 1L occurrences Change-Id: I85d4949eacde0dfc0ff7a513f4bf42324e6d34c1 Reviewed-on: https://gerrit.libreoffice.org/42840 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-10-30loplugin:constantparam in svxNoel Grandin
Change-Id: Ifaad1083b1561b2bd908e798e06fbff8bbabbe60 Reviewed-on: https://gerrit.libreoffice.org/44048 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-30related: tdf#103884 remove gltf/collada featureThorsten Behrens
Change-Id: Icd26ad96c0337844ef1463dabfbe791caa00dd2d Reviewed-on: https://gerrit.libreoffice.org/43972 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-10-29ofz#3889 Divide-by-zeroCaolán McNamara
Change-Id: If02a4bd6d168e9b1d4574cfc730ecc24011eab62 Reviewed-on: https://gerrit.libreoffice.org/44023 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-29TSCP: skip empty classification sectionsAshod Nakashian
When the user inserts some classification text into the editbox in the classifcation dialog then deletes, EditEng is giving us an empty section. This is to skip it, since it's completely superfluous. Change-Id: I522f05d0a270cd2bd9892235ad3cb40a88b295ac Reviewed-on: https://gerrit.libreoffice.org/43888 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2017-10-29ofz#3839 Integer-overflowCaolán McNamara
Change-Id: I79c79bc75443f87cf36ec325c9b4d6b513959a76 Reviewed-on: https://gerrit.libreoffice.org/44012 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-29tdf#110357: Impress table looses selection when clicking on ...Tamás Zolnai
... Increase \ decrease font button Change-Id: I52cf853de01b06c6c9db9779f15174f895789da8 Reviewed-on: https://gerrit.libreoffice.org/43962 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-10-28TSCP: bump the doc classification if lower than paragraphAshod Nakashian
The document classification should not be lower than the highest-classificed paragraph. This insures that the document classification is as high as the highest classified paragraph upon saving. Change-Id: Ic838b886ecf97da2eca56870f68aa3e51c7291f6 Reviewed-on: https://gerrit.libreoffice.org/43772 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2017-10-27Handle decimalSeparatorAlternative in TakeRepresentation, tdf#81671Eike Rathke
Change-Id: I552cb14fcb048d6c7da9043704c9941686a30993
2017-10-27Use LocaleDataWrapper::stringToDouble() in ShadowPropertyPanel, tdf#81671Eike Rathke
Change-Id: I3e8f0a4a75c55543a1b6f6e9470cfd7aeb80e603
2017-10-27Use LocaleDataWrapper::stringToDouble() in PosSizePropertyPanel, tdf#81671Eike Rathke
Change-Id: Ice64297dff19f653383b1936d7f47c692df0baf8
2017-10-27survive without configCaolán McNamara
Change-Id: I410e486acc206ae2981fd16a9e2780dbd4d27af5
2017-10-26vcl: make MapMode constructor explicitMichael Stahl
Insert constructor everywhere, except a couple places that apparently want to compare GetMapUnit(). Change-Id: I1910deb60562e5e949203435e827057f70a3f988
2017-10-26tdf#111846 Find & Replace: Rename diacritics and kashida optionsJim Raykowski
Change-Id: I1657b84d613b28d5762057954069d2a2fe2e3ab2 Reviewed-on: https://gerrit.libreoffice.org/43103 Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com> Tested-by: Heiko Tietze <tietze.heiko@googlemail.com>
2017-10-26More loplugin:unnecessaryparenStephan Bergmann
81892b2037453108b9bde1512a500cf3b2ce438a "loplugin:unnecessaryparen when compiling as C++17, so the ParenExpr is no longer hidden behind ExprWithCleanups/CXXConstructExpr/MaterializedTemporaryExpr wrappers" gave me the idea to generally look though IgnoreImplicit instead of IngoreImpCasts in loplugin:unnecessaryparen. However, that would still not look through implicit CXXConstructExpr, so would still not have found the occurrences in 81892b2037453108b9bde1512a500cf3b2ce438a when compiling in pre-C++17 mode. Therefore, let ignoreAllImplicit also look through CXXConstructExpr. (I am not entirely sure in which situations non-implicit CXXConstructExpr---that should thus not be ignored---would occur, but assume they would be underneath something like a CXXFunctionalCastExpr, which is not ignored.) Change-Id: I947d08742e1809150ecc34a7abe84cca5e0ce843
2017-10-25ofz#3801 Divide-by-zeroCaolán McNamara
Change-Id: Ibb2f3e5508899541bc201240a7e9d5f26c750fa5 Reviewed-on: https://gerrit.libreoffice.org/43843 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz Integer-overflowCaolán McNamara
Change-Id: If78466f091c55279b21aaa936a4b77e665530aa5 Reviewed-on: https://gerrit.libreoffice.org/43849 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3800 Bad-castCaolán McNamara
Change-Id: Ib27aa3d10468fbf4030af9b28fdcb29c1ff8cc6b Reviewed-on: https://gerrit.libreoffice.org/43835 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25Resolves: tdf#113328 crash in color replacer if parent closed before itCaolán McNamara
Change-Id: I41a7af332cd36c9645b6042785c4d72f70e67795 Reviewed-on: https://gerrit.libreoffice.org/43824 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25tdf#107643 Fix paragraph preview line spacingJim Raykowski
Change-Id: I265f440ed8133d1fd557bed00f766170fffa6cd5 Reviewed-on: https://gerrit.libreoffice.org/43682 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-10-25loplugin:constmethod in tools,sax,UnoControlsNoel Grandin
Change-Id: Ie05e44e2a4019e2549843961ebfa04fef7b7aeb4 Reviewed-on: https://gerrit.libreoffice.org/43767 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-24loplugin:implicitboolconversionStephan Bergmann
...similar to a2d814ac1d7beb6fbe4b9cb7b75814f4b08b8e59 "loplugin:implicitboolconversion" Change-Id: Id664a066549498548c123e8dbdc68ba43af9348e
2017-10-24loplugin:finalclasses in svxNoel Grandin
Change-Id: I74296e2185902498cd569ecde83905f718a41e84 Reviewed-on: https://gerrit.libreoffice.org/43715 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-23loplugin:includeform: svxStephan Bergmann
Change-Id: I4057fe05983fb2b63b592ffd325894c12b9cb5b2
2017-10-23tdf#96505 Get rid of cargo cult long integer literalsudareechk
Removed 0L, 1L and 2L Change-Id: Icb38de1cdd8e1215a86118b0c8af993025fd790e Reviewed-on: https://gerrit.libreoffice.org/42567 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-10-23tdf#105000, related tdf#87538: Make new color names translatableGabor Kelemen
Make the new color names of the Tango palette translatable These were added in 494cdeda9700ee1fcbfbed1b22f7436927bd6c72 Change-Id: Ie81dd42e011bcc36884c3c4c31ac65d83bfe6e31 Reviewed-on: https://gerrit.libreoffice.org/41614 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-10-23overload std::hash for OUString and OStringNoel Grandin
no need to explicitly specify it anymore Change-Id: I6ad9259cce77201fdd75152533f5151aae83e9ec Reviewed-on: https://gerrit.libreoffice.org/43567 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-22TSCP: support abbreviated classification namesAshod Nakashian
Change-Id: Ib7edc491d2f8a69c48f1515ba29d79e09c88c3b7 Reviewed-on: https://gerrit.libreoffice.org/43627 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2017-10-21loplugin:redundantcast handle dynamic_castNoel Grandin
Change-Id: I7855c76e820efce96778b1c19ec71dffcc4b4abb Reviewed-on: https://gerrit.libreoffice.org/43621 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>