summaryrefslogtreecommitdiff
path: root/extras/source/autotext
AgeCommit message (Collapse)AuthorFilesLines
2022-12-07tdf#53023 - Remove last empty paragraph from auto textAndreas Heinisch500-96/+501
Remove the last empty paragraph before inserting an auto text. The carriage return at the end of it is appended in SwXMLTextBlockParContext::~SwXMLTextBlockParContext() which can't be removed without introducing side effects. In order to compensate for the change, a paragraph has been added to the existing only text auto texts. Patch was reverted due to a hang of the ui test. It seems that selecting an entire text using mkPropertyValues({"KEYCODE":"CTRL+A"})) does not work anymore. Change-Id: I08f612d50f496c8d7f891c773ddedf27c3d80864 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143781 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2022-12-07Revert "tdf#53023 - Remove last empty paragraph from auto text"Andreas Heinisch500-501/+96
This reverts commit ce64398653a896c8a48dd6cabe2b75d9c025873d. Reason for revert: UI-Tests hang Change-Id: Ib4b576e66da8642f3ffe8774e92a7e7c2c527b08 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143717 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2022-12-06tdf#53023 - Remove last empty paragraph from auto textAndreas Heinisch500-96/+501
Remove the last empty paragraph before inserting an auto text. The carriage return at the end of it is appended in SwXMLTextBlockParContext::~SwXMLTextBlockParContext() which can't be removed without introducing side effects. In order to compensate for the change, a paragraph has been added to the existing only text auto texts. Change-Id: Ie098f23d7bdc70798197e5714e041c8fd79f0439 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143353 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2022-02-10simplify autotextuser makefileChristian Lohmaier1-0/+0
could be made static, but left as pattern based since the rules could be combined with the other makefiles/there's no real need to treat building the user using separate makefile rules, it's the same procedure for both shared and user variant. Change-Id: Ic1dbbcf4dfd8f533d215cc930cc455f95658db1b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129725 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-02-10simplify autotextshare makefile/only build what's packagedChristian Lohmaier171-0/+0
The multiple indirections/complex nested constructs don't really provide any benefit here, they certainly don't make the makefile easier to read. It was building the autotext .bau files for all languages, despite being packaged only for the requested UI langauges (via AllLagPackage) and the long list of autotext files was duplicated (even if all .bau files should be built, the list could be reused from the other makefile) Also remove the empty mimetype files and just touch them instead of copying them. The xml, mimetype and other files are now intermediates and are removed by make once the .bau is built. (if that's not desired, they can be flagged as .SECONDARY) The list of individual files (3.6k lines) could also be cut down if using e.g. make's wildcard function Change-Id: I223a49d26d1de1435d62a68a04b3713278a8320c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129696 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-09-08remove unnecessary meta.xml from autotextJustin Luth304-4774/+0
I kept this separate to simplify spotting errors. There were about 130 unique md5sum hashes, and all were roughly the same size. I spot checked a few with "meld" and didn't see anything that seemed valuable. find . -name meta.xml -exec rm {} \; git grep -l \/meta.xml *.xml | xargs sed -i /\/meta.xml/d git grep -l \/meta.xml ../CustomTarget_autotextshare.mk \ | xargs sed -i "/\/meta.xml/d" Change-Id: Id11ec9973a8764ffbc809f9161868d6cacb80a85 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121606 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Laurent Balland-Poirier <laurent.balland-poirier@laposte.net>
2021-09-06remove unnecessary settings.xml from autotextJustin Luth521-10370/+1
I don't think that anyone wants their document settings adjusted just by entering some autotext. [Now, it didn't seem to be doing that because I suppose that since the value already exists, the import won't overwrite it.] find extras/source -name settings.xml | md5sum | sort //shows only a few unique entries. Visual comparing with "Meld" //didn't reveal any reason why the files are useful. I also removed ./autotext/lang/bg/standard/FN/Obj0012D655/settings.xml based on Laurent's advice, even though it contains <config:config-item config:name="Formula" E=mc^2 Otherwise, the other 7 versions were almost identical, differening only in OOo version .9, or 1.1 and show redline changes on/off. cd exttras/source find . -name settings.xml -exec rm {} \; git grep -l \/settings.xml *.xml | xargs sed -i /\/settings.xml/d git grep -l \/settings.xml ../CustomTarget_autotextshare.mk \ | xargs sed -i "/\/settings.xml/d" Change-Id: I9c148bdff55e6757e6fa98401486bc7c41ebf25d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121605 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org>
2021-04-27CommandType is "long" type not "short" typeJulien Nabet5-10/+10
See https://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star_1_1sdb_1_1CommandType.html + discussion here: http://document-foundation-mail-archive.969070.n3.nabble.com/Type-of-CommandType-short-or-long-tt4299416.html Important remark from Stephan: "...the data type corresponding to UNOIDL LONG (i.e., 32 bit) is xs:int, not xs:long" Change-Id: Ic8f027e8a5be96bdb2e5629b0ff1ef4830ef6c88 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114659 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-24Improve FN AutoText for xhLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I398b69954b4b810ec340e430753f4e669f4e9944 Reviewed-on: https://gerrit.libreoffice.org/78966 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for vecLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: Ibce3c0577bdca7d7e334d3bfdb028efa0b289773 Reviewed-on: https://gerrit.libreoffice.org/78965 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for veLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I1a99c43bc97fdf94e8f3d322b057756a7cb32d12 Reviewed-on: https://gerrit.libreoffice.org/78964 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for uzLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I8497e3777b25f63ba2db86c8e547d29b394a8403 Reviewed-on: https://gerrit.libreoffice.org/78963 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for ukLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I120f18237215c6bd18f52f8d5fe551a09e398e10 Reviewed-on: https://gerrit.libreoffice.org/78962 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for ugLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I1261a5aa2dee679a85597d5b499e6e07e5a450ff Reviewed-on: https://gerrit.libreoffice.org/78961 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for ttLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: Ifd05a7cc8348767018ae25bd815c207b76e8e01e Reviewed-on: https://gerrit.libreoffice.org/78959 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for tsLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I94d05a49198c4e4092862a931cbbb483c5832b53 Reviewed-on: https://gerrit.libreoffice.org/78958 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for tnLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I9a21ca19b6b2cb519af617c75d80558c374671a2 Reviewed-on: https://gerrit.libreoffice.org/78957 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for thLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I019d94749eaf058bf637fe0957bd158ffcc91313 Reviewed-on: https://gerrit.libreoffice.org/78956 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for tgLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I1964454fb1fbc4de51648470a34f7fe6c0bda971 Reviewed-on: https://gerrit.libreoffice.org/78955 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for teLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I7a6394a0d4d4b629defade5e7df5d9248a951360 Reviewed-on: https://gerrit.libreoffice.org/78954 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for taLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I0aa25936fc16012e18954831f526da7d0a5a7172 Reviewed-on: https://gerrit.libreoffice.org/78953 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for szlLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I191cc0376a683e2efd1249bf7aa7761fd5819463 Reviewed-on: https://gerrit.libreoffice.org/78952 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for sw-TZLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I2ceaaebcdfefd0cfd482f801b32eac928f29cb92 Reviewed-on: https://gerrit.libreoffice.org/78951 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for stLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I443ccba5967986a989ab22b5273af302e2ffd7e3 Reviewed-on: https://gerrit.libreoffice.org/78950 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for ssLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: Ia7c9e02e1c40ab322bb8f6f19e4fbbdd3da3968b Reviewed-on: https://gerrit.libreoffice.org/78949 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for sqLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: Ifbfa18db451e02bd3fc976e283ae7b33a5e9afd0 Reviewed-on: https://gerrit.libreoffice.org/78947 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for sidLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I0bd3097d82f63a51c5eb862920ad23f2be4ea92c Reviewed-on: https://gerrit.libreoffice.org/78946 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for siLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I4464413ed92bbbda41ec1ce1dd6a8ba0fb814865 Reviewed-on: https://gerrit.libreoffice.org/78945 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for sdLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: Ia37f0d16120216fb32b7d4ab480ff05a1038ee04 Reviewed-on: https://gerrit.libreoffice.org/78944 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for sa-INLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I73e803f9563fac028dffbd8bcb721ad25c05ad06 Reviewed-on: https://gerrit.libreoffice.org/78943 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for satLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I5ca0d2326f6fd60c2336e7f3abd5e4d958a6e9ea Reviewed-on: https://gerrit.libreoffice.org/78941 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for rwLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: Ia62bd4406a478c20b0f304af35a861a187e11396 Reviewed-on: https://gerrit.libreoffice.org/78939 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for pa-INLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I43942907f6eb3470aee9d465da9f845912c4c020 Reviewed-on: https://gerrit.libreoffice.org/78937 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for orLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I063360897b357e433b43ca63c4833514d96f7cec Reviewed-on: https://gerrit.libreoffice.org/78936 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for omLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: Iaae0f7e71251bdb206c3d7f59f78a34672b7fc14 Reviewed-on: https://gerrit.libreoffice.org/78935 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for ocLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: Ic8412633aadf32aec17e0c347ffd82c1cd639fc0 Reviewed-on: https://gerrit.libreoffice.org/78934 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for nsoLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I3d6d7870474412458670f1453150e9b0fbeacc23 Reviewed-on: https://gerrit.libreoffice.org/78933 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for nrLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: If5d988b9f82dcba1a299d8ff365f433897284586 Reviewed-on: https://gerrit.libreoffice.org/78932 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for neLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: Iae18e7b16095017f1c28356fd2b064faa5bbf606 Reviewed-on: https://gerrit.libreoffice.org/78931 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for nnLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I3e75a76d68cf6f98aac12eb7c8b1f4715f06a56d Reviewed-on: https://gerrit.libreoffice.org/78930 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for nbLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I90c9971090c15905c6fc16720c900e3768334f43 Reviewed-on: https://gerrit.libreoffice.org/78929 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for myLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I5370dde14e32c434f7802b6ac394fd2648690cd3 Reviewed-on: https://gerrit.libreoffice.org/78921 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for mrLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I5f86ebc87e3134ab15cf9278da9017b9035d93ee Reviewed-on: https://gerrit.libreoffice.org/78920 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for mniLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: Ia7375fe31f19b6932a54c6ca9a468e772698b863 Reviewed-on: https://gerrit.libreoffice.org/78919 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for mlLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: Ib9e554b24b20938cc38674cc9056aed242905a67 Reviewed-on: https://gerrit.libreoffice.org/78918 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for mkLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I3ed3f5a3bb2f819e710914d1f9f6d9de741af35d Reviewed-on: https://gerrit.libreoffice.org/78917 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for maiLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I07e85d7eb2c9e7b66e0fb7afe96286cc3ecc4ed0 Reviewed-on: https://gerrit.libreoffice.org/78916 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for lvLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: Id11abcafd1aa69f4dec8a40ecf00dd01e19ae12e Reviewed-on: https://gerrit.libreoffice.org/78915 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for loLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I430dd355cdfba25ef0b1901ceabfd7f0970f3647 Reviewed-on: https://gerrit.libreoffice.org/78914 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-24Improve FN AutoText for lbLaurent BP1-3/+3
Translate names which appear in Navigator Change-Id: I01b4672a25fbf3e8f456513566919bcedce1eee4 Reviewed-on: https://gerrit.libreoffice.org/78913 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>