summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)Author
2013-07-18ditch some XubStringsCaolán McNamara
Change-Id: I4e54102819123a0b10fcade20df3485ec86543d0
2013-07-17Move hasBigImages() from ToolboxController to SfxToolBoxController.Jan Holesovsky
We want to decide whether the images are big or not based on the real (underlying) ToolBox, not on the global setting, because we can have both toolbars with large as well as small icons visible at the same time (small in sidebar, large in toolbars). Change-Id: I046a12a495f2038df9a571f5779794a639bae6dc
2013-07-17n#820077: Import images with duotone filter.Muthu Subramanian
Also, contains implementation for a simple duotone filter.
2013-07-16convert versions of dialog to .uiCaolán McNamara
Change-Id: I1be2211b5c936e6e00f2fe81883b8fb1e67ef550
2013-07-15i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.Michael Stahl
Add IsUTC member to: com.sun.star.util.DateTime com.sun.star.util.DateTimeRange com.sun.star.util.Time Add new stucts with explicit time zones: com.sun.star.util.DateTimeWithTimezone com.sun.star.util.DateWithTimezone com.sun.star.util.TimeWithTimezone Adapt the sax::Converter to read/write timezones, and fix the unit test. Everything else just uses default (no time zone), this commit is just to fix the API. STRUCT: /UCR/com/sun/star/util/DateTime nFields1 = 7 != nFields2 = 8 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/DateTimeRange nFields1 = 14 != nFields2 = 15 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/Time nFields1 = 4 != nFields2 = 5 Registry2 contains 1 more fields Conflicts: sc/source/filter/oox/unitconverter.cxx Change-Id: I01f7a6d082a6b090c8efe71d2de137474c495c18 Reviewed-on: https://gerrit.libreoffice.org/4833 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-07-15callcatcher: update unused codeCaolán McNamara
All FontSizeBoxs and SmFontPickListBoxs are now .ui loaded, .res ctors unused Change-Id: I50aa8606fefacab0b15b6795a7ba90dff8109802
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke
If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
2013-07-12remove use of recently removed header fileLuboš Luňák
Change-Id: If4248c728f44bfda089fdba9f27a33868daf8663
2013-07-12XubString->OUStringCaolán McNamara
Change-Id: I07f4db038114174a65ed453096d566d699e8fce8
2013-07-12remove create of com.sun.star.awt.tree.DefaultTreeDataModel, it doesn't existNoel Power
Change-Id: I029286d9c25f0b7ee562e87cc7e205aa398e594b
2013-07-12fix fdo#66586 Revert "fdo#46808, create IDL fortree::DefaultTreeDataModel"Noel Power
This reverts commit fcd01fba69db6de6cfc983fae65b6ba6764de0d6. Service DefaultTreeDataModel actually doens't exist ( and we can't find when/where it used to :-( ) The treecontrolpeer.cxx change to use the new service also had the undesired effect of throwing an exception when the UnoTreeControl model is inserted ( previously this failed silently ) The net effect is the dialog control is malformed and not initialised correctly
2013-07-11XubString->OUStringCaolán McNamara
Change-Id: I1049249741f445ad7bd9c070f99812c4404597c9
2013-07-11fdo#63211 - embed images in HTML export.Ciorba Edmond
Change-Id: I585c85d2cee13ee8954623bd981cb372d78b7952
2013-07-09mem leaks in writer font options tabpageCaolán McNamara
Change-Id: I7378f1a230fc55a97bc06d154939502f6ddcc792
2013-07-08-Werror,-Wdeprecated-register (Clang trunk towards 3.4)Stephan Bergmann
Change-Id: I64e4933f7a0a8026ccc7ce98804bfc497d3f0eed
2013-07-08-Werror,-Wlogical-not-parentheses (Clang trunk towards 3.4)Stephan Bergmann
...happened to work as intended (according to Caolán), as USCRIPT_COMMON is 0. Change-Id: Ief2bf2844c7f47f3d5dcdc360a645d80edfd5e63
2013-07-07module svl: all String and some bool and related clean-upNorbert Thiebaud
Change-Id: I36eb559fa58dbe75384b7119c788af0048813aed Reviewed-on: https://gerrit.libreoffice.org/4733 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-07-05cleanup src filesThomas Arnhold
Those items are unused. Change-Id: If4fce0f91309d2ca09cbb636d4a5d9f86f38eb9a
2013-07-05added Ngäbere_Panama [gym-PA] to language list, fdo#66602Eike Rathke
Change-Id: I4592f868c4d17ece745db39b604aa0b75181ca27
2013-07-03fdo#61725 add SolarMutex until it worksLionel Elie Mamane
Change-Id: I757bbfbc4a548f17d797ac00197588bc6e2907f6
2013-07-03allow changing the fill color user for tab previewsCaolán McNamara
Change-Id: Ie20e900fe9e1f9bfdcd5784b380aa4574d52c001
2013-07-03arrange a way to describe non-dropdown MetricBoxesCaolán McNamara
i.e. use a VclComboBoxNumeric which now has an adjustment option and a dropdown option (defaulting to true). Rework existing glade widget placeholders to be children of that widget placeholder. Centralize the dropdown bit tweaking logic. Change-Id: Ib6dc4d19b367986e9d6a2fc2bead51e198892893
2013-07-02remove post .ui conversion unused ResId loadersCaolán McNamara
Change-Id: Ib6a5455256f4712fc62554cbcbe279e9702d0552
2013-07-01Add Cornish and Pite Sami to the list of spelling languagesHarri Pitkänen
Add Cornish (kw-UK) and Pite Sami (sje-SE) to the list of available spell checking languages to support spell checkers that are being currently developed: https://victorio.uit.no/langtech/trunk/langs/cor https://victorio.uit.no/langtech/trunk/langs/sje Change-Id: I2f95fe5339e7cc31d64fa13cf2f74268b159215e Reviewed-on: https://gerrit.libreoffice.org/4609 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-07-01Mark as constTakeshi Abe
Change-Id: Ic71f39aaebf07d3b0435882986be71cf2b0390c2
2013-06-30Clean String and sal_Bool in toolsNorbert Thiebaud
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655 Reviewed-on: https://gerrit.libreoffice.org/4627 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-29remove OUString wrap for string literalsThomas Arnhold
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29remove some createFromAscii usageThomas Arnhold
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-28remove toolkit/unohlp.hxx hackThomas Arnhold
Change-Id: Idb9971d848870f4d00dbf77e80e48bf7dfde8913 Reviewed-on: https://gerrit.libreoffice.org/4601 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-27Resolves: #i122586# recalcuate width when scrolling to last columnJürgen Schmidt
(cherry picked from commit febd0946e8c2686f0a679d3f32fbb39f5ef1c295) Change-Id: Ia1aba1eddf9035504677d10a7414f9a498b952e1
2013-06-24Add missing copy&paste of SfxAppToolBoxControl_Impl::SelectAriel Constenla-Haile
(cherry picked from commit 47204c74d9e52f54f6983af19b66af2a96b42e61) Conflicts: framework/inc/uielement/popuptoolbarcontroller.hxx svtools/inc/svtools/toolboxcontroller.hxx Change-Id: I304d17c662450f29eeffb17f576b418986f3fb0a
2013-06-24blasted pch includesCaolán McNamara
Change-Id: I2a518445dfd06086cbd1acaece45a3ed9de0ce7b
2013-06-23Resolves: #i121542# Unify the Menu APIAriel Constenla-Haile
(cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2013-06-21coverity#707543 : Unitialized scalar variableNorbert Thiebaud
Change-Id: I601b8cd42932fcba9b98a5736faa9d38525b093a Reviewed-on: https://gerrit.libreoffice.org/4406 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-06-19Resolves: #i122418# Added workaround to not use GetBitmap on windowsArmin Le Grand
(cherry picked from commit 136976efb17b8617a83c7f26601cd04031b51e7f) Conflicts: vcl/inc/vcl/bitmap.hxx vcl/inc/vcl/bitmapex.hxx vcl/source/gdi/bitmap4.cxx vcl/source/gdi/bitmapex.cxx Change-Id: I9c3aeae76c155c9050404f67adeb91106502c3f1
2013-06-18fdo#43460 include,registry,svtools,svx,unodevtools: use isEmpty()Jelle van der Waa
Change-Id: I6e35b91092239275694eec3666b076f7ff7e54f6 Reviewed-on: https://gerrit.libreoffice.org/4335 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-18Related: #i122120# corrected flag for drawing checkerboards...Armin Le Grand
adapted previews, added to configuration (cherry picked from commit c17e634e125f524d153e1ad8febff6d11b810ee4) Conflicts: officecfg/registry/schema/org/openoffice/Office/Common.xcs svtools/inc/svtools/accessibilityoptions.hxx svtools/source/inc/configitems/accessibilityoptions_const.hxx vcl/inc/vcl/settings.hxx Change-Id: I3f4fd9525e31cd816599b963ecd2fa42b1f666d7
2013-06-17cppcheck: fix some uninitMemberVar in svtools partJulien Nabet
Change-Id: Icee2501b2a33afddaa3d08186bb806acf785bf4c
2013-06-17Resolves: #i122388# Corrected old fix to mentioned boundsArmin Le Grand
(cherry picked from commit 65dd87d8f010a9c9d1b277f9b1839378b549d06f) Change-Id: I01318b3f96b23196f54335782ef9c946bf2b1ef9
2013-06-17Resolves: #i74211# Correct crop of bitmap data when...Armin Le Grand
logical size and MapMode do not match real pixel size (cherry picked from commit a24965371f7e881671182bc51432c08cbf667b56) Conflicts: svtools/inc/svtools/grfmgr.hxx svtools/source/graphic/grfmgr.cxx svx/inc/svx/svdhdl.hxx svx/inc/svx/svdograf.hxx svx/source/svdraw/svdhdl.cxx Change-Id: Icfb9091b55e50081e8daf697c9f00f5b5a10531a
2013-06-16Add UI for fine dashed border typeMiklos Vajna
Commit 7d632ff29e601c2e680c4a689997fbf552592a4b added document model / layout support for this, but UI was lacking. First, add a new item to the list box in SvxBorderTabPage::FillLineListBox_Impl(). Second, handle MAP_TWIP unit in svtools::GetDashing() for STYLE_FINE_DASHED. Pick up some values that give visually the fine dashed result when painted. (The original values from 2f0d406911f9790a434e46bc82ea36bb8ae714e7 in other cases seem to be a bit consistent already anyway.) Change-Id: Ibf1ed235d51515b065d23a6a5d5eef433162899f
2013-06-14Resolves: fdo#65569 dropdown list missing from built-in fpickerCaolán McNamara
regression since a8c2cb0e6d0b9b301887be176694592f8ecda0c4 the different ctors have different defaults around whether they show the dropdown or not. Change-Id: I3d1bb423c8a25b81ffb26981b63af7498f99e70a
2013-06-13Resolves: #i121532# unified getting the blended selection colorArmin Le Grand
(cherry picked from commit dd4bed5d1151db2a45dbbfe9eff61875f8f4835d) Conflicts: svtools/inc/svtools/optionsdrawinglayer.hxx svtools/source/config/optionsdrawinglayer.cxx sw/source/core/crsr/viscrs.cxx Change-Id: I21167b58a9b81f5fa15c7def5fb4b6023f91f32b
2013-06-13Resolves: #i121504# Support for alpha channel in clipboard for all systemsArmin Le Grand
(cherry picked from commit ef3931ff410117e1237b3bef7bc090e8b83b9519) Conflicts: automation/source/server/statemnt.cxx basic/source/runtime/methods.cxx canvas/source/vcl/devicehelper.cxx canvas/source/vcl/spritedevicehelper.cxx drawinglayer/source/processor2d/vclhelperbufferdevice.cxx drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx drawinglayer/source/tools/converters.cxx dtrans/source/win32/dtobj/FmtFilter.cxx editeng/source/items/bulitem.cxx extensions/source/scanner/sanedlg.cxx external/gcc3_specific/makefile.mk filter/source/graphicfilter/eos2met/eos2met.cxx filter/source/graphicfilter/ios2met/ios2met.cxx filter/source/msfilter/msdffimp.cxx fpicker/source/office/iodlg.cxx framework/source/fwe/classes/addonsoptions.cxx framework/source/fwe/helper/actiontriggerhelper.cxx sc/source/filter/excel/xiescher.cxx sc/source/ui/docshell/docsh.cxx sc/source/ui/inc/viewfunc.hxx sd/source/ui/app/sdxfer.cxx sd/source/ui/unoidl/unopage.cxx sd/source/ui/view/sdview3.cxx sfx2/source/appl/fileobj.cxx sfx2/source/appl/linkmgr2.cxx sfx2/source/dialog/filedlghelper.cxx sfx2/source/dialog/intro.cxx sfx2/source/doc/docinf.cxx sot/inc/sot/formats.hxx sot/source/base/formats.cxx svtools/bmpmaker/bmpcore.cxx svtools/bmpmaker/bmpsum.cxx svtools/inc/svtools/transfer.hxx svtools/source/filter/filter.cxx svtools/source/filter/wmf/emfwr.cxx svtools/source/filter/wmf/enhwmf.cxx svtools/source/filter/wmf/winwmf.cxx svtools/source/filter/wmf/wmfwr.cxx svtools/source/graphic/graphic.cxx svtools/source/graphic/provider.cxx svtools/source/misc/transfer.cxx svx/inc/svx/xoutbmp.hxx svx/source/sdr/overlay/overlaymanagerbuffered.cxx svx/source/xoutdev/_xoutbmp.cxx sw/source/core/view/viewsh.cxx sw/source/filter/ww1/w1filter.cxx sw/source/filter/ww8/ww8par.hxx sw/source/ui/dochdl/swdtflvr.cxx toolkit/source/awt/vclxbitmap.cxx toolkit/source/helper/vclunohelper.cxx vcl/Library_vcl.mk vcl/Package_inc.mk vcl/aqua/source/dtrans/DataFlavorMapping.cxx vcl/aqua/source/dtrans/OSXTransferable.cxx vcl/aqua/source/dtrans/PictToBmpFlt.cxx vcl/aqua/source/dtrans/PictToBmpFlt.hxx vcl/inc/vcl/alpha.hxx vcl/inc/vcl/bitmap.hxx vcl/inc/vcl/bitmapex.hxx vcl/inc/vcl/pngwrite.hxx vcl/inc/vcl/salbtype.hxx vcl/inc/vcl/wall.hxx vcl/source/gdi/animate.cxx vcl/source/gdi/bitmap2.cxx vcl/source/gdi/bitmapex.cxx vcl/source/gdi/bmpconv.cxx vcl/source/gdi/cvtsvm.cxx vcl/source/gdi/impgraph.cxx vcl/source/gdi/impimagetree.cxx vcl/source/gdi/metaact.cxx vcl/source/gdi/wall.cxx Change-Id: I79938bc412c048c3d4e64f430f216e73bec16167
2013-06-12added Tibetan_India [bo-IN] to language list, fdo#40713Eike Rathke
Change-Id: Ied426ee153ccd1a71e3cd0fbb4b417ac8b9b82e4
2013-06-10mingw64: use integers able to contain a size in svtoolsFridrich Štrba
Change-Id: Id5505f75a2331be682b74d085a7959fc4bf07df8
2013-06-07XubString->OUStringCaolán McNamara
Change-Id: I9404ef0d53a74e09a0db9781d004fcd0c573dd78
2013-06-07fdo#63866 Hid useless checkboxesJason Hulme
Added functions to SvTreeListBox and SvLBoxButton to allow entries with hidden checkboxes Change-Id: Ia5a1deabea6c01aad5e4010612ac453c669258a6 Reviewed-on: https://gerrit.libreoffice.org/4169 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-06-06remove unused BMP_OLEOBJ image and define.Michael Meeks
Change-Id: I809cca8dab246c7b528309fd74fb73a9d0bd418f
2013-06-06Some more modules at least building with mingw64Fridrich Štrba
Change-Id: I3ea039655aecb7885bb310b1f2c29d66f9f7bb4f