summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Expand)Author
2012-08-24fdo#53888: svx: do not link against dbtoolsMatúš Kukan
2012-08-22Some cleanup for better localizationZolnai Tamás
2012-08-22fdo#53888: svx: fix dependencies:Michael Stahl
2012-08-22Use typedef instead of trivial inheritanceStephan Bergmann
2012-08-21add more runtime deps on resource files for unit-testsMatúš Kukan
2012-08-17bnc#741480: adjusted display of Bracket/BracePair in pptFelix Zhang
2012-08-17gbuild: register all jarsMichael Stahl
2012-08-16svdotxat.cxx: MSVC needs set includedMichael Stahl
2012-08-16Convert local variable from Container to std::vector and std::setNoel Grandin
2012-08-16Convert maHandles field from Container to std::vectorNoel Grandin
2012-08-16Convert aList in SdrObjRefList class from Container to std::vectorNoel Grandin
2012-08-16Convert pRedoStack in SdrModel class from Container to std::dequeNoel Grandin
2012-08-16Convert pUndoStack in SdrModel class from Container to std::dequeNoel Grandin
2012-08-16replace LIST_APPEND usage with CONTAINER_APPENDNoel Grandin
2012-08-16Convert aBuf in SdrUndoGroup class from Container to std::vectorNoel Grandin
2012-08-16Convert field from Container to std::vector in SdrPageGridFrameListNoel Grandin
2012-08-16Convert maPages field in SdrModel class from Container to std::vectorNoel Grandin
2012-08-16Convert maMaPag field in class SdrModel from Container to std::vectorNoel Grandin
2012-08-16Remove unused fieldNoel Grandin
2012-08-16SdrUShortCont: MSVC build can't link libsw if that is publicMichael Stahl
2012-08-16SdrMarkView::UndirtyMrkPnt: set::erase returns void in C++98Michael Stahl
2012-08-16Convert aLayer field in SdrLayerAdmin class from Container to std::vectorNoel Grandin
2012-08-16Convert aList field in SdrHelpLineList class from Container to std::vectorNoel Grandin
2012-08-16Convert aList in SdrGluePointList class from Container to std::vectorNoel Grandin
2012-08-16Remove unnecessary includeNoel Grandin
2012-08-16Remove unnecessary includeNoel Grandin
2012-08-16_SdrItemBrowserControl::SetAttributes: fix previous commit:Michael Stahl
2012-08-16Convert aList in class _SdrItemBrowserControl from Container to std::vectorNoel Grandin
2012-08-16Remove unused class ContainerSorterNoel Grandin
2012-08-16Convert aList in SdrHdlList class from Container to std::dequeNoel Grandin
2012-08-16Convert maList in SdrMarkList from Container to std::vectorNoel Grandin
2012-08-16Convert SdrUShortCont from Container to std::setNoel Grandin
2012-08-16Remove unused class ImpUShortContainerSorterNoel Grandin
2012-08-16Remove unused class UShortContNoel Grandin
2012-08-16Convert aList field in SdrLinkList class from Container to std::vectorNoel Grandin
2012-08-16Convert OLEObjCache class from Container to std::vectorNoel Grandin
2012-08-16Convert aPnts field in SdrDragStat class from Container to std::vectorNoel Grandin
2012-08-16fdo#53061: Work around boost::ptr_vector.insert(..., nullptr) problemStephan Bergmann
2012-08-16-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann
2012-08-15make fontwork custom shapes as one path object created from polypolygonRadek Doulik
2012-08-14fdo#47434: Zero rect. size causing wrong line positions.Muthu Subramanian
2012-08-13Convert from tools/list.hxx to tools/contnr.hxxNoel Grandin
2012-08-10fdo#37791 Insert selected text to Findbar by Ctrl FZolnai Tamás
2012-08-10Remove misleading commentStephan Bergmann
2012-08-09gstreamer: make gstreamer 1.0 and 0.10 dual compileMichael Meeks
2012-08-09Minor cleanup.Jan Holesovsky
2012-08-09fdo#49750 Search Toolbar keeps its historyZolnai Tamás
2012-08-08reduce ascii noise and useless commentsThomas Arnhold
2012-08-08remove include comments and boxesThomas Arnhold
2012-08-08STL'ify SV_DECL_IMPL_PERSIST_LISTNoel Grandin
e split items are created in ParseCSS1_* functions and then converted later if necessary. WW8 import has some weird code as well, SwWW8ImplReader::Read_LR() creates 3 items and then something wants to set every item on its own so SwWW8FltControlStack::SetAttrInDoc() turned out rather weird. Convert the paragraph dialog to handle the split items (by mapping them to SID_ATTR_PARA_FIRSTLINESPACE/SID_ATTR_PARA_LEFTSPACE/ SID_ATTR_PARA_RIGHTSPACE), but the SvxRuler looks a bit more confusing so convert in sw shells for now and leave that for later (also unclear if changing these slot items like SID_ATTR_PARA_LRSPACE breaks any ABIs?). Change-Id: I40431821868fd3e1cceba121b5539ff9ae6befbc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147024 Tested-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> 2022-11-22loplugin:unusedfields update the post-process scriptNoel Grandin (*) ignore temporary fields in lambdas (*) don't ignore the vcl/weld stuff anymore Change-Id: I4cda18f779588409891a2b2f8b1371e60f9b9ac0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143090 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2022-11-22loplugin:unusedfieldsNoel Grandin Change-Id: I4487f1b3bb051e1eb48226eb52a6706b22493fec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143088 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2022-11-19Prepare the dialog for cell style editingMaxim Monastirsky Change-Id: I54ec1486f49f240e1ab88662b9d1b0b741cf8878 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142905 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> 2022-06-27tdf#149713 sw para dialog: gray out labels of the new optionsLászló Németh Labels of the new hyphenation options "Hyphenation zone" and "Minimum word length in characters" were always black, instead of gray, when Hyphenation is disabled. Follow-up to commit 7a1d4b7d1db93ca1f541856a8d00d621d50e7bd6 "tdf#149420 sw offapi xmloff: add hyphenation zone" and commit 29359fc15c435cec17987fd6221ab6833d38746e "tdf#149324 sw offapi xmloff: add option to not hyphenate short words". Change-Id: Ic41c2fa0fa69385013b1e90568084956cc5d791d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136367 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org> 2022-06-02tdf#149420 sw offapi xmloff: add hyphenation zoneLászló Németh Add hyphenation zone support, i.e. allow the specified amount of extra space in lines instead of forcing hyphenation. It's for limiting hyphenation, used especially with not justified paragraph alignment. Note: this is an OOXML interoperability feature, used also in DTP software and CSS. * Add checkbox to Text Flow in paragraph dialog * Store property in paragraph model (com::sun::star::style::ParagraphProperties::ParaHyphenationZone) * Add ODF import/export * Add ODF unit test * Add layout test Note: extend SvxHyphenZoneItem::GetPresentation() with missing No CAPS and No last word hyphenation options. Note: fix OSL_ENSURE condition in SwTextFormatInfo::GetHyphValues(). Follow-up to commit 29359fc15c435cec17987fd6221ab6833d38746e "tdf#149324 sw offapi xmloff: add option to not hyphenate short words". Change-Id: Ib8eff6ea98a9aa5ca6cb9d17faa0bbb789687ce9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135247 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org> 2022-05-26tdf#149324 sw offapi xmloff: add option to not hyphenate short wordsLászló Németh Add paragraph property to disable automatic hyphenation of short words based on a minimum character count. Note: there is a (broken) global option for Minimum Word Length at hyphenation, see "Minimal number of characters for hyphenation" in Tools->Options->Language Settings->Writing Aids), but for better/comfortable paragraph-level adjustment of typesetting, add a paragraph property for it. The same option is available e.g. in Adobe InDesign and in CSS Text Module Level 4 (hyphenate-limit-chars). * Add checkbox to Text Flow in paragraph dialog * Store property in paragraph model (com::sun::star::style::ParagraphProperties::ParaHyphenationMinWordLength) * Add ODF import/export * Add ODF unit test * Add layout test Follow-up to commit 8c018910ae4d8701b1ce2a95727b9baed4016da3 "tdf#149248 sw offapi xmloff: add option to not hyphenate last word". Change-Id: I68715f47d17b5c022430bd0e74c88a97bc7f81f9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135028 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org> 2022-05-26tdf#149248 sw offapi xmloff: add option to not hyphenate last wordLászló Németh Add option to disable automatic hyphenation of the last word of paragraphs for better typography. Note: the same option used e.g. in Adobe InDesign, and a similar one in CSS Text Module Level 4 (hyphenate-limit-last). * Add checkbox to Text Flow in paragraph dialog * Store property in paragraph model (com::sun::star::style::ParagraphProperties::ParaHyphenationNoLastWord) * Add ODF import/export * Add ODF unit test * Add layout test Follow-up to commit 72bd0df107ee47c4d54fa88b4960d32ea03e9f69 "tdf#121658 Add option to not hyphenate words in CAPS". Change-Id: Ida29c65b5a7cbfd7c399c342781531a6fb86f639 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134985 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org> 2021-07-15WhichRangesContainer, reduce malloc in SfxItemSetNoel Grandin SfxItemSet shows up in perf profiles frequently, and the hottest part is the malloc of the two arrays we need. But most of the time, one of those arrays is a compile-time constant. So this change introduces (*) WhichRangesContainer, which manages whether the SfxItemSet owns the array it points at or not. (*) a static const member in svl::Items (idea from mkaganski) to store the data. Change-Id: Icb8cdbc4d54fd76739565c575e16a744515e5355 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118703 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2021-05-21add Toggleable as a separate thing to a ButtonCaolán McNamara and inherit ToggleButton from both it and Button Change-Id: If0e500aca8d0ffa087cb5e2bfc1786372fbff4eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115921 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> 2020-10-27Partially resolves: tdf#127279 Change "register-true" to "Page line-spacing"Seth Chaiklin in Page and Paragraph For all places in UI where "register-true" appears, change to "Page line-spacing". -For Paragraph dialog, remove section heading and rename checkbox to "Activate page line-spacing" -For Page Style dialog, change label to: "Use page line-spacing" -Add tooltip and extended tooltip in Paragraph dialog; -Shorten tooltip in Page dialog, and add extended tooltip Bonus: -Add tooltip to "Automatic" in Paragraph dialog -Remove contraction in control label (in accordance with UI guidelines) Change-Id: I826ce35051b1d2c04f0e52d4e9fe4e6cfd1d7cf9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104331 Tested-by: Jenkins Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> 2020-10-21use tools::Long in comphelper..cuiNoel Change-Id: I65167999c6049038f8f5d530a0c5cb0552ab0e06 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104609 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2020-09-13tdf#124176 Use #pragma once in cuiGeorge Bateman This commit was carried out by a Python script, source of which is at https://bugs.documentfoundation.org/show_bug.cgi?id=124176#c97. Change-Id: Ia0099ecd621f008e497260f26e5754d55d0f09aa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102549 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr> 2020-02-02rename RelativeField back to SvxRelativeFieldCaolán McNamara Change-Id: Iadac47f83aae0f7403f3391e3dd45bef52ad347a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87832 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2019-12-06tdf#121658 Add option to not hyphenate words in CAPSSamuel Mehrbrodt * Add checkbox to pagraph dialog * Store property in paragraph model * Move docx import/export from grabbag to paragraph model * Add ODF import/export * Add ODF unit test * Add layout test Change-Id: Id4e7c5a0ad145c042f862995d227c31ae2aa0abd Reviewed-on: https://gerrit.libreoffice.org/83979 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de> 2019-09-26now drop TabPageParent intermediateCaolán McNamara Change-Id: I47328f76342ac023628d9042bdfa8213a1c93d0c Reviewed-on: https://gerrit.libreoffice.org/79469 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2019-09-26disinherit OWizardPage and SfxTabPage from vcl TabPageCaolán McNamara Now that there's no need to support weld/unwelded mixes of pages in dialog any more. inherit from a BuilderPage which contains a Builder and Toplevel container BuilderPage Activate and Deactivate replace TabPage ActivatePage and DeactivatePage, allowing disambiguation wrt SfxTabPage ActivatePage and DeactivatePage. Change-Id: I5706e50fd92f712a25328ee9791e054bb9ad9812 Reviewed-on: https://gerrit.libreoffice.org/79317 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2019-07-27tdf#94395 Show paragraph style line spacing in organizer containsJim Raykowski This patch provides functionality to SvxLineSpacingItem::GetPresentation and also fixes tdf#126466 Change-Id: I9e0cb042c83c568051061de3467d402ef88cfdf4 Reviewed-on: https://gerrit.libreoffice.org/76069 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com> 2019-07-25tdf#42949 Fix IWYU warnings in cui/*hxxGabor Kelemen Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ia1b6e58623b64b11cb1a5ac5c7fba73e8cc04d07 Reviewed-on: https://gerrit.libreoffice.org/75522 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com> 2019-05-08merge duplicated TriStateEnabled classCaolán McNamara Change-Id: I1c10010eb7fd33a03f477af0cba03ae74859b174 Reviewed-on: https://gerrit.libreoffice.org/71959 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2019-03-25Resolves: tdf#123550 allow returning to TRISTATE_INDETCaolán McNamara Change-Id: I3e4b18c0b3217e010c80fbddccebd547ee29253a Reviewed-on: https://gerrit.libreoffice.org/69674 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2018-11-26drop some unnecessary includesCaolán McNamara Change-Id: I4a45110e69fc76ff5b12e014586a0684c3737dfe Reviewed-on: https://gerrit.libreoffice.org/64000 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2018-11-12loplugin:singlevalfields in accessibility..extensionsNoel Grandin Change-Id: Id3a3241af83f769fc60f67e01c9129d6f4b5c2af Reviewed-on: https://gerrit.libreoffice.org/63274 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2018-10-14weld SwFrameAddPageCaolán McNamara Change-Id: Ia63e22d01c6bcc08f50d3e1b12943094660c7fd0 Reviewed-on: https://gerrit.libreoffice.org/61758 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2018-09-20rename ParaPrevWindow back to SvxParaPrevWindowCaolán McNamara Change-Id: I3dc51ed38509a588003137bf295f005b031c20c3 Reviewed-on: https://gerrit.libreoffice.org/60777 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2018-09-17rename to weld::ComboBox are they are not text only nowCaolán McNamara Change-Id: Ice26d1fd2ad97a6959c6916fef428777efea9c2d Reviewed-on: https://gerrit.libreoffice.org/60500 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2018-06-14weld SvxStdParagraphTabPageCaolán McNamara Change-Id: I02b0f2e4f049b407a3ac0c7f304cbcd0cc652749 Reviewed-on: https://gerrit.libreoffice.org/55818 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2018-06-14weld SvxParaAlignTabPageCaolán McNamara Change-Id: I843b264d44266213e91b7e75bf35e4f6cf41dd88 Reviewed-on: https://gerrit.libreoffice.org/55792 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2018-06-14weld SvxExtParagraphTabPageCaolán McNamara Change-Id: I6836bc659f28ebae35ed0ca33ffd9425212c3622 Reviewed-on: https://gerrit.libreoffice.org/55784 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2018-06-14weld SvxAsianTabPageCaolán McNamara Change-Id: Ib1e229a9780dd0959ce847a2d4c15eab7fb92c33 Reviewed-on: https://gerrit.libreoffice.org/55769 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>