Commit Graph

11454 Commits

Author SHA1 Message Date
72aa51185f Revert "Resolves: fdo#71527 make presenter console not crash/useless"
This reverts commit 639aa8e72639fd01e9004977f1cfaafc13b1e45f.

Change-Id: I0ac1a7ada530791e2d34d2f0802213c869ea48a1
2013-11-29 18:25:55 +01:00
639aa8e726 Resolves: fdo#71527 make presenter console not crash/useless
Basically reverts the pieces of
21ec9beae29b19b8ec6f0a16fd0e708e4f210208 to make XSpriteCanvas a
XBitmapCanvas again

Otherwise PresenterHelper::loadBitmap is not an XBitmapCanvas
and so VclFactory::createBitmap cannot succeed

Change-Id: I197adf98e915102f383ee050a8ea16d1e41cecf2
2013-11-28 17:02:53 +00:00
e022c608fd XAccessibleGetAccFlowTo is missing
and there's a strange stray ifdef in MSAAService.idl

add mode-lines and remove unnecessary headerguard etc

Change-Id: I072960ac073b2c33d7d820e7dbfe02145685d3f3
2013-11-27 15:38:59 +00:00
b5d4d946e0 add methods to enable and disable automatic device selection
Change-Id: I7136ad48ad3f20c60b77838225ce6c927514acff
2013-11-25 22:15:01 +01:00
4e736a8b8c add API to retrieve all available OpenCL platforms and devices
Change-Id: I2475961ae315ee7193ca2cedd5943b663bfee7a0
2013-11-25 20:43:49 +01:00
6c71102545 provide UNO API for OpenCL selection
Change-Id: If5eb71e9298cefdac3dda98cb1ff67fe913ad3c3
2013-11-25 20:43:28 +01:00
75144495ee Published FormController cannot reference unpublished XFormOperations
...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
2013-11-22 18:58:19 +01:00
71af2d5885 Modern UNOIDL parsers ignore preproc lines, so replace #if 0 with comment
Change-Id: If46e98f54b916c312193ef7d931e120c53d047c0
2013-11-22 18:58:19 +01:00
f3f4d9ec0f Simplify css.accessibility.MSAAService and corresponding XMSAAService
Change-Id: I96c69e871aa7b20cdac9751a64faa5e436f31a1f
2013-11-21 17:06:07 +01:00
6c4f737ec8 DOCX drawingML shape import: fix position when CustomShapeGeometry is set
DOCX drawingML shapes had wrong position if they had their
CustomShapeGeometry set (e.g. flipped). This wasn't a problem for VML
shapes, as there the shape knows its position, and position was always
set in oox as well, not in writerfilter. However, in case of WPS shapes,
oox created the shape, and previously writerfilter set the position
after-the-fact. This leads to incorrect results if CustomShapeGeometry
is involved. Fix this by passing the position from writerfilter to oox,
and call setPosition() after creation, but before CustomShapeGeometry is
set.

The other problem was that normally writerfilter learns the position of
the shape when relevant token in GraphicImport::lcl_sprm() arrives, but
this happens after OOXMLFastContextHandlerShape::sendShape() needs that
information. Work around this by accessing the PositionHandler directly.

Change-Id: Iced35dc9467ef77c41f1897f124729f686bd045e
2013-11-21 12:37:15 +01:00
9491ca3f64 fastparser: avoid excessive alloc/frees for int / bool / double parsing
Change-Id: I596bbc723558f04588d9e767d64732164524e57a
2013-11-20 12:12:50 +00:00
4757ed4355 winaccessibility: XMSAAService could only work on 32-bit
... so replace all long with hyper to fit in 64-bit pointers.

Change-Id: Ia5c044e8d7cc8c4e55f1ef8c0fb0f91bb9a69e1c
2013-11-20 01:33:42 +01:00
7b1e896cc1 i107914# adjust license headers to the ALv2
as intended by IBM's symphony contribution
and the individual ICLAs of the developers

Found by: V Stuart Foote <VStuart.Foote@utsa.edu>

Change-Id: I47125ff5c9f1ae241132f13b7b3ee2d6fa3cfe9a
2013-11-19 10:02:26 +00:00
f6f8c4203d Fix minor compilation issues
Change-Id: I3567a42d7d071d61a2f41f1fb32d6831c9898d3a
2013-11-19 10:02:26 +00:00
e5618f1707 Integrate branch of IAccessible2
Change-Id: Ied8b6941765c86a849467cb5df312ca7124f32b3
2013-11-19 10:02:25 +00:00
99b2f2bdef OOXML @since LibreOffice 4.2
Change-Id: Iccfa510c11d0b9f82130ae136db0bdd6714fadcd
2013-11-14 13:29:57 +01:00
0d388a00ad cleanup includes
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Conflicts:
	Makefile_idl_compile
	include.idl
	offapi/com/sun/star/util/EventMultiplexer.idl

Change-Id: Id4b3e6e165cc9c40762f5d96dc734ad698690877
2013-11-14 11:13:43 +01:00
debe0835ca introduced FormulaGrammar::GRAM_OOXML with FormulaLanguage::OOXML
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-13 17:15:59 +01:00
7e2677c029 Accelerate checking for VBA macros that are not there. 2013-11-11 16:17:30 -05:00
a1f6a4667c offapi: document style::Style's new StyleInteropGrabBag property
Change-Id: Ie8a022858a1bbdf3c66044d9935e62675ea8cff0
2013-11-06 16:53:54 +01:00
511bbec1c5 doxygen warnings: "explicit link request to ´foo´ could not be resolved
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: https://gerrit.libreoffice.org/6459
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-29 11:50:35 +00:00
9d1fd7936d idl: remove invalid <member> tag
Change-Id: I20f5d95d5b728029aaa60b635e35f07c8422707d
2013-10-28 15:16:21 +01:00
b13c8de265 FastTokenHandler service should apparently have a default constructor
Change-Id: Iad5c4e05832128b5f41860cc4ae96f0472c37491
2013-10-21 22:57:10 +02:00
8998a84f2a *api: remove type + remnants ">
Change-Id: I2b60de0a11948ad1cab29931ac09b0aa1fe9adee
2013-10-18 22:07:20 +02:00
d567671196 fdo#57490 deprecate IsSpellCapitalization
Change-Id: Ifd7131fd91536fd04ae1c8ab3fc5959b8070ad5c
Reviewed-on: https://gerrit.libreoffice.org/6140
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-09 13:28:37 +00:00
21ec9beae2 XCanvas does no longer imply XBitmapCanvas
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-07 17:33:45 +02:00
2997d7d10a HighLight -> Highlight.
Change-Id: I2db5102fbc441c0b79d8c28023f3e3bb5613b3cf
2013-10-04 11:23:10 +02:00
8b94913444 fdo#65403, fdo#65404 DOCX export/import of character highlight
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-29 11:27:34 +02:00
8738ded7bb fdo#69636 VML import: handle mso-layout-flow-alt shape prop for sw frames
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-26 12:43:32 +02:00
7f436c1fd3 typo fixes in comments
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-26 11:47:45 +02:00
b61970cfbe Cmis Versions dialog
Change-Id: Ie863282062a6932a55543143e841917c54223ac9
Reviewed-on: https://gerrit.libreoffice.org/5925
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-09-23 12:56:09 +00:00
bee6b8f2ba uno: new InteropGrabBag UNO prop in OfficeDocument
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: https://gerrit.libreoffice.org/6000
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-09-20 10:35:51 +02:00
a042cdd7ef Update XColumnLocate to specify SQLException for invalid column.
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: https://gerrit.libreoffice.org/5921
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-09-12 17:25:55 +00:00
f500b2d7d9 Remove dead code
...merged in via d02f75a8c36705924ddd6a5921fe3012fafce812 "Resolves: #i121420#
merge sidebar feature," but apparently already unused in the original AOO
commit.

Change-Id: I12e4ff05769d95a847881934eab6da722bb1950e
2013-09-09 14:16:52 +02:00
665574e8da UNO type "byte" is signed 8bit
Change-Id: I7f8a9ee1ec8f626f955e95e4e015933726e94fec
2013-09-09 11:14:15 +02:00
6ea6a422fb s/wiki.services.openoffice.org/wiki.openoffice.org/g
Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
2013-09-07 14:21:22 +02:00
8318ecfa88 clean up documentation
Since LibreOffice 4.1.1, this changed
from encoded integer to self-explaining structure.

Change-Id: I633e85d1c2d5dca53313661bb3ec218480142dc8
2013-09-07 09:41:36 +02:00
43b84bbba2 svx: new InteropGrabBag UNO prop in Shape service
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: https://gerrit.libreoffice.org/5769
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-09-05 08:40:13 +00:00
e76b2053b4 Fix UNOIDL interface method parameter identifiers
UNOIDL identifiers starting with a lowercase letter and containing underscores
are reserved for the implementation.  It would be good to be able to enforce
that in code parsing UNOIDL files, but some existing identifiers violate that.
So at least change any violating method parameter identifiers here.  While that
is theoretically an incompatible change for published interfaces, it practically
does not matter at all.

Change-Id: I5eff17b5dd5e2e92984184127c4fe1712d62c9dd
2013-09-04 16:54:23 +02:00
ced8703387 [API CHANGE] Remove long-deprecated css.sheet._NamedRange constants group
...it had been deprecated at least since late OOo times, with the
css.sheet.NamedRangeFlag constant group as replacement.  (UNOIDL identifiers
starting with an underscore are illegal.  It would be good to be able to enforce
that in code parsing UNOIDL files, but some existing identifiers like this one
violate that.)

Change-Id: Ib8067dee47cec46356065b7b70cc6b47b97e5bc0
2013-09-04 15:14:37 +02:00
ff8b445dc0 CMIS: add document ID when saving.
The document ID is needed in case the get object by path

of the CMIS document doesn't work (like Google Drive)

Change-Id: I151d5433a19caeaf4a542b69cd9e95dde58722e7
2013-09-02 13:51:54 +02:00
eb23b2d959 CMIS properties: Add type to the UNO API
Change-Id: Ie4f32bc840cdfab1d5f600991cd6ac8aabcb1f87
2013-09-02 13:51:53 +02:00
d259e07e85 CMIS properties dialog: update properties
Change-Id: Ia506713b61dc6c1343eac3640863c86a2fc3f18f
2013-09-02 13:51:49 +02:00
969807901d Cmis Property
Add MultiValued, OpenChoice and Choices to CMIS Property

Change-Id: Iade033c86878368b39a0264ad0a56d0286e6bffb
2013-09-02 13:51:48 +02:00
91d9430d68 CMIS properties dialog
Rename CmisPropertyValues to CmisProperty

Change-Id: I7360e6b55406c1abe381c8d915be41d972498167
2013-09-02 13:51:48 +02:00
beff419a6e CMIS properties
Create a CmisPropertyValue with additional DisplayName,
Updatable and Required properties.

Change-Id: Ia20d76a739ac5c51d7c89ef6f1a40a299697cb0e
2013-09-02 13:51:48 +02:00
2a01c49f76 sw: add ShadowTransparence UNO property for frames
drawinglayer has a separate property for the shadow transparency, too.
One more step towards Writer frames have the same UNO API as
drawinglayer shapes.

Change-Id: I84617502e9beb9e077c783ee8eb771d79c6ee666
2013-08-24 12:45:15 +02:00
f8b6c3949e CharBrd 7: Border shadow
1, New character attribute
- Add the three shadow members to font
(width, color, location)
2, Painting
- Extract the shadow painting to a local function
and use that for character shadow (paintfrm.cxx)
- Reduce the painting rectangle of background
(shadow doesn't inherites the background of content)
3, Border merge
- Use text portion join members to skip shadow
when neccessary.
4, Vertical text
- Get shadow space dependant from oritentation and
border merge.
5, UNO API and ODF filter
Paragraph: ParaShadowFormat -> Character: CharShadowFormat

Change-Id: Ief4669990d238016c3ffc18a2609a3df7d9dddbf
2013-08-23 21:01:37 +02:00
7ba076d7fd extend the SlideShowView interface with getTranslationOffset
Change-Id: I33f0eaa8a54902bb65a000b74ef25323423d01b4
2013-08-23 11:18:28 +08:00
99438adf52 offapi: fix animations::AnimationCalcMode documentation
XAnimate::KeyTimes was referred using wrong markup, but KeySplines is
not a property at all, it seems. Reading
AnimationsExporterImpl::exportAnimate() in xmloff, this is probably
meant to be XAnimate::TimeFilter.

Change-Id: I19fc86ce4a5fb28514d9be3fca5a53ad3fcfba51
2013-08-21 18:20:36 +02:00