summaryrefslogtreecommitdiff
path: root/svx/source
AgeCommit message (Collapse)Author
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
2012-09-04n#777699: Clip the objects to the pagewe are paintingCédric Bosdonnat
Change-Id: I78ac7de5346a2adea9a2c6cf3cbb0321e05d79dc
2012-09-03More places that require a prefixed "system"Stephan Bergmann
Change-Id: I49cf1f02faf70a5a92ab45e7678253ba4e5f68d0
2012-09-03fdo#46808, Adapt util::NumberFormatter UNO service to new styleNoel Grandin
Create a merged XNumberFormatter2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I57f35cde0a9dbbe91c1d2c3d068cb3a97c7245e3
2012-09-03fdo#46808, Adapt system::SystemShellExecute UNO service to new styleNoel Grandin
Change-Id: Ib298b3219c3e89dd35bce0974846ed4888ed941e
2012-08-31SdrModel: make sure undo/redo stacks are not emptyIvan Timofeev
most probably Undo() does not get called if there is no undo actions, just to be on the safe side. Change-Id: I3597698dbe8208916be94ebddd7260fbd7eadc74
2012-08-31remove SdrObjRefList, use vector directlyIvan Timofeev
also prevent using operator[] on empty vector Change-Id: I0582ab1c7fd04a0bc6d717d8ca51670c3e5ef1c9
2012-08-30fix buildCaolán McNamara
Change-Id: I3642501e83247d6f88a3436c795be2acd794a4d2
2012-08-30SdrMarkList: fix STL conversionIvan Timofeev
regression from aa11e7bae89fe691f914abb27d1c4a03d27a7ee5: Container::GetObject returned NULL if the index is out of bounds, and callers seem to rely on that. Change-Id: I4c9f5249514efad0d516b6ffd6f04dadb019052f
2012-08-29String::Expand -> string::padToLengthCaolán McNamara
Change-Id: I684e371c31ba76d2e9b563eed70449764346161b
2012-08-28-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann
Change-Id: I2a181d1442ef3b41ecba009d160d2d18d6fb71ac
2012-08-27fdo#46808, Use BreakIterator ::create methodNoel Grandin
Change-Id: Iff603ebe772cfcd34ed3669ce46bc9112ba902ae
2012-08-22Some cleanup for better localizationZolnai Tamás
First: localization tool can not recognize id because of empty line between id and its definition Second: same problem because of comment between type and id Change-Id: If42af406fab252ccae0a6bbc478bab8130210b21
2012-08-22fdo#53888: svx: fix dependencies:Michael Stahl
It appears that since cd0046bca0691fdca45a030903b7cde3bfee544c, 2 tinderboxes fail on including the generated sqlbison.hxx; it turns out one of the inclusions of that in svx is unnecessary and the other is used to call a virtual function, which can apparently be done without linking; just link svx to dbtools anyway, that should fix the build. Change-Id: I7f7b1c4e9561c4dd2b820b173d05bdd5d4c6ba6d
2012-08-17bnc#741480: adjusted display of Bracket/BracePair in pptFelix Zhang
Change-Id: Ia4bbce74e2c1a5f46e0b1a73940aeb2ce8fc6ab9
2012-08-16svdotxat.cxx: MSVC needs set includedMichael Stahl
Change-Id: I8cc16c16c3884c5451b643b7de848aad15f02fcf
2012-08-16Convert local variable from Container to std::vector and std::setNoel Grandin
Change-Id: I0b15939e1d04a3a2a5f8a4e2df8f0826903a8811
2012-08-16Convert maHandles field from Container to std::vectorNoel Grandin
Change-Id: I28d96586e7e48209021abed73959e8a5e6dc2d61
2012-08-16Convert aList in SdrObjRefList class from Container to std::vectorNoel Grandin
Change-Id: Iee505825f46434b09c73679e1439f99afc631336
2012-08-16Convert pRedoStack in SdrModel class from Container to std::dequeNoel Grandin
Change-Id: I0535175c4881a1ea55d7cb7361ae78bb81aa10c6
2012-08-16Convert pUndoStack in SdrModel class from Container to std::dequeNoel Grandin
Change-Id: I59425c7d1e8603f45d193ae5e3498f8671510bc5
2012-08-16Convert aBuf in SdrUndoGroup class from Container to std::vectorNoel Grandin
Change-Id: I0635ed333033ce37eb86b360fd0ee0d77b8dc47a
2012-08-16Convert field from Container to std::vector in SdrPageGridFrameListNoel Grandin
Change-Id: I5940936e986b2f6580ca9ce973359d8179631f8c
2012-08-16Convert maPages field in SdrModel class from Container to std::vectorNoel Grandin
Change-Id: Id36c3c414429d8f0e16f8e479f9946511b1e377f
2012-08-16Convert maMaPag field in class SdrModel from Container to std::vectorNoel Grandin
Change-Id: I232ad32be90d93fe35a6cf089373e5a830e62113
2012-08-16Remove unused fieldNoel Grandin
Change-Id: I962c2bbd29b2ce2e39bf0f9db4c12fc5535cf4f6
2012-08-16SdrMarkView::UndirtyMrkPnt: set::erase returns void in C++98Michael Stahl
Change-Id: I5c1c06de9f149f77d2235684239ad077d28e64ba
2012-08-16Convert aLayer field in SdrLayerAdmin class from Container to std::vectorNoel Grandin
Change-Id: I884f8e76d0bc7b2eb9f99434809fa824409446e4
2012-08-16Convert aList field in SdrHelpLineList class from Container to std::vectorNoel Grandin
Change-Id: Ie91548bfad1cd60d8926cb5cc729a07f539590a1
2012-08-16Convert aList in SdrGluePointList class from Container to std::vectorNoel Grandin
Change-Id: I401b01d5d1072262d0bd2b85298751c9180004d3
2012-08-16_SdrItemBrowserControl::SetAttributes: fix previous commit:Michael Stahl
Since the element is no longer removed in the loop the same element is deleted over and over; also the erase should be from nEntryNum to end. Change-Id: I5767d5e453b5b9b05fe1869ab8915f23c30aab14