summaryrefslogtreecommitdiff
path: root/offapi
AgeCommit message (Collapse)Author
2016-11-03Bin unused XSecuritySAXEventKeeper::cloneElementCollectorTor Lillqvist
Change-Id: Icc0ead769fa0a052f7d4dfbc825c96dbb513b33f
2016-10-31css.xml.sax.XAttributeList is broken by designStephan Bergmann
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
2016-10-31Clean up #include lineStephan Bergmann
Change-Id: I8fe49533c3aa2830cf068d9cad091f3c2ab0fbfd
2016-10-30tdf#95014 initial support for 32 px icons in toolbarTomaž Vajngerl
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>
2016-10-10tdf#102288 TerminationVetoException should only prevent terminationSamuel Mehrbrodt
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>
2016-10-07filter: don't loose signing description during pdf exportMiklos Vajna
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
2016-10-05[API CHANGE] Remove css::awt::XStyleSettings InfoTextColor and InfoFontCaolán McNamara
Change-Id: I2bee3f52a751ac1ed2b61a1488d6d58c1b36dcba
2016-10-01Fix typosAndrea Gelmini
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>
2016-10-01Fix typosAndrea Gelmini
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>
2016-09-28tdf#102630: [API CHANGE] Remove /org.openoffice.Office/Substitution treeStephan Bergmann
...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
2016-09-21fix documentation of $(home) path variable on WindowsAndras Timar
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>
2016-09-21Add some missing documentation to idl filesSamuel Mehrbrodt
Change-Id: Id5a3a6d4cc08f55cd7ff31614248ce203b2e4e8d Reviewed-on: https://gerrit.libreoffice.org/29146 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-09-21Fix typoSamuel Mehrbrodt
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>
2016-08-18Value member @since LibreOffice 5.3Eike Rathke
Change-Id: If7aa51768446eb41ce9f3a7d4493a021f380fa34
2016-08-16Start tdf#100547 Trendline equation: customize X, Y namesLaurent Balland-Poirier
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>
2016-08-16Native Numbers: update list of supported languagesLaurent Balland-Poirier
Change-Id: I3a6ef21e1d46aeecb5bfd84e43dd2563b201de0a Reviewed-on: https://gerrit.libreoffice.org/28170 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-08-03introduce css::sheet::FormulaLanguage::APIEike Rathke
Change-Id: I70624ded4060f50ad820a9590cb461fe58abceb9
2016-07-22offapi: document SynchronMode argumentJuergen Funk
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>
2016-07-20adapt description to realityEike Rathke
Change-Id: I2062902e496715223ff9a4183c90f66d742d2687
2016-07-19Missing @since tagsStephan Bergmann
Change-Id: Ief16e1facfa9c2e2be5722b9261bcd83a1f7b9be
2016-07-09GSOC: Adapt XLegacyFastParser to function like XParser.Mohammed Abdul Azeem
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>
2016-07-01Add new open dialog type: Play and linkSamuel Mehrbrodt
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>
2016-06-30Add new open dialog type: Preview only (without link)Samuel Mehrbrodt
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>
2016-06-28fix assumed typoDavid Tardon
Change-Id: Ice084d8c0651b1b08e8e8cce6f4a6f1c09e8dd3e
2016-06-28LeftRightMarginScale: updated commentsSzymon Kłos
Change-Id: I1b35845ee273723b617334daa39854079a8e6992
2016-06-27[API CHANGE] notebookbar: paragraph spacing controlsSzymon Kłos
Change-Id: I9d2672cd156f2dcc2ee4c544902e9d42632cab70 Reviewed-on: https://gerrit.libreoffice.org/26039 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-06-18uitest: add method to get all children of a ui objectMarkus Mohrhard
This makes writing ui tests so much easier. Change-Id: Ice7d98c354fc9b68ee4532bc854561b5b9446e3f
2016-06-18uitest: let us return a string based typeMarkus Mohrhard
This is less important for the UI testing and more for debugging and logging. Change-Id: Id65fcacc591129869ca0f80f828eb63ce044cf33
2016-06-18uitest: add getState method to css::ui::test::XUIObjectMarkus Mohrhard
Change-Id: Idaa559956fd3a59c79038d3940d664a1d2bff867
2016-06-18uitest: support the parameters in the executeAction commandMarkus Mohrhard
Change-Id: I78df2fe58b9d1386f360bef4c0eeddb6afe83b8d
2016-06-18uitest: improve the UITest UNO objectMarkus Mohrhard
Change-Id: I88eb14bb0846ee8baff9c3d15ee93d777601f260
2016-06-18uitest: add UNO interface for ui testingMarkus Mohrhard
Change-Id: I0ee5d1e93808103a1541ced6fc7ea9d05a70fc89
2016-06-17Resolves: tdf#91365 use underlying numeric value if available [API CHANGE]Eike Rathke
... 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
2016-06-10Add a pause() method to XToolkitExperimentalTor Lillqvist
Pauses the main thread of LibreOffice for the requested amount of time. Change-Id: I5978a3a9b9561623c698526d8c29695d71df3d03
2016-06-07fix include guardEike Rathke
Change-Id: I12d2e52ed026e4e6945dc837ec9083e65142b54b
2016-06-06Resolves: tdf#35247 introduce a locale independent numeric field filterEike Rathke
... 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>
2016-06-02drop some more RTL_CONSTASCII_USTRINGPARAMNoel Grandin
Change-Id: I528b0ecb5282178d8e727471beb126cb7d3f2eb4
2016-06-01sw UNO API XTextTable add TableTemplateName propertyJakub Trzebiatowski
Change-Id: I8450fd4003ad5f9b082817765a2d44fc00dea15e Reviewed-on: https://gerrit.libreoffice.org/25688 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-05-31tdf#100092: Deterministic scheduling to prevent unpredictable behavior.Jan Holesovsky
Low priority idles can fire more or less randomly, and consequently two consequent runs of LibreOffice differ in the amount of the idles that have been performed during an operation. This commit adds a possibility to turn on a 'deterministic mode' where two subsequent runs of LibreOffice trigger about the same amount of events when they perform the same set of operations. Change-Id: I92566ef4eee20e7d604cfd48f01c4df30c77e653
2016-05-24Fix license header of new fileStephan Bergmann
...introduced with 2986e54412bbaf95ef768b9ffc18c9a465678337 "Fix tdf#99506: Insert OLE object with icon failed" Change-Id: I17186b838c062cf630cf68c72e053ac88fb8c85d
2016-05-24Fix tdf#99506: Insert OLE object with icon failedGuillaume Smaha
Change-Id: I7fe5814b268e4c70977699edaa89926ca3fda92e Reviewed-on: https://gerrit.libreoffice.org/25080 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-05-22tdf#94004 Trendline: wrap equation to fit in chart areaLaurent Balland-Poirier
If equation is too long compared to chart width: equation is wrapped and if equation has General format, the number of digits is reduced In this patch, only polynomial equation is treated. If this approach is ok, I will extend to other regression curves. Conflicts: chart2/source/view/charttypes/VSeriesPlotter.cxx Change-Id: I1bfd897881d752655faec6df034c0dde7f78c51b Reviewed-on: https://gerrit.libreoffice.org/18397 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-19Document getCertificateUsage betterTor Lillqvist
Change-Id: I8262133fa2cb759dd8f203b3399dc8865346c884
2016-05-03NameToken with Sheet instead of boolean GlobalEike Rathke
... to transport an actual sheet number for other-sheet-local names within names when importing OOXML. Change-Id: I00f2ffe07271c1c2a8ce9e10514e10872396f566
2016-05-01Fix typosAndrea Gelmini
Change-Id: Ifb7c33d6052efe5ea8a1e0e10b3178073cd29ca0 Reviewed-on: https://gerrit.libreoffice.org/24536 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-30Fix typosAndrea Gelmini
Change-Id: Id81b16ff26283611f0b84929d831c827f847ab73 Reviewed-on: https://gerrit.libreoffice.org/24317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-21XListBox: Add more hints about return valuesSamuel Mehrbrodt
Change-Id: I74385b762ed70ec9d8303f1cb94f76b9edac7cc5 Reviewed-on: https://gerrit.libreoffice.org/24261 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-20XCheckBox: Add reference to where the parameters/return values are documentedSamuel Mehrbrodt
Change-Id: I9d775397b7905a8b33c67069fd3eae2ddb810149 Reviewed-on: https://gerrit.libreoffice.org/24246 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-20XListBox: Add hint about return value on empty selectionSamuel Mehrbrodt
Change-Id: I92d324b9e0ff48f6a4b3d62d6e9d22bf6ec7561a Reviewed-on: https://gerrit.libreoffice.org/24245 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-18offapi: add some missing @since tagsMichael Stahl
Change-Id: I4201b4e36e783c5ec37e5c2ca1b19144d7cec2ad