Pranav Kant
b902432b43
lokdocview: Use GLib basic types
...
Change-Id: I07add7b9dcb1dc53d7ed61ff71545489de3be155
Reviewed-on: https://gerrit.libreoffice.org/20778
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2015-12-17 15:47:43 +00:00
Pranav Kant
9c8c3acffa
lokdocview: Added some missing comments/annotations
...
Change-Id: I2f62bae37719ce96677a5ca6ffd93c8edb325a6a
Reviewed-on: https://gerrit.libreoffice.org/20777
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2015-12-17 15:46:47 +00:00
Eike Rathke
4eea9f2146
handle varargs with first required and subsequent optional, tdf#71459 related
...
Change-Id: I56c66f516ba2a2e12cab4848c8c352315f27b3bb
2015-12-17 15:14:43 +01:00
Eike Rathke
db1e34aecd
add RAWSUBTRACT spreadsheet function, tdf#71459
...
Change-Id: I2ae13771c85044b771e253a8189a30cb4aecb30f
2015-12-17 15:14:43 +01:00
Xisco Fauli
dc3eb865bd
tdf#32248 SVG: first attempt to support tspan elements
...
it's not perfect but at least we can already display the text,
which is better than displaying nothing
Change-Id: I89627010ac8071c106b41c1de6b183a619f8158b
Reviewed-on: https://gerrit.libreoffice.org/20642
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de >
2015-12-17 12:23:38 +00:00
Caolán McNamara
016730421e
remove newly unused WB_NEEDSFOCUS and fragile FLOAT_FOCUSABLE
...
Change-Id: Idce03318fbc01039a6c0638879785607970993c0
Reviewed-on: https://gerrit.libreoffice.org/20746
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2015-12-17 09:11:38 +00:00
Samuel Mehrbrodt
7dd77a1271
Remove unused ToolPanel (aka TaskPane)
...
Superseded by the Sidebar
Change-Id: I54970d71cd9d42de4f47b223e50dd9474b40632a
Reviewed-on: https://gerrit.libreoffice.org/20724
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
2015-12-17 08:27:55 +00:00
Noel Grandin
c9f6e12e7e
OString/OUString: move constructors and operator=
...
Change-Id: Icdc5f7137cca8360f116d5d4c7b0bf4a4c526e1d
Reviewed-on: https://gerrit.libreoffice.org/20712
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2015-12-17 06:59:50 +00:00
Jan Holesovsky
68d75af9c6
vcl: Initial NotebookBar implementation.
...
Re-introduced, this is still useful code to have :-)
Change-Id: I91535c13d68261f7195989ec78bd305cf572c87c
2015-12-16 10:19:25 +01:00
Miklos Vajna
d0cf72f253
sfx2: clean up no longer needed SfxObjectShell::isTiledRendering()
...
Change-Id: Ia4fb0b489509364c641f8e1e695353bbdb036b59
2015-12-16 09:14:31 +01:00
Tor Lillqvist
c59b417f1a
No need for <config_features.h> here
...
Change-Id: Ieccd31d3cefd2fc397a296827de29d834ce093f0
2015-12-15 19:55:46 +02:00
Tor Lillqvist
2f9ac73b80
The likely useless ImplDoTiledRendering() is used in vcl only
...
So move it to a locale include file in vcl. Now <vcl/window.hxx> does
not need to include <config_features.h>.
As such it is questionable whether what ImplDoTiledRendering()
currently does makes any sense; de facto it now just means that we are
on iOS. We have comphelper::LibreOfficeKit::isActive() which probably
is what should be used to test whether tiled rendering is used. At
least in the cases where LibreOfficeKit's "unstable" API is used for
tasks that involve rendering of tiles. Hmm, that sounds like a
circular argument.
Change-Id: I52c984aec7510526c5294579966345b8340c8642
2015-12-15 19:55:46 +02:00
Eike Rathke
dad412e07f
Resolves: tdf#95440 SharedString are interned per document, re-intern
...
... if literal strings are copied with formula expression tokens.
Change-Id: I13526907bb6c2c605c6ed9584fa6e3f2b18623b8
2015-12-15 17:50:21 +01:00
Michael Stahl
36a0abed4a
filter: add BaseURL parameter to SvxMSDffManager::ImportOLE()
...
... mainly for the (unlikely) case of ODF embedded objects in MSO binary
files, which can be created by toggling the
Tools->Options->Load/Save->Microsoft Office export settings.
Change-Id: I270f1516b70b20ec0b60cfbd17c2c327c3d9efd0
2015-12-15 17:44:36 +01:00
Michael Stahl
b0fc09daf1
fix missing BaseURL when loading embedded objects
...
When the object is edited in the UI, the m_xClient is set to a
SfxInPlaceClient and the DocumentBaseURL is retrieved from it. But if
the object is not edited, it will be loaded during export via the API
and without a m_xClient; in this case the DocumentBaseURL must have been
set previously to be available during import.
There appears to be no way to get the URL of the document via the API
while it is being imported; SfxBaseModel's m_sURL is unfortunately only
initialized from SfxObjectShell::FinishedLoading().
During ODF import, the SvXMLEmbeddedObjectHelper creates the
embedded object, so let's make it pass in the parent's BaseURL.
The "DefaultParentBaseURL" parameter already exists but was unused
previously.
Change-Id: I3d1ed29b3a2c0e77ec606a1d09f7bc07e7860733
2015-12-15 17:44:36 +01:00
Tor Lillqvist
1cb87bf384
Get rid of :: prefix for basegfx in include/vcl and vcl
...
We already used it without the :: prefix, in many cases in the same
files even. It is nice to have some consistency.
I was not bored enough to do it everywhere.
Change-Id: Ic8ac5bd9b4b2c02c41e5ea937a3d9477824f21cf
2015-12-15 16:41:41 +02:00
Caolán McNamara
ea4c75dcc9
gtk3+wayland: enable manual movement of toolbars
...
via gtk_window_begin_move_drag so add some BYDRAG/ByDrag hints
to select mechanism to move window by
Change-Id: Icc58653dff752a6d4ee49446647d7ede2af9dd9b
2015-12-15 14:27:53 +00:00
Noel Grandin
4463da0488
use vector as container for Primitive3DReference
...
rather than uno::Sequence, since we modify this container a lot
and uno::Sequence is expensive to update
Change-Id: Id5bc5171cbc4b90b243e6dda6d572f21b3bdf00d
2015-12-15 10:42:52 +02:00
Noel Grandin
9c9291255f
create a move append method for Primitive2DContainer
...
since it is fairly common to append temporaries.
Change-Id: I920daf8539e42fc9fe313af48fdb34ee4aaf908d
Reviewed-on: https://gerrit.libreoffice.org/20637
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2015-12-15 08:17:13 +00:00
Juergen Funk
e9ac45cd0c
unusedcode NotifyEvent::NotifyEvent()
...
have buuild under windows with debug-util
Change-Id: I65f5c52db0d57453bbbba268ba0b936588c2bf73
Reviewed-on: https://gerrit.libreoffice.org/20657
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de >
2015-12-14 14:50:18 +00:00
Caolán McNamara
01ef12d173
Related: rhbz#1289394 always provide the screen area the tip applies to
...
this will make it easier to implement native help tips
Change-Id: I984dfadaf02e9b7bf542ba82cf070911c89cb699
2015-12-14 14:36:09 +00:00
Tor Lillqvist
8681113dba
tdf#95813: Don't cache CTRL_LISTNODE (disclosure control)
...
It keeps state that apparently doesn't affect its cache hash key.
Change-Id: I82ead9fcded16152f2a106a971484cf4a9eaf8ea
2015-12-14 12:39:56 +02:00
Maxim Monastirsky
bb2ead8b4b
tdf#93837 Adapt sfx2 to use xml based context menus
...
Change-Id: I71aaa98e9cf022b53cc094418bc09fb385af55ce
2015-12-13 09:12:23 +02:00
Julien Nabet
ded7c4ba32
Typos
...
Change-Id: I7a161afb520c3f26be0d5846a3ef2300c558a7d2
2015-12-12 23:46:34 +01:00
Tor Lillqvist
aacf715527
<vcl/spin.h> can be private to vcl
...
Change-Id: If723dd72479ab8d072581e9ffbf7a1462c5fecda
2015-12-12 09:26:29 +02:00
Tor Lillqvist
d2df0adad4
No need for a separate <vcl/lstbox.h>
...
Change-Id: Ib8d0e3d240e693c678d575b4791f69ca760919ec
2015-12-12 09:26:29 +02:00
Michael Meeks
6c68b71058
vcl: use a custom tag for VCL OpenGLContext's to avoid re-use.
...
Other code is out of legacy mode now, so can't legacy as a proxy.
Change-Id: Ie3807a3af680b707f2f08d058db955bc9cae6c2b
Reviewed-on: https://gerrit.libreoffice.org/20647
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Michael Meeks <michael.meeks@collabora.com >
2015-12-11 20:39:15 +00:00
Stephan Bergmann
39b2c40761
minuscule whitespace cleanup
...
(in an attempt to cause tinderboxes to rebuild)
Change-Id: I5cc94a988303b7b1ff85ec09c3d4f88d300f73b0
2015-12-11 21:18:10 +01:00
Stephan Bergmann
ff66509d50
loplugin:nullptr
...
Change-Id: I639638cb9cc387178183760137c0510802b8c6d9
2015-12-11 20:51:17 +01:00
Tor Lillqvist
a643222794
No need for a separate <vcl/graph.h>
...
Change-Id: I962544005b5d408f7c044a02eefe09b87d8a81fe
2015-12-11 19:11:01 +02:00
Stephan Bergmann
576c7562ec
Return std::unique_ptr from svt::AcceleratorExecute::createAcceleratorHelper
...
...to prevent errors like 5ac6e00274 "Memory leak"
Change-Id: I3e20393af628849d8a387b491b75e1aacdea982a
2015-12-11 16:15:53 +01:00
Emmanuel Gil Peyrot
facfbeb5cb
opengl: Add Geometry Shader support to OpenGLHelper
...
This is the ground work for some later transitions in slideshow.
Change-Id: Ib200cf7fabd579256a5255b0fb5d8c4accf7d24b
2015-12-11 15:29:01 +01:00
Tor Lillqvist
c95a6adceb
No need for a separate <vcl/combobox.h>
...
Change-Id: Iebf7b44e78fc28c20bdf0cbea84dbfd730b04016
2015-12-11 15:53:35 +02:00
Noel Grandin
da419ab6b2
loplugin:unreffun
...
fallout from 58d8d8ac67
"tdf#69977: uno::Sequence is expensive"
Change-Id: Ib55de090c72dcfd8ad049746b693b383e70e8ca9
2015-12-11 11:56:00 +02:00
Noel Grandin
58d8d8ac67
tdf#69977: uno::Sequence is expensive
...
when used as a mutable data-structure. Plain std::vector halves the time
taken to display the chart dialog
Create a class to represent the std::vector we are going to be passing
around, and move some of the utility methods into it to make the code
prettier.
Also create an optimised append(&&) method for the common case of
appending small temporaries.
Change-Id: I7f5b43fb4a8a84e40e6a52fcb7e9f974091b4485
2015-12-11 10:11:23 +02:00
Oliver Specht
e5246a6b67
tdf#96382: background color is not applied unintentionally
...
background color attribute should only be applied in a dialog
if the user selects it
Change-Id: Idf03840f7332a8cdbbfd616ce47ac26b3602d840
Reviewed-on: https://gerrit.libreoffice.org/20592
Reviewed-by: Oliver Specht <oliver.specht@cib.de >
Tested-by: Oliver Specht <oliver.specht@cib.de >
2015-12-11 06:42:20 +00:00
Stephan Bergmann
4a1edf626a
More loplugin:nullptr automatic rewrite (within templates)
...
Change-Id: I9bc06cfb5eeb38fd7ae7fb25f876ea9f96e4a65a
2015-12-10 17:34:31 +01:00
Stephan Bergmann
5fa9ce570d
Fix order of SAL_WARN_UNUSED and DLLPUBLIC for clang-cl
...
...which, somewhat arbitrarily, expects GNU extension __attribute__((...)) to
come before MSVC extension __declspec(...) with
MaybeParseGNUAttributes(attrs);
MaybeParseMicrosoftDeclSpecs(attrs);
in Parser::ParseClassSpecifier (lib/Parse/ParseDeclCXX.cpp).
Change-Id: I5936558c8fc08b278575b6c678cde6eccd4647fb
2015-12-10 13:30:01 +01:00
Samuel Mehrbrodt
d64e535fe9
Remove unused rtti.hxx
...
Change-Id: I19ae28665e8835461ccc6b9872002f557c65fa5d
Reviewed-on: https://gerrit.libreoffice.org/20562
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-12-10 10:36:12 +00:00
Stephan Bergmann
fb8a3fac5d
loplugin:nullptr: More NULL -> nullptr automatic rewrite
...
Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d
2015-12-10 08:06:06 +01:00
Pranav Kant
7d7fad258d
tdf#96317: Add API for copy/paste from/to the widget
...
Change-Id: Iac869ddb65cbdd2227f96d047d83159ca7819f11
Reviewed-on: https://gerrit.libreoffice.org/20534
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2015-12-09 16:36:22 +00:00
Caolán McNamara
ff39b78d74
unnecessary nResId argument
...
Change-Id: Id7d3df1af42cbe7b4f951c335063d26b59e7bc10
2015-12-09 11:35:44 +00:00
Pranav Kant
0f64cf72ff
tdf#96318: Add searching API
...
Clients should now use these APIs to search for text in the
widget, rather than executing UNO commands directly on the
widget. This allows searching for text in the widget in view-only
mode too.
Change-Id: I013b6f96e69a634ec33367394d39c0f645a4994d
Reviewed-on: https://gerrit.libreoffice.org/20488
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: David Tardon <dtardon@redhat.com >
2015-12-09 09:30:35 +00:00
Pranav Kant
424c09b10d
lokdocview: Set a 'default' path for LOK init
...
When passed NULL to lok_doc_view_new, use the default path :
$libdir/libreoffice/program as LOK install path
Change-Id: I1e033c407184b29b1509cfb8c416b514591d67ce
Reviewed-on: https://gerrit.libreoffice.org/20476
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: David Tardon <dtardon@redhat.com >
2015-12-09 09:02:34 +00:00
Stephan Bergmann
4754afddc3
Use unique_ptr out-arg to in SfxBindings::QueryState to avoid mem leaks
...
Change-Id: I35df02de675068478a36ef05266ffc2d3054b07f
Reviewed-on: https://gerrit.libreoffice.org/20477
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
2015-12-09 07:16:34 +00:00
Michael Stahl
1a18c92a52
consolidate MSO format ClassID magic numbers in msfilter/classids.hxx
...
Change-Id: I673eeaa4168f769cb002995c43d986ee5f2030b2
2015-12-08 22:11:43 +01:00
Tor Lillqvist
0cdf09089d
Make ImplSVData private to vcl
...
Change-Id: I1df6ba8a269be3e165ff5948af1dd12e0bdc6f7d
2015-12-08 15:57:36 +02:00
Jan Holesovsky
e20df21825
These should still be virtual.
...
Change-Id: I11a8f9db15a576ff9926f8f827cbcc08a345ffa4
2015-12-08 11:46:36 +01:00
Samuel Mehrbrodt
ac97f32307
Move icon rotation/flip handling from ToolbarManager to vcl's Toolbar
...
This enables rotatad/flipped icons in the Sidebar and other non-toolbar places (tdf#85767)
Change-Id: I034394ae6f9b8d91ef5a376a43eda587098f064e
Reviewed-on: https://gerrit.libreoffice.org/20403
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
2015-12-08 08:39:44 +00:00
Caolán McNamara
2191a11022
last arg of SetOutputSizePixelScaleOffsetAndBuffer no longer used
...
Change-Id: I65e7e82e46c5751617b00a39df47d864b29b6ce1
Reviewed-on: https://gerrit.libreoffice.org/20441
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2015-12-07 20:49:02 +00:00