11975 Commits

Author SHA1 Message Date
Jan Holesovsky
c05140897e Update documentation of createSystemChild().
Change-Id: I96e9b5c65dd9c3506dd804773652023e2cd995ab
2014-02-13 15:24:58 +01:00
Matúš Kukan
ce02519c5c Introduce com.sun.star.frame.theDesktop singleton.
Change-Id: I3d269609119149e289652f6bc106e6bd9061672d
2014-02-13 11:26:33 +01:00
Zolnai Tamás
682ab83252 drawingML export\import: cropping of shape's fill texture
In Writer shapes had no cropping property so far. With this
commit this is introduced as a FillProperty and has the same
type as the cropping used for pictures
(Picture context menu > Picture > Crop).

Layout and UI will be an other step. On the UI it would be placed
on the Shape context menu -> Area, when Bitmap is selected as fill type.

Note: In case of picture/graphic, cropping property is imported from
and exported to a:srcRect instead of a:fillRect.

Change-Id: Idc1ed2d40cb20b6992e94f14e7e4d853e1f55d02
2014-02-12 13:20:31 +01:00
Jan-Marek Glogowski
1a12777f46 Export MailMerge cancel functionality via UNO.
If you start a mail merge jobs via UNO, there is no way to cancel
it. But the functionality is already implemented and used by the
LO internal mail merge dialogs.

This patch adds an optional XCancellable interface to the MailMerge
service and implements it in the SwXMailMerge class.

As the XJob::execute function already uses the SolarMutex to
prevent parallel runs, XCancellable::cancel can be implemented by
storing the SwNewDBMgr in the private variable m_pMgr, protected by
a mutex.

The bCancel member has to be converted from a bitfield value to a
real boolean, because otherwise all bitfield values would have to
be protected by a mutex. Bitfield assignments aren't atomic as you
always have to replace at least a byte.

Change-Id: I007cc23fdf04ccfca7d3cd6180b0e17e99f53061
Reviewed-on: https://gerrit.libreoffice.org/7190
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-12 10:23:05 +00:00
sushil_shinde
83055835b1 fdo#74112 Preserve Chart displayunits properties during ODF import/export.
Change-Id: I38508b71ee5b3b966e1d36b0d253304fe17c0ec0
Reviewed-on: https://gerrit.libreoffice.org/7721
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-02-11 23:23:40 +00:00
Julien Nabet
128700cdb7 Try to fix a warning during building
by disambiguating comment ending for the parser

Change-Id: I3432d4d034f10e81ce493acf8a952b200bde95a1
2014-02-10 16:20:54 +01:00
Stephan Bergmann
ce5f24a6ec Improve documentation
Change-Id: I63b30b6d962820f31821787c1c220734265e1a4a
2014-02-10 15:58:39 +01:00
Julien Nabet
65f620c99a Typo: execption -> exception
Change-Id: Ib57e0cc39c27595490e29dec46cc6d33067c34b5
2014-02-10 15:58:05 +01:00
Zolnai Tamás
cf9d819493 New frame attribute: TextVerticalAdjust <-> RES_TEXT_VERT_ADJUST
By now this property is added for MS Word interoperability.
With it we can make DOCX import/export working.
I use this solution instead of InteropGrabBag because vertical
adjustment would be a good thing to have for text frames too.
So later it can be the first step of an enhanchement.

Change-Id: I9dcfdc8ae56ce443f0c286c51136e1d006951938
2014-02-08 02:59:50 +01:00
Julien Nabet
9bbb7ca9f7 Typo: formating -> formatting
Change-Id: If4aba89909a3ef049a756182c37d8a5d6812ae70
2014-02-06 22:41:48 +01:00
Julien Nabet
6f0e7c36e4 Typo: seam(s) -> seem(s)
Change-Id: I840d120644760b61a39ad88b4095056f0f753bb7
2014-02-06 21:22:42 +01:00
Matúš Kukan
4ff873bda2 Introduce com.sun.star.ui.theWindowStateConfiguration singleton.
Change-Id: I50861ac8952d54cb1a45846ea72a2ecac4f83409
2014-02-06 12:03:28 +01:00
Matúš Kukan
094f92bb78 Introduce com.sun.star.util.thePathSettings singleton.
To replace single-instance com.sun.star.util.PathSettings service,
incorrectly converted in 89b0017b22889af6a8afe28b94c06e7095dc8c6f

Keeping util::PathSettings::create in
sc/source/ui/vba/vbaapplication.cxx because for some reason
util::thePathSettings::get does not work in sc_macros_test
while testing sc/qa/extras/testdocuments/Ranges.xls.

Change-Id: I75b68ae56ac5b58f72416070dba100ab3ab70fe8
2014-02-06 12:03:25 +01:00
Jacobo Aragunde Pérez
c1d69c0e9e fdo#35105: notify role change through a new UNO a11y event
A new UNO accessibility event called ROLE_CHANGED has been created.
It should be triggered when an accessible object changes its role and
every accessibility toolkit should use its own methods to make that
change effective.

Code to support the event in ATK has been added.

Change-Id: I132e303bdb148967231334458c3cfa369c36ec8f
Reviewed-on: https://gerrit.libreoffice.org/7853
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 16:50:30 +00:00
Caolán McNamara
d3a19d8eb7 remove lang path substitution
it's unused internally as far as I can see and has very incomplete (and surely
some wrong values) from some sort of mid 90s Euro-centric worldview

Change-Id: Ibce9e8b76545791ab59b9e11c6ff6e1f33afcb3c
2014-02-04 19:54:31 +00:00
Jacobo Aragunde Pérez
2bb87dd659 fdo#39944: Add DOCUMENT_* accessibility UNO roles
Added a set of UNO accessibility roles for specific kinds of
documents:
 * DOCUMENT_PRESENTATION for Impress
 * DOCUMENT_SPREADSHEET for Calc
 * DOCUMENT_TEXT for Writer

The other applications still use the existing DOCUMENT role.

These roles translates directly to ATK but in the other toolkits we
keep using the same association that DOCUMENT role had.

Change-Id: Ibac47527e5effdecb28d2314cde8558cf4fb010a
Reviewed-on: https://gerrit.libreoffice.org/7847
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-02-04 13:08:57 +00:00
Miklos Vajna
923a3ba49a swpagerelsize: add offapi documentation
Change-Id: Ibdc495d604fb6a1c864441b8f7573b90600679c4
2014-01-30 12:16:25 +01:00
Matúš Kukan
19e16083c6 Introduce com.sun.star.ui.theModuleUIConfigurationManagerSupplier singleton.
Change-Id: I7b503e5d49865c9ff287bf72eaff1995ce871790
2014-01-30 10:48:25 +01:00
Matúš Kukan
b3856b0e09 Introduce com.sun.star.ui.theWindowContentFactoryManager singleton.
Change-Id: If979db945b2f5e50e146fdadafd1559530c50122
2014-01-30 10:48:24 +01:00
Matúš Kukan
e9a23fd78c Introduce com.sun.star.ui.theUIElementFactoryManager singleton.
To replace single-instance com.sun.star.ui.UIElementFactoryManager
service.

Change-Id: I4262909c4396e3907d271a56696a06903168a58d
2014-01-29 11:46:10 +01:00
Matúš Kukan
af1c0ef8d3 Introduce com.sun.star.frame.ControllerFactory singletons:
com.sun.star.frame.thePopupMenuControllerFactory
com.sun.star.frame.theStatusbarControllerFactory
com.sun.star.frame.theToolbarControllerFactory

To replace their single-instance service variants.

Change-Id: I00586d0d61e63f9482cb659071e88aa9cf02d5b5
2014-01-29 11:46:10 +01:00
Markus Mohrhard
750b46025c give up with the nice solutions and enjoy the ugly hack
I was always hitting a corner case so it seems that this need some
drastic measures.

Change-Id: I3fdd278b9c3fed178513d653ef24ad8adf20cbd2
2014-01-29 08:09:30 +01:00
Markus Mohrhard
55656ee2e8 some improvements for the time based charting
The updating seems to work. It just does not update the references yet.

Change-Id: I0a971dbe2beb113c1c3e9ef103d77d5d8c7174a0
2014-01-29 08:09:30 +01:00
Markus Mohrhard
7a6d726563 time based charting calc side
Change-Id: I0d5963a691e4495ee14e4d1228ea0ba2b1dd66d7
2014-01-29 08:09:29 +01:00
Matúš Kukan
ba8413d262 Introduce com.sun.star.frame.theUICommandDescription singleton.
Change-Id: Ic88cca3722d555ba48d7da8c176556fa1ff90650
2014-01-28 18:52:22 +01:00
Matúš Kukan
54f606c666 Introduce com.sun.star.ui.theUICategoryDescription singleton.
Change-Id: I79a78f208b2aa5eaacbd2e349b2b5066afa1ad23
2014-01-28 18:52:22 +01:00
Matúš Kukan
dd1c991bd9 Introduce com.sun.star.frame.theAutoRecovery singleton.
To replace com.sun.star.frame.AutoRecovery single-instance service,
incorrectly converted in 279859fdbc40f68d8f1649fa5b928d9de49e8d9e

Unfortunately needs a lot of changes in autorecovery.cxx.

Change-Id: Iba5188dffea3e03803236f23e0b3f343746ace90
2014-01-28 18:52:21 +01:00
Matúš Kukan
ef597d80dc Introduce com.sun.star.task.theJobExecutor singleton.
To replace com.sun.star.task.JobExecutor single-instance service,
incorrectly converted in 748aa84e9808ad31c6ff6b71459525c82de10e58

[including changes by Stephan Bergmann <sbergman@redhat.com>]

Change-Id: I4cea2c63a20b5b22f6e1f822fb35fcc4d0397687
Reviewed-on: https://gerrit.libreoffice.org/7609
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-01-24 14:24:34 +00:00
Stephan Bergmann
62951cdd17 Introduce com.sun.star.frame.theGlobalEventBroadcaster singleton
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance
service.

Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
2014-01-16 18:40:05 +01:00
sushil_shinde
2054af83fe fdo#72520 : Added property to store external data path in chart.
-  added new property entry to store xlsx external data for chart.

Change-Id: I3695865ad7e888359d1048e9bc380cba26108636
Reviewed-on: https://gerrit.libreoffice.org/7212
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-01-16 01:46:40 +00:00
Tsutomu Uchino
77e7702250 Resolves: #i72591# fix from mouse button to mouse pointer...
in documentation of mouseMoved method

Patch By: christianjunker@gmail.com
(cherry picked from commit a66c0e11c326a072f0cb609af35d5e9d77fd3b63)

Change-Id: Ia39fc56d4459f303cd48e5654d8ff35155cceb4a
2014-01-13 11:29:47 +00:00
Kohei Yoshida
d1846cd8d4 fdo#72005: Add @since tag to the API documentation.
Change-Id: Ib59648f1427e3d6f662f7c4eddea66ad03817dbb
2014-01-10 12:03:42 -05:00
Kohei Yoshida
10840ad753 fdo#72005: Insert the border rectangle to the bottom of the stack.
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.

Change-Id: I999160daf6fc9ce3d7e641f57b1998543df1cc4e
2014-01-10 11:42:11 -05:00
Tsutomu Uchino
e0c789b13e Resolves: #i124001# remove readonly flag from Anchor property
(cherry picked from commit bbb0f24a32bada4224f913611db0a10a2ee1f303)

Conflicts:
	offapi/com/sun/star/sheet/Shape.idl

Change-Id: I1781858d46f655fdf39833247298c3f1375dc6a2
2014-01-09 11:21:14 +00:00
Andras Timar
b55259eeb5 typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
Jürgen Schmidt
842cb0da2e Resolves: #i121943# apply patch for PenWidth attribute
Patch By: hanya
Review By: jsc

(cherry picked from commit 91e3fca93d3a0b51e8f1ea87df902d928a7005ca)

Conflicts:
	offapi/com/sun/star/presentation/XSlideShowController.idl

Change-Id: I3709ee605efc4b5b80e293eb34245c9eb0d018cc
2013-12-20 10:18:33 +00:00
Takeshi Abe
44ec9d80ae Fix typo: Stroage -> Storage
Change-Id: Iff909b3a9cf43122af5d854bd38254b9894f4795
2013-12-20 09:23:00 +09:00
Stephan Bergmann
71eb27376a css.xml.sax service ctor clean-up
Change-Id: I556904861e93a145cfe65f61218926851e4e8eb0
2013-12-19 13:35:39 +01:00
Nikhil Walvekar
20bb1e6854 fdo#72304 Preserve Chart data table properties during ODF import/export.
Change-Id: I767bb32fdaddcaf742923055cc86bb19138b42be
2013-12-19 03:55:05 +01:00
Stephan Bergmann
7a6ca9e81c Missing @since tags
Change-Id: I649a37c5e4e1c8aa26f94fd5ab41fccd0309b288
2013-12-16 12:31:06 +01:00
Michael Stahl
cfb58670f1 offapi: fdo#69306 tweak multi-paragraph parameter comment
Change-Id: I3d3d7ca09d30f5d9358e48f5a2e030967aa16bc3
2013-12-10 22:26:41 +01:00
Takeshi Abe
dae9b7060d Drop duplicate #include
Change-Id: Ib8969d5cd4898b81a5dcd90dc313abd28adfe052
2013-12-10 15:52:49 +09:00
David Ostrovsky
130833f80e fdo#39956 Delete JAB
JAB has been discontinued in favor of the native IA2 bridge.

Change-Id: I88461f73c620507d3e97b077ea2abdd2229322e1
Reviewed-on: https://gerrit.libreoffice.org/6819
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-12-05 05:31:43 -06:00
Jacobo Aragunde Pérez
5be2c6d98b Fix @since annotation
Change-Id: Id8aff4a640c61472aa4ca3a060112f377b5809d9
2013-12-05 10:24:55 +01:00
Jacobo Aragunde Pérez
8a631e4718 sw: add CharInteropGrabBag uno property to characters
Change-Id: I2c6d8b1e4ef6df6a6662d5db89e67e5fba3c6ade
2013-12-04 18:52:02 +01:00
Thorsten Behrens
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
Caolán McNamara
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
Caolán McNamara
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
Markus Mohrhard
b5d4d946e0 add methods to enable and disable automatic device selection
Change-Id: I7136ad48ad3f20c60b77838225ce6c927514acff
2013-11-25 22:15:01 +01:00
Markus Mohrhard
4e736a8b8c add API to retrieve all available OpenCL platforms and devices
Change-Id: I2475961ae315ee7193ca2cedd5943b663bfee7a0
2013-11-25 20:43:49 +01:00