summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)AuthorFilesLines
2012-08-07fdo#46193 MessBox was made copyableZolnai Tamás26-10822/+21
Part of MultiLineEdit was moved down from stvools to vcl with name VCLMultiLineEdit. MessBox uses it to display the message in read-only mode. Some of svtools' classes - which are necessary to implement VCLMultiLineEdit - were moved to vcl as a whole, and their includes are rewrite. Note: ExtTextView and ExtTextEngine classes would be leaved in svtools if VCLMultiLineEdit is a template class, but two macros: IMPL_LINK end IMPL_LINK_NOARG make it impossible to use template syntax. Change-Id: I26543868d8081c225c7125404d23369de3c3afcd
2012-08-06There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET1-1/+1
a literal within a OUString. Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-08-03Move PlaceEditDialog class and resources to svtools.Rafael Dominguez10-5/+1371
- Update fpicker files that include them. - Separate Place class into its own header and move it to svtools. Change-Id: I83a285d4c7fc21d6e76e4d7e47e347dac2bb4344
2012-08-02remove now pointless pItemDesruptListCaolán McNamara1-18/+0
This pItemDesruptList is pointless now. We're registering the delete-when-idle items in their ctor's and deregistering in their dtor's which get called from the idle callback. The idea of pItemDesruptList appears to be for use in deleting any items at exit time whose idle callback didn't get called already. Which was done by DeleteOnIdleItems which itself was removed a while ago because nothing was calling it (for years). Some experiments in making it a simple singleton and/or one that hooks off default component dispose or XDesktop dispose shows that its crash city, so lets just remove the unused stuff outright rather than trying to fight to get some 12+ year unused appendix used. Change-Id: Ie0256d6987cf89a2a12db297065af09674547b3e
2012-08-01simpler fix fo fdo#51336 - change vcl checkbox no-label behaviourNoel Power1-0/+1
Change-Id: I1563dc2afc49c7b1115192db00fbd08a7524154e
2012-08-01Revert "fdo#51336 - change vcl checkbox no-label behaviour"Noel Power1-23/+1
This reverts commit a1345cd93a57ec7d9352f2c71ec2664332ce5e76.
2012-08-01consider only fully visible itemsIvan Timofeev1-1/+1
Change-Id: I32d88e5206a96b316f29cf4ede04a6ac951d86d5
2012-07-30add in some more filter testsCaolán McNamara1-0/+1
Change-Id: I79beed272a6b3bb27d78563db70f66bcf620df8c
2012-07-30add in some more filter testsCaolán McNamara1-0/+1
Change-Id: If3809196c577cda7a392ac9eae3b4fa411313b5c
2012-07-30remove unnecessary includes of svl/svarray.hxxCaolán McNamara6-6/+0
Change-Id: Ifec201efc4e97baf2d36d66c4ae6967eadd6134c
2012-07-30Typo ressource -> resourceStephan Bergmann5-63/+63
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-30Bug 48549 - System::Beep() removalMathieu Vonlanthen3-3/+0
Change-Id: I011048912af051a762a78af8646513a1fc624073
2012-07-29Partially revert "Remove unused defines"Thomas Arnhold1-8/+15
This partially reverts 00240d049790d11c4ef35de7a294819107197efd http://lists.freedesktop.org/archives/libreoffice/2012-July/035331.html Change-Id: Ib682cd258cca12e742be5fb1715b2aecfe0a761e
2012-07-28svxbox.cxx unbuilt, svxbox.hxx unnecessarily includedCaolán McNamara2-613/+0
so remove svxbox.?xx Change-Id: I329b8468d05ea108ea9cfb57e3702cccfcc69227
2012-07-27add RtfAttributeOutput::FlyFrameOLEReplacementMiklos Vajna1-0/+2
This extracts ole replacement code from FlyFrameOLEMath() and makes FlyFrameOLE() use it as well, as the later didn't write png replacement, just wmf one. Also remove FlyFrameOLEData(), which is now unused (it was only used by math, but math export returns earlier). Change-Id: I5e88708cdad1468ccbc5c3c8bb77521785822832
2012-07-27svtools: add new math rtf keywordsMiklos Vajna1-0/+53
Change-Id: Ib57f9b143ccec29fdaa193bcfc523cd86a0713c1
2012-07-27merge the two pict/pct detectors which disagree togetherCaolán McNamara3-57/+50
Change-Id: I63fc63884e3377f2707d99e7e85ab6761d37cd0a
2012-07-27add regression test for gif that nobbled XnViewCaolán McNamara1-0/+0
Change-Id: Ib5d456fa8e10a680ab79dd60bca99b37d0859078
2012-07-26fd0#35973 - [EasyHack] Remember the state of the sidebar pane in ImpressRob Snelders4-0/+581
Change-Id: Ie287bc1c545bd8986ee3509181c878bdcd0d1942
2012-07-26pTabBar is always NULLIvan Timofeev3-50/+8
Change-Id: I0f40a54c02c0231f75fcfcae7676f529984ee0f2
2012-07-26discard broken embedded object previewsCaolán McNamara1-8/+17
Change-Id: I4f632545d383c4887342aa2959987d4ac3638eb4
2012-07-25Fix bitmap resizing issue when using ScaleRotateCrop with BitmapEx.Tomaž Vajngerl1-16/+25
Change-Id: I1fd08d94c506580ed7557066448ccb10adb9b16d
2012-07-25fdo#40152 replace with empty string in Basic IDEUray M. János1-1/+3
Change-Id: I2ee41160e5cb10694ccdb5a1cdaf7d4abfeb23bb
2012-07-25delete svl/svstdarr.hxxMichael Stahl2-2/+0
Change-Id: Ia3d1d8dbe100443410b80c3881f10ab51b2d0419
2012-07-25Use native theme to draw TabBar backgroundRuslan Kabatsayev1-1/+5
Change-Id: Ia274a6438dbb1e3ae94d492df6b9ff86343dd272
2012-07-24One pass scale, rotate and crop using bilinear filtering and averaging.Tomaž Vajngerl1-67/+70
With this commit I reintroduce one pass scale, rotate and crop that was located in grfmgr2.cxx (now in Bitmap class) and was used for preparing bitmaps for displaying on screen. By default the combination of two filters is used: bilinear, which is a similar algorithm than the "old" one, but with the same result, and averaging algorithm. Bilinear filtering is used for bitmap enlarging and shrinking till factor 0.6. Below this bilinear gives bad results because of limited sampling. For such cases averaging is used which is a simple algorithm for shrinking. In averaging the algorithm calculates the average of samples which result is the new pixel. Currently both algorithms are not optimised. One pass scale, rotate and crop should only be used for displaying of images. Change-Id: I5a1330b58a7cbb6fde8546e16c3e8c140afca565
2012-07-24janitorial: C++-style cast instead of legacy C-style castLionel Elie Mamane1-1/+1
Change-Id: I86cd5d87751c5a9dd31a392e2b3847e8f5741524
2012-07-24forcing repaint has catastrophic performance implications; invalidate onlyLionel Elie Mamane1-3/+1
In Base: 1) Open a big table (hundreds of rows) 2) Only the first 40 to 100 rows are fetched into the cache and shown (depending on screen / window size). 3) Move to last row (click on icon |>|) 4) The last 40 to 100 rows are fetched into the cache; the data of the first 40/100 rows is pushed out of the cache. 5) The first 40 to 100 rows are fetched, just so that the call to rWindow.Paint() can do its job, because they are not in the cache anymore (!). The last 40/100 rows are pushed out of the cache. 6) The last 40 to 100 rows are fetched into the cache and displayed; the first 40/100 rows are pushed out of the cache *again*. Steps 5 and 6 are obviously *very* stupid. Change-Id: Ic11b893ea9440c2c5a142bd3c77c95d6730aa723
2012-07-24fdo#51659: static assertion for STR_ARR_SVT_LANGUAGE_TABLEMichael Stahl1-0/+7
Change-Id: I5588198452a609dd541d51ac7a84cd5773949ae7
2012-07-23fdo#48549 System::Beep() removalMathieu Vonlanthen4-11/+0
Change-Id: I8fe133dd8d1f759fbe21d47ae358c0b5451812b5
2012-07-19Work around Mac GCC errorStephan Bergmann1-2/+2
Change-Id: I7fcd84e923c0971f420cfd3f298e5a1d0b111d1a
2012-07-18Revert hrc string cleanupThomas Arnhold1-0/+4
This reverts mostly all of my hrc string cleanup commits. As Markus stated in dc05a825e71316e6f602e5c8dfcd3d10ecb6252f those are erroneous and mostly untested. And therefore absolutely unsave. I only did test them by compiling and checking the main screens. Cleaning those files seems to be much more complicated than I thought. So to be absolutely save I do this huge revert. Sorry for this. Revert "hrc cleanup: Further cleanup" This reverts commit 60212988e1cd84169afb028a4255b6f935f1fd4b. Revert "hrc cleanup: Remove unused strings" This reverts commit 0e2d7550dd287843b70c03dee952c02f9bd8afb5. Revert "hrc cleanup: Remove unused Strings in sfx2/source/doc/doc.hrc" This reverts commit efb74b5dfdb773ba53b29080e1996a93d2c1cac2. Revert "hrc cleanup: Remove unused Strings in cui" This reverts commit 527e8f61868210c54bdad650f16390bda03c4353. Revert "hrc cleanup: Remove unused Strings in desktop" This reverts commit ac3800fbb9f3251276302b24fa0542441276a34f. Revert "hrc cleanup: Remove unused cstitem.src" This reverts commit ae95e31831916df760503bfc2496b7bc55bc638b. Revert "hrc cleanup: Remove unused strings in wizards" This reverts commit 20f9a1744319ecdf18c9ab6d0873bb586eb4d03f. Revert "hrc cleanup: Remove unused Strings in sfx2" This reverts commit c26d4d34467008418ebf138412e87886694c326c.
2012-07-18Various Clang 3.1 -Wunsued-variable, -Wconstant-conversionStephan Bergmann2-9/+3
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
2012-07-16Revert "Make bottom tabbar items follow native theme"Ruslan Kabatsayev1-36/+6
This reverts commit 17ea32a1a36d81a0a12df12adbe15e8eaf1c7c62.
2012-07-15callcatcher: update unused code listCaolán McNamara2-13/+0
Change-Id: I045ac2928d4b8cf99f9f76c20a9e489adc34ed66
2012-07-15Resolves: fdo#37279 and #i78701# startEditingAtNode does nothingCaolán McNamara5-52/+21
inherit class UnoTreeListItem from SvLBoxString instead of SvLBoxItem so that it really isa SvLBoxString and can be edited with startEditingAtNode a) remove the unused SvLBoxEntry argument to SvLBoxString's SetText b) used rtl::OUString instead of XubString c) rename aStr to maText d) inherit UnoTreeListItem from SvLBoxString and drop its maText in favour of that of SvLBoxEntry Change-Id: Id78f43ae5be8cd6f581e6c2fd2bd6f46de9144ba
2012-07-15These methods are virtual in the base class, so are really virtualCaolán McNamara1-16/+16
Its convienent to mark them as such in the subclass too for self-documentating consistency. Change-Id: I4c17b796b0704818705df0a7bc0dc8eb233ae36b
2012-07-14Remove unused HIDsThomas Arnhold1-7/+0
Those were only listed in help_hid.lst Change-Id: I491a037b375015db76c30c93a59b615a63fb1838
2012-07-14simplify include guardsThomas Arnhold1-1/+1
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-14hrc cleanup: Remove include guards from src filesThomas Arnhold2-7/+0
Change-Id: I7d52837f4058bab1bb5a0137788521d12834d519
2012-07-13Search for char instead of 1 char long string, when possible.Christophe JAILLET1-1/+1
It is faster and even avoid memory allocation somtimes. Change-Id: Ic12ff70e95953de44ef5798131150669d07a5445
2012-07-12extend sample textCaolán McNamara1-0/+8
Change-Id: I5700a051e64171f1d2d1ec19c63fbf9778e4bc30
2012-07-12Modern Tagalog is not written in traditional Tagalog script (Baybayin)Caolán McNamara1-3/+0
Change-Id: I0be64324cb92fb7411e3b341d3c1e949e8edbe09
2012-07-12only suggest text samples we can renderCaolán McNamara1-3/+2
Change-Id: Iebeb98ed2959bd4424f3f271f01a5809a03fdd70
2012-07-11Decrease header files dependenciesMatteo Casalin4-4/+3
Change-Id: I654e71e56d60bf629625df09eb93b21c9ef670e8
2012-07-11warning C4805: '|=': unsafe mix of types 'bool' and 'sal_Bool'Michael Stahl2-3/+3
Change-Id: I704347a19fac527b6bf7d43983a6336ac9282f49
2012-07-11GraphicManager::ImplCreateOutput: warning C4701:Michael Stahl1-1/+1
potentially uninitialized local variable used Change-Id: I5820b8258a0255a4c9d1c52f2f88bcc3428786ba
2012-07-10HeaderBar::ImplDrawItem: -Werror=parenthesesMichael Stahl1-0/+2
2012-07-10Make bottom tabbar items follow native themeRuslan Kabatsayev1-6/+36
Change-Id: Ia1c4b4ece81655a91c6e489ee51291684e06c157
2012-07-10Implement support for HeaderBar arrow native rendering, add GTK supportRuslan Kabatsayev1-34/+47
Change-Id: Ib65e61259fdbf371c3330dd555ee020f3a20d1fb