summaryrefslogtreecommitdiff
path: root/vcl/source
AgeCommit message (Collapse)AuthorFilesLines
2012-06-11Remove non-functional Hide/ShowStatusTextThomas Arnhold1-12/+0
Change-Id: Ifad680ea6f2f3693fecc649a000e638052dcf080
2012-06-11Make DO_TEST_PDF code work againGökçen Eraslan1-2/+20
Change-Id: I3b3e5ab68421e25e6bf153f11ca5e538aa482874
2012-06-11FixedBorder is no longer usedCaolán McNamara2-197/+0
Change-Id: Ic4b1ab81d414963e7cb40c348737504c8021a7fb
2012-06-10separator will be invisible if there is no visible buttonsIvan Timofeev1-2/+1
Change-Id: Ife88aa5059630b7d71f567a2c8368cec55050eef
2012-06-09Do what the TODO said: Remove unused member and inclusion of vcl/virdev.hxxTor Lillqvist2-2/+1
Add header back in a few C++ files elsewhere. Change-Id: I041ed39ff9bb26d1f42f3614ca50dbc085f13861
2012-06-09oops, hide the first separator as wellIvan Timofeev1-1/+1
Change-Id: I90354696b96870b6d828e8f53e8b72a3716133bc
2012-06-09fdo#42379: hide separators before calculating line breaksIvan Timofeev1-28/+35
it is nesessary since commit 1703501a100cd6d52578baeb4e8097218b285ffb, ImplCalcBreaks looks for the last visible item. Change-Id: Ifb103d264116930339d8f5cfb267601f0e760fd2
2012-06-09Remove superfluous empty lines on topThomas Arnhold3-8/+0
More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-07Implement native FixedLine render, add GTK support for itRuslan Kabatsayev1-0/+11
Change-Id: I142cc8c48331aaed0d157b4b0f81e7c021005624
2012-06-07Fix new Bitmap creation in Lanczos resampling.Tomaž Vajngerl1-3/+2
Bitmaps in Lanczos resampling were not created correctly. This problem was visible in Impress when the background of a slide was set to "tile". Change-Id: Ic77ae1f20a872176eacb1f28175d53b4a0934008
2012-06-06calc input line: Fix crash on MacOSX.Jan Holesovsky1-1/+1
Change-Id: Iff50dfc1b4730ff584e3015486da4acf8fd5cb47
2012-06-06fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin1-8/+4
Update code to use factory method URLTransformer::create Change-Id: I3fd2e838497bcfd8fc949615c0e7d60a6ea47118 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-05Intercept the window close event and end the preview when clicking 'x'.Kohei Yoshida2-10/+33
This is to prevent the preview window from closing the whole document when pressing the window frame's 'x' button. Instead, pressing the 'x' will end the preview mode and bring it back to the normal Calc window. Change-Id: If4d42928784e3e05bc6357d811a1954efb221f01
2012-06-05Use BMP_SCALE_LANCZOS instead of BMP_SCALE_INTERPOLATE.Jan Holesovsky3-3/+3
Where we explicitly ask for better quality, use BMP_SCALE_LANCZOS, instead of BMP_SCALE_INTERPOLATE. Change-Id: I28ddf3290204532a8660e09ee9ab0949b6ce1c73
2012-06-05Lanczos resampling - mirror image on edges and fix image upscalingTomaž Vajngerl1-18/+42
When upscaling the bitmap at edges use the mirror of the image to calculate contributions. Fix calculation of contributions when upscaling a bitmap. Change-Id: I9d3aedaed95aaab60ee5ea9cdd65e4dd8624428f
2012-06-05assume for all menus we reserve space for checkboxesCaolán McNamara1-37/+17
so menus have consistent whitespace at left regardless of containing checkboxes/radiobutton entries. Its nasty to have menus "suddenly" appear without whitespace as submenus of ones with whitespace. This is a logical consequence of MENU_FLAG_SHOWCHECKIMAGES always set (in the absence of SetMenuFlags where usage has generally dropped MENU_FLAG_SHOWCHECKIMAGES accidentally) Change-Id: I9501381b91415131eff5143a0c88142221530fb6
2012-06-05at one stage we had checkmarks *and* icons in menus side by sideCaolán McNamara1-6/+7
later on we ended up with toggleable icons instead, change comment to reflect the current situation Change-Id: Ia39f6bffe8e5942442482b1f845d2964138ec032
2012-06-05nCheckPos and nImagePos are always the same value, merge togetherCaolán McNamara1-6/+4
Change-Id: I41bf6eada1fbeaa9548f81b3bf4fd9d4f4f6871a
2012-06-05fix mangled indentCaolán McNamara1-5/+5
Change-Id: I57d0a16ed698b406cb7362a3382698fcd5bf21b2
2012-06-05make ImplGetNativeCheckAndRadioSize return max sizeCaolán McNamara1-15/+16
rather than just max height with max width smuggled out as a confusing extra third argument Change-Id: Id37ec4f679e5668715d5db0bc8875a27c8b2fb3c
2012-06-05nMax here is a height valueCaolán McNamara1-6/+6
Change-Id: Ia1c12f29840dcb2f3f5a5d654a368ddc11554ab2
2012-06-04fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin3-53/+44
Update calls to factories to use new ::create methods Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-04fdo#50169: skip the rest of the loop in case of wrong indexMichael Stahl1-4/+5
Presumably that is what Martin wanted to do in the previous patch. Change-Id: I64f1da88c1802a27cf974aa6abc15b014b56126d
2012-06-04fdo#50169: add another index checkMartin Hosken1-0/+1
Change-Id: I974ac27ee17219ce3f8a7e5641dbb0098da18f8e
2012-06-04fdo#46378: Lanczos3 resampling of images added to Bitmap.Tomaz Vajngerl1-0/+237
Current resampling methods for images are FAST and INTERPOLATE. FAST is used where speed of resampling is required, on the other hand INTERPOLATE resampling is used when we need quality. For example INTERPOLATE resampling method is used at PDF export. INTERPOLATE resampling uses bilinear interpolation which is known to be lower quality as other modern (and slower) resampling algorithms such as Lanczos, Mitchell or BiCubic resampling. This change adds Lanczos resampling to the Bitmap class and enables Lanczos resampling in PDF export. Lanczos3 resampling is implmented using separable convolution with which it is also possible to easily add other resampling methods like BiCubic just by changing the kernel function. Change-Id: I8dff5b65753b09dffd5bc34f2343d9818efb3e58
2012-06-04sal_uInt32 -> cmsUInt32NumberFridrich Štrba1-1/+1
Change-Id: I2d16ab0c75221cd7ce3e602d9f830b597433411b
2012-06-04Replace the module icc functionality by a use of lcms2Fridrich Štrba1-2/+10
Change-Id: I989af1147711f0175bf889bc55043b2d84a49b38
2012-06-02targeted string re-workNorbert Thiebaud4-142/+142
Change-Id: Ic1fb9f4ec0f37d4efcf43c58b903388478d52173
2012-06-02targeted string re-workNorbert Thiebaud13-102/+91
Change-Id: I0ca912c8b7e485f5ec78422150aedc72ca6df32f
2012-06-02Fix operator precedence errorRuslan Kabatsayev1-2/+2
Change-Id: I8806f17aaf9fe2c209b917259dfd1d17e530e170
2012-05-31targetted cppcheck warning fix reversionMichael Meeks2-7/+7
Change-Id: I44bafcc62a127f2d7c6da2952573e4128783c342
2012-05-31make CheckCharacterBounds tests happy without forcing empty glyphs 1 unit wideCaolán McNamara2-2/+8
related, i#87757 and 8bafe38c569afa2e1055eb647cb7ff161ddd1230 which itself is related to ce14342c4292628a641a72d4f63d9c048e030c6a, These character bounds are backed by what's the glyph bounding box for the ink used for the glyph. Whitespace has no ink so its an empty Rectangle. Which brings the awesome RECT_EMPTY into play. It might be a bit dubious in the first place to back getCharacterBounds with the glyph bounding box in the first place, rather than maybe the advance width or some such. But lets assume that decision was intentional. So, the qa test should accept that a glyph might be of 0 width anyway. Then, tweak rectangle merging so that we can preserve the correct top-left position of an empty glyph So, we can determine the correct character index given the top-left position of an empty glyph Change-Id: I5e18460ff7cd90cd27d5eede2aa0a5494c36a5d3
2012-05-30vcl: rename unhelpful 'Default' screen to a BuiltIn screenMichael Meeks2-8/+40
Add 'BuiltInDisplay' and 'ExternalDisplay' UNO properties to clarify Change-Id: Idf5d26bf687871b3949d077fb89bfe1942839125
2012-05-30calc input line: Fix the size on Windows.Jan Holesovsky1-8/+8
Change-Id: Iac102ad3794b8959fb219094a9db6345990c4883
2012-05-30Add temporary test JNI method createWindowFoo()...Tor Lillqvist1-0/+10
Change-Id: I8f99399faa3b0762bdea2aac09f1b849639cd191
2012-05-29nuke unused typedefTakeshi Abe1-4/+0
Change-Id: I12a55e08a83b88221d992790c97c830761755582
2012-05-28valgrind: Related rhbz#820376 mnDestWidth used without initializationCaolán McNamara1-0/+2
Change-Id: Id52458441fc2ef3b466f5e4f716b0341dca11091
2012-05-28calc input line: Native rendering of the input line.Jan Holesovsky2-0/+20
[Including few adjustments in the way the scrollbar is being calculated.] Change-Id: I247ee139864a119bdec9dead64e51d9aace385ff
2012-05-28fdo#46378: Prefer interpolation-based image rescaling in PDF export.Gökçen Eraslan1-1/+1
Change-Id: I9ead1221b4562dea0e1ef289944ac11ea850ed1a
2012-05-27WaE unused argumentNorbert Thiebaud1-1/+1
Change-Id: I04c06fd83142c7ced83a27370f50aee88a6a2101
2012-05-27Use normal font in tab headersStefan Knorr (astron)1-30/+1
2012-05-25fdo#50169: band-aid another crash in GraphiteLayout::expandOrCondense:Michael Stahl1-1/+5
error: attempt to subscript container with out-of-bounds index 6, but container only holds 6 elements.
2012-05-25gtk: add support for "vertical-padding" menu style propertyIvan Timofeev1-22/+20
and fix bug in MenuFloatingWindow::ImplHighlightItem - take this border into account Change-Id: Ieeb5a447ed58f9bb064a8b88aefc5d1b666195f7
2012-05-25WaE: nPos potentially uninitialized with gcc 4.7.0Caolán McNamara1-1/+1
Change-Id: Ie02cf6154b7536a46cd3753c526f7c390e57a40e
2012-05-23remove unused ImplSubEdit classCaolán McNamara3-16/+0
Change-Id: Iaf9a750860b4e51f576c37dab2d4844c2e2146cd
2012-05-22Bin unused REFDEV_MODE48Tor Lillqvist1-3/+0
Change-Id: I96997da0eb038cab4bdba32e0d797747623f4853
2012-05-22border window: Design by Mirek M. - make the 'shells' more lightweight.Jan Holesovsky2-0/+19
Just a line at the top and the bottom, we do not want the entire 3D effect here, it makes it visually incompatible with the window decorations. Change-Id: I262932fb5def21d5bc4fb347be6d6a07807bb4d2
2012-05-22convert GetSurroundingText family to OUStringCaolán McNamara2-6/+5
Change-Id: Ifbb21fc26eedfde4afe2e3faf637346554f63d94
2012-05-22vcl: cleanup default icon-set logic making broadway default to tangoMichael Meeks1-11/+9
Change-Id: Ic982570a88a7f35c3b5a55a722ee759a37e1a64f
2012-05-20Some cppcheck cleaningJulien Nabet2-2/+2
Change-Id: Ic30cdeffabec1eb1a6c153ac450a3d28064ef534