summaryrefslogtreecommitdiffstats
path: root/offapi
Commit message (Collapse)AuthorAgeFilesLines
* tdf#114821 import/export/place complex data labels in chartsSzymon Kłos2018-02-125-0/+113
| | | | Change-Id: Ia44abcebb4febcabb1704aef85e396730ac2cd6f
* tdf#115394 import custom slide transition time in PPTXSzymon Kłos2018-02-121-2/+7
| | | | | | | | | | | | | | * custom values are imported correctly * standard (fast, slow, medium) values are changed to match values in the MSO Change-Id: I004242afbbf641fe414abc8df248a2844c104502 Reviewed-on: https://gerrit.libreoffice.org/49139 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/49521 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
* tdf#106942 Wrong message when lock file is empty or corruptJuergen Funk2018-02-092-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> Reviewed-on: https://gerrit.libreoffice.org/49468 Reviewed-by: Aron Budea <aron.budea@collabora.com> Tested-by: Aron Budea <aron.budea@collabora.com>
* Fix typosAndrea Gelmini2017-12-051-1/+1
| | | | | | | | | | | | | 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> (cherry picked from commit e44c188a7353cc183fac8ece0cbf3611d842835e) Change-Id: I879a52820d78d9151ef64dd21612379f617f66e2 Reviewed-on: https://gerrit.libreoffice.org/45454 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 50e37a41acae8597fdb097715f8b76b16bce9f31)
* [API Change]: Create new GeneralFunction2 for adding medianTamás Zolnai2016-11-235-1/+156
| | | | | | | | | | | | | | | | | | | | | | | | New functionality added to pivot table became fully broken with Eike's revertion: 50244309501d738e7314fa79785db139c826f8d7 This commit fixes this problem. Reviewed-on: https://gerrit.libreoffice.org/31096 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit c0d4aadf08c16f2d79508367c631366f7a856346) GeneralFunction is not an enum anymore Reviewed-on: https://gerrit.libreoffice.org/31103 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 5b7b2c8649596299c8f00b8b3b5056d272e25ccd) Change-Id: I67cfc63305bb9b2edeed2abd26d729fbf650579f Reviewed-on: https://gerrit.libreoffice.org/31099 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* [API CHANGE] offapi: remove unused XSecurityController interfaceMiklos Vajna2016-11-223-46/+0
| | | | | | | This unpublished interface is not implemented by any C++ object in our code and it's unlikely that 3rd-party code used it, so remove it. Change-Id: Ide956c8a759ff8181dfd58351b79d4a011af50df
* [API Change] revert incompatible change of enum css::sheet::GeneralFunctionEike Rathke2016-11-222-8/+2
| | | | | | | | | | | Quick solution before 5-3 branch off without reverting everything related. This will need a new constant value type for API instead of the enum and an internal mapping from/to the enum. Kept the GeneralFunction_MEDIAN at all places in uing code so it can be easily grep'ed for. Change-Id: I95256649f16ded08e467003d2924be0ff5efb87f
* Update the reference rdbs to libreoffice-5-2Stephan Bergmann2016-11-211-0/+4
| | | | | | | | | | | (This deliberately leaves out the published css.mozilla.XRemoteServiceManagerProvider originally manually removed from offapi/type_reference/offapi.idl with 4c18af27bf95b332ee2006cfc0bbf469fb1a84d4 "tdf#96398 kill remaining NPAPI support for plugins _inside_ LO" and now fully removed with b5589970125ae4b8c0a091cfc12d058ca42ce2ab "[API CHANGE] Remove tdf#96398 leftover XRemoteServiceManagerProvider".) Change-Id: I75d4cd82ba306099e2563a44739bfb3867a265e9
* [API CHANGE] Remove tdf#96398 leftover XRemoteServiceManagerProviderStephan Bergmann2016-11-212-50/+0
| | | | | | | | | | 4c18af27bf95b332ee2006cfc0bbf469fb1a84d4 "tdf#96398 kill remaining NPAPI support for plugins _inside_ LO" had removed various other (also published) offapi/com/sun/star/mozilla/*.idl files, and had included removal of css.mozilla.XRemoteServiceManagerProvider from offapi/type_reference/offapi.idl, but had forgotten to actually remove this .idl file---apparently an oversight. Change-Id: I1a8f0c594829a5dd6025ff6c2b6a6fa9a109ca36
* [API Change]: Move recently added median function to the end of enumTamás Zolnai2016-11-212-17/+15
| | | | | | | Change-Id: Ie6f2c6f53b354552b855264faea1ae9f5cb2b76d Reviewed-on: https://gerrit.libreoffice.org/31041 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* [API Change] PivotMedian: Add median to pivot table function typeTamás Zolnai2016-11-202-8/+16
| | | | Change-Id: I675e81b5c13832ac0ff893a6e080241e6f1c8fd5
* fix spelling XFastAttrbitueList->XFastAttributeListNoel Grandin2016-11-111-4/+4
| | | | Change-Id: I618cadba909acbe935217026af7da496894dbd5e
* Typo in documentationStephan Bergmann2016-11-091-1/+1
| | | | Change-Id: I0970a86d65aa905cbd02d892be08de8962731e8b
* vcl: improve accounting of SVG images in graphics cacheMichael Stahl2016-11-072-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | The problem is that the graphics cache only counts the size of the SVG text, which is stored in SvgData::maSvgDataArray. However the SvgData::maSequence may use a lot more memory, as it may contain de-compressed bitmaps that are stored as base64-encoded PNGs in the SVG text. For example icon-themes/galaxy/brand/flat_logo.svg is 812 Ko but contains 60 Mo of bitmaps. This may cause excessive memory usage and failure to export documents due to OOM; according to valgrind massif, the bitmap buffers use 90% of the heap. Add a new interface com::sun::star::util::XAccounting, and implement it in drawinglayer BasePrimitive2D. VCL SvgData can't access drawinglayer via C++ directly so this looks like the best approach. Change-Id: I5a7c3147733e23473c1decabed24c1f79d951c7d Reviewed-on: https://gerrit.libreoffice.org/30669 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* Bin unused XSecuritySAXEventKeeper::cloneElementCollectorTor Lillqvist2016-11-031-13/+0
| | | | Change-Id: Icc0ead769fa0a052f7d4dfbc825c96dbb513b33f
* css.xml.sax.XAttributeList is broken by designStephan Bergmann2016-10-311-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | In the Java interface it was reportedly copied from, getValue can return null to indicate a missing attribute, but in UNOIDL that's not possible. The workaround that implementations of the UNOIDL interface resorted to is apparently to return an empty string (another option would have been to throw an exception). But the code in xmlsecurity appears to be written under the ill assumption that getValueByName would return null for a missing attribute. What the code as written actually did check was whether the return value is an empty string (because it picks the operator ==(OUString const &, sal_Unicode const *) overload, which happens to treat a null second argument like an empty string). Ideally, the code in xmlsecurity would have some way to tell a missing attribute from an empty one (via some extended XAttributeList2, or by iterating over all getNameByIndex, or ...). But for none of the affected attributes it seems expected that the attribute's value could be an empty string, so checking for an empty string seems to work reasonably well in practice. So keep it simple and just check for an empty string properly. Thanks to Tor for spotting that odd xmlsecurity code. Change-Id: Ib068ee98ef818683a43309ab4d7c3a4731e8deff
* Clean up #include lineStephan Bergmann2016-10-311-1/+1
| | | | Change-Id: I8fe49533c3aa2830cf068d9cad091f3c2ab0fbfd
* tdf#95014 initial support for 32 px icons in toolbarTomaž Vajngerl2016-10-301-1/+9
| | | | | | | | | | | | | | | | This adds support for 32 pixel icons - mainly to get them into the toolbar. Most changes made are to change the behavior of having only small and large icons as a boolean choice, but not every code path was converted to non-boolean choice yet. Breeze icon theme has the 32px variants so it can be used already. Change-Id: Iadf832a87826c16b3a83522104dd6c35d61a0f87 Reviewed-on: https://gerrit.libreoffice.org/30398 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
* tdf#102288 TerminationVetoException should only prevent terminationSamuel Mehrbrodt2016-10-101-0/+4
| | | | | | | | | | When using a TerminationVetoException, all windows should be closed, but the process should be kept running. Change-Id: I71b0b57b6035a36f0325c8dea3cd38309408f176 Reviewed-on: https://gerrit.libreoffice.org/29031 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* filter: don't loose signing description during pdf exportMiklos Vajna2016-10-071-1/+3
| | | | | | | | | | | | | | | | | The free-form string attached to a signature is called description during ODF/OOXML signing. The certificate chooser dialog has an input field to provide that. The PDF export dialog's signature tab reuses this dialog, but also provides an an own reason input field for the same purpose. So in case the generic dialog's description field is filled, don't simply throw away that string, but set the pdf export's reason field to the same value. XDocumentDigitalSignatures.idl is not a published interface and it is used only internally, so the API change is only nominal. Change-Id: I6d4cf0b3f586417a76a052dc30c960478a95c984
* [API CHANGE] Remove css::awt::XStyleSettings InfoTextColor and InfoFontCaolán McNamara2016-10-051-6/+0
| | | | Change-Id: I2bee3f52a751ac1ed2b61a1488d6d58c1b36dcba
* Fix typosAndrea Gelmini2016-10-011-1/+1
| | | | | | | Change-Id: I6aeda978911b25caa45d4e459e581fc743e93d2c Reviewed-on: https://gerrit.libreoffice.org/29442 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Fix typosAndrea Gelmini2016-10-013-4/+4
| | | | | | | Change-Id: Icfc61fcc5ace717bca4bea988243674afe31e6f8 Reviewed-on: https://gerrit.libreoffice.org/29435 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#102630: [API CHANGE] Remove /org.openoffice.Office/Substitution treeStephan Bergmann2016-09-281-4/+1
| | | | | | | | ...from configuration (see issue for details). Also, remove mention of that configuration tree from the documentation of the css.util.PathSubstitution UNO service. Change-Id: Ia0373bc7d19e650b7954b7dbb934a578c96fcab5
* fix documentation of $(home) path variable on WindowsAndras Timar2016-09-211-2/+2
| | | | | | | Change-Id: Ie97d7d63f2fde98e51e2210c5ad1063ad7ab07db Reviewed-on: https://gerrit.libreoffice.org/29144 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
* Add some missing documentation to idl filesSamuel Mehrbrodt2016-09-214-9/+9
| | | | | | | Change-Id: Id5a3a6d4cc08f55cd7ff31614248ce203b2e4e8d Reviewed-on: https://gerrit.libreoffice.org/29146 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* Fix typoSamuel Mehrbrodt2016-09-211-1/+1
| | | | | | | Change-Id: I3055f06c2b72d651ebf633bc46aaf682716a8fc2 Reviewed-on: https://gerrit.libreoffice.org/29139 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Value member @since LibreOffice 5.3Eike Rathke2016-08-181-0/+2
| | | | Change-Id: If7aa51768446eb41ce9f3a7d4493a021f380fa34
* Start tdf#100547 Trendline equation: customize X, Y namesLaurent Balland-Poirier2016-08-162-0/+10
| | | | | | | | | | | | Change trend line UI to add fields: X name and Y name to change "x" and "f(x)" in equation representation Next to be done: save it to ODF file Change-Id: I0680ee1bbfbbb74016ecc858917e10d6790ac63a Reviewed-on: https://gerrit.libreoffice.org/27069 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
* Native Numbers: update list of supported languagesLaurent Balland-Poirier2016-08-161-3/+23
| | | | | | | Change-Id: I3a6ef21e1d46aeecb5bfd84e43dd2563b201de0a Reviewed-on: https://gerrit.libreoffice.org/28170 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* introduce css::sheet::FormulaLanguage::APIEike Rathke2016-08-031-0/+13
| | | | Change-Id: I70624ded4060f50ad820a9590cb461fe58abceb9
* offapi: document SynchronMode argumentJuergen Funk2016-07-221-2/+15
| | | | | | | Change-Id: Ie47a7f4afbfab40f172705323520d75ef4927b0a Reviewed-on: https://gerrit.libreoffice.org/27364 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* adapt description to realityEike Rathke2016-07-201-4/+4
| | | | Change-Id: I2062902e496715223ff9a4183c90f66d742d2687
* Missing @since tagsStephan Bergmann2016-07-192-0/+2
| | | | Change-Id: Ief16e1facfa9c2e2be5722b9261bcd83a1f7b9be
* GSOC: Adapt XLegacyFastParser to function like XParser.Mohammed Abdul Azeem2016-07-093-0/+43
| | | | | | | | | | | | Made XFastParser to pass namespace prefix instead of URI for Unknown attributes and elements, Namespace handler is provided to resolve those. Test for XFastParser unknown elements is removed, since testing XLegacyFastParser indirectly tests that also. Change-Id: Ia41ff5d3d4c07cef0ca23ba858bfb2a94b91b1f5 Reviewed-on: https://gerrit.libreoffice.org/26982 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
* Add new open dialog type: Play and linkSamuel Mehrbrodt2016-07-011-0/+10
| | | | | | | | | | This is needed e.g. for the "Slide transition sound" files where we want to play files and also give the choice whether to link or not Change-Id: I5aaef7152be8e5c0a0f88c4d7234926f233c5d92 Reviewed-on: https://gerrit.libreoffice.org/26846 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Add new open dialog type: Preview only (without link)Samuel Mehrbrodt2016-06-301-0/+9
| | | | | | | | | | This is needed e.g. for the "Insert Photo Album" dialog where we don't want the "Insert Link" option in the file open dialog (tdf#65356) Change-Id: I01aecaaf8194a8123931b0482b4a37155654dfc2 Reviewed-on: https://gerrit.libreoffice.org/26796 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* fix assumed typoDavid Tardon2016-06-281-1/+1
| | | | Change-Id: Ice084d8c0651b1b08e8e8cce6f4a6f1c09e8dd3e
* LeftRightMarginScale: updated commentsSzymon Kłos2016-06-281-7/+7
| | | | Change-Id: I1b35845ee273723b617334daa39854079a8e6992
* [API CHANGE] notebookbar: paragraph spacing controlsSzymon Kłos2016-06-272-0/+79
| | | | | | | Change-Id: I9d2672cd156f2dcc2ee4c544902e9d42632cab70 Reviewed-on: https://gerrit.libreoffice.org/26039 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* uitest: add method to get all children of a ui objectMarkus Mohrhard2016-06-181-0/+2
| | | | | | This makes writing ui tests so much easier. Change-Id: Ice7d98c354fc9b68ee4532bc854561b5b9446e3f
* uitest: let us return a string based typeMarkus Mohrhard2016-06-181-0/+2
| | | | | | | This is less important for the UI testing and more for debugging and logging. Change-Id: Id65fcacc591129869ca0f80f828eb63ce044cf33
* uitest: add getState method to css::ui::test::XUIObjectMarkus Mohrhard2016-06-181-0/+2
| | | | Change-Id: Idaa559956fd3a59c79038d3940d664a1d2bff867
* uitest: support the parameters in the executeAction commandMarkus Mohrhard2016-06-181-1/+3
| | | | Change-Id: I78df2fe58b9d1386f360bef4c0eeddb6afe83b8d
* uitest: improve the UITest UNO objectMarkus Mohrhard2016-06-183-0/+34
| | | | Change-Id: I88eb14bb0846ee8baff9c3d15ee93d777601f260
* uitest: add UNO interface for ui testingMarkus Mohrhard2016-06-183-0/+56
| | | | Change-Id: I0ee5d1e93808103a1541ced6fc7ea9d05a70fc89
* Resolves: tdf#91365 use underlying numeric value if available [API CHANGE]Eike Rathke2016-06-171-0/+9
| | | | | | | | | | ... at least for setting the cell content. There are more places where the numeric value could be transported but all Data Pilot pivot stuff is based on text strings :-/ This appends a double Value member to com::sun::star::sheet::MemberResult Change-Id: Ia9e8ac47d0877bd4a59a69d5921ce4ea082e8a69
* Add a pause() method to XToolkitExperimentalTor Lillqvist2016-06-101-1/+4
| | | | | | | Pauses the main thread of LibreOffice for the requested amount of time. Change-Id: I5978a3a9b9561623c698526d8c29695d71df3d03
* fix include guardEike Rathke2016-06-071-2/+2
| | | | Change-Id: I12d2e52ed026e4e6945dc837ec9083e65142b54b
* Resolves: tdf#35247 introduce a locale independent numeric field filterEike Rathke2016-06-065-6/+74
| | | | | | | | | | | | | | | ... that tries to match a locale independent query string. Going via string queries is likely only necessary for the ugly alternative "fieldname[member]" syntax, if it is actually unnecessary for the field1,item1,... syntax needs to be evaluated and if so a distinct GetPivotData() function evaluating numeric contraints as well could be introduced. Change-Id: I2c1fc81c1022b0bba5eef8d86c0c815bb6e31f2d Reviewed-on: https://gerrit.libreoffice.org/25975 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>