summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2012-10-11Let's make these calls explicit too to prevent infinite recursions.Kohei Yoshida
Change-Id: I9671715ce9ed06b032cf236e843c9ea0f09513a9
2012-10-11Merged SvTreeListBox and SvLBox.Kohei Yoshida
There is no reason to keep SvLBox separate. Change-Id: I0b34aa8f8ca539d4f4f0f9cea9fa9b8faec241e8
2012-10-10add missing dep on sfx2 headersDavid Tardon
Change-Id: I93b48313501f97c9934b1a7368e289e9a3ca5a76
2012-10-09String->OUString in svl::ImpSvNumFor::GetNewCurrencySymbol methodNoel Grandin
Change-Id: Ie283a02903b0bf420291e1e4e1e29232cc7ff3a9 Reviewed-on: https://gerrit.libreoffice.org/771 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-07Handle lack of module loading/unloading API when DISABLE_DYNLOADINGTor Lillqvist
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-06Bin unused leftover "dummy" fieldsTor Lillqvist
Change-Id: If16fcbb58234a9f1b7e07718f77909273f1fbbd4
2012-10-05SvxHFPage: add UI for style::PageProperties::FirstIsSharedMiklos Vajna
Change-Id: I76828a865751a8f29aeff40ccf7feb400692c43b
2012-10-04fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin
The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-10-04Fixes/improvements on previous commitStephan Bergmann
* UUIInteractionHandler still needs to implement XInitialization. * Moved ambiguating InteractionHandler typedef out of the way. * Removed InteractionHandler.createDefault, as it was originally stated that "it is strongly recommended that [the "Parent"] property is supplied." * Added back documentation about Parent and Context. * Simplified some call-sites to directly use XInteractionHandler2. Change-Id: I1029b8f3cf079171c75920cafaaa44b5bbada883
2012-10-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin
Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-10-03XubString->OUStringCaolán McNamara
Change-Id: I40a4efb5ffed5f8592651ef70eb99d4285a7cddd
2012-10-02XubString->OUStringCaolán McNamara
Change-Id: I49d2d41ad4d5ee4ececf5a57eae070898e33075f
2012-10-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini
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-01Deduplication of ImplGetSupportedMacroItems for disable-dynlinkingTor Lillqvist
Change-Id: If6fb0a2152041f65d2e4b38dfbf87491b323f28f
2012-09-29Use comphelper::getComponentContextStephan Bergmann
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-28Unwind some of the resource ID nastiness between sc and svx.Kohei Yoshida
Never reference SC resource ID's in svx. That's just asking for trouble. Change-Id: I893de42891fbc05a2824360c52f2b74ead60f60c
2012-09-28another oops in svx...Michael Stahl
Change-Id: I0f9de9ed23d160a8c3cf6a9db8eece95b4e8795a
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:Michael Stahl
add a new gb_LinkTarget_use_system_win32_libs to abstract different linker options on MSVC and GCC. Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-09-28gbuild: gb_Library_PLAINLIBS_NONE cleanup for MacMichael Stahl
Change-Id: I66f8229e186e312ed3242695db9ef0768ab4d9a0
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28convert GetRepeatComment to OUStringCaolán McNamara
Change-Id: Ibf75533d04b3c68b875f44ad22639934578867e3
2012-09-28adapt insert character dialog to new layoutCaolán McNamara
Change-Id: I5561c2684d0957b65aef0d139e9210ebdd703153
2012-09-28adapt zoom dialog code to layout widgetsCaolán McNamara
Change-Id: I7da387db88b8a4449dc1dc7099527f786b0d565e
2012-09-28convert hard-coded layout of char name tabpage to .uiCaolán McNamara
Change-Id: I20829b6a0835bf96489d67b6f7effcfa84650328
2012-09-28convert hard-coded layout of two-lines tabpage to .uiCaolán McNamara
Change-Id: I87da59af50420993303111dae0ec4456ae15cc20
2012-09-28convert code to use new table width dialogCaolán McNamara
Change-Id: I50ac81a34945760ccb053ae1c8e328bbdff1a944
2012-09-28having two SetPosSizePixel is a blasted nuisanceCaolán McNamara
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-28implement a basic optimal size for the preview windowCaolán McNamara
2012-09-27fdo#46808, Adapt sdb::DatabaseContext UNO service to new styleNoel Grandin
Create a merged XDatabaseContext interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Quite a few IDL files had to be marked as published for this to work. Change-Id: Ie9a0da88d8c33cc83fc9d2334ff83ab2744c222f
2012-09-27sw: implement page-relative size for drawing objects and import them from docxCédric Bosdonnat
Change-Id: I98b5c53d4860278e3646324ca045114e37b4cf61
2012-09-26Change the image rotation widget to better looking DialControlTomaž Vajngerl
Change-Id: Ie11827a924a5b22d86bad24aa7f14a66b870e90c
2012-09-26Fixes Circular arrow distortion, Bug #46272Lennard
Distortion occurred when angle mod 90° != 0 All of my past & future contributions to LibreOffice may be licensed under the MPL/LGPLv3+ dual license - Lennard Wasserthal Change-Id: I4af7e7f1dcbc4d1262592c362532df4957e52399 Signed-off-by: Lennard <Wasserthal@nefkom.net> Reviewed-on: https://gerrit.libreoffice.org/679 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
2012-09-25cope with thumbnailing both linked and embedded media correctly.Michael Meeks
2012-09-25Avoid a temporary.Thorsten Behrens
Change-Id: I72bbb175f9bd2fa01800d108254c3385fd991cd0
2012-09-25substantially accelerate slides with media on them.Michael Meeks
Don't pre-roll, and re-snapshot the video for every move of the mouse, click, partial re-render etc. Cache that instead on the SdrMediaObj. Remove unused setGraphic method. Change-Id: Id2af2f0bba857078480783dd6a7ee89f9b331b1b
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud
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-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-18Make getProcessComponentContext/ServiceFactory throw instead of returning nullStephan Bergmann
...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-18deprecate oustringostreaminserter.hxxNorbert Thiebaud
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-17XubString->OUStringCaolán McNamara
Change-Id: Ic8b191dfb0d14e129dc804aeb4ac14c732e72e6b
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann
* As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-14next attempt to fix bug 35079Lennard Wasserthal
Removes the hidden frame. That frame really doesn't seem to be needed, not even for exporting, though. Change-Id: I37285a9dfe46fe9263ba1f767fe69a59226e342a Signed-off-by: Lennard Wasserthal <Wasserthal@nefkom.net> Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
2012-09-13Hide dtor details behind SVX_DLLPUBLICStephan Bergmann
Change-Id: I442e114322d2a70fbfbdaa2aa197146c0cffa4bd
2012-09-11XubString->rtl::OUStringCaolán McNamara
Change-Id: If7e5d015c95f8f173750ca32e061d69f56e2d93e
2012-09-10Resolves: rhbz#855972 crash on switching to outline viewCaolán McNamara
Change-Id: Ic2675e9d1d8ce6bb67e9c9e4db292f79c4240409
2012-09-09fdo#47368: Remove event listener also in Invalidate()Tor Lillqvist
Change-Id: Ifa3d7ff400137b4560fa0ff890cd211147c5c234
2012-09-05fdo#46808, Adapt frame::ModuleManager UNO service to new styleNoel Grandin
Create a merged XModuleManager2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Explicitly document the XNameReplace interface in the IDL, which is already implemented by the service, since there is code currently using it. Change-Id: Ib46349174b1ce495c240031e93c9427fc33d9853
2012-09-04fdo#53872: reportdesign: fix section drawpage crash:Michael Stahl
In order to wrap the SdrPage's UNO object completely, set its mxUnoPage member to the OSection wrapper instance in OSection::init; only OSection should have access to it. Also initialize m_xDrawPage_Tunnel (thanks Lionel for the hint). (regression from 05218c101df486302bf4cfe8be23ad840daa3f73) Change-Id: I048ddafc31e946853e56e6a403ddc9487cfbcf0e