Commit Graph

12102 Commits

Author SHA1 Message Date
7660e4dcec tdf#89694 Password dialog for opening OOXML shows url-encoded path
We need to convert a path string to decoded it for OOXML with a password as ODF
is so. This patch adds the converting process for OOXML.

In addition, this patch moves the decoded-point of URL into
css.task.Document[MS]PasswordRequest ctor from the outside. This decoded-point of
URL into ctor is common for OOXML and ODF.

(notes: Strange to say, css.task.Document[MS]PasswordRequest ctor needs "aDocURL",
    but methods in interaction-handler use "aDocumentName" as the parameter.
    Probably this will be fixed in near future.)

Change-Id: I0ecfddf0f70ea5810df52d9ca8637f483a26df2f
Reviewed-on: https://gerrit.libreoffice.org/14677
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-10-20 09:42:13 +00:00
59c38539bc Allow injection of keyboard and mouse events through UNO
Change-Id: I3d139c6378f5274be1e7bfd88f72d1576c13243d
Reviewed-on: https://gerrit.libreoffice.org/19321
Reviewed-by: Matthew Francis <mjay.francis@gmail.com>
Tested-by: Matthew Francis <mjay.francis@gmail.com>
2015-10-16 12:03:30 +00:00
d52d448e7b tdf#88154 workaround and unit test
Fixed 45-degree layout for axis labels, too.

Change-Id: I9764e281aeee0a439fa9eec1e3b0df840221b72f
Reviewed-on: https://gerrit.libreoffice.org/18889
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-10-07 09:07:48 +00:00
9f6cb675b0 Fix typos
Change-Id: I013414cf10e25acd5216643855aaa230258a1b5f
Reviewed-on: https://gerrit.libreoffice.org/18962
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 07:03:18 +00:00
55cb4638a0 add theServiceDocumenter singleton
Change-Id: I491fc5ae67de06cc2cf14d2e4a5cfbef57891c9a
2015-09-19 00:55:07 +02:00
5bbff06137 [API CHANGE] XFilePicker2/3 changes for multiselection
In order to use GetSelectedFiles (in XFilePicker2) instead of GetFiles (in XFilePicker),
here are some api changes

before:
XFilePicker3 inherits from XFilePicker
XFilePicker2 is not a published interface

after:
XFilePicker3 inherits from XFilePicker2
XFilePicker2 is a published interface

+ adapt Uno Implementations

Change-Id: If44afaa7236f08bc2b814f91eda5bfad333dd799
Reviewed-on: https://gerrit.libreoffice.org/17068
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-09-15 06:17:47 +00:00
773aecc810 Avoid needless incompatible change
..in 9ed1dd01be8afa0961e388a79e9ff4c1235820c2 "tdf#90839: support for wrapped
text in data labels and for centered data value" by moving the additional
optional property to the end; also, add missing @since tags

Change-Id: I6f8a6cb22d29ba27a109089892b8df009d1043db
2015-09-09 11:05:04 +02:00
9ed1dd01be tdf#90839: support for wrapped text in data labels and for centered data value
Now in a pie chart the text of a label can be wrapped, the wrapping is
automatic and the maximum text width is fixed to almost half the pie
radius. This feature is used to import correctly the relative text
wrapping property provided by MSO.

Moreover the data value and percent value of a label are now centered
horizontally, respect with the label text.

Conflicts:
	chart2/qa/extras/xshape/chart2xshape.cxx

Change-Id: Ie10d6184365436f763cd9693a5bbefcfa9b3862b
Reviewed-on: https://gerrit.libreoffice.org/17193
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-09-09 07:41:51 +00:00
dea1d492db typo
Change-Id: I555d4b79a61b371a39ad0f0b76c2d34c22414962
2015-08-25 14:15:01 +02:00
6d39088c8f Remove redundant @since tag
Change-Id: Icc3e913d4150e724c87e8293f7b641ee8ca19177
2015-08-25 14:14:02 +02:00
c609b30b12 sidebar uno api corrections
Change-Id: I1bd1040cc80c0450a5e029c37f0737c0692c056a
Reviewed-on: https://gerrit.libreoffice.org/17952
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-08-25 12:08:57 +00:00
9c161b223a offapi: add missing #include that could cause trouble for SDK users
... as reported by ccsheller on IRC.

Change-Id: I416b31d15388be28ca493f1f147c7786f339e6cb
2015-08-20 12:17:10 +02:00
930c7fb43a XTransferable2 should be including XTransferable, not itself
Change-Id: I5790c949354434fc3661520c9038fd90e1b182f4
2015-08-20 11:14:34 +02:00
6efbd4bb63 Do not unnecessarily break compatibility
...re 2c346d669648bdecbe4be0e6013af14abef2526a "tdf#39080 Hide Whitespace UI
option added to the View menu."

Change-Id: Ib2f364dba7a50854a11f004b42c7ee22ee10e48b
2015-08-17 14:47:05 +02:00
2c346d6696 tdf#39080 Hide Whitespace UI option added to the View menu.
Change-Id: I1f9ba9ef489159ca54db802393d958d7fd6ac8ff
Reviewed-on: https://gerrit.libreoffice.org/17280
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-17 12:38:42 +00:00
41d1b01a90 API CHANGE: remove update() from X3DChartWindowProvider
Revert the API change from e41c33b376d8b5776e400979eb8544db596c5bbe
and use the existing css::util::XUpdatable instead.

Change-Id: I3eba4c7def98c8765a970d54a7fe84a320d4313e
Reviewed-on: https://gerrit.libreoffice.org/17382
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-30 15:27:38 +00:00
6949629e35 reflect the property name changes also in the idl files
DataPoints now support the whole css::drawing::FillProperties properties
which makes handling fill properties in chart2 a lot easier. The new
names are just aliases for the old property names.

Change-Id: I5b85010fe2557eeb5376de71ff3605b3abbcd488
2015-07-28 01:10:33 +02:00
0635208edf handle more than one chart with chart sidebar
Change-Id: I4998904a9273f2c67114a246d7f234843602573c
2015-07-26 00:26:55 +02:00
6dddd1aaf5 add optional ContainsHeader property
great we never had this :-(

Change-Id: Id79b08ff9dfe42228ed7d6b27ad0c8cc29b1bfb0
2015-07-23 14:33:34 +02:00
c657740b0f getFiles: simplify even more description
Conflicts:
	offapi/com/sun/star/ui/dialogs/XFilePicker.idl

Change-Id: I89cec47234e275d4753a779e320fc6288c6a4fbc
Reviewed-on: https://gerrit.libreoffice.org/16985
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-07-14 08:20:34 +00:00
51e848095a Missing @since tag
Change-Id: Id8309575cbde56d5eacfc96586b4c91173256519
2015-07-13 10:59:14 +02:00
d11b244bf9 getFiles: truncate to 1 file only
See http://nabble.documentfoundation.org/Multiselection-needs-work-td4153207.html
for details

Change-Id: I7f855a067349381e2567bd15a8daa56aad412774
Reviewed-on: https://gerrit.libreoffice.org/16959
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-13 06:57:29 +00:00
7cad6b12c8 [API CHANGE] add way to get XSidebar from XSidebarProvider
Change-Id: I9fcf1cffa70eac6fec228ca4a9d4d32783295f21
2015-07-12 18:56:48 +02:00
dad6be8af0 write trailing text subformat also to Excel .xls and .xlsx, tdf#92457
... without generating  0;;;@  from  0;@  that has different semantics.

Introduce css::util::NumberFormat::EMPTY to properly flag empty
subformats and distinguish from UNDEFINED, everything else would be an
ugly hack.

SvNumberformat::GetMappedFormatstring() now correctly supports the
trailing text subformat, so exports using it should get that
automatically.

Change-Id: If9a1bcc5ec5dfcf46688035e2b1428ab4747a68d
2015-07-11 03:08:40 +02:00
7f73bb5b44 Fix typos
Change-Id: I8e429d1f03aac7c7cdb7ff4b43b3f46d40292510
Reviewed-on: https://gerrit.libreoffice.org/16709
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-07-03 08:19:04 +00:00
fb2889512a Deprecate "getFiles" for "getSelectedFiles" from XFilePicker2.idl
See http://nabble.documentfoundation.org/Multiselection-needs-work-td4153207.html

Change-Id: Ieceecd04dd161d40054715f74a4351397f97addc
Reviewed-on: https://gerrit.libreoffice.org/16630
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-07-02 07:41:48 +00:00
a64999511a new uno sidebar api tdf#91806
the entry point is SfxBaseController::getSidebar()

the Decks and panels are now per SidebarController and not global anymore

' macro example
Sub testSidebarApi

	controller =  thisComponent.currentcontroller
	frameIni =  thisComponent.currentcontroller.frame
	sidebar =  thisComponent.currentcontroller.getSidebar()

	sidebar.setVisible(true)

	frame = sidebar.getFrame()

	decks = sidebar.getdecks()

	c = decks.count

	h = decks.hasElements()

	e = decks.getElementNames()

	a =  decks.hasByName("MyDeck")

	deck = decks.getByName("MyDeck")
	deck.activate(true)

	t = deck.getTitle()
	deck.setTitle("new deck title")

        deck.moveFirst()
        deck.moveLast()
        deck.moveUp()
        deck.moveDown()

        index = deck.getOrderIndex()

	panels = deck.getPanels()
	ep = panels.getElementnames()

	ap = panels.hasByName("aPanelName")

	panel = panels.getByName("aPanelName")
	panel.setTitle("new panel title")

	panel.collapse()

	panel.expand(true) ' expand and collapse other

        index = panel.getOrderIndex()

        panel.moveLast()
        panel.moveFirst()
        panel.moveDown()
        panel.moveUp()

End Sub

Change-Id: I7a4b953f2277dea483bb296ba6ead35de7205ace
Reviewed-on: https://gerrit.libreoffice.org/15856
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2015-06-22 04:59:07 +00:00
29202a16d9 Resolves: tdf#89905 don't copy palettes from shared to user
make this a multi-path element with a shared read-only location
and a user read/write location and don't copy the presets, instead
just keep them in the shared location

Now an admin can copy extra palettes into the shared location
and they magically appear in the user deployments

Change-Id: I7585789c0c59941094f6128368df94b834d3c2a2
2015-06-07 15:39:22 +01:00
bb7ce3137d convert INVALIDATE constants to scoped enum
fixing a bug in Window::ImplMoveAllInvalidateRegions, and improving the
IDL docs for XWindowPeer

Change-Id: Idb774ac913945db2ac7c492c11cf86c370624c3d
2015-05-26 08:30:18 +02:00
b5e16d8dab Related tdf#88056: use better-fitting <text:page-name>
Implemented Regina's suggestions:
* this is a text field, therefore it belongs to text namespace
* page-name (evtl. slide-name) describes much better what this
  field really contains

This (among other changes) reverts commit 6609de8856519e0e9

Change-Id: Idab3b7c291839a9137f80d325a7d3f5ef0ff2636
2015-05-18 16:51:59 +02:00
be316c6208 Improve documentation
Change-Id: I37a610acbce78033f90b7d18274eb233a734fd7e
2015-05-13 11:59:34 +02:00
96a6128b92 Initial XTiledRenderable API
Cherry-picked from e2ad83e25aa86bc377b664d6d07a0b86abf487c0

Change-Id: I6dc337ec958c1e116fc9763877f331b751b64e6e
2015-05-07 17:47:22 +02:00
58a1522798 add css::sheet::DatabaseRange property TotalsRow
Change-Id: Ica3b93ff25c936c0109ab3259c8a8015fcfb99eb
2015-04-23 19:10:18 +02:00
6609de8856 Related tdf#88056: this guy's better off in presentation namespace
no use for it outside Impress really ...

Change-Id: I419ce252ec1b32a7ef225fefc02ec5dd87ba402a
2015-04-21 10:56:56 +02:00
914b4fb5a3 import chart MSO 2007 streams correctly for docx files, tdf#82216
Change-Id: Icda809faf315dac5953d38781b2b401d51f7a40a
2015-04-19 03:03:24 +02:00
f1a7a2c1b1 fix indentation
Change-Id: I1d7fa501959758d17440edcec146724cba97535f
2015-04-19 03:03:24 +02:00
f02ef85f4a remove build warning
Change-Id: I533d603ac1f073336eda99de57892ff5e12132d4
Reviewed-on: https://gerrit.libreoffice.org/15288
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-04-14 19:57:11 +00:00
8e6c335c19 Update @since tags LO 4.5 -> 5.0
Change-Id: Idb2e46fcaa080d6763d2e3ed963f7673a2353eb2
2015-04-10 11:50:37 +02:00
b079d9f86a Update the reference rdbs to libreoffice-4-4
Change-Id: Ib1108763ebf556d2e812f077676914c4e64ddaf2
2015-04-07 18:46:26 +02:00
d6423bcd8b Update the reference rdbs to libreoffice-4-3
Change-Id: I33953f96630d6269ffdbf83f9fc9f747178e87d2
2015-04-07 18:34:50 +02:00
1856a9df67 Missing @since tag
cf. dd9c9a69da7b22c4166391df082ac23878312a01 "Add the 'quoteright' key to the
list of available keyboard shortcuts."

Change-Id: Ia064782505e317ee3d1c3622c273eb892e477b5e
2015-04-07 18:34:50 +02:00
5b75b4e1ec first part for correct handling of new cond format entries
Change-Id: I82f66218bf02898e523e4f69fec9166aa00d0b83
2015-04-03 17:44:23 +02:00
be8e63cdde rename UNO API method for cond format
My first idea does not work that well as it introduces some nasty
problems with the lifecycle. THe new approach will only allow to use
cond format objects of the same document.

Change-Id: I276c3750ef24cdee6d63162c678ec839d4845b08
2015-04-03 17:44:23 +02:00
2560c5222c add properties for new databar properties
Change-Id: Icc65283a1e60ea61af917432e3fb577e7b0370a7
2015-04-02 17:31:24 +02:00
7bcf64c29a Add isReadOnly() support to simplified configuration access
[API CHANGE]: extends the css.configuration.XReadWriteAccess in an incompatible
way, but that is unpublished, has been commented as "still unpublished and
unstable," and was specifically introduced for internal use by the simplified
configuration access, so should not affect 3rd party code.

Change-Id: I99ce045f5bd8c598e689d46fb0d3626dfaa6d0a0
2015-04-01 14:26:26 +02:00
6e6f822e2b finally implement and define also date formatting
Change-Id: I261e6d3199573fc2e37d940e4249a1fce105e6eb
2015-03-30 11:04:02 +02:00
d21f9f5079 fix API values
Change-Id: I3a5890d8d46936b264510150ef0fa8ac79feb74d
2015-03-30 04:34:34 +02:00
ad6d79c617 add value for first entry
Change-Id: Ifc53952ba0aaa8b5e59944e309428bfce4d48ef7
2015-03-30 04:34:27 +02:00
a017e073f0 add missing enum values
Change-Id: I3234fb21e3f62068e39b6667e9c77e857536ade4
2015-03-30 04:34:18 +02:00
6898506dc2 more code for conditional format API
Change-Id: Iba10222186c84c7a8ecf6928b8145dc941840421
2015-03-30 04:30:49 +02:00