summaryrefslogtreecommitdiffstats
path: root/offapi
Commit message (Collapse)AuthorAgeFilesLines
* tdf#125444 Percentage as custom chart labelTamas Bunth2020-01-071-2/+3
| | | | | | | | | | | | Support importing ooxml charts with a field of type "PERCENTAGE" as custom label. Change-Id: Ie8931f77e3b6199d98635422d11d776e675f6e5c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86067 Tested-by: Jenkins Reviewed-by: Tamás Bunth <btomi96@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86115 Reviewed-by: Andras Timar <andras.timar@collabora.com>
* Resolves: tdf#92503 introduce TimeZone to calendar loading and default to UTCEike Rathke2019-06-201-0/+24
| | | | | | | | | | | | | | | Without that, the system's time zone was used which on DST transition dates leads to non-existent times when switching to/from DST. As the calendar use and number parser/formatter nor conversions or calculations are time zone aware, using not DST afflicted UTC is the better choice. Change-Id: I3303c6620d8c4b9d081555c8293954fb1bd67895 Reviewed-on: https://gerrit.libreoffice.org/74386 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit 942de6a01ba990e5f3bc55ce4ab3737a03f67f39) Reviewed-on: https://gerrit.libreoffice.org/74399
* Linguistic: new underlining styles for grammar checkersOlivier R2019-06-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | This patch adds two new underlining styles: - BOLDWAVE: a thicker version of the default WAVE style - BOLD: a thick straight line No default setting changed. It's up to the grammar checkers to specify the underlining style they want. This contribution to LibreOffice is licensed under the MPLv2/LGPLv3+ dual license. modified : include/vcl/outdev.hxx modified : offapi/com/sun/star/text/TextMarkupDescriptor.idl modified : sw/source/core/inc/wrong.hxx modified : sw/source/core/txtnode/fntcache.cxx modified : vcl/source/outdev/textline.cxx modified : vcl/workben/outdevgrind.cxx Change-Id: I5629253905ba40c51cc748a7ceeb84170ef5d94c Reviewed-on: https://gerrit.libreoffice.org/73412 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> (cherry picked from commit cdd69ce780dc7758047a27ed3c76bdc01b5ffb89) Reviewed-on: https://gerrit.libreoffice.org/73541
* ODT export: fix lost <text:user-field-decl> for fields in frames in headersMiklos Vajna2019-05-301-0/+8
| | | | | | | | | | | | This is similar to commit 6bb241ccc61c6904efec95978fa17e33c0eb1df3 (ODT export: fix lost <text:user-field-decl> for fields in tables in headers, 2019-05-29), but here the container we want to ignore (between the header and the field) is a text frame, not a table cell. Change-Id: I6e8006fbd666802070cfeb88ca4528c66cc6d559 Reviewed-on: https://gerrit.libreoffice.org/73205 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
* ODT export: fix lost <text:user-field-decl> for fields in tables in headersMiklos Vajna2019-05-301-0/+8
| | | | | | | | | | | | | | | | | The problem was that XMLTextFieldExport::ExportFieldAutoStyle() assumed that the text of a field anchor is always the toplevel XText, which is true in case of body vs header text, but false in case header text vs text-in-table-in-header. So add an UNO property which exposes the parent of a table cell, this way text in header (regardless of it's in a table or not) will have the same XText, leading to writing the necessary <text:user-field-decl> element for the matching <text:user-field-get> definition. Change-Id: I077b8d7e9dfae4062539894318637e266b925382 Reviewed-on: https://gerrit.libreoffice.org/73176 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
* tdf#125211 add PickListEntry to MediaDescriptorbrinzing2019-05-231-0/+11
| | | | | | | | | | | Property "PickListEntry" is available since LO 5.1 but not mentioned in css.document.MediaDescriptor. original change has been committed with tdf#95095. Change-Id: I684e4c76f79c9646af3cac9670790d2b2c3eca97 Reviewed-on: https://gerrit.libreoffice.org/72553 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* tdf#125207 [API CHANGE] extend css.awt.PrinterServer: XPrinterServer2brinzing2019-05-193-1/+51
| | | | | | | Change-Id: Ic2df8ac676ae786d9c0ea2ab3619f9f9de087ca7 Reviewed-on: https://gerrit.libreoffice.org/72135 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Fix typoAndrea Gelmini2019-05-161-1/+1
| | | | | | | Change-Id: I9fdd5e25dff09593dec3947de4c5a916a15f48a1 Reviewed-on: https://gerrit.libreoffice.org/72389 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* an uno -> a unoCaolán McNamara2019-05-1030-33/+33
| | | | | | | | Change-Id: I538db88f8477dd2d2ad25c372928fec6c11d979d Reviewed-on: https://gerrit.libreoffice.org/72105 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* an is used before a vowel soundCaolán McNamara2019-05-1025-35/+35
| | | | | | | | | | not before vowels with a consonant sound so its a url not an url Change-Id: Ic27ff3bee67469284d460c31ced6f63cb3633db2 Reviewed-on: https://gerrit.libreoffice.org/72062 Reviewed-by: Jens Carl <j.carl43@gmx.de> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* tdf#124400 a11y: add accessible IDSamuel Thibault2019-05-092-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | Such ID is not meant to be presented to the user, but to be an ID which is stable over application development. Typically, this is the gtkbuilder ID. Such an ID can then be used to identify a given well-known accessible object independently from the current locale, user-visible labelling, or dialog structure. This can then be used for tailored screen reading (e.g. automatically announcing the content of a well-known object), or for automatic regression testing (to check the behavior of well-known objects). Uniqueness within the window is thus desirable when returning a non-empty string. This adds XAccessibleXContext2 to augment XAccessibleXContext with getAccessibleId(). The VCL implementation just takes Window::get_id(), i.e. the gtkbuilder id, which is enough for most use cases for now. atk_object_wrapper_new then passes it to atk_object_set_accessible_id() for AT-SPI technologies to pick it up. Change-Id: Iea0ad08d036e539dbcfec1a9be026c8da8d17357 Reviewed-on: https://gerrit.libreoffice.org/71743 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins
* Resolves: tdf#125099 round duration results in interpreter alreadyEike Rathke2019-05-081-0/+7
| | | | | | | | | | | So wall clock time formats less likely display a one-off value, duration formats are too rarely used if the expected duration is less than 24 hours. Change-Id: I9b0872420699b17e3ed3f20993f8cfe02761f862 Reviewed-on: https://gerrit.libreoffice.org/71909 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
* Fix typo in codeAndrea Gelmini2019-04-201-1/+1
| | | | | | | Change-Id: I0b9ed66d46852c2508313fbe3baa8d99ddb9379e Reviewed-on: https://gerrit.libreoffice.org/71005 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
* fix usage of successful/successfully in commentsNoel Grandin2019-04-165-6/+6
| | | | | | | Change-Id: If280e1e944c877462cb84b579e19d4fd2ad1900b Reviewed-on: https://gerrit.libreoffice.org/70813 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* XController: Better docs formattingSamuel Mehrbrodt2019-04-161-6/+6
| | | | | | | Change-Id: I78bafe3d4714f62430ad7634e499f5472879df03 Reviewed-on: https://gerrit.libreoffice.org/70811 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Fix typosJens Carl2019-04-034-5/+5
| | | | | | | | | | Change indefinite article "an" to "a" before the word unique and some variants. Change-Id: Ia14a6f3b9ec6b257ad8bed3b089faa9b6f07d44f Reviewed-on: https://gerrit.libreoffice.org/70174 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* tdf#124329 Add API to make cell anchored graphic resize with cellSamuel Mehrbrodt2019-04-021-0/+8
| | | | | | | Change-Id: Ib2335b1eb26e55fcfcfb964d0f3fe3dd267bdd0d Reviewed-on: https://gerrit.libreoffice.org/70067 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
* tdf#108523 Removed @author annotationsJaromir Wysoglad2019-03-2952-52/+0
| | | | | | | Change-Id: I5905dd94843595b229046c0b4a0f16181c16fd9e Reviewed-on: https://gerrit.libreoffice.org/69869 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* tdf#124263 Respect XSidebarPanel::getMinimalWidthSamuel Mehrbrodt2019-03-221-1/+6
| | | | | | | | | even if it's larger than max sidebar width (increase max sidebar width in that case). Change-Id: I2efbd546596f756df205196fae3e545beddd2f7c Reviewed-on: https://gerrit.libreoffice.org/69551 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* svgio visitor, add draw commands and create the from svgTomaž Vajngerl2019-03-061-0/+14
| | | | | | | | | | | | | | | | Adds a visitor for svgio for visiting svg nodes and create something useful from them. Basic draw commands - a tree of draw commands (with sub-pixel precision support) just to store a simple definition for drawing. Adds a svg draw visitor and create draw commands from the svg structure and expose the commands through UNO API. Change-Id: I073e891a2cffdd76d4e3b838590e3a19c998e9bf Reviewed-on: https://gerrit.libreoffice.org/68770 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* Update the reference rdbs to libreoffice-6.2.0.3Stephan Bergmann2019-02-211-0/+7
| | | | | | | | | | | | | | | | | | | | LD_LIBRARY_PATH=.../master/instdir/program \ .../master/workdir/LinkTarget/Executable/unoidl-read --published \ .../libreoffice-6.2.0.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-6.2.0.3/instdir/program/types.rdb \ .../libreoffice-6.2.0.3/instdir/program/types/offapi.rdb \ >.../master/offapi/type_reference/offapi.idl Change-Id: I16c8cc9edafa81570f43197a1f1e78ff1eaee1ee Reviewed-on: https://gerrit.libreoffice.org/68141 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* createInstanceWithContextAndArguments->createInstanceWithArgumentsAndContextCaolán McNamara2019-02-202-2/+2
| | | | | | | Change-Id: Ie22398eb42f61e50177f88672a1407d9dda58f8a Reviewed-on: https://gerrit.libreoffice.org/68106 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* tdf#123293 sfx2: fix metadata loss when loading from streamMichael Stahl2019-02-202-0/+60
| | | | | | | | | | | | | | | | | | | | | | The problem is that when loading from a stream, there is no BaseURL and also no storage for the document. Due to the lack of BaseURL, the sfx2::createBaseURI() throws and loading RDF metadata fails, which also pops up an annoying warning dialog. Try to handle this in a similar way than a newly created document (see GetDMA()), by using the vnd.sun.star.tdoc scheme URL for the document; this however currently requires that the document has a XStorage, which is also not the case here. So add another UNO method to tdoc UCP's tdoc_ucp::ContentProvider, to split out the creation of the tdoc schema URL from the creation of the ucb Content, to get rid of the XStorage requirement. Change-Id: Ica62743f9d21db0b1464b70db1a62ebc61989ef8 Reviewed-on: https://gerrit.libreoffice.org/67882 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* [API CHANGE] add setParentWindow to XDocumentDigitalSignaturesCaolán McNamara2019-02-141-0/+6
| | | | | | | | | | so we can specify which window modal dialogs are modal to Change-Id: I7cd7348b5cd0f55d698553f313f745d5e0d6389d Reviewed-on: https://gerrit.libreoffice.org/67765 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* sw btlr wrting mode: implement document modelMiklos Vajna2019-02-121-0/+7
| | | | | | | | | | | | | | | | | | | | | | | btLr is not a writing mode that would be used by any natural language, the reason it makes sense to support this is that the Word UI makes it easy to rotate text 90 degrees counter-clockwise for Latin (lrtb) text, which then triggers this feature. This is common in the first column of tables to create text that looks like a row header. An import-time workaround to handle <w:textDirection w:val="btLr"/> was added in commit c2d1ab73165d5fa19037e6244b1d634c6c455efc (tentative fix for fdo#30474#, 2010-11-26), but rotating text at a text portion level has various unwanted side effects, just counting my own fixes, I had 7 workarounds on top of that workaround to hide problems where the root cause is this missing writing direction in sw core. This commit just extends the sw core doc model, everything else is to be done in follow-up commits. Change-Id: I89e02cd4b40de78699dbf14885fc128e870de3b8 Reviewed-on: https://gerrit.libreoffice.org/67717 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
* offapi: XOffset means center for awt::GradientStyle_RADIAL as wellMiklos Vajna2019-02-021-3/+3
| | | | | | | Change-Id: Ie3a39e46b1c3b0f776e6242bff7a0151eaeca1b3 Reviewed-on: https://gerrit.libreoffice.org/67265 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
* sw paste listener: expose pasted images as wellMiklos Vajna2019-01-241-0/+1
| | | | | | | | | | | Do it similar to SwXTextView::getSelection(), so that SwView::GetShellMode() determines when an image is selected (and otherwise assume text selection). Change-Id: I717e1358428daba842309260b54f82b62a0aaec1 Reviewed-on: https://gerrit.libreoffice.org/66879 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
* sw: make it possible to listen to paste eventsMiklos Vajna2019-01-243-0/+86
| | | | | | | | | | | | | | | | | | | The use-case is that the user pastes content and custom postprocessing is necessary for the pasted content. This is not easy by default, since the cursor is at the end of the pasted content, so the start is not known -- even if you intercept the paste UNO command. Precisely tracking the start is possible when using the internal API, SwReader::Read() does something similar already to track the undo range. Only expose the text selection after paste (as a start), but design the API in a way so that other pasted content type (e.g. image) can be added in a backwards-compatible way later. Change-Id: If35bda4244cc417e4858124fb75f7608b95fc556 Reviewed-on: https://gerrit.libreoffice.org/66807 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
* Fix typos in codeAndrea Gelmini2019-01-202-2/+2
| | | | | | | | | It passed "make check" on Linux Change-Id: I9e6779003639e4b90e8fcbe3ef8a7f7dc1ed85f3 Reviewed-on: https://gerrit.libreoffice.org/66652 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* [API CHANGE] Change the type of Embed*ScriptFonts props to boolTomaž Vajngerl2019-01-051-3/+3
| | | | | | | | | | | | By mistake EmbedLatinScriptFonts, EmbedAsianScriptFonts and EmbedComplexScriptFonts properties were using the type short in the Settings.idl, but everywhere in the code the props were already using the type bool as intended. This change fixes this. Change-Id: Idc717b592477ada3ea968e08a5f2593b92d2f454 Reviewed-on: https://gerrit.libreoffice.org/65886 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* tdf#122152 set dialog parentCaolán McNamara2018-12-171-1/+3
| | | | | | | | Change-Id: I15f6d577c3584d28f667a04b5571de80effe53fe Reviewed-on: https://gerrit.libreoffice.org/65274 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Allow setting some MediaDescriptor properties during runtimeSamuel Mehrbrodt2018-12-171-0/+21
| | | | | | | Change-Id: Id6bb554c0e165c6d1f9c28c48fdbcd7156f42316 Reviewed-on: https://gerrit.libreoffice.org/65256 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Use correct pronoun (its, not his)Samuel Mehrbrodt2018-12-171-1/+1
| | | | | | | Change-Id: I25280099333a315dd6d6cae0d478287a96f45961 Reviewed-on: https://gerrit.libreoffice.org/65257 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* tdf#51671, implement feature to disable legend entry for seriesMarkus Mohrhard2018-12-051-0/+7
| | | | | | | | | No UI and no ODF or OOXML support yet. Change-Id: I839c195e9c42f074838ff6592331f7cdd13b6cd2 Reviewed-on: https://gerrit.libreoffice.org/64583 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Fixed header include guard in offapi/com/sun/star/sheet/XConditionEntry.idlVikas Mahato2018-12-021-2/+2
| | | | | | | Change-Id: I159affa46a13b5ea6b501aeec43cc809885b6e11 Reviewed-on: https://gerrit.libreoffice.org/63811 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* [API CHANGE] Resolves: tdf#42518 new KParseTokens::GROUP_SEPARATOR_IN_NUMBEREike Rathke2018-11-301-0/+22
| | | | | | | | | | | | | | | | | | Default unset bit now does not accept/skip group separators in numbers. See .idl description comment for why this is incompatible and how. This actually uncovered a "bug" (or at least unexpected) in the Math parser that parsed "0," as one entity instead of "0" followed by ",". As obtaining the text form appends a blank after each entity the sw/qa/extras/rtfexport/rtfexport.cxx testMathEqarray() testcase had to be adapted. Change-Id: I2b605742ab3d8a9bb81ad6880faf050535dc80fa Reviewed-on: https://gerrit.libreoffice.org/64270 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
* Rename Mac OS X to official name macOS in comments and documentationBartosz Kosiorek2018-11-292-4/+4
| | | | | | | Change-Id: I651b7f202fa52ff5f5357a11aa72c43eb7dc7f95 Reviewed-on: https://gerrit.libreoffice.org/64102 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
* Fix typosAndrea Gelmini2018-11-191-1/+1
| | | | | | | Change-Id: I6d51e4eb4a49a30193b904b2c7d62df1e16ea3d9 Reviewed-on: https://gerrit.libreoffice.org/63475 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Update the reference rdbs to libreoffice-6-1-0Stephan Bergmann2018-11-151-24/+81
| | | | | | | | | | | | | | | | | | | | | | | | | LD_LIBRARY_PATH=.../master/instdir/program \ .../master/workdir/LinkTarget/Executable/unoidl-read --published \ .../libreoffice-6-1-0/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-6-1-0/instdir/program/types.rdb \ .../libreoffice-6-1-0/instdir/program/types/offapi.rdb \ >.../master/offapi/type_reference/offapi.idl * all the interim modifications to offapi/type_reference/offapi.idl were done in error and had already been reverted again (i.e., `git diff 76f30450577bcecf0423833884e3e5215decdd07..5b0ceb86c342754d8f4e83408c7ae0da0e3931d3^ -- offapi/type_reference/offapi.idl` is empty) Change-Id: Ibac6d00f9b6fa3fa4d4ac491af66ea4938b36b87 Reviewed-on: https://gerrit.libreoffice.org/63424 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* css::security::DocumentSignatureInformation::SignatureTime is 32 bitStephan Bergmann2018-11-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...and has always represented the time of day in 100th of seconds. When tools::Time had been changed to 64 bit nanoseconds in 9830fd36dbdb72c79703b0c61efc027fba793c5a "date/time IDL datatypes incompatible change", conversion between the two has apparently been forgotten, so that CppunitTest_desktop_lib under (new-in-Clang) -fsanitize=implicit-signed-integer-truncation failed with > xmlsecurity/source/component/documentdigitalsignatures.cxx:536:38: runtime error: implicit conversion from type 'sal_Int64' (aka 'long') of value 192536379741069 (64-bit, signed) to type '::sal_Int32' (aka 'int') changed the value to 1585795981 (32-bit, signed) > #0 in DocumentDigitalSignatures::ImplVerifySignatures(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&, com::sun::star::uno::Reference<com::sun::star::io::XInputStream> const&, DocumentSignatureMode) at xmlsecurity/source/component/documentdigitalsignatures.cxx:536:38 (instdir/program/libxmlsecurity.so +0x488319) > #1 in DocumentDigitalSignatures::verifyDocumentContentSignatures(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&, com::sun::star::uno::Reference<com::sun::star::io::XInputStream> const&) at xmlsecurity/source/component/documentdigitalsignatures.cxx:296:12 (instdir/program/libxmlsecurity.so +0x484ea6) > #2 in non-virtual thunk to DocumentDigitalSignatures::verifyDocumentContentSignatures(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&, com::sun::star::uno::Reference<com::sun::star::io::XInputStream> const&) at xmlsecurity/source/component/documentdigitalsignatures.cxx (instdir/program/libxmlsecurity.so +0x4890fa) > #3 in SfxObjectShell::ImplAnalyzeSignature(bool, com::sun::star::uno::Reference<com::sun::star::security::XDocumentDigitalSignatures> const&) at sfx2/source/doc/objserv.cxx:1368:47 (instdir/program/libsfxlo.so +0x3866a04) > #4 in SfxObjectShell::ImplGetSignatureState(bool) at sfx2/source/doc/objserv.cxx:1397:74 (instdir/program/libsfxlo.so +0x3869118) > #5 in SfxObjectShell::GetDocumentSignatureState() at sfx2/source/doc/objserv.cxx:1575:12 (instdir/program/libsfxlo.so +0x3863e57) > #6 in SfxObjectShell::CheckForBrokenDocSignatures_Impl() at sfx2/source/doc/objmisc.cxx:974:38 (instdir/program/libsfxlo.so +0x3812535) > #7 in SfxObjectShell::CheckSecurityOnLoading_Impl() at sfx2/source/doc/objmisc.cxx:924:5 (instdir/program/libsfxlo.so +0x38120bc) > #8 in SfxObjectShell::FinishedLoading(SfxLoadedFlags) at sfx2/source/doc/objmisc.cxx:1072:9 (instdir/program/libsfxlo.so +0x3818a89) > #9 in SwDocShell::LoadingFinished() at sw/source/uibase/app/docsh.cxx:1200:5 (instdir/program/libswlo.so +0xcfd4f08) > #10 in SwDocShell::Load(SfxMedium&) at sw/source/uibase/app/docshini.cxx:582:13 (instdir/program/libswlo.so +0xd091a39) > #11 in SfxObjectShell::LoadOwnFormat(SfxMedium&) at sfx2/source/doc/objstor.cxx:3053:20 (instdir/program/libsfxlo.so +0x3895e54) > #12 in SfxObjectShell::DoLoad(SfxMedium*) at sfx2/source/doc/objstor.cxx:725:40 (instdir/program/libsfxlo.so +0x389bdd5) > #13 in SfxBaseModel::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) at sfx2/source/doc/sfxbasemodel.cxx:1795:36 (instdir/program/libsfxlo.so +0x3a40e1e) > #14 in (anonymous namespace)::SfxFrameLoader_Impl::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) at sfx2/source/view/frmload.cxx:688:28 (instdir/program/libsfxlo.so +0x40c30c0) > #15 in framework::LoadEnv::impl_loadContent() at framework/source/loadenv/loadenv.cxx:1149:37 (instdir/program/libfwklo.so +0x1520131) > #16 in framework::LoadEnv::startLoading() at framework/source/loadenv/loadenv.cxx:383:20 (instdir/program/libfwklo.so +0x1510b16) > #17 in framework::LoadEnv::loadComponentFromURL(com::sun::star::uno::Reference<com::sun::star::frame::XComponentLoader> const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, rtl::OUString const&, rtl::OUString const&, int, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) at framework/source/loadenv/loadenv.cxx:169:14 (instdir/program/libfwklo.so +0x150c7c8) > #18 in framework::Desktop::loadComponentFromURL(rtl::OUString const&, rtl::OUString const&, int, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) at framework/source/services/desktop.cxx:619:12 (instdir/program/libfwklo.so +0x166f1ce) > #19 in non-virtual thunk to framework::Desktop::loadComponentFromURL(rtl::OUString const&, rtl::OUString const&, int, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) at framework/source/services/desktop.cxx (instdir/program/libfwklo.so +0x166f3da) > #20 in unotest::MacrosTest::loadFromDesktop(rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) at unotest/source/cpp/macros_test.cxx:50:60 (workdir/LinkTarget/CppunitTest/../Library/libunotest.so +0x8f176) > #21 in DesktopLOKTest::loadDoc(char const*, LibreOfficeKitDocumentType) at desktop/qa/desktop_lib/test_desktop_lib.cxx:215:19 (workdir/LinkTarget/CppunitTest/libtest_desktop_lib.so +0xf2ca0) > #22 in DesktopLOKTest::testGetSignatureState_Signed() at desktop/qa/desktop_lib/test_desktop_lib.cxx:2254:37 (workdir/LinkTarget/CppunitTest/libtest_desktop_lib.so +0x185a42) [...] Change-Id: I935f2e37ce6bcb0448f89e75a4f34f78ba54f58d Reviewed-on: https://gerrit.libreoffice.org/63136 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* tdf#118582 Disable signature line signing once it is signedSamuel Mehrbrodt2018-11-061-0/+3
| | | | | | | Change-Id: I720d7d4920ae9c2f5d74ad827e1e214a62fe81a9 Reviewed-on: https://gerrit.libreoffice.org/62947 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* offapi: update XCanvas::createFont parameter description.Mark Hung2018-11-021-20/+4
| | | | | | | | | | Recognized parameters of aExtraFontProperties were not implemented as documented. Update the document to reflect current implementation. Change-Id: I001beb8843161c7633830b7ec64a79695ea0f091 Reviewed-on: https://gerrit.libreoffice.org/62510 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
* lok: new function to add certificate to certificate DBTomaž Vajngerl2018-10-311-1/+8
| | | | | | | | | | Also needed to extend XCertificateCreator with a new method "addDERCertificateToTheDatabase". Change-Id: I7b4df65365893bd5a0628aeec30b3156584849fe Reviewed-on: https://gerrit.libreoffice.org/62273 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* XAccessibleText: Add reference to CharacterPropertiesSamuel Mehrbrodt2018-10-301-0/+2
| | | | | | | Change-Id: I367e0a38ca44b6577e79c1cf2c447a85582ce1e3 Reviewed-on: https://gerrit.libreoffice.org/62632 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* xmlsecurity: UNO interface to create cert. and private keyTomaž Vajngerl2018-10-292-0/+49
| | | | | | | | | | new XCertificateCreator interface which can be used to create a certificate and a associated private key, both in DER format Change-Id: I24caf053f1f2b7357a836047b88b4ce418470eac Reviewed-on: https://gerrit.libreoffice.org/61912 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* Introduce SimpleTextFormatter and format unopkg output using itSamuel Mehrbrodt2018-10-262-0/+50
| | | | | | | | | | | This will write log messages as plain text (no timestamp and other stuff like PlainTextFormatter). Warnings and errors will be prefixed accordingly. Change-Id: Id82512d7dd3907a4c7cd69a963a375966189dc20 Reviewed-on: https://gerrit.libreoffice.org/62370 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Support to sign a document with a specified signatureTomaž Vajngerl2018-10-251-1/+9
| | | | | | | Change-Id: I92e392b315c9217b63db830dea1b2e91387b56c2 Reviewed-on: https://gerrit.libreoffice.org/61778 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* offapi: document queryLogicalAdvancements() for XTextLayout.Mark Hung2018-10-181-4/+8
| | | | | | | | | | | | | Based on implementation, explain the definition of logical advancements for RTL and LTR case and remove incorrect part. Logical advancements are distances to the edge instead of widths of characters, so summing all do not yield the total. Change-Id: I437f490e5025c2124238e8cad506a966d7bc792c Reviewed-on: https://gerrit.libreoffice.org/61461 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
* bump to libnumbertext 1.0.5László Németh2018-10-161-0/+7
| | | | | | | | | | | with Estonian support and language fixes. Extend offapi also with the missing Albanian, Galician, Norwegian, (Bokmål, Nynorsk) and Ukrainian. Change-Id: Icf471ade0b9d3f3989469bb33cfb323dcc474106 Reviewed-on: https://gerrit.libreoffice.org/61590 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
* tdf#118621 - Optionally disable floating header/footer menuheiko tietze2018-10-121-0/+7
| | | | | | | | | UNO command UseHeaderFooterMenu introduced Change-Id: I4be009e08bc66dc675c7c903552c6376e22639f1 Reviewed-on: https://gerrit.libreoffice.org/61706 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>