summaryrefslogtreecommitdiff
path: root/scripting/java/com/sun/star/script
ModeNameSize
d---------framework163logplain
class='logsubject'>tdf#114901 TSCP various advanced TSCP dialog changesTomaž Vajngerl - rename "Part" to "License" - change Markings from Combo to List box - minimize whitespace - move bold and sign paragraph under text area as it is fixed - remove bold in paragraph dialog Change-Id: I7ec20460d02d3611a1da325eb7d3de3aef10f03f Reviewed-on: https://gerrit.libreoffice.org/47632 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> 2017-11-27TSCP: don't put a non-existing name into doc. propsTomaž Vajngerl We combined the abbr. name with the name and put that as a value into doc. properties. This is not correct as such a name doesn't exist in the BAPolicy and con't be identified anymore, so removing this. Also use the values that were put into the ClassificationField instead of the extracted text. Change-Id: I3037bc90a7a394d430f7c0cca4d326473eff3147 Reviewed-on: https://gerrit.libreoffice.org/45316 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2017-11-24TSCP: fix oversizing of ListBox-es by defining max lines & charsTomaž Vajngerl Change-Id: I47e8018c5f2c0ea890b5a11ac7cc03fafb7d1eed Reviewed-on: https://gerrit.libreoffice.org/45205 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2017-11-24TSCP: Advanced dialog UI improvementsTomaž Vajngerl - Change the height of TextEdit to ~5 lines (100px) - IPPart: single to double-click to add - IPPartNumber: change to ListBox, same behavior as IPPart - Markings: add on focus change - Category: remove messagebox when the category changed Change-Id: I9e695abc7caa702b2150a96ae15e6ce19fc2458a Reviewed-on: https://gerrit.libreoffice.org/45149 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2017-11-24TSCP: remove character limitation of recently used pop-upTomaž Vajngerl Change-Id: I886fe180e73aea9685e647aaa3283f707344f69f Reviewed-on: https://gerrit.libreoffice.org/44947 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2017-11-22loplugin:flatten in svxNoel Grandin Change-Id: Idc4d0186ecc6f0722c2b1358486a2430f037ae29 Reviewed-on: https://gerrit.libreoffice.org/45036 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2017-11-18TSCP: remember the state of IP section expander stateTomaž Vajngerl Change-Id: I899c05a4260324fa4c5648d7164821eddb1ead08 Reviewed-on: https://gerrit.libreoffice.org/44879 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2017-11-18TSCP: allow to add multiple markings in the documentTomaž Vajngerl Change-Id: Iae8fd98b678acdd3667eeb35b110b4e405c1167b Reviewed-on: https://gerrit.libreoffice.org/44878 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2017-11-17TSCP: change bold button to a toolbox button as bold iconTomaž Vajngerl Change-Id: Ic1a96544c4b3a1f8d631535c8a5f43b6680539f4 Reviewed-on: https://gerrit.libreoffice.org/44860 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2017-11-17TSCP: also store the identifier into the recently used XMLTomaž Vajngerl Change-Id: I19ccfb8f5118d73535d0e94bf32818d82670d093 Reviewed-on: https://gerrit.libreoffice.org/44847 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2017-11-17TSCP: resolve identifier to name, abbr. name is for category onlyTomaž Vajngerl In paragraph classification we store only the identifier and not the name, but for the ClassificationDialog we use the name as an identifier, so we need to resovle the identifier to the name when reading in the input classification results. It might make sense to switch to identifiers in the dialog also as they are language independent. Abbreviated name is only for the classification category and has no effect for other classefication elementslike markers and IP parts, so always fill them with the full name directly. Change-Id: I23bd0e8e92b16807a5b4d3162e503b799aa40718 Reviewed-on: https://gerrit.libreoffice.org/44845 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2017-11-15coverity#1421071 Uninitializer scalar fieldCaolán McNamara Change-Id: I6b52c62574013ba242922227c2cbd7bfceea0e29 2017-11-06TSCP: put more duplicated methods to commonTomaž Vajngerl Change-Id: Ic49e0dad1351684db3372214604d12b48d0be907 Reviewed-on: https://gerrit.libreoffice.org/44337 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2017-11-05TSCP: disable OK button if no category is present in text editTomaž Vajngerl Change-Id: I638f04e904a642e4fd6700e625732e5a9a2e44de Reviewed-on: https://gerrit.libreoffice.org/44292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 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: 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-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-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-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-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-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-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-09-26TSCP: sign paragraph from classification dialogAshod Nakashian Change-Id: Iebd50de0abecb80a4de38257fa2eea10b81962b7 Reviewed-on: https://gerrit.libreoffice.org/42738 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> 2017-09-26TSCP: paragraph classification dialogAshod Nakashian Change-Id: I3a5f201f9ed28452ee7392cb30aebf21955f3620 Reviewed-on: https://gerrit.libreoffice.org/42737 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> 2017-09-23coverity#1418337 Unchecked dynamic_castCaolán McNamara Change-Id: Ic7c7030687d39e35610f7aa14555d8b19b11acea Reviewed-on: https://gerrit.libreoffice.org/42681 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2017-09-21Missing GetSelectEntryPos -> GetSelectedEntryPosStephan Bergmann Change-Id: I353f64553ed5968e504d6f0c2a11131df8e2fc56 2017-09-21TSCP: add advanced classification dialogTomaž Vajngerl This adds a advanced classification dialog, which enables the user to manually construct a header/footer message from classification properties in cases where the user needs more control. All the text is inserted as fields into the end document and can be changed by changing the document properties. The simple classification still functions as it did before, which is what most users will want to use in this case. The BAF policy has been extended with new xml extension elements: - loext:Marking - loext:IntellectualPropertyPart - loext:IntellectualPropertyPartNumber They are used to fill the values in the advanced classification dialog. Change-Id: Ie2d638d69b8a9b0799cff9c2b785eb789f8af1d5 Reviewed-on: https://gerrit.libreoffice.org/42474 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>