1a92a885d6
fdo#46808, Convert some bits to new-style UNO
...
Change-Id: I505910ae117588d54b79e72c12368224b4632fb9
2013-01-28 08:22:27 +02:00
492498b86e
add AccessibleRelationMemberOf to AccessibleRelationSet
...
Change-Id: I716eb70ceb8005aa54a417d01c67bc139dc61c6f
2013-01-22 16:29:40 +00:00
e3f11c10d8
Changed SetText() / GetText() to take/return OUString
...
replaced lots of Len() with isEmpty()
Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0
Reviewed-on: https://gerrit.libreoffice.org/1795
Reviewed-by: Michael Stahl <mstahl@redhat.com >
Tested-by: Michael Stahl <mstahl@redhat.com >
2013-01-21 20:48:35 +00:00
2fe852386c
fdo#46808, Adapt SystemClipboard UNO service to new style
...
this is the datatransfer:📋 :SystemClipboard service
Change-Id: I00227a2d84e2f1eaf9ca1ebb4fbe1f1548a6621d
2013-01-15 09:56:01 +02:00
830f44b1ca
we only ever want the preferred window size from GetOptimalSize
...
so remove the MAX and MIN options and simplify the whole lot
Change-Id: Iaaf350c37e01f7fce434af760bcddb9b7d7135ea
2013-01-14 16:04:17 +00:00
e103887c8c
QUARTZ is equivalent to MACOSX
...
So just check MACOSX in the sources, and don't pass any -DQUARTZ to
compilations.
Change-Id: Ia1de6024810f81f1eea01b8eb0b885d9d1ee8e20
2013-01-11 11:16:59 +02:00
46fe5e5e06
fdo#46808, convert UnoControl and sub-classes to XComponentContext
...
Change-Id: I4ade267a44620f5a3af8009ac57a2456c62b83bc
2013-01-09 08:08:19 +02:00
6773db03a6
allow menu items to be referred to by a name
...
Change-Id: I8bb1c082e3948f919232b81e0f1f869b88fcd852
2013-01-07 16:17:52 +00:00
d938857947
Call SetOutputSizePixelScaleOffsetAndBuffer for non-Android
...
Change-Id: I59febb87f3da3098e1644087b498d9821b5d7047
2013-01-07 00:50:05 +02:00
773ad75b0d
fdo#46808, Adapt util::NumberFormatsSupplier UNO service to new style
...
Change-Id: I58436d9eea0c38d14cde2dc01aa463d5d71912e9
2012-12-06 13:20:31 +02:00
66a175834c
c++ API: use css alias in generated headers, adds global css decl
...
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star
Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.
Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30 14:36:36 +01:00
56ea15091c
fdo#46808, use service constructor for i18n::Collator
...
Change-Id: If6ad17fa9e274beff7ba872a095ced65438962af
2012-11-28 13:06:18 +01:00
f902bcda6e
Make ~Window more robust
...
...in cases where the Window(WindowType) ctor did not call Window::ImplInit, so
many members are null; if then a derived class's ctor throws an exception,
~Window must be careful not to dereference those null members.
Change-Id: I12c4b1b5d7f3633387b85acf9da6d57c42e793b4
2012-11-26 12:48:26 +01:00
af60316514
some i18n wrappers with LanguageTag
...
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-23 23:09:16 +01:00
1b329fd5cc
get rid of unnecessary LocaleDataWrapper temporary instances
...
Change-Id: I17d9a502565d445b0eab9ef6e9123661850292b7
2012-11-22 19:50:20 +01:00
9955dbebbd
AllSettings with LanguageTag
...
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-22 12:34:59 +01:00
ce1d0822d0
warning C4100: unreferenced formal parameter
...
Change-Id: I49da06b94bdc91b1cdc4bb3d047804d353b0aba8
2012-11-19 15:28:02 +01:00
41c77ac5e8
targetted cleanup of misc. vba pieces.
2012-11-16 18:21:38 +00:00
d2f6a87ac7
fdo#46808, use service constructor for i18n::NumberFormatMapper
...
Also create a utility constructor for LocaleDataWrapper, which
simplifies many of the calling sites.
Change-Id: Ic8510b51c4201fa17fc0620e18d3e258e43636ba
2012-11-15 08:28:44 +01:00
b1cf290924
merge SetDescription into SetText
...
that way the display text always matches the link text
Change-Id: I3f4901803bd9354d2cd0fc29d7d91ccd8e3def54
2012-11-13 09:49:18 +00:00
040e022d06
move svtools's FixedHyper.hxx to vcl
...
merge with fixedhyperbase and map GtkLinkButton
to FixedHyper. Convert to String while I'm at it.
Change-Id: Ibc61fd29c01796561eeef952a159c82ff215a095
2012-11-12 12:01:39 +00:00
ced1151a1a
Get rid of vcl::unohelper::GetMultiServiceFactory
...
...which effectively is just a glorious wrapper around
comphelper::getProcessServiceFactory.
In turn gets also rid of ImplSVAppData's mxMSF and mpMSFTempFileName and the
rSMgr parameter to InitVCL.
All the VCL users "soffice", "spadmin", and "unopkg gui" appear to still work
fine.
Change-Id: I797d48f7d0d8c35bb82124c9ab0ee63850c4d863
2012-10-31 09:22:53 +01:00
33a0f8ce65
fdo#46808, Adapt awt::Toolkit UNO service to new style
...
Create a merged XToolkit2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.
Also mark sub-interfaces as non-optional.
Change-Id: I278d0288e92be277033013302267cf93f7d70480
2012-10-24 16:49:49 +02:00
f252b332dd
fdo#46808, renamet awt::XToolkit2 to XToolkitExperimental..
...
..because we want to use the name for the new merged interface
for the Toolkit service.
Change-Id: Ib1e193c7d04729f6420ee6984231fd50181e59d3
2012-10-24 16:49:49 +02:00
83154f9234
mark lcl_ functions static or rename them if they are not local at all
...
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html
Change-Id: I37b2c7b7acd31437f4be74b0163f4dac2279655b
2012-10-12 13:34:48 +02:00
e87e2fd386
WaE: 's_hAccessibleImplementationModule' defined but not used
...
Change-Id: I700f66cbc3ddb01d723b9a50709b4b1d5ab66405
2012-10-07 11:25:07 +03:00
97593ae24a
Handle lack of module loading/unloading API when DISABLE_DYNLOADING
...
There are basicically two classes of cases:
1) Where the code is for obscure historical reasons or what I see as
misguided "optimization" split into a more libraries than necessary,
and these then are loaded at run-time. Instead, just use direct
linking.
2) Where dynamic loading is part of the functionality offered to some
upper (scripting etc) layer, or where some system-specific non-LO
library is loaded dynamically, as it is not necessarily present on
end-user machines. Can't have such in the DISABLE_DYNLOADING case.
Change-Id: I9eceac5fb635245def2f4f3320821447bb7cd8c0
2012-10-07 07:59:15 +03:00
bd24ac7cb5
Link directly to CreateWindow (in svtools) when DISABLE_DYNLOADING
...
Change-Id: Iaf1f6c0fc76b97b1cfca63edfb91d5a39988c8c0
2012-10-04 07:23:25 +03:00
c4008ef546
re-base on ALv2 code. Includes:
...
tkr41: #117828# office crash fixed . (null pointer) + add unit test
Patch contributed by Tobias Krause
http://svn.apache.org/viewvc?view=revision&revision=1172105
Do not add targets for junit tests when junit is disabled.
Patch contributed by Andre Fischer
http://svn.apache.org/viewvc?view=revision&revision=1241508
remove the OutDev::GetKernPair* stubs completely
Patch contributed by Herbert Duerr
http://svn.apache.org/viewvc?view=revision&revision=1179221
reverting un-necessary OS/2 conditionals.
2012-10-03 16:56:06 +01:00
36a2db3722
Replace usage of rtl_*Memory with equivalent from string.h
...
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159
Reviewed-on: https://gerrit.libreoffice.org/734
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2012-10-01 18:48:05 +00:00
2f002e3a49
having two SetPosSizePixel is a blasted nuisance
...
Lets rename the multiargument SetPosSizePixel to
setPosSizePixel drop the various using Window::SetPosSizePixel
and work towards de-virtualizing SetPosSizePixel/SetPosPixel and
SetSizePixel and doing the work in a virtual setPosSizePixel
Change-Id: I7057654168001b67becee1791e97f9e9dc01f7b8
2012-09-28 08:48:39 +01:00
750fc20611
replace remaining InterlockedCount() with inlined version
...
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
2012-09-25 01:55:38 +00:00
c3745c4bab
unusedcode: add #if SCROLLABLEFRAME for ScrollableWrapper<GroupBox>
...
Change-Id: I68df188c229f7cd31d5b79c073fe9440e307ad1d
2012-09-21 14:33:19 +02:00
2a32bf29b9
Make getProcessComponentContext/ServiceFactory throw instead of returning null
...
...with the same rationale as recent 543158edba6678d3d76eee983a9d4edd2a422fee
"Require XComponentContext.getServiceManager to throw instead of returning null"
(this helps find problems like 065a758d0c2b66c6683d648347b7a6cdef4a80f7 "Enable
experimental gtk3 plugin only via SAL_USE_VCLPLUGIN").
Removed comphelper::createProcessComponent[WithAguments] and replaced its few
uses with direct calls to createInstance[WithArguments].
Change-Id: Ia44b8656f74de88ef6eab3eb6bd597729b08e1c8
2012-09-18 15:08:56 +02:00
6c04efa4d1
gridfixes: #i117145#
...
Change-Id: I215bcfca6a29274f7397d1100e3674d747ae19f2
Reviewed-on: https://gerrit.libreoffice.org/531
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:59:46 +00:00
c1c12bd160
gridfixes: ensure removal of a column in grid control adjusts the cursor
...
Change-Id: I99be214bf12d340cc5e9330d1c21046dd366b07a
Reviewed-on: https://gerrit.libreoffice.org/554
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:54:39 +00:00
1e826e71e7
gridfixes: #i117549# create/loadTabPage
...
use a GeometryControlModel only if the parent model is one, too
Change-Id: I8cf7bb8cf721b6f841ddfbb7e02475c6e2c6741a
Reviewed-on: https://gerrit.libreoffice.org/550
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:49:52 +00:00
1df082e4dc
gridfixes: #i117549# finalize css.awt.tab API
...
Change-Id: Ia7a555fb2551675605414189174eae8f65c70db7
Reviewed-on: https://gerrit.libreoffice.org/547
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:44:40 +00:00
f00bba4305
gridfixes: GCC WaE
...
Change-Id: Ie771f38a2a1d3d60dd6d84806d17839d93ec6cf3
Reviewed-on: https://gerrit.libreoffice.org/546
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:42:38 +00:00
4971468b6c
gridfixes: #i117398# XMutableGridDataModel:
...
allow inserting rows at arbitrary positions
Change-Id: Ia5af125035979951c61d6c8cd9a916e8f81bb6c0
Reviewed-on: https://gerrit.libreoffice.org/545
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:42:02 +00:00
fe08068cf9
gridfixes: #i117398# allow to specify selection colors in table/grid
...
Conflicts:
toolkit/inc/toolkit/helper/property.hxx
toolkit/source/controls/grid/defaultgriddatamodel.cxx
Change-Id: Ie863aa7cecb4c7bda230ab829e6090689518dab8
2012-09-14 09:38:47 +02:00
5200140683
DefaultGridDataModel::getRowData: use o3tl::select1st
...
Change-Id: I785588971d0f42596802276d3d08222204387b98
2012-09-14 09:31:54 +02:00
5df47e4bb0
gridfixes: #i117398# added XGridDataModel::getRowData
...
Change-Id: Ic08c2d54a76f2a2821822ec4b275883e4445c70c
Reviewed-on: https://gerrit.libreoffice.org/543
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:29:06 +00:00
a5d4e7806c
gridfixes: #i117398# cleaned up the row selection API
...
- made explicit that it is about row selection, leaving room for a future selection of columns
- some changes for consistency
- do not derive XGridControl from XGrid(Row)Selection, those two are orthogonal
- published involved UNO types
Change-Id: Ie97de42a9ea70a0191657f898ca9d59706e23290
Reviewed-on: https://gerrit.libreoffice.org/542
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:19:55 +00:00
d4e79eb8f8
gridfixes: #i117625# recognize unsuccessful sorting attempts
...
and do not claim to be sorted afterwards
Change-Id: I3d71d45893563eac3b59e865aa1aa8d31e8154a8
Reviewed-on: https://gerrit.libreoffice.org/535
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:00:55 +00:00
7bfbc9523f
gridfixes: #i117188# remove column sort when rows are inserted
...
Change-Id: I43b041583c20b47c0fd33a9b5deadffe6fd8f273
Reviewed-on: https://gerrit.libreoffice.org/532
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 06:58:40 +00:00
4597483e00
targetted VBA re-work.
2012-09-12 12:49:49 +01:00
a9b9ffacac
blind fix for toolkit_unoapi
...
Change-Id: I545b712c5fb72d8de415752b7fb4ec20ab3fcee0
2012-09-11 17:48:21 +01:00
65d4139d14
Missing "this->" qualification
...
Change-Id: I341e73bd2d8a240c4e31916393729efba8d9a4e2
2012-09-11 17:22:15 +02:00
fc2d90bf8d
-Werror=unused-but-set-variable
...
Change-Id: I66c577b3d22a64a09412bd18a46d8d45eb6d1142
2012-09-11 17:22:13 +02:00