path: root/offapi
AgeCommit message (Collapse)AuthorFilesLines
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: Reviewed-by: Miklos Vajna <> Tested-by: Jenkins <>
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: Reviewed-by: Miklos Vajna <> Tested-by: Jenkins <>
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: Tested-by: Jenkins <> Reviewed-by: Markus Mohrhard <>
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: Reviewed-by: Mohammed Abdul Azeem <> Tested-by: Mohammed Abdul Azeem <>
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("") 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: Reviewed-by: Miklos Vajna <> Reviewed-by: Noel Grandin <> Tested-by: Jenkins <>
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: Reviewed-by: Michael Meeks <> Tested-by: Michael Meeks <>
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: Reviewed-by: Samuel Mehrbrodt <> Tested-by: Samuel Mehrbrodt <>
2017-06-12Fix typosAndrea Gelmini1-1/+1
Change-Id: Ib2ba32d48d3df16b0b20deea84416fe15a2d7176 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Michael Stahl <>
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: Reviewed-by: Michael Stahl <> Tested-by: Michael Stahl <>
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: Tested-by: Jenkins <> Reviewed-by: Katarina Behrens <>
2017-06-05spelling instanciate -> instantiateNoel Grandin1-1/+1
Change-Id: Ic1393da64328c0dc7e2860334b204139bf537d81 Reviewed-on: Reviewed-by: Noel Grandin <> Tested-by: Noel Grandin <>
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: Tested-by: Jenkins <> Reviewed-by: Michael Meeks <>
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: Tested-by: Jenkins <> Reviewed-by: Miklos Vajna <>
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: Reviewed-by: Chris Sherlock <> Tested-by: Chris Sherlock <>
2017-05-19Update the reference rdbs to libreoffice-5-3Stephan Bergmann1-0/+21
LD_LIBRARY_PATH=.../master/instdir/program \ .../master/workdir/LinkTarget/Executable/unoidl-read --published \ .../libreoffice-5-3/instdir/program/types.rdb \ >.../master/udkapi/type_reference/udkapi.idl * no changes LD_LIBRARY_PATH=.../master/instdir/program \ .../master/workdir/LinkTarget/Executable/unoidl-read --published \ .../libreoffice-5-3/instdir/program/types.rdb \ .../libreoffice-5-3/instdir/program/types/offapi.rdb >.../master/offapi/type_reference/offapi.idl * plus manual fixup for now by re-applying offapi/type_reference/offapi.idl part of 8913353a8fd2a1d281c2d8a33ca795d97201b7bc "enum spelling: throught -> through" Change-Id: I705dd8b33034f01d333bf80f1211022f5395609e
2017-05-05Fix typosAndrea Gelmini1-1/+1
To complete commit 0ef94e2b559547bc4e906e7f24e57ff5d642e108 and f12096272e684ddcd8ffa4e34dcb0a680cc594c2 Change-Id: Ie86bbfbd58dd728a013bef221e4d5c8fbcaf8e03 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Julien Nabet <>
2017-05-03remove unneeded @since tags from added pivot chart UNO interfacesTomaž Vajngerl4-35/+1
Change-Id: Iafeeedbc617d0824d8f384f8515faea35a3e419f Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Tomaž Vajngerl <>
2017-05-03remove empty commentsNoel Grandin57-352/+3
found with: git ls-files | xargs grep -Pzl '/\*\* (\*|\s| )*\*/' Change-Id: I1f47bcb94d5a7b290a6c622c6941195fbb578597 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <>
2017-05-01tdf#107145 display applied filters for page field in pivot chartTomaž Vajngerl1-0/+7
Add field output description which shows the description of the filtered output, which can be either "- all -" when nothing is filtered, "- multiple -" when multiple values are outputted or the specific value - the only value remaining. Change-Id: I8fca6050dabba9878e9f3a31e4be7a03e3b87467 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Tomaž Vajngerl <>
2017-04-29tdf#107097 invoke internal DP and correctly handle "range" namesTomaž Vajngerl1-0/+4
When we copy/paste a pivot chart to another (new) document, we "send" a chart data as ODC to the other document. In the new document we can't use the pivot table (as there is none in this document) so we read-in the table data from the document to the internal data provider. The problem was that we didn't match the (fake) range names from the pivot table correctly in the internal data provider and the data wasn't populated. This commit fixes that and changes the fake range names to something that is easy to parse and matches the names in internal data provider. Change-Id: I9872160cca68abd91738a25bf9b3b27bc77ce38d Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Tomaž Vajngerl <>
2017-04-27last private:resource ... bitmapex user is goneCaolán McNamara1-2/+1
so drop private:resource ... bitmapex example and update docs Change-Id: I244c575573cffda5eb8ca52afd2f4a04a9b18f14
2017-04-26last private:resource ... bitmap user is goneCaolán McNamara1-5/+1
so drop private:resource ... bitmap example and remove bitmap case, bitmapex case persists Change-Id: Iabf7c48517c17e3117f88daa80a258b7303b85dd
2017-04-22tdf#107068 add arrow to the buttons, mark if field is filteredTomaž Vajngerl1-0/+15
Change-Id: Iba0b4c2ce3ab84229d388a7cb2d20db1f47c0b57 Reviewed-on: Reviewed-by: Tomaž Vajngerl <> Tested-by: Tomaž Vajngerl <>
2017-04-19pivotcharts: display pivot table fields in correct orderTomaž Vajngerl1-0/+2
Change-Id: I97d3391d6d9d59626bace2ce0cf2b5d9b45d9261 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Tomaž Vajngerl <>
2017-04-12[API-CHANGE] drop css.comp.logging.SimpleLogRingCaolán McNamara4-169/+0
Change-Id: I2f61a8ec24a28a917b458673df6ed45ac1f93e72 Reviewed-on: Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2017-04-12enum spelling: throught -> throughJustin Luth2-2/+7
git grep -l "[ _\.]THROUGHT" | xargs sed -i 's/THROUGHT/THROUGH/g' git grep -l -i "[ _\.]THROUGHT" | xargs sed -i 's/throught/through/g' In ENUMs: THROUGHT = THROUGH (preserved as valid alternate spelling) In ooxmlexport8 - unit test confirms THROUGH = THROUGHT Change-Id: Iae0fef9a8adcb96761989f38903a24ffb1b91e77 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Stephan Bergmann <>
2017-04-04tdf#83257 [API-CHANGE] Pivot chart implementationTomaž Vajngerl8-59/+249
This is a squashed commit of the pivot chart implementation. Some of the changes: - Add pivot chart specific (pivot table) data provider which provides the data from a pivot table to the associated chart. - When inserting a chart and the cursor is in a pivot table, in that case insert a pivot chart - Modify the pivot chart when the pivot table changes - Collect and set the number format for the values - isDataFromSpreadsheet check for the creation wizard - In ChartView (and VLegend) check if the data provider is a pivot chart data provider and get the pivot table field names to create the buttons on the UI. - Adds the functionallity to show a filter pop-up (from calc) when clicking on row / column / page field buttons. - Remove (X)PopupRequest as we won't need it. - Add ODF import/export for pivot charts: + Added loext:data-pilot-source attribute on chart:chart which is the internal name of the pivot table with which the pivot chart is associated with. If the element is present, then the it means the chart is a pivot chart, else it is a normal chart + Added service to create pivot chart data provider through UNO + Add new methods to XPivotChartDataProvider to create value and label data sequences separately from the data source, which is needed for pivot chart import + When importing defer setting the data provider until a later time when we know if we are creating a chart od a pivot chart - Pivot chart ODF round-trip test - Add table pivot chart supplier API: This adds the XTablePivotChartSupplier and related interfaces so we can access, create, delete pivot charts from UNO in a sheet document. With this we now distinguish between normal charts and pivot charts. This was mainly needed because we can't extend the "published" interfaces of TableChartSupplier. - Added an extensive test, which uses the API to create a new pivot chart when there was none, and checks that the pivot chart updates when the pivot table updates. Change-Id: Ia9ed96fd6b1d342e61c2f7f9fa33a5e03dda21af Reviewed-on: Reviewed-by: Tomaž Vajngerl <> Tested-by: Tomaž Vajngerl <>
2017-03-26uitest: provide a way to select a floating window, e.g. popup menuMarkus Mohrhard1-0/+2
Change-Id: Ice418b974c59c7d8c773b81a82f0a06c84547f10 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Markus Mohrhard <>
2017-03-25Fix typosAndrea Gelmini3-3/+3
Change-Id: I14dca0d55c09187690dc1d94936c40b890ca5cea Reviewed-on: Reviewed-by: Julien Nabet <> Tested-by: Julien Nabet <>
2017-03-19TyposJulien Nabet2-3/+3
Change-Id: I13020539fe121151e884a90d72d47788fb3ae65c Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Julien Nabet <>
2017-03-19fix typo/grammar: "the the" --> thedennisroczek3-10/+9
* also removing pointless ASCII art (tdf#62475) * truncate ending whitespace in Doxyfile Change-Id: I59b012f41ac0d170216229da85a49aa41689dee5 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <>
2017-03-16gpg4libre: No need to create separate idl files for gpg servicesSamuel Mehrbrodt6-159/+0
Change-Id: Ief217cd91e30433c30ac0547d28fb6eab2dc43b0 Reviewed-on: Reviewed-by: Samuel Mehrbrodt <> Tested-by: Samuel Mehrbrodt <>
2017-03-12Fix typosAndrea Gelmini3-3/+3
Change-Id: I63da858b3f264cd099e60192633b44d362b6fad7 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Julien Nabet <>
2017-03-11Fix (German?) spelling mistakes in comments: s/save/safe (the adjective)Tor Lillqvist1-1/+1
Might be more of them left, I found these by looking for "is save" or "it save". Many more potential misspellings of "Safe" as "Save" in identifiers are left. Need to check individually which of them actually mean "Safe", which mean "Saved" perhaps. Change-Id: I5d3791ea2df2e1d485f65400404972b72af45aec
2017-03-04gpg4libre: List and view GPG keysSamuel Mehrbrodt6-0/+159
* Add GPG implementation of css::xml::crypto UNO interfaces (part of that is only stub atm) * List gpg keys along with other certificates * Viewing gpg certificates: Not all properties are implemented yet Change-Id: I7f60b26efe949a94bf8fe1b8d4d428002c2995b1 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Siegmund Gorr <> Reviewed-by: Thorsten Behrens <>
2017-03-02Fix typosAndrea Gelmini3-3/+3
Change-Id: Ic6c41fbcc36c11a7528cde0986593a39c2d6738b Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <>
2017-02-27uitest: add a specific method for executing dialogsMarkus Mohrhard1-0/+2
This allows us to split the parts that need to run async and the ones that can run synchronous. This will reduce the number of signals that we need. Change-Id: I9c9f3df3422cc66d28d66e0638e212b39c743e33 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Markus Mohrhard <>
2017-02-14Resolves: tdf#79250 add typed list to form control listboxEike Rathke4-0/+71
... so numeric and text data can be distinguished input. Change-Id: I63280a93c272ccc6f5e7ca06a1a1fcbfb3db8455
2017-02-14Missing @since tagsStephan Bergmann2-1/+3
...after 8cc8ffdb04f9915c5b7dddd619ef89762c7a40c2 "[API CHANGE] Add PopupRequest - a callback to open a pop-up win. in calc" Change-Id: I94be25141fdc415c8cc45c8a2f1be9ee69d23f2c
2017-02-13comment XPopupRequest APITomaž Vajngerl2-0/+5
Change-Id: I7a539bce74bba7b299ae75a2525a2c0d1249894a Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Tomaž Vajngerl <>
2017-02-12[API CHANGE] Add PopupRequest - a callback to open a pop-up win. in calcTomaž Vajngerl4-0/+87
Change-Id: Iea600e229deb69d1638a1a649008fc4738a5934a Reviewed-on: Reviewed-by: Tomaž Vajngerl <> Tested-by: Tomaž Vajngerl <>
2017-02-11Revert "Resolves: tdf#79250 add typed list to form control listbox"Eike Rathke4-71/+0
This reverts commit e387b69967aabc44d5da5aaad8d94191437dc57c. It breaks toolkit.subsequentcheck with propertyChangeListener wasn´t called for ´TypedItemList´ Back to the drawing board for the twisted property logic of forms and toolkit uno control models.