summaryrefslogtreecommitdiff
path: root/vcl/source/control
AgeCommit message (Collapse)Author
2013-01-09allow menu items to be enabled by nameCaolán McNamara
and to get the name of the current enabled item Change-Id: Ie4688fe5697d0bdb4c05da3c1e3bc29a3b86d6f0
2013-01-09add a CloseButton to vcl for convenienceCaolán McNamara
does exactly the same default action as a CancelButton except with "Close" as the label Change-Id: I538e8fc761cde4a1050d066ef935df1ecd930414
2012-12-29callcatcher: update unused code listCaolán McNamara
Change-Id: I47467b53705f8059a829126a598e29a1105df13c
2012-12-20The LineListBox drew lines wider than can fit in its text areaCaolán McNamara
it takes the outputsize of the entire widget and take a little (not enough) off that as the line width. The line is always wider that space available, so with widget-layout enabled it will request more space. On the next update of the lines it repeats, so listbox grows ever wider. Change-Id: Ib43239d297bb0ba0dc1096acf347ef17b5e41273
2012-12-20implement small-size variant stock image buttonsCaolán McNamara
Change-Id: I82d5a957b5c38b8aa19e28ceb8d6850c0bf7526e
2012-12-17split out document info page and convert to .uiCaolán McNamara
move svt::SelectableFixedText to vcl and implement "selectable" GtkLabels by mapping to that vs FixedText for standard GtkLabels Change-Id: Ic114991cd2c2eb6673bcef634fa286dd7c67056f
2012-12-17Move forcing existence of tabpages to TabControl::GetOptimalSizeCaolán McNamara
rather than just for SfxTabDialog, do it for all TabControls Change-Id: I29a19c51c7ce3baec428df716e2ee3595e496c39
2012-12-17allow tabpageids to have names which can be queriedCaolán McNamara
and in the .ui builder set that name from the name of the label widget matching that tab which allows human understandable names to be used in looking up the pageids for a given tab page rather than fragile by_position so tab pages can be freely moved around without busting the code Change-Id: Ieaff1408b25545c561a0b28c51ec205af6e1400f
2012-12-17mnTabPageResId is not used anywhere, continue to skip the resource thoughCaolán McNamara
Change-Id: Ief4707613352b1382fb23e5914fd05f6c7618327
2012-12-17UniString::ToUpperAscii -> OUString::toAsciiUpperCaseCaolán McNamara
Change-Id: I70f2238021c79a34b97a6bdbcc374d8b1ffb2a31
2012-12-14add support for loading comboboxtext item strings from .uiCaolán McNamara
Change-Id: Ic7a43fceb455a119d5b5b17ae79357d92d9ccb3d
2012-12-12Remove stray debug statementFridrich Štrba
Change-Id: Ic8364075007f636c6319a94d895360188bbf66b2
2012-12-12Resolves: fdo#57469 allow tab to traverse into custom widgetsCaolán McNamara
The magic WB_TABSTOP bit is the one that allows a widget to be accepted as a candidate for getting focus when pressing tab Change-Id: I7d964bae6b84184ccbc4652d66cf3d2637566405
2012-12-12callcatcher: update unused code listCaolán McNamara
Change-Id: Iff29c1f0a795d920a071eadc64e6639ff7506fff
2012-12-11support 'active' property in ListBoxCaolán McNamara
Change-Id: Ib1219e8e7031febd4f9cc599cb19426f974eac9c
2012-12-05be a little more generous with spacing around images in buttonsCaolán McNamara
Change-Id: I14c2b43a97e061759bf7ea48c18a3400556d45da
2012-12-05allow arbitrary icons from our icon-themes to be loaded via .uiCaolán McNamara
Change-Id: I5aab159bbbd4c20788085ae3069522f248289ab2
2012-12-04remove ability to auto-replace .res widgets with .ui versionsCaolán McNamara
it worked, and was sort of cool, but complicated and potentially fragile and I've lost interest in maintaining it as a stepping stone towards full .ui conversion in favour of just fully converted to .ui Change-Id: I27cfd4061ef15cd691ac6ddaa7155afd025182ec
2012-12-04make sure ScrollBar OptimalSize is up to dateCaolán McNamara
Change-Id: I12e95c3594ffbb508c7f79bd512e07aaf44a6eab
2012-12-03fdo#45651: fix drop down listbox text color with dark gtk themeIvan Timofeev
Change-Id: I9ba0b27924d1698bad2c34da75fff57f75a737f0
2012-11-27vcl: Edit: add placeholder text feature, import it from .uiIvan Timofeev
Change-Id: I65d305b07dba5ddd80a108d5ef1b36f75eb67243
2012-11-23some i18n wrappers with LanguageTagEike Rathke
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-22make left-right traverse through radiobutton groupsCaolán McNamara
lets preserve the traversal order from the initial grouping order, so convert the radio group set to a vector Change-Id: If057f0c5d5f2eac2e8866a8a39efde8035c4fc4a
2012-11-22AllSettings with LanguageTagEike Rathke
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-20Enforce use of accessors on gen.hxx structuresMatteo Casalin
Change-Id: Icd1b2937fdeaba6de1877258731f53ddf996002e Reviewed-on: https://gerrit.libreoffice.org/936 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-15fdo#46808, use service constructor for i18n::NumberFormatMapperNoel Grandin
Also create a utility constructor for LocaleDataWrapper, which simplifies many of the calling sites. Change-Id: Ic8510b51c4201fa17fc0620e18d3e258e43636ba
2012-11-13macosx theme has a gap between edit area and up/down areaCaolán McNamara
in spinbuttons, so adding just the width of the up/down buttons will not take into account that intermediate space in determining the optimal size Change-Id: I219a02b3313e87f4c927d52de34eda040b13133e
2012-11-13use SetControlForeground instead of SetTextColorCaolán McNamara
because that's persistent across unrelated style changes otherwise setting e.g. alignment will reset the color to default black Change-Id: I2b975c3914a59a93e54d72aa0975a066b5edf533
2012-11-13merge SetDescription into SetTextCaolán McNamara
that way the display text always matches the link text Change-Id: I3f4901803bd9354d2cd0fc29d7d91ccd8e3def54
2012-11-13convert extension dialog to .uiCaolán McNamara
Change-Id: I4d938be9e960f421398dd40bbcf1b3cadc643de1
2012-11-12move svtools's FixedHyper.hxx to vclCaolán McNamara
merge with fixedhyperbase and map GtkLinkButton to FixedHyper. Convert to String while I'm at it. Change-Id: Ibc61fd29c01796561eeef952a159c82ff215a095
2012-11-12re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Pedro Giffuni: Avoid some uses of non portable #!/bin/bash in shell scripts. http://svn.apache.org/viewvc?view=revision&revision=1235297 Reduce the dependencies on non standard GNU copy. http://svn.apache.org/viewvc?view=revision&revision=1238684 Correct /usr/bin/env path. http://svn.apache.org/viewvc?view=revision&revision=1235619 Complex Toolbar Controls Extension from the SDK Patches contributed by Ariel Constenla-Haile http://svn.apache.org/viewvc?view=revision&revision=1190390 i118615 - make epm more verbose http://svn.apache.org/viewvc?view=revision&revision=1204288 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 Patches contributed by Juergen Schmidt: jsc341: i117327: take care if no dependency node in current description exists, create one http://svn.apache.org/viewvc?view=revision&revision=1172101 jsc341: i117327: add extra extension dependency check http://svn.apache.org/viewvc?view=revision&revision=1172098 make initial branding changes http://svn.apache.org/viewvc?view=revision&revision=1231878 Patches contributed by Ingo Schmidt native373: #i117733# no linux jre installation on 64 bit systems http://svn.apache.org/viewvc?view=revision&revision=1167536 native373: ##164464# improve debian support http://svn.apache.org/viewvc?view=revision&revision=1167537 Patch contribtued by Armin Le-Grand: Changed various aspects concerning usages of old vendor names http://svn.apache.org/viewvc?view=revision&revision=1293313 fix for neon webdav, remove coinmp bits, improve odk script, cleanup & remove OS/2 conditionals, system ucpp fixes, remove OS/2 conditionals, restore our license filenames.
2012-11-07Resolves: fdo#56198 collect scrollbar click preference settingsCaolán McNamara
for gtk and merge with aqua equivalent so as to alternate "jump to here" behavior for primary button vs primary means scroll by single page. Secondary button takes the alternative behaviour Change-Id: I0a96f3131f41ec87052da39cbe96bfd895ca53f6
2012-11-06re-base on ALv2 code. Includes (at least) relevant parts of:Michael Meeks
linecap: Reintegrating finished LineCap feature Patch contributed by Regina Henschel http://svn.apache.org/viewvc?view=revision&revision=1232507 Patches contributed by Sven Jacobi impress212: #i81610# fixed animation export http://svn.apache.org/viewvc?view=revision&revision=1167620 impress212: drawinglayer gbuild environment changes http://svn.apache.org/viewvc?view=revision&revision=1167627 http://svn.apache.org/viewvc?view=revision&revision=1167628 impress212: DffPropSet -> minor code improvements, removing table http://svn.apache.org/viewvc?view=revision&revision=1167634 impress212: #158494# fixed excel import (text rotation) http://svn.apache.org/viewvc?view=revision&revision=1167638 Patches contributed by Armin Le Grand Svg: Reintegrated Svg replacement from /branches/alg/svgreplavement http://svn.apache.org/viewvc?view=revision&revision=1220836 #118728# changed indentifying definitions for Svg file detection http://svn.apache.org/viewvc?view=revision&revision=1229961 #118838# LineGeometry creation for complicated cases optimized to create single Polygons http://svn.apache.org/viewvc?view=revision&revision=1236232 #119176# corrected file type detection for SVG for svg files without xml header http://svn.apache.org/viewvc?view=revision&revision=1309445 #118728# Extended Svg file detection http://svn.apache.org/viewvc?view=revision&revision=1230531 #118529# solve break converters and convert commands for OLEs and images http://svn.apache.org/viewvc?view=revision&revision=1186168 svg: added WaE changes from branch svgreplacement to trunc http://svn.apache.org/viewvc?view=revision&revision=1222974 svg: corrected missing member initialization http://svn.apache.org/viewvc?view=revision&revision=1226134 fix for #118525#: Using primitives for chart sub-geometry visualisation http://svn.apache.org/viewvc?view=revision&revision=1226879 #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles to bitmapEx ... http://svn.apache.org/viewvc?view=revision&revision=1293316 fix for #118525#: removed no longer used variable maOriginalMapMode, one more exception eliminated http://svn.apache.org/viewvc?view=revision&revision=1227097 #16758# Added buffering to the VDev usages of the VclProcessor2D derivates... http://svn.apache.org/viewvc?view=revision&revision=1229521 #116758# Secured VDev buffer device to Vcl deinit http://svn.apache.org/viewvc?view=revision&revision=1230574 #116758# added remembering allocated VDevs for VDevBuffer to be able to also delete these when vcl goes down; it should never happen, but You never know http://svn.apache.org/viewvc?view=revision&revision=1230927 #118730# Changed SvgClipPathNode to use MaskPrimitive2D for primitive representation instead of TransparencePrimitive2D http://svn.apache.org/viewvc?view=revision&revision=1231198 #118822# secured 3D geometry creation (slices) by subdividing the 2D source polyPolygon early http://svn.apache.org/viewvc?view=revision&revision=1234749 #118829# enhanced Svg gradient quality, obstacles avoided http://svn.apache.org/viewvc?view=revision&revision=1235361 #118834# Unified usage of TextBreakupHelper as single tooling class for i18n text primitive breakup http://svn.apache.org/viewvc?view=revision&revision=1236110 #118853# added square pixel size limit to conversion of TransparencePrimitive2D to Metafile action http://svn.apache.org/viewvc?view=revision&revision=1237656 #118824# coreccted mirroring and boundrect when the graphicmanager is used for bitmap output http://svn.apache.org/viewvc?view=revision&revision=1240097 #115092# Corrected VclProcessor2D::RenderPolygonStrokePrimitive2D for various optimization scenarios http://svn.apache.org/viewvc?view=revision&revision=1241434 #118783# Corrected errors in ID strings, corrected Svg line/fill export, corrected polygon close state http://svn.apache.org/viewvc?view=revision&revision=1232006 #118796# corrected null-pointer usage in SVG text exporter http://svn.apache.org/viewvc?view=revision&revision=1240262 #118729# Use GraphicStreamUrl and GraphicUrl to allow multi image import with linked graphics, too http://svn.apache.org/viewvc?view=revision&revision=1229962 #118898# corrected error in GDIMetaFile::GetBoundRect in handling MetaFloatTransparentAction http://svn.apache.org/viewvc?view=revision&revision=1293349 #118855# Corrected handling of possibly created empty clipRegions after PolyPolygon clipping http://svn.apache.org/viewvc?view=revision&revision=1237725 #115962# Better (but not yet optimal, see comments in task) handling of MetaFloatTransparentAction in PDF export http://svn.apache.org/viewvc?view=revision&revision=1241078 IP clearance: #118466# This patch removes librsvg, libcroco, libgsf, ... http://svn.apache.org/viewvc?view=revision&revision=1200879 118779# Added svg content streaming in/out to ImpGraphic stream operators http://svn.apache.org/viewvc?view=revision&revision=1231908 linecap: correctons for WaE and mac drawing http://svn.apache.org/viewvc?view=revision&revision=1232793 svg: uses current system Dpi for Svg replacement image creation http://svn.apache.org/viewvc?view=revision&revision=1233948 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1394326 Remove duplicate header includes. cws mba34issues01: #i117720#: convert assertion into warning http://svn.apache.org/viewvc?view=revision&revision=1172352 118485 - Styles for OLEs are not saved. Submitted by Armin Le Grand. http://svn.apache.org/viewvc?view=revision&revision=1182166 cws mba34issues01: #i117714#: remove assertion http://svn.apache.org/viewvc?view=revision&revision=1172357 Patch contributed by Jurgen Schmidt add some additional checks to ensure proper reading operations http://svn.apache.org/viewvc?view=revision&revision=1209022 mostly prefer our stream / bounds checking work. Patches contributed by Herbert Duerr #i118816# add clarifying comment regarding Font::*Color*() methods http://svn.apache.org/viewvc?view=revision&revision=1233833 extend macro->string handling for empty strings http://svn.apache.org/viewvc?view=revision&revision=1175801 avoid magic constants for SALCOLOR_NONE http://svn.apache.org/viewvc?view=revision&revision=1177543 initialize slant properly in ImplFontMetricData constructor (author=iorsh) http://svn.apache.org/viewvc?view=revision&revision=1177551 #i118675# make check for extension updates more stable http://svn.apache.org/viewvc?view=revision&revision=1214797 #a118617# remove VBasicEventListener.dll binary There are no known users depending on its CLSID http://svn.apache.org/viewvc?view=revision&revision=1203697 Patches contributed by Ariel Constenla-Haile Fix build breaker on Linux/gcc http://svn.apache.org/viewvc?view=revision&revision=1221104 Fix crash when trying to instantiate css.graphic.GraphicRasterizer_RSVG http://svn.apache.org/viewvc?view=revision&revision=1215559 Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117962# - method <SwFlyFrm::IsPaint(..)> - consider instances of <SwFlyDrawObj> http://svn.apache.org/viewvc?view=revision&revision=1172120 sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115 gnumake4 work variously from Hans-Joachim Lankenau http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1396782 http://svn.apache.org/viewvc?view=revision&revision=1394707 plus some amount of re-splitting of legacy headers. Patch contributed by Pavel Janik WaE: Remove unused variables. http://svn.apache.org/viewvc?view=revision&revision=1230697 Patches contributed by Takashi Ono mingwport35: i#117795: MinGW port fix for vcl2gnumake http://svn.apache.org/viewvc?view=revision&revision=1172091 mingwport35: i#117795: MinGW port fix for vcl2gnumake http://svn.apache.org/viewvc?view=revision&revision=1172091 Patch contributed by Christian Lippka impress212: #i98044# re enable Text menu for outline and title shapes http://svn.apache.org/viewvc?view=revision&revision=1167639 Patch contributed by Andre Fischer 118674: Made category B code optional and disabled by default. http://svn.apache.org/viewvc?view=revision&revision=1215131 118881: Ignore empty paragraphs after bullets. http://svn.apache.org/viewvc?view=revision&revision=1296205 Patches contributed by Philipp Lohmann ooo340fixes: #i117780# use rtl allocator http://svn.apache.org/viewvc?view=revision&revision=1172087 ooo34gsl02: #i117807# fix an off by one error (index actually inside the pfb section header) http://svn.apache.org/viewvc?view=revision&revision=1167576 various cleanups, related compilation fixes, warning cleanups, re-working of obsolete stl template pieces to use boost instead, changed string classes, re-adapt KDE about data, about dialog, fixing warnings, and other fixes & improvements. Disable svg import / render for about/ branding code-paths for now. Restore full icon theme set. Remove OS/2 conditionals and sources. Remove conflicting gtk/full-screen monitors support. Retain existing svg rasterizer files - temporarily disabled. Standardize stringificaiton and fixup dllpostfix issues. Rename SvgGradientHelper::== to equalTo to avoid overloading issues. Use the flat GdiPlus API for LineCaps calls.
2012-10-31Get rid of vcl::unohelper::GetMultiServiceFactoryStephan Bergmann
...which effectively is just a glorious wrapper around comphelper::getProcessServiceFactory. In turn gets also rid of ImplSVAppData's mxMSF and mpMSFTempFileName and the rSMgr parameter to InitVCL. All the VCL users "soffice", "spadmin", and "unopkg gui" appear to still work fine. Change-Id: I797d48f7d0d8c35bb82124c9ab0ee63850c4d863
2012-10-30trivial empty-init String::Fill -> comphelper::padToLengthCaolán McNamara
Change-Id: I6c41b8f4d3ad739eff545063bd1f8fe8f4fba65e
2012-10-29fdo#46808, Adapt i18n::LocaleCalendar UNO service to new styleNoel Grandin
Did not need to create a new interface, because XCalendar3 already covers the whole service interface. Change-Id: Iaf094014c16e872d2003ca6e8e7588abd081d882
2012-10-28UniString->rtl::OUStringBufferCaolán McNamara
Change-Id: I9938d7c4ab5594baeb10f405f0aa0964ef84d6c5
2012-10-26set width in chars for url field to avoid character dialog overgrowingCaolán McNamara
Change-Id: I892a77f65ad420d0fbf4b95179e4bcfc2ec55192
2012-10-24convert index dialog to .uiCaolán McNamara
Change-Id: I4b16cb517dca25f862b9dd612785dae4d0f21793
2012-10-24improve optimal height of empty comboboxesCaolán McNamara
Change-Id: I481e079136ab0496ac79b60931bfce8509b4af23
2012-10-24fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin
Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory. Change-Id: I9f0098af37b91f107d8799f14caa04756eac82b1
2012-10-23fdo#46808, use service constructor for i18n::BreakIteratorNoel Grandin
Note that I found a pre-existing bug in linguistic/source/gciterator.cxx but I was not able to fix it, because doing so appears to expose bugs elsewhere! Change-Id: I17fb9108d98a98d0ae13fe5a8e043d2db5b27a6a
2012-10-22Resolves: rhbz#868479 / fdo#56281 doubled ~ in German ok/cancel translationsCaolán McNamara
We have unix-specific code adding ~ to OK/Cancel. So don't add ~ if string already contains those. Though its an open question if the presence of ~ is a bad thing for the Windows case. i.e. if we should have tooling to not allow the OK/Cancel translations to contain ~ in the first place, of if we should drop the ifdef UNX and do it globally now Change-Id: I461c6ac9ca574ed188f51472919be82ec582e389
2012-10-19fdo#44657 Remove hack that "simulates" a mirrored horizontal scrollbar.Jan Holesovsky
We are able to paint mirrored scrolbars with the 'gen' plugin, so just fix the rendering of the scroolbar with the Gtk+ plugin. Change-Id: I5dbd13420c6290e165ed2f5827769979298abf37
2012-10-19replace sxub_Unicode by sal_UnicodeNorbert Thiebaud
Change-Id: Icf4b434a1961cc4964ee6e362491868e898a1831 Reviewed-on: https://gerrit.libreoffice.org/887 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-18support width-chars property for labelsCaolán McNamara
Change-Id: Iba51f30a5e74d1e486bce10901ccb58f3488ce97
2012-10-18minimize calls to queue_resizeCaolán McNamara
Change-Id: Idbb7da30c985253a37ff6fe0e86fe04dec2dbbeb
2012-10-18SetMaxWidthInChars should be SetMinWidthInCharsCaolán McNamara
Change-Id: I5cf508e7930eb7e04016ffa43683f76a07e5173e
2012-10-11import password echo char settingCaolán McNamara
Change-Id: I36a82a8bb915e72a191787a2e44f9bd814271ea1