summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)AuthorFilesLines
2012-09-12Resolves: rhbz#855972 crash on switching to outline viewCaolán McNamara1-1/+3
Change-Id: Ic2675e9d1d8ce6bb67e9c9e4db292f79c4240409 (cherry picked from commit d1c1cce4ec0222ac50f9f78ddf5f4ce7aa7377ab) Reviewed-on: https://gerrit.libreoffice.org/598 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-09-10fdo#47368: Remove event listener also in Invalidate()Tor Lillqvist2-0/+9
Change-Id: Ifa3d7ff400137b4560fa0ff890cd211147c5c234 Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2012-09-05fdo#53872: reportdesign: fix section drawpage crash:Michael Stahl2-6/+11
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 Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2012-08-29fdo#53888: svx: do not link against dbtoolsMatúš Kukan1-1/+0
dbtools were added in 01089138cc76f5717244bd04f25a868602aeaab6 only to create dependency and fix the build. This creates circular dependency for libmerged, dbtools is not that common library. It's better to create real dependency in connectivity_inc package. To avoid another circular dependency gb_YaccTarget_get_header_target must not depend on external headers target. Change-Id: I431513d0b7a895b471eeec854b3b3f1fd69503af Reviewed-on: https://gerrit.libreoffice.org/470 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-08-23fdo#53888: svx: fix dependencies:Michael Stahl2-1/+1
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 (cherry picked from commit 01089138cc76f5717244bd04f25a868602aeaab6) Reviewed-on: https://gerrit.libreoffice.org/456 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-08-20fdo#47434: Zero rect. size causing wrong line positions.Muthu Subramanian1-0/+4
Thanks to Korrawit Pruegsanusak <detective.conan.1412@gmail.com> for the indepth analysis and debugging. Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-08-10Minor cleanup.Jan Holesovsky2-10/+10
Change-Id: I087043b36d59e1a76c6fe12a5a684c4137eca2d9 Signed-off-by: Andras Timar <atimar@suse.com>
2012-08-10fdo#37791 Insert selected text to Findbar by Ctrl FZolnai Tamás2-19/+32
The dispatch function of FindbarDispatcher class is called when Ctrl+f is pressed. This function makes Toolbar visible and takes focus to TextField. So expand this function to insert the selected text to TextField at the same time. With dynamic_cast convert Window pointer, which point to the TextField and call TextField's new function: SetTextToSelected_Impl(), which makes the mentioned insertion. Plus make a little cleanup. Replace one string, which is defined by a macro. Change-Id: I2a8a3b10a016f5b28ea58fa3e63a3f31c9a816bf Signed-off-by: Andras Timar <atimar@suse.com>
2012-08-10fdo#49750 Search Toolbar keeps its historyZolnai Tamás2-0/+25
Until now, only the ToolBar's TextField stored the history, but this is destructed when ToolBar is closed. The "Manager" class is alive in case of Toolbar's invisibility, so I made this class to store history temporarly. Change-Id: I816dd3c83440000ab4e6caaeb2cccf390d3042fd Signed-off-by: Andras Timar <atimar@suse.com>
2012-08-10fdo#46968 fixing undo of textbox resizingUray M. János1-1/+1
Change-Id: Ic647e5c337987985f749b67113892a01f74ee8f9 Signed-off-by: Andras Timar <atimar@suse.com>
2012-07-24Fix fdo#51943 - prevent lose focus event to close popup.Thorsten Behrens2-7/+16
This is a follow-up bandaid for fdo#48096 side-effects, which in turn was a band-aid for side-effects caused by ooo-build's toolbar-decorations-svx.diff. Fix instructs vcl to not auto-close the floater on losefocus events, which at least on OSX comes _before_ we even see the mouse button down event. Change-Id: I21896c4169addffdf2af920a37e0e3786438cc4e Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
2012-07-23fdo#44534 invalidate bound rect after drag&dropDavid Tardon1-0/+2
Change-Id: Ie3319870ae26e9e2cac32641a33be62e4e020c02 (cherry picked from commit b480f91968a3df16a655585fba494425aea725dc) Signed-off-by: Caolán McNamara <caolanm@redhat.com>
2012-07-09- fdo#45830 - Language/User Interface: current choice indicated as defaultRob Snelders2-0/+12
Change-Id: I3ac2e8e3219c12be84ce38cb98342f0dce0d6476
2012-07-04replace enum SvxBorderStyle with css::table::BorderLineSyleMichael Stahl5-14/+21
Change-Id: I1dadb53f46b23f92d34061ef78dda872bdbcda67 (cherry picked from commit 8b4593948582c3b5b3d013bd751bb19ffd37a31b)
2012-07-04rename SvxBorderLine::SetStyle to something unambiguousMichael Stahl4-10/+14
Change-Id: Iec70985319a64cdc3630e15499ac304a7f1aabae (cherry picked from commit 463e59d680467a7b0d30ae956935a444c513de9e)
2012-06-22use generic names rather than specific algorithm names when scalingLuboš Luňák1-1/+1
The Lanczos scaling is of very good quality, but it's rather slow, which can be very noticeable with large images, so it's not a very good default for everything. And in general, it's not good to refer to a specific algorithm when all one usually wants is fast/default/best. Some of these changes are a bit of a guess between default/best, but the general logic is that best should be used only for images that won't be large or where the possible waiting does not matter. Conflicts: svtools/source/graphic/grfmgr2.cxx Change-Id: I53765507ecb7ed167890f6dd05e73fe53ffd0231
2012-06-05Use BMP_SCALE_LANCZOS instead of BMP_SCALE_INTERPOLATE.Jan Holesovsky1-1/+1
Where we explicitly ask for better quality, use BMP_SCALE_LANCZOS, instead of BMP_SCALE_INTERPOLATE. Change-Id: I28ddf3290204532a8660e09ee9ab0949b6ce1c73
2012-06-05drop a XubStringCaolán McNamara1-1/+1
Change-Id: Ibf53fc9f2ae47101c5631147f383f5452a7bfe62
2012-06-04fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin1-88/+82
Update calls to factories to use new ::create methods Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-02targeted string re-workNorbert Thiebaud5-55/+55
Change-Id: I33d07b10cd862d601604a557382a4ab66f67a1fd
2012-06-02targeted string re-workNorbert Thiebaud6-21/+21
Change-Id: I8256b300bd50e0aed8bee364ebe518087969d184
2012-06-02targeted string re-workNorbert Thiebaud6-60/+60
Change-Id: I2bc945813d433a32dd7102a539105a3247e72d2c
2012-06-01targeted string re-workNorbert Thiebaud6-72/+70
Change-Id: I91a8a1410fc9a3a48b77f980c01b51bdacf6b02b
2012-05-31rtl::OUString::intern( blabla ) -> rtl::OUString( blabla )Fridrich Štrba1-1/+1
Change-Id: Ic114483f4fea528eaf9cd1f8eeb561693feb0664
2012-05-30targeted string re-workNorbert Thiebaud7-44/+44
Change-Id: Id47f6b85f2516826108ea2b2be9ef6fccf1ba264
2012-05-31nuke unused typedefTakeshi Abe2-3/+0
Change-Id: I8848d0e687c3b19be1a8bc1f41c2a0c94e13bbbf
2012-05-30svxcore: needs also generated header from connectivityMatúš Kukan1-0/+1
Change-Id: I4279f9e6024e7128286e8b2d6343deee944866b2
2012-05-29targeted string re-workNorbert Thiebaud1-8/+8
Change-Id: If9a9889fa36bc76c9afed295568ed9a05de4587f
2012-05-29targetted SAL_N_ELEMENTS reversion.Michael Meeks15-33/+33
Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
2012-05-29svxcore needs headers from connectivityDavid Tardon1-0/+4
Change-Id: I929dc661bde5eb7ff49831d5c041c62d808a6219
2012-05-25status bar: Get rid of STD/BLK/..., and introduce a menu for that instead.Jan Holesovsky5-92/+141
Nobody know what these acronyms stay for; so instead use an icon, and a menu that contains the full descrption. Tooltip now says what is active. Change-Id: I21a67c5456c96081797c1cb88d2a980d161a1c0c
2012-05-24Removed unused SfxMedium::bDirectStephan Bergmann6-7/+7
See the TODO comment in sfx2/inc/sfx2/docfile.hxx about a temporary SfxMedium ctor overload to find not yet adapted uses of another overload, to be removed again in due time. Change-Id: Ie22c33c32f8870ce6ebf6d500abc7a4e33d97183
2012-05-24convert ResStringArray to rtl::OUStringCaolán McNamara4-9/+7
Change-Id: I51b86a10caa5da6e12583c2b22404b0d9282b13d
2012-05-23status bar: INSRT/OVER -> 'Overwrite' shown only when in overwrite mode.Jan Holesovsky3-15/+25
Idea by Mirek M. - thank you! Additionally introduced a tooltip showing more verbose text when in overwrite mode. Change-Id: I1236253bc6c97809ebed872fe86233cc08f41345
2012-05-22zoom slider: Implemented design by Mirek M.Jan Holesovsky2-40/+16
Simpler, and more light-weight now. Change-Id: I1d512f92714b0836dc75a187024af263e208484f
2012-05-21deleting NULL is safeTakeshi Abe1-4/+2
Change-Id: Iad17d77d61eccf0973fff0da91089e7a59fc9df0
2012-05-21removed unused #definesTakeshi Abe1-4/+0
Change-Id: I2aeba0342e46c3a4bd50f49b8a43ebb125269dfa
2012-05-19Fix Prefer prefix ++/-- operators for non-primitive typesJulien Nabet2-7/+7
Change-Id: I4ebb1027151c3bc34f81fb1e13de6c4c5cfed54d
2012-05-17removed unused const rtl::OUStringTakeshi Abe6-8/+0
Change-Id: I7c3409ac39e690fcf2f7e4085bf6857e6bd182fb
2012-05-17fdo#49921 make sure all tab pages have the same dimensionsDavid Tardon2-3/+3
The reason is that they can be combined arbitrarily in dialogs, so changing, e.g., height of one tab can lead to "interesting" results. Cf. commits 8631dbf85fb5ed56d225e32ea5a9c36c96b0d649 and 29042d096a2c5812ae179e1553367afd21b0f71e that were the cause of the problem described fdo#49921. Change-Id: I9995002a2bd5c3604bdfa06dc817916ce61c558d
2012-05-16removed unused constant rtl::OUStringTakeshi Abe1-3/+0
Change-Id: I173275e0f8faa852500d108f65636080f79636c6
2012-05-16remove unneeded include of boost/bind.hppCaolán McNamara2-2/+0
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-14convert GetComment family to rtl::OUStringCaolán McNamara4-45/+45
Change-Id: I563ab83a24ca4f839892548b350486e83dd071d3
2012-05-14fdo#49750 findbar: try to fill empty textfield with selected textMiklos Vajna1-1/+19
Change-Id: I583bb91e7fc325557abcc0756506133112da895c
2012-05-11Removing EXTENDED_DATE. There is really no such thing.Kohei Yoshida1-1/+1
This can be safely substituted by the normal DATE. Change-Id: I I6b4ccfa342a8d7b638b013cdce64a0b7ff477ec0
2012-05-11removed unused static dataTakeshi Abe1-4/+0
Change-Id: I76d0aaaee472e1ce114b98c22a7e8e570d5f45c5
2012-05-10normalize variable names in gbuild user makefilesMichael Stahl1-10/+10
Variables should have module name as prefix to prevent collisions.
2012-05-05Resolves: fdo#49340 GetFocus during dtoring causes reentry to dying windowCaolán McNamara1-0/+1
Change-Id: I79cf2dcd3e1126e95a8d89d7ebcfea0c06cbdb05
2012-05-05Use UNO's field type values for the SvxFieldData class IDs too.Kohei Yoshida1-1/+3
Change-Id: I Iae5abcd0936f176b0b8976b6ea50cfe3e18593b4
2012-05-02!= instead of < for comparison with end iteratorJulien Nabet2-3/+3
Change-Id: I7baa34c1cf7161fb55914d41b451b842ad4ab0c8