summaryrefslogtreecommitdiffstats
path: root/svtools
Commit message (Collapse)AuthorAgeFilesLines
* remove some useless commentsThomas Arnhold2012-08-182-4/+1
| | | | | | | Change-Id: Ied223890539a3407abbed7c7135dfc3de2f2fe48 Reviewed-on: https://gerrit.libreoffice.org/429 Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com> Tested-by: Philipp Riemer <ruderphilipp@gmail.com>
* gbuild: register all jarsMichael Stahl2012-08-171-5/+5
| | | | Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
* -Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann2012-08-1524-71/+18
| | | | Change-Id: I1341170e8ca43e23723a88ec05d826981e4473ee
* that->than in comment typoCaolán McNamara2012-08-151-2/+2
| | | | Change-Id: I3c0e8ce9b2aabe0bd27d5d6d15cd7cb53f72c31c
* Fix transparent bitmap rendering.Tomaž Vajngerl2012-08-141-30/+30
| | | | | | | Convert transparent mask to 8bit-grey after scale/rotate/crop transformation. Use correct perspective at rendering. Change-Id: I80b19d7bec880b0c58709c7c5bee6199cbc815c9
* code cleanupRob Snelders2012-08-142-162/+138
| | | | Change-Id: Ib154cd53253e4d802d13a024a20f6c34d499e672
* Convert from tools/list.hxx to tools/contnr.hxxNoel Grandin2012-08-133-3/+3
| | | | | | Most places don't need to include tools/list.hxx Change-Id: Ib2415fbbf92b039a77e1f5c21856f03de60262d4
* unusedcode.easy: remove unused codeThomas Arnhold2012-08-133-14/+0
| | | | Change-Id: I87e7264ffd3086796aaa8e136c2f9b77fde7b74f
* remove duplicate code, thanks to Petr Mladek for spottingIvan Timofeev2012-08-131-12/+0
| | | | Change-Id: I136dc9e314197ac100f1f0d12d1f485dc659af9f
* validate polypolygon point countsCaolán McNamara2012-08-091-6/+61
| | | | Change-Id: Ibf6bdf48e5855583f14cd2be36f1e4896a396d32
* fdo#50654: update virtual device width on modifying WB_EXTRAFIELD flagIvan Timofeev2012-08-081-1/+15
| | | | | | | | | | | | | | | Writer sets this flag dynamically via Ruler::SetStyle depending on the text direction, the flag is set by default and gets unset for the vertical ruler, because the initial text direction is horizontal, see SwView::StateTabWin. Ruler::SetStyle calls Ruler::ImplInitExtraField, which modifies mnVirOff, however mnVirWidth depends on mnVirOff, but gets updated only in Resize. This patch copies the code from Resize to ImplInitExtraField, we cannot just call Resize from ImplInitExtraField due to possible infinite recursion. Change-Id: Ic7bb897059295aebe86c11977c37419017b55787
* reduce ascii noise and useless commentsThomas Arnhold2012-08-088-48/+1
| | | | Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
* remove include comments and boxesThomas Arnhold2012-08-0822-83/+1
| | | | Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
* Convert from tools/list.hxx to std::list in GraphicCacheNoel Grandin2012-08-082-40/+41
| | | | Change-Id: I020a2e9ef8485549d0c66798c8b651641319e17a
* STL'ify SV_DECL_IMPL_PERSIST_LISTNoel Grandin2012-08-081-0/+1
| | | | | | Converts it to a template based on std::vector Change-Id: Id7f89f494164c61a3a573cff443ac0e0488e93f1
* Convert HashedEntryList to boost::ptr_vectorNoel Grandin2012-08-081-102/+33
| | | | | | Convert from tools/inc/tools/list.hxx Change-Id: Ia0f45a54822d8e341ec803f4b8f54734338d541b
* Use the correct licence headerArnaud Versini2012-08-072-2/+24
| | | | Change-Id: Ieef62aaf240a133d70222e8d0c0bc5032d97d945
* remove empty ascii boxes and stuffThomas Arnhold2012-08-077-382/+0
| | | | Change-Id: Ied91b5b298f0cfad0d3408c3cbb87c7bd1b83247
* drop bogus eof linesThomas Arnhold2012-08-071-2/+0
| | | | Change-Id: Idda2852c3e96ce15fde75d5a95369ec50a012410
* Remove non-existing forward declarationsThomas Arnhold2012-08-076-9/+0
| | | | | | Those classes don't exist. So remove friend class operators too. Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
* fdo#46193 MessBox was made copyableZolnai Tamás2012-08-0726-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
* There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET2012-08-061-1/+1
| | | | | | a literal within a OUString. Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
* Move PlaceEditDialog class and resources to svtools.Rafael Dominguez2012-08-0310-5/+1371
| | | | | | | - Update fpicker files that include them. - Separate Place class into its own header and move it to svtools. Change-Id: I83a285d4c7fc21d6e76e4d7e47e347dac2bb4344
* remove now pointless pItemDesruptListCaolán McNamara2012-08-021-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
* simpler fix fo fdo#51336 - change vcl checkbox no-label behaviourNoel Power2012-08-011-0/+1
| | | | Change-Id: I1563dc2afc49c7b1115192db00fbd08a7524154e
* Revert "fdo#51336 - change vcl checkbox no-label behaviour"Noel Power2012-08-011-23/+1
| | | | This reverts commit a1345cd93a57ec7d9352f2c71ec2664332ce5e76.
* consider only fully visible itemsIvan Timofeev2012-08-011-1/+1
| | | | Change-Id: I32d88e5206a96b316f29cf4ede04a6ac951d86d5
* add in some more filter testsCaolán McNamara2012-07-301-0/+1
| | | | Change-Id: I79beed272a6b3bb27d78563db70f66bcf620df8c
* add in some more filter testsCaolán McNamara2012-07-301-0/+1
| | | | Change-Id: If3809196c577cda7a392ac9eae3b4fa411313b5c
* remove unnecessary includes of svl/svarray.hxxCaolán McNamara2012-07-306-6/+0
| | | | Change-Id: Ifec201efc4e97baf2d36d66c4ae6967eadd6134c
* Typo ressource -> resourceStephan Bergmann2012-07-305-63/+63
| | | | Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
* Bug 48549 - System::Beep() removalMathieu Vonlanthen2012-07-303-3/+0
| | | | Change-Id: I011048912af051a762a78af8646513a1fc624073
* Partially revert "Remove unused defines"Thomas Arnhold2012-07-291-8/+15
| | | | | | | | This partially reverts 00240d049790d11c4ef35de7a294819107197efd http://lists.freedesktop.org/archives/libreoffice/2012-July/035331.html Change-Id: Ib682cd258cca12e742be5fb1715b2aecfe0a761e
* svxbox.cxx unbuilt, svxbox.hxx unnecessarily includedCaolán McNamara2012-07-282-613/+0
| | | | | | so remove svxbox.?xx Change-Id: I329b8468d05ea108ea9cfb57e3702cccfcc69227
* add RtfAttributeOutput::FlyFrameOLEReplacementMiklos Vajna2012-07-271-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
* svtools: add new math rtf keywordsMiklos Vajna2012-07-271-0/+53
| | | | Change-Id: Ib57f9b143ccec29fdaa193bcfc523cd86a0713c1
* merge the two pict/pct detectors which disagree togetherCaolán McNamara2012-07-273-57/+50
| | | | Change-Id: I63fc63884e3377f2707d99e7e85ab6761d37cd0a
* add regression test for gif that nobbled XnViewCaolán McNamara2012-07-271-0/+0
| | | | Change-Id: Ib5d456fa8e10a680ab79dd60bca99b37d0859078
* fd0#35973 - [EasyHack] Remember the state of the sidebar pane in ImpressRob Snelders2012-07-264-0/+581
| | | | Change-Id: Ie287bc1c545bd8986ee3509181c878bdcd0d1942
* pTabBar is always NULLIvan Timofeev2012-07-263-50/+8
| | | | Change-Id: I0f40a54c02c0231f75fcfcae7676f529984ee0f2
* discard broken embedded object previewsCaolán McNamara2012-07-261-8/+17
| | | | Change-Id: I4f632545d383c4887342aa2959987d4ac3638eb4
* Fix bitmap resizing issue when using ScaleRotateCrop with BitmapEx.Tomaž Vajngerl2012-07-251-16/+25
| | | | Change-Id: I1fd08d94c506580ed7557066448ccb10adb9b16d
* fdo#40152 replace with empty string in Basic IDEUray M. János2012-07-251-1/+3
| | | | Change-Id: I2ee41160e5cb10694ccdb5a1cdaf7d4abfeb23bb
* delete svl/svstdarr.hxxMichael Stahl2012-07-252-2/+0
| | | | Change-Id: Ia3d1d8dbe100443410b80c3881f10ab51b2d0419
* Use native theme to draw TabBar backgroundRuslan Kabatsayev2012-07-251-1/+5
| | | | Change-Id: Ia274a6438dbb1e3ae94d492df6b9ff86343dd272
* One pass scale, rotate and crop using bilinear filtering and averaging.Tomaž Vajngerl2012-07-241-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
* janitorial: C++-style cast instead of legacy C-style castLionel Elie Mamane2012-07-241-1/+1
| | | | Change-Id: I86cd5d87751c5a9dd31a392e2b3847e8f5741524
* forcing repaint has catastrophic performance implications; invalidate onlyLionel Elie Mamane2012-07-241-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
* fdo#51659: static assertion for STR_ARR_SVT_LANGUAGE_TABLEMichael Stahl2012-07-241-0/+7
| | | | Change-Id: I5588198452a609dd541d51ac7a84cd5773949ae7
* fdo#48549 System::Beep() removalMathieu Vonlanthen2012-07-234-11/+0
| | | | Change-Id: I8fe133dd8d1f759fbe21d47ae358c0b5451812b5