summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/textsh.cxx
AgeCommit message (Collapse)Author
2015-11-09formatting improvements in sw/Noel Grandin
after my recent "com::sun::star->css in sw" commit Change-Id: I2545648fc6f14ea0ebcabbe012e91546cf392b16
2015-11-06com::sun::star->css in sw/source/coreNoel Grandin
Change-Id: I30016977f1be8fb53dd239367d043de92a9467d9
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
Change-Id: I55970d363ab53eb78d580192006e52d9240d46fb
2015-10-20loplugin:defaultparamsStephan Bergmann
Change-Id: I11ff551955c1ac291ab576f2f18c2dd410427eda
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: Ib5b0e87064b6dcff03f6b77287a80ee2a03b8799
2015-10-16sfx items: Kill the unreadable & misplaced SFX_ITEMSET_ARG too.Jan Holesovsky
Change-Id: I1e0f96dce2b9cf9da32f4f577cf76e1d8824d37a
2015-10-16sfx items: Kill the unreadable SFX_REQUEST_ARG, use a template param instead.Jan Holesovsky
Change-Id: I7130f7a84077a63cdc0ca1e131a4d90469eac90d
2015-10-16sfx items: The bDeep parameter of SFX_REQUEST_ARG is always false.Jan Holesovsky
Change-Id: I6d4f4cd09c83f94b26dd90577bdc6bc3226f58ab
2015-10-16sfx items: The bDeep parameter of SFX_ITEMSET_ARG is always false.Jan Holesovsky
Change-Id: Ifdffc82c9b4ec2e534204294575a78e34e0338c1
2015-10-09tdf#94679 Writer: fix lost selection with Shift-PageDownJustin Luth
Push/Pop-ing the cursor led to selection loss. SelectHiddenRange() immediately returns false if the current cursor hasMark(), so avoid all of the bugs and expensive push/pop routines when there is a mark already. Change-Id: I4624a3e0b2267942812d0429d527ad97962ec7fc Reviewed-on: https://gerrit.libreoffice.org/19108 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-06 tdf#94559: 4th step to remove rtti.hxxOliver Specht
replaced use of PTR_CAST, IS_TYPE, ISA in idl, editeng, sc, sd, sw, sfx2, sot, starmath Change-Id: I4a5bba4fdc4829099618c09b690c83f876a3d653 Reviewed-on: https://gerrit.libreoffice.org/19132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-10-06tdf#93720: Interactive frame insertion is disabled if table is selectedOliver Specht
Current implementation does not support interactive frame insertion that moves the table into the frame Change-Id: I57a69f680f1218bd3014da494d41542ad0b72dd1 Reviewed-on: https://gerrit.libreoffice.org/19157 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-08-21loplugin: defaultparamsNoel Grandin
Change-Id: Id6466f7c6d333ecf157c1de4197df394b60d0627
2015-08-03sw: boost::scoped_ptr -> std::unique_ptr in textshMiklos Vajna
Change-Id: I60eb5e1bca50d0e35f0bec63f0e274bee68fc5f7
2015-07-31Extract SwTextShell::CreateInsertFrameItemSet() from SwTextShell::ExecInsert()Miklos Vajna
Change-Id: I94ecd7c391c656e86918a227d344a24eef893577
2015-07-31tdf#88986 sw: add missing XPropertyList pool items on TextFrame insertionMiklos Vajna
Regression from commit 6e61ecd09679a66060f932835622821d39e92f01 (Merge back branch alg_writerframes to trunk, 2014-03-19), the problem was while SwFrameShell::Execute() was modified to put the various pool items related to fill types (colors, gradients, etc) to the item set of the dialog, the same was missing in SwTextShell::ExecInsert(), so colors were missing on inserting a new frame, but not when editing an existing one. Change-Id: Id009f914c1c3b6509e31a4887e32a00624678cf4
2015-07-06improve the returnbyref lopluginNoel Grandin
Change-Id: I1b510a6194282dfa4a9001d473127c5ebc8b44eb Reviewed-on: https://gerrit.libreoffice.org/16731 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-26loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann
Change-Id: Idb9f1439a786d90679ed6eb95153844332e44b02
2015-05-26Global CptlSttWrd and CptlSttWord -> CapitalStartWordJan Holesovsky
Change-Id: I550456ae319a6a865f2ee951a1ddf70384ce33ef
2015-05-26Global CptlSttSntnc -> CapitalStartSentenceJan Holesovsky
Change-Id: Id428332201f14b172af1590baed6aa2a67e0557a
2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2015-04-17convert SCRIPTTYPE_ constants to scoped enumNoel Grandin
Change-Id: I5be3980ac865162d8d7626556ca47eca4b0ee433 Reviewed-on: https://gerrit.libreoffice.org/15344 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-10convert SfxObjectCreateMode to scoped enumNoel Grandin
and fix some dodgy usage in /sc in the process Change-Id: Ia2bee267df31aba431fc8cb81195bb83e5b64deb
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-01convert BOX_LINE and BOXINFO_LINE to enum classNoel Grandin
since their usage is intertwined. Also introduce new o3tl utilities enumrange and enumarray to make working with scoped enums a little simpler. Change-Id: I2e1cc65dd7c638e59f17d96dfae504747cad6533
2015-03-11convert SetAttrMode to enum classNoel Grandin
Change-Id: If7dd0c49480756afb7d4eaaba597ecc305c35f64
2014-12-02loplugin: cstylecastNoel Grandin
Change-Id: Id70cf0a2412de5d9b202b8209f0376c2f62a0669
2014-11-26loplugin: cstylecastNoel Grandin
Change-Id: Idce7220056f7bc339a5060fd0bd6fbbbdde4f6ff
2014-11-25We now only need one bit of information hereCaolán McNamara
whether there *is* an id, or whether there is not an id. An id of 0 seems to be used as a flag that an interface is some sort of superclass which can be subclassed by something else and have its toolbars etc reused. Convert this to a bool so we don't need an a resource id for each one and just drop the third arg for the normal "final" case and use a different define for the inheritable case Change-Id: I98380f03d73d57bf8cba02d339097e384518abaa
2014-11-25loplugin: cstylecastNoel Grandin
Change-Id: I030208a86a60609b0379c00957538677fac15ccf
2014-11-24so these ResIds are only being used for the numerical valueCaolán McNamara
Change-Id: I21c67b56424de59d7231f8420055775cd5f67aae
2014-11-16makeAny(sal_True/sal_False) to makeAny(true/false) in swMatteo Casalin
Change-Id: Ie368fecd39189dc6ea72737b0c695c55a2d350a9
2014-09-18fdo#82577: Handle FontNoel Grandin
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-09-12Turn SfxItemState into a C++11 scoped enumerationStephan Bergmann
...to gain further confidence in the claim "that none of the existing code tries to uses combinations of these enum values" (d92602c5b13d0a60439d86c5a033d124178726ca "more fixes for SfxItemState") Change-Id: I987922d945e8738e38adfde83b869adf3ff35b13 Reviewed-on: https://gerrit.libreoffice.org/11384 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-08-12-Werror,-Wundefined-bool-conversionStephan Bergmann
Change-Id: Iff8db4c82abeeed0789d7012223a846f1058c353
2014-07-26Massive 'Dialogdiet fail' and similar to 'Dialog creation failed'Matteo Casalin
Change-Id: I6ca6914e80c186699df42253de46a3690c5130f2
2014-07-26sal_uInt16: avoid temporaries, simplify, constify, use USHRT_MAXMatteo Casalin
Change-Id: Ibfa44aa10d08ac1b19b7d34790f76effc9de0c9c
2014-07-15Refactored IDocumentChartDataProviderAccess in SwDoc.Valentin Kettner
Into the new class DocumentChartDataProviderManager. Change-Id: I3be038ba276642546223c0c2fba3bea21980b33d
2014-06-13Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I986805143615f053b918fb1e64b0b24d6f76f2de
2014-05-27sw: move sw/source/core/uibase to sw/source/uibaseMichael Stahl
It's too confusing to have UI code inside of core; the important part is that it's separated from the optional UI code in swui library. Change-Id: I640a52723d5802faf08f3b8eaa03cd937fd93449