path: root/offapi
AgeCommit message (Collapse)AuthorFilesLines
2014-01-10fdo#72005: Insert the border rectangle to the bottom of the stack.Kohei Yoshida2-0/+48
This will make the border and fill shape to be drawn first, then everything else drawn on top. This commit may look large, but it's actually a very trivial change. The important part is in SvxShapeGroup where new methods have been added to allow different insertion positions for the new shapes being inserted, and have the chart2 code make use of it to insert the fill rectangle to the bottom rather than to the top. (cherry picked from commit 10840ad753b60886ea5175060cb0ec2a77e1579a) (cherry picked from commit d1846cd8d4530d620b996f27a0ea7ab0c91639b5) Change-Id: I999160daf6fc9ce3d7e641f57b1998543df1cc4e Reviewed-on: Reviewed-by: Eike Rathke <> Tested-by: Eike Rathke <>
2013-12-21offapi: spurious #endifMichael Stahl1-1/+0
Change-Id: I9bfd69ee3edbfdb2e69af72843ef169aae1696e1
2013-12-20Resolves: #i121943# apply patch for PenWidth attributeJürgen Schmidt1-0/+6
Patch By: hanya Review By: jsc (cherry picked from commit 91e3fca93d3a0b51e8f1ea87df902d928a7005ca) Conflicts: offapi/com/sun/star/presentation/XSlideShowController.idl Change-Id: I3709ee605efc4b5b80e293eb34245c9eb0d018cc (cherry picked from commit 842cb0da2ec72bafbd16fd50e5d780285227e452)
2013-12-16Missing @since tagsStephan Bergmann2-0/+4
Change-Id: I649a37c5e4e1c8aa26f94fd5ab41fccd0309b288 (cherry picked from commit 7a6ca9e81c71786b267fde8328c84bb10966c27c)
2013-12-10offapi: fdo#69306 tweak multi-paragraph parameter commentMichael Stahl1-2/+0
Change-Id: I3d3d7ca09d30f5d9358e48f5a2e030967aa16bc3 (cherry picked from commit cfb58670f13befd738eff485349894ae504200f0)
2013-11-25add methods to enable and disable automatic device selectionMarkus Mohrhard1-0/+11
Change-Id: I7136ad48ad3f20c60b77838225ce6c927514acff
2013-11-25add API to retrieve all available OpenCL platforms and devicesMarkus Mohrhard4-0/+79
Change-Id: I2475961ae315ee7193ca2cedd5943b663bfee7a0
2013-11-25provide UNO API for OpenCL selectionMarkus Mohrhard2-0/+50
Change-Id: If5eb71e9298cefdac3dda98cb1ff67fe913ad3c3
2013-11-22Published FormController cannot reference unpublished XFormOperationsStephan Bergmann2-10/+1
...and the hack to locally introduce a bogus pupblished forward declaration of XFormOperations with which this has been worked around in cf5c36912390b2f6018f57f79085ab1fa88a08d6 "INTEGRATION: CWS dba23b: work around idlc limitation, which does not allow to refer unpublished interfaces as optional entities in published services" no longer works in offapi/type_reference/offapi.idl. So given FormController is a (deprecated, even) old-style service (i.e., little more than glorified commentary), the best fix probably is to demote the problematic optional property to a comment. Change-Id: Ia38483c817dc1762ba73315abcd4f9f063db3093 (cherry picked from commit 75144495ee77a41e5a94d9e21b7f6aaf16a80b4f)
2013-11-22Modern UNOIDL parsers ignore preproc lines, so replace #if 0 with commentStephan Bergmann2-22/+15
Change-Id: If46e98f54b916c312193ef7d931e120c53d047c0 (cherry picked from commit 71af2d5885eba0b82e6e0f3938bf08a9346776ff)
2013-11-21Simplify css.accessibility.MSAAService and corresponding XMSAAServiceStephan Bergmann2-11/+4
Change-Id: I96c69e871aa7b20cdac9751a64faa5e436f31a1f (cherry picked from commit f3f4d9ec0f0eaa1aebdfebe831021a9d96e63f58)
2013-11-20fastparser: avoid excessive alloc/frees for int / bool / double parsingMichael Meeks1-4/+4
Change-Id: I596bbc723558f04588d9e767d64732164524e57a
2013-11-20winaccessibility: XMSAAService could only work on 32-bitMichael Stahl1-2/+2
... so replace all long with hyper to fit in 64-bit pointers. Change-Id: Ia5c044e8d7cc8c4e55f1ef8c0fb0f91bb9a69e1c
2013-11-19i107914# adjust license headers to the ALv2Herbert Dürr6-162/+121
as intended by IBM's symphony contribution and the individual ICLAs of the developers Found by: V Stuart Foote <> Change-Id: I47125ff5c9f1ae241132f13b7b3ee2d6fa3cfe9a
2013-11-19Fix minor compilation issuesDavid Ostrovsky2-1/+7
Change-Id: I3567a42d7d071d61a2f41f1fb32d6831c9898d3a
2013-11-19Integrate branch of IAccessible2Steve Yin9-0/+362
Change-Id: Ied8b6941765c86a849467cb5df312ca7124f32b3
2013-11-14OOXML @since LibreOffice 4.2Eike Rathke1-0/+2
Change-Id: Iccfa510c11d0b9f82130ae136db0bdd6714fadcd
2013-11-14cleanup includesJames Michael DuPont6-26/+26
Signed-off-by: Stephan Bergmann <> Conflicts: Makefile_idl_compile include.idl offapi/com/sun/star/util/EventMultiplexer.idl Change-Id: Id4b3e6e165cc9c40762f5d96dc734ad698690877
2013-11-13introduced FormulaGrammar::GRAM_OOXML with FormulaLanguage::OOXMLEike Rathke1-2/+5
FormulaLanguage::XL_ENGLISH is not OOXML, unconditionally using SymbolsEnglishXL with RID_STRLIST_FUNCTION_NAMES_ENGLISH_OOXML spoils the grammars of FormulaLanguage::XL_ENGLISH that are not OOXML. Change-Id: Id885d1c033cd15dc7b11c6490be3a98500027d37
2013-11-11Accelerate checking for VBA macros that are not there.Michael Meeks1-4/+1
2013-11-06offapi: document style::Style's new StyleInteropGrabBag propertyMiklos Vajna1-0/+10
Change-Id: Ie8a022858a1bbdf3c66044d9935e62675ea8cff0
2013-10-29doxygen warnings: "explicit link request to ´foo´ could not be resolvedChristian Lohmaier6-11/+11
as #foo doesn't work to link to parameters described in the block, use "\p foo" instead to format it. Change-Id: Ic9bd59936f872c8f87aba50e87ba788265149832 Reviewed-on: Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2013-10-28idl: remove invalid <member> tagThomas Arnhold1-5/+5
Change-Id: I20f5d95d5b728029aaa60b635e35f07c8422707d
2013-10-25gbuild: refactor UnoApi to remove rdb files from OUTDIRMichael Stahl1-3/+1
- gb_UnoApi_get_target returns the files in INSTDIR - stop using rdb files from OUTDIR - remove gb_UnoApi_install - remove pointless 2nd parameter of gb_UnoApi_UnoApi - order-only dependency from gb_UnoApi_get_target to gb_UnoApiHeadersTarget_get_target because INSTDIR .rdb is always outdated Change-Id: Id418f75e9b38d6fe135b55eca2594c2624bc41cc
2013-10-21FastTokenHandler service should apparently have a default constructorStephan Bergmann1-3/+1
Change-Id: Iad5c4e05832128b5f41860cc4ae96f0472c37491
2013-10-18*api: remove type + remnants ">Julien Nabet1-9/+9
Change-Id: I2b60de0a11948ad1cab29931ac09b0aa1fe9adee
2013-10-10Adapt type_reference to fixes of illegal method parameter namesStephan Bergmann1-16/+16
...UNOIDL identifiers starting with an underscore, or starting with a lowercase letter and containing an underscore, are invalid, so occurrences of those as method parameter names had been changed (even though changing them is strictly speaking incompatible, but correctness trumps compatibility here). Change-Id: I1cd2c32ff1486a13bf0218bcb7d3df5fc615ac01
2013-10-10Keep type_reference/offapi.idl at backwards-compatibility reference statusStephan Bergmann1-1/+1
...i.e., only change it to reflect cases where we deliberately became incompatible, do not change it to reflect compatible changes. This reverts part of d567671196fccf20a350f3cbf210eef088fa7ce3 "fdo#57490 deprecate IsSpellCapitalization." Change-Id: I2ed58a1740cc22ef1ad4fdcbe04c4a0d2ef547bd
2013-10-09fdo#57490 deprecate IsSpellCapitalizationThomas Arnhold2-1/+3
Change-Id: Ifd7131fd91536fd04ae1c8ab3fc5959b8070ad5c Reviewed-on: Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2013-10-07XCanvas does no longer imply XBitmapCanvasThorsten Behrens1-6/+5
Remove the implication that XCanvas IS-A XBitmapCanvas, i.e. one can access underlying pixels. That's a preparation for display-list based canvas implementations, and was a rather silly assumption in the first place. Also fixes up all client sites. Change-Id: I7a3d6f68ef46fe94b23cce7759cc0b8b6ca4dae9
2013-10-04HighLight -> Highlight.Jan Holesovsky1-1/+1
Change-Id: I2db5102fbc441c0b79d8c28023f3e3bb5613b3cf
2013-09-29fdo#65403, fdo#65404 DOCX export/import of character highlightZolnai Tamás1-0/+6
Steps -Add a new character attribute (RES_CHRATR_HIGHLIGHT) -Get this character attribute via SwFont class just like background -If has highlight, then paint that, otherwise paint background -Extend UNO API -Implement DOCX export and import filter Note: By now character highlight can't be set via UI. It's a next step to add a highlight option. Change-Id: I7f81e173744bf256891487f898d06dbf372a2f88
2013-09-26fdo#69636 VML import: handle mso-layout-flow-alt shape prop for sw framesMiklos Vajna1-0/+10
Writer core doesn't support this, and this has been a problem for table cells as well. There the workaround we're using for quite a while is to do the rotation at a text portion level instead, which results in reasonable layout for simple cases. Do the same here. One additional complexity is that the API between oox and writerfilter is a single UNO shape, we get this property in oox, and we have to handle it in writerfilter, when the text frame is already attached to some text. Kill this problem by adding a FrameInteropGrabBag for sw text frames: it's useful anyway, and then we can pass around this property inside the grab bag. Change-Id: Idb5ec83b5cbdde8f29d15b2cebfad24226bb6507
2013-09-26typo fixes in commentsAndras Timar1-1/+1
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-25Start hacking --enable-canonical-installation-tree-structure back into shapeTor Lillqvist1-1/+1
Had been totaly broken by the recent changes. (Which is fine, it is just an experimental hack anyway, I am not sure whether it will ever be used in anger. Just a pet peeve of mine, I dislike seeing libraries, configuration files, resources etc mixed together in one "program" folder, especially on OS X, where the convention is to have app-specific dylibs and frameworks in "Frameworks", and resource files in "Resources". But this is not any requirement as such; there are apps in the Mac App Store that blatantly "break" this convention.) Basically, replace uses of gb_PROGRAMDIRNAME and gb_Package_PROGRAMDIRNAME with more specific LIBO_FOO_FOLDER, which for normal builds all expand to the same "program" anyway. Change-Id: I16c2b3351caa00e251e229aafbccb8346042d3c1
2013-09-23Cmis Versions dialogCao Cuong Ngo3-0/+56
Change-Id: Ie863282062a6932a55543143e841917c54223ac9 Reviewed-on: Reviewed-by: Bosdonnat Cedric <> Tested-by: Bosdonnat Cedric <>
2013-09-20uno: new InteropGrabBag UNO prop in OfficeDocumentAndres Gomez1-0/+11
Added the new InteropGrabBag property to the OfficeDocument service and modified the JUnit UNO unit tests for it. Added specific implementation in the sfx2 module for the SfxBaseModel class. Added specific inherited implementations in the sc, sd, starmath and sw modules for the ScModelObj, SdXImpressDocument, SmModel, and SwXTextDocument classes. This new property is intended by now for its usage on preserving OOX's theming although the aim is to be able to re-create the theming in the future from saved properties. It could also be used for preserving other attributes for interoperability among document formats. Change-Id: Ia822856293c70ae22911afa794e3e38bcaa31f86 Reviewed-on: Reviewed-by: Miklos Vajna <>
2013-09-19Directly build UNOIDL .rdb files from .idl filesStephan Bergmann2-242/+236
...via unoidl-write and the new source-format registry provicers, instead of using idlc to produce .urd files, regmerge to merge them into legacy .rdb files, and unoidl-write to translate those to new UNOIDL .rdb files. gb_UnoApi and gb_InternalUnoApi ctors take an additional argument now that is the path (below $(SRCDIR)) of the source-format registry from which to obtain UNOIDL entity definitions. It can either be an .idl file (in which case no *_add_idlfiles calls should be used and the resulting .rdb will contain all the entities from that one .idl file; used in some tests to conveniently define all test-specific entities in a single file) or a directory denoting the root of an .idl file tree (in which case *_add_idlfiles calls specify the entites to include in the resulting .idl file). (In the first case, the generated .rdb file needs to depend on that single .idl file, so the gb_UnoApiTarget ctor contains a dependency on that additional argument, which happens, as a side effect, to trigger rebuilds in the second, tree-based case when addition/removal of .idl files in the tree causes updates of directory time-stamps.) UnoApiPartTarget and all the dependency-tracking logic based on .urd files in solenv/gbuild/ is gone. Generation of an .rdb file now depends on its source registry (see previous paragraph) and all the .idl files specified with *_add_idlfiles (in the second, tree-based case above). A consequence of that is that gb_UnoApi_add_idlfile, -_nohdl, and -_noheader all do the same now. I left them in for now anyway, maybe they become relevant again when the use of cppumaker is changed to read directly from a source-format registry instead of going via a .rdb registry. The legacy tools idlc, regcompare, regmerge, and regview are still contained in the URE or SDK for now. cb344cd59e1ddb7c6db66dbd9263b4755969d4ba "Revert 'Looks like idlc resolved typedefs inside sequence<...>'" is re-reverted as now "the current offapi.rdb is generated via unoidl-write instead of idlc." Change-Id: I3d9d92f17326bc9f49dd934c85aab6a17951d06d
2013-09-19Revert "Looks like idlc resolved typedefs inside sequence<...>"Stephan Bergmann1-11/+11
This reverts commit 4bcc515356e2a66417e36600bee9402efb2f9ec3, which needs to be held back until the current offapi.rdb is generated via unoidl-write instead of idlc.
2013-09-19Looks like idlc resolved typedefs inside sequence<...>Stephan Bergmann1-11/+11 manually fix that in the reference rdb that had been generated from legacy idlc output. Change-Id: Iaa5545222be762f6573d1f4165604229fccad191
2013-09-18Replace binary type_references with human-readable .idl versionsStephan Bergmann5-49/+17639
...obtained from the old .rdb files via "unoidl-read --published". This removes the need for Change-Id: I73c0d026af7e27370602f83c61dfa76fc4d17a83
2013-09-18New unoidl-check tool to replace regcompareStephan Bergmann1-1/+1
...for checking compatibility with the reference rdbs. unoidl-check is no longer based on the legacy registry format, but can process all the various new UNOIDL registry formats. regcompare is still included in the SDK for now. (gb_UnoApi[Target]_set_reference_rdbfile now takes a non-empty sequence of rdb files, any necessary dependencies of the final rdf file preceding it just like it is required on the unoidl-check command line. Also, executing the unoidl-check now properly depends on those rdb files.) TODO: unoidl-check is too conservative for now and flags some changes as incompatible that are not. Change-Id: I92e4c69403c5e3fcb31707c98c65a2f509592dd4
2013-09-18Revert inadvertent changes of binary offapi/type_reference/offapi.rdbStephan Bergmann1-0/+0
...from 6ea6a422fbb6279c6fc589e86603a6864273229d "s/" which had caused that offapi.rdb to be broken and effectively empty, silently reducing the compatibility check against it to check nothing. Change-Id: Id35d9a7c0b848faf3a9d4458b63e1d5240817c7c
2013-09-12Update XColumnLocate to specify SQLException for invalid column.Andrzej J.R. Hunt1-1/+11
This is to reflect the JDBC specification where invalid column names result in an SQLException. (The drivers within LibreOffice are being updated to reflect this new specification.) Change-Id: I76cdf9d5d15d55b534b28219b541ff9190365f9d Reviewed-on: Reviewed-by: Fridrich Strba <> Tested-by: Fridrich Strba <>
2013-09-09gbuild: install rdb files directly in module they come fromMatúš Kukan1-0/+2
Change-Id: I3a9cb4ce71cfb02b7378289a36aa0eb6e3a42f26
2013-09-09Remove dead codeStephan Bergmann2-80/+0
...merged in via d02f75a8c36705924ddd6a5921fe3012fafce812 "Resolves: #i121420# merge sidebar feature," but apparently already unused in the original AOO commit. Change-Id: I12e4ff05769d95a847881934eab6da722bb1950e
2013-09-09UNO type "byte" is signed 8bitStephan Bergmann1-1/+1
Change-Id: I7f8a9ee1ec8f626f955e95e4e015933726e94fec
2013-09-07s/ Timar4-5/+5
Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
2013-09-07clean up documentationLionel Elie Mamane1-2/+0
Since LibreOffice 4.1.1, this changed from encoded integer to self-explaining structure. Change-Id: I633e85d1c2d5dca53313661bb3ec218480142dc8
2013-09-05svx: new InteropGrabBag UNO prop in Shape serviceAndres Gomez1-1/+12
Added the new InteropGrabBag property to the Shape service and modified the JUnit UNO unit tests for it. Added specific implementation in the svx module for the SvxShape class. This new property is intended by now for its usage on preserving OOX's Smart-Art but it could also be used for preserving other attributes for interoperability among document formats. Change-Id: Idc7a8e91592399ff05effd4da6eaa2935f8f4d42 Reviewed-on: Reviewed-by: Miklos Vajna <> Tested-by: Miklos Vajna <>