summaryrefslogtreecommitdiff
path: root/offapi
AgeCommit message (Collapse)AuthorFilesLines
2017-11-14Add comment and @since LibreOffice 5.2Eike Rathke1-0/+6
Change-Id: Iee7b0a6cd6f6f83f88b836e4efd7e7d6f17e6197
2017-11-13Fix typosAndrea Gelmini1-1/+1
Change-Id: Ia544298334364ece3b3963a4adc00c5e01189b91 Reviewed-on: https://gerrit.libreoffice.org/44654 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Page <aptitude@btconnect.com>
2017-11-08Remove sgv and sgf graphic types from supported graphicsSamuel Mehrbrodt1-2/+0
After removal of the importer with d952c0b42a452c875bd9d78870fa9d925af9220e Change-Id: Ib6d20d00417807038051f187e4ba76e70576082e Reviewed-on: https://gerrit.libreoffice.org/44444 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-11-03[API CHANGE] tdf#65393 Import signature line images from ooxmlSamuel Mehrbrodt1-1/+16
showing whether the signature behind the signature line is valid or not. Change-Id: Ia6cca62812019f26d55d234cac767a9b4b7c8175 Reviewed-on: https://gerrit.libreoffice.org/40980 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-11-03Fix comment markupSamuel Mehrbrodt1-21/+22
These do not appear on api.libreoffice.org if they arent marked up correctly Change-Id: I38873e1d763d97ff11e28b9ce5efe1cc68b12bf7 Reviewed-on: https://gerrit.libreoffice.org/44221 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-11-02Begin sentence with uppercase letterSamuel Mehrbrodt1-1/+1
Change-Id: I32056d860dfb6dd5683d13de86705c3d70f51d46 Reviewed-on: https://gerrit.libreoffice.org/44215 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-11-01TSCP: Support DocInfo.Custom field for ODP file formatTomaž Vajngerl1-2/+2
Impress has a limited support for fields - this includes support for DocInfo.Custom field, which shows the user defined custom fields that are used in TSCP. This commit adds minimal support (only what is needed for TSCP) for DocInfo.Custom field but only supports string fields for now. It is not possible to add the field manually, at least not until the full support is added. Change-Id: Ib3b73ab22fd4fe65ab6fb5173fe035a3359deea5 Reviewed-on: https://gerrit.libreoffice.org/44041 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-10-27New LocaleItem::DECIMAL_SEPARATOR_ALTERNATIVE, tdf#81671Eike Rathke1-3/+9
Change-Id: I1817d917621ccc3c81468132c558f9faa8c4ec4c
2017-10-26New decimalSeparatorAlternative, LocaleDataItem2, XLocaleData5, tdf#81671Eike Rathke4-0/+113
... and LocaleData2 service, which is necessary with new-style services because optional interface at published service is not possible. Change-Id: I77703243a961b5385eaea146e4c9c42d5f30e1ad
2017-10-23tscp: advanced classification dialog for impressTomaž Vajngerl1-1/+2
Change-Id: I76c81e6f84de8160c20f1614d7676f2f2c3fb155 Reviewed-on: https://gerrit.libreoffice.org/43361 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-10-20offapi: update TextFitToSizeType documentation for tdf#97630 fixMichael Stahl1-5/+6
Change-Id: Id4fad147002d0ec18d1462764f842a3791b48d3a
2017-10-20offapi: fix TextFitToSize propertyMichael Stahl1-2/+2
Change-Id: I3c519e1377c09b53f02f360bb53f422ac1bad2b5
2017-10-19offapi: clarify TextFitToSizeType documentation some moreMichael Stahl1-4/+12
Change-Id: I1912676423c0e85fa21f87bf28c2a4f6a13c5565
2017-10-18offapi: clarify documentation of TextFitToSizeTypeMichael Stahl1-10/+10
Change-Id: Iae2ee1e77d9cdc0b98241c47e009d37a9e72e000
2017-10-05TSCP: include certificate usage in paragraph signaturesAshod Nakashian1-0/+7
Change-Id: I6f4b891a016c67051efd9033329065d7e3c8a06b Reviewed-on: https://gerrit.libreoffice.org/43022 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2017-09-25Fix typosAndrea Gelmini1-1/+1
Change-Id: I879a52820d78d9151ef64dd21612379f617f66e2 Reviewed-on: https://gerrit.libreoffice.org/42726 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-09-11Missing @since tagsStephan Bergmann1-0/+4
Change-Id: Ic19041193264627baefd487ddd1d3c05088c027e
2017-09-10gpg4libre: add sha512 supportThorsten Behrens1-0/+9
Change-Id: Ia5ef54e47e8528a33aba83ae2e317fac5cffb428 Reviewed-on: https://gerrit.libreoffice.org/42086 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-09-03gpg4libre: When encrypting, show all available GPG keysKatarina Behrens1-0/+7
(not only private ones) Change-Id: I3fd248f4cace1ea248267d5696da9cb70940744e Reviewed-on: https://gerrit.libreoffice.org/41508 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-09-03gpg4libre: Recycle certificate selection dialog for encryptionKatarina Behrens1-0/+15
Change-Id: I699ecff1f62b3dae7ac275823c6721810589c4cf Reviewed-on: https://gerrit.libreoffice.org/41507 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-09-01Fix typosAndrea Gelmini1-5/+5
Change-Id: I4496faa9ce7cad393bf06ca789099b045aea2741 Reviewed-on: https://gerrit.libreoffice.org/41785 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-08-30gpg4libre: Encrypt with GPG checkbox in SaveAs file dialog, 1st stabKatarina Behrens1-0/+1
LibO's own file dialog only so far Change-Id: Ic5f6c180afb5d4e0fc151ad57d769b99ad7fbdf3 Reviewed-on: https://gerrit.libreoffice.org/41292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-08-25Remove some incorrect API documentation for theDamjan Jovanovic1-2/+0
com.sun.star.sdbc.SQLException ErrorCode field. Patch by: me (cherry picked from commit ecd7e16c6d6277530879ed11e752d000248c56c7) Change-Id: I45fb25f1447fd6d37a38e80879de663ab3dbba99 Reviewed-on: https://gerrit.libreoffice.org/41568 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-08-17Fix typosAndrea Gelmini12-13/+13
Change-Id: Iaa9c0aea3ea1a239e378bd714ba335f91bb1faf3 Reviewed-on: https://gerrit.libreoffice.org/41194 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-08-07Fix typosAndrea Gelmini1-2/+2
Change-Id: I4969e9e66de602a8c79774460a0215ef9d150372 Reviewed-on: https://gerrit.libreoffice.org/40795 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-08-07oovbaapi: screenUpdating, do not adjust heightTamas Bunth1-0/+4
Do not adjust row height if screenUpdating false, because it consumes significant time. Also change IsAdjustHeightEnabled boolean to a counter so it can be used several times in an overlapping manner too. Change-Id: Ie5c894481f3c1b4e07175164aac8303e504779ce Reviewed-on: https://gerrit.libreoffice.org/40443 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Bunth <btomi96@gmail.com>
2017-07-27sw: add new TextParagraph property to XTextRangeMiklos Vajna1-0/+6
A text range represents a selection or cursor position, so similar to sections or tables, it makes sense to expose the containing paragraph as well. This new property does exactly that. Change-Id: If92a3b5e61f13c7c14ca52bc8593a2b286a596cc Reviewed-on: https://gerrit.libreoffice.org/40483 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-07-21migrate to boost::gettextCaolán McNamara7-379/+2
* all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
2017-07-19Missing @since tagsStephan Bergmann2-0/+4
...from 83535a28c57ffb59f795dd35332d6b3426071e32 "emfplus: create a wmf/emf/emf+ primitive based importer" Change-Id: Id628c834cea2ae4cb031fdd68feff5db1e887d13
2017-07-19[API CHANGE] offapi: remove unused css.xml.crypto.XMLEncryptionMiklos Vajna2-43/+0
This is mostly just the offapi/ part, more C++ code can be removed in xmlsecurity/ after this. XMLEncryption wasn't used by internal code since it was added in commit 9f34fde7a8750b856570b5e855d2ecb226bf0c23 (libxmlsec, 2004-07-12). It seems to be unlikely that this non-published service was used by 3rd-party code, since it was specific to other xmlsecurity/ code, not generic functionality that could be useful in other contexts. Change-Id: Ia0168f67d1c8ff7a019760ac436511f219eee94e Reviewed-on: https://gerrit.libreoffice.org/40162 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-07-15emfplus: completed isolation/migration of Emf/WmfArmin Le Grand1-2/+6
Decided to keep the migrated/isolated Emf/Wmf reader which are now hidden behind a Uno Api. Had to re-implement WMF_EXTERNALHEADER (now WmfExternal, own file/header) to not break anything. It *seems* to just scale something and could be done after import, but I could not be sure. Also needed a callback hook to allow getting the Metafile out of a MetafilePrimitive in a lower module (vcl relative to drawinglayer) which is needed as long as primitives are not completely on Uno Api. Deleted all Emf/Wmf reader stuff from vcl. Change-Id: Ic5540defa8ec770728280df4df3f12e1f48cfc3a
2017-07-15emfplus: create a wmf/emf/emf+ primitive based importerArmin Le Grand3-0/+95
First steps to organize an importer that can read/interpret wmf/emf/emf+ and deliver a primitive representation for the content by parsing it. Use the same mechanisms as already applied for Svg, so to reuse abilities to keep original binary data to allow save again and embedding in files and have an implemented replacement bitmap based representation. For this, unify the used helper classes to handle more than just Svg. For 1st try, add test code and static bool switches Change-Id: I6e0a82943541d811a8f8d65a84115569fcd8cee7
2017-07-07offapi: document used mime type for svg and pdf images in GraphicDescriptorMiklos Vajna1-0/+2
Change-Id: I69d9287fc4973ba7c6a314aeb3f62af6b23dccfa Reviewed-on: https://gerrit.libreoffice.org/39666 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-06-21gpg4libre: [API-CHANGE] add certificate kind (X509 vs. OpenPGP)Katarina Behrens3-1/+41
Change-Id: I423bef41f93af9d1b78ee9795be7ec33c3c7ae0c
2017-06-20Propagate failure out from css.ui.test.XUITest::executeCommand/DialogStephan Bergmann1-2/+2
Change-Id: Id7bd2d6f35f45d9957facf56d66cfc57a1e0ef6a Reviewed-on: https://gerrit.libreoffice.org/39002 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-06-19Add comments to sax APIs:Mohammed Abdul Azeem2-1/+14
for processingInstruction method in XFastDocumentHandler and for XFastNamespaceHandler API. Change-Id: Ie0fd8ceb42e7ffbce041796b98edaa7f232dbb62 Reviewed-on: https://gerrit.libreoffice.org/38964 Reviewed-by: Mohammed Abdul Azeem <azeemmysore@gmail.com> Tested-by: Mohammed Abdul Azeem <azeemmysore@gmail.com>
2017-06-15comphelper: add a profiling APILászló Németh1-0/+22
Using the guard style ProfileZone aZone("foo"). Test macro: Sub TimeLog toolkit = createUnoService("com.sun.star.awt.Toolkit") toolkit.startRecording() toolkit.processEventsToIdle() toolkit.stopRecording() a = toolkit.getRecordingAndClear() s = "" For Each i in a s = s + i + ", " Next i Print s End Sub Change-Id: Iceaf9143d0387c87e7936dc67eecbbf71ee8d74a Reviewed-on: https://gerrit.libreoffice.org/38786 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-06-15[API CHANGE] Add processingInstruction event to XFastDocumentHandler:Mohammed Abdul Azeem1-0/+6
Also made changes in FastParser impl. to emit this event. I've made use of existing namespace and element name strings to store target and data for this event. Change-Id: I6f00cd1172552dd9a74ec22190bef3d2289ae515 Reviewed-on: https://gerrit.libreoffice.org/38784 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2017-06-14Bump @since LibreOffice 5.5 -> 6.0Stephan Bergmann2-2/+2
Change-Id: Iccb5eddbca8e5dbfa66f07809505065b70339046
2017-06-14Remove 'owner' credit from uno interfaceSamuel Mehrbrodt1-2/+0
Change-Id: I7bf2eaccff61abcde869c9a44150206b8b7b4a1a Reviewed-on: https://gerrit.libreoffice.org/38792 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-06-12Fix typosAndrea Gelmini1-1/+1
Change-Id: Ib2ba32d48d3df16b0b20deea84416fe15a2d7176 Reviewed-on: https://gerrit.libreoffice.org/38650 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-06-12Translate German comments and debug strings (leftovers in dirs j... to q...)Johnny_M1-1/+1
Translates all (leftovers) found using a custom regex, in directories not shown by /bin/find-german-comments and beginning with "j" to "q". Additionally: - A few spelling fixes Change-Id: I5abf71dde3efc0dbaad162c705c6dc17af50f6c1 Reviewed-on: https://gerrit.libreoffice.org/38613 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-06-07Fix @since tagStephan Bergmann1-1/+1
Change-Id: Ic8303d848a551ce1c0da824576a70e148ed3b08f
2017-06-07Keep list sortedStephan Bergmann1-1/+1
Change-Id: I4b09c9b2dd8d662a15267378d812013be42d8e69
2017-06-06tdf#106942 Wrong message when lock file is empty or corruptJuergen Funk2-0/+44
1. Erase empty or corrupt lockfile, when reading it fails and skip "Locked Document Dialog" in that case 2. Show Dialog (use LockFileIgnoreRequest -> LockFailedQueryBox) when create lock file is not possible. Two Dialogs: "lock file create error" and "empty lockfile is present" Set the document to read-only when creating lockfile is not possible. If lockfile is corrupt or empty, inform the user. They can interrupt loading the document or open it read-only, which also erases the corrupt lock file after closing the document 3. Handling for the two Dialogs Use LockFileIgnoreRequst for create lockfile error and add a new LockFileCorruptRequest, (lock file is corrupt). Change and generate new messages for both dialogs in english Change-Id: I35c377f85b5113e8ffb89d83b9544b8ebc81d89f Reviewed-on: https://gerrit.libreoffice.org/36658 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-06-05spelling instanciate -> instantiateNoel Grandin1-1/+1
Change-Id: Ic1393da64328c0dc7e2860334b204139bf537d81 Reviewed-on: https://gerrit.libreoffice.org/38401 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-29Revert "[API-CHANGE] Add persistent (in addition to persistant)"Stephan Bergmann3-5/+3
This reverts commit 795d56dfd55a78a240cef79c822ba958c4f18006. The Gerrit UI had fooled me into pushing the "Submit" button in error.
2017-05-29[API-CHANGE] Add persistent (in addition to persistant)Julien Nabet3-3/+5
+ keep "persistant" for compatibility reasons but put it as deprecated Change-Id: I7ef8efb9f376eadfdac876d142840aab5a0b4416 Reviewed-on: https://gerrit.libreoffice.org/37042 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2017-05-23svtools: add GraphicProvider::queryGraphics()Miklos Vajna2-0/+48
This allows moving the for() loop from oox to svtools when importing multiple images. That means in case later we parallelize that loop, then the performance benefit won't be restricted to oox, but also will be available for all clients of the graphic provider. Change-Id: Icd7bd447e7ae623b0a8548e020d8f6ab38da47bb Reviewed-on: https://gerrit.libreoffice.org/37945 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-05-20Correction of a typo in the doctext of XConditionalFormat.idljmzambon1-1/+1
XConditionalFormat.idl doctext refers to a ConditionFormatEntryType constant that does not exist. The referred constant should be ConditionEntryType. Change-Id: I99349f0f4fb2406155278330e7e3b5f26caadc90 Reviewed-on: https://gerrit.libreoffice.org/37834 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>