summaryrefslogtreecommitdiffstats
path: root/vcl/inc
Commit message (Collapse)AuthorAgeFilesLines
* remove external include guardsThomas Arnhold2013-03-252-6/+0
| | | | Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
* Use an 8bpp virtual device (instead of a 1bpp one) in sw and sc for iOSTor Lillqvist2013-03-261-5/+23
| | | | | | | | | The reason why a 1bpp virtual device is used in these two places in sc and sw is unclear to me. It causes complications on iOS as such a bitmap gets passed to CGBitmapContextCreate() which does not accept 1bpp bitmaps. But let's keep the 1bpp for other platforms. Change-Id: Ia34927cf728d4be05a31e88b7da78200d0b799ba
* rCGContext is not used for iOSTor Lillqvist2013-03-261-2/+4
| | | | Change-Id: If853edc8cd15bc61f0bc9d421799ad290a87d298
* Kill double conversion from NumericBoxZolnai Tamás2013-03-261-1/+1
| | | | | | | Change-Id: Id1161c40725f75ea0d7ec3f15a19ca14defd0a75 Reviewed-on: https://gerrit.libreoffice.org/3035 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* Use OUString and sal_Int32 in GetTextArray() and ImplLayout()Chr. Rossmanith2013-03-261-7/+5
| | | | | | | | Change-Id: I2c1e5b7d53c0d78f2ccf9ac317a7ff40298cd68d Reviewed-on: https://gerrit.libreoffice.org/2967 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Use OUString and sal_Int32 in ImplPrepareLayoutArgs() and GetTextIsRTL()Chr. Rossmanith2013-03-261-6/+3
| | | | | | | | Change-Id: Ib1b659aa56a38efdfc2dddb5e362ac1eb54972f1 Reviewed-on: https://gerrit.libreoffice.org/2959 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Use OUString and sal_Int32 in filterText()Chr. Rossmanith2013-03-262-7/+3
| | | | | | | | | Change-Id: I31437125b51b07be490de3d979e193fad9750f51 Reviewed-on: https://gerrit.libreoffice.org/2956 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* fdo#61789 - improve SvtGraphicStroke / metafile scalingMichael Meeks2013-03-251-0/+2
|
* remove unused member maHelpFile and its getter/settermhofmann2013-03-251-6/+0
| | | | | | | | Change-Id: I97b53be0a6110c6ca736de657cba48baa0445a12 Reviewed-on: https://gerrit.libreoffice.org/2965 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
* Re-work the vcl aspects of the iOS portTor Lillqvist2013-03-2126-1304/+126
| | | | | | | | | | | | | | | Don't try to use similar code as for OS X to manage windows, events etc. I.e. don't use UIKit in vcl to do that. Instead, just do as in the Android port, use the "headless" vcl backend. Do keep using CoreText, though, not FreeType & fontconfig. Start changing the iOS "Viewer" app to correspond to the Android "desktop" app (so it should be renamed). Work in progress since a long time, several crucial details still missing, but committing for now. Change-Id: Iac5fbf8def415e4d0d21e5200450a373420ad7ee
* use #if instead of #ifdef for testing config_xxx.hxx macrosLuboš Luňák2013-03-202-6/+6
| | | | | | http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
* SetSalColor() and GetSalColor() are unusedTor Lillqvist2013-03-194-84/+0
| | | | Change-Id: I1d33abe2e2ccb6d62895da70da89fbbaa0c3b426
* IsPrinterGraphics() and IsVirDevGraphics() were unused.Tor Lillqvist2013-03-182-4/+0
| | | | Change-Id: If5d7bb5c777d3247e3e1a4d39ae1a8f8ba6f4cd8
* Improve indentation and alignment consistencyTor Lillqvist2013-03-184-45/+46
| | | | | | SCNR. Change-Id: I11bcd451eae74ec5eb20e4baa96d308f9eacf01c
* Bin pointless __cplusplus ifdefsTor Lillqvist2013-03-182-26/+0
| | | | Change-Id: I82974eb68e6daf1c6781e2133fd22d7e4e62de82
* Improve indentation consistencyTor Lillqvist2013-03-187-277/+299
| | | | Change-Id: I27a692be8d1c3aa10bdf46883fd502491aff4674
* Bypass X11-specific code if not on X11Tor Lillqvist2013-03-181-1/+3
| | | | Change-Id: I6452191b11b197b0f90ae6638019d3bc6db67ad7
* SalData::drainThreadAutoreleasePool() is unusedTor Lillqvist2013-03-182-2/+0
| | | | Change-Id: Idbb98b32ffc5970e236c9d319e0e8791b855e283
* AndroidSalInstance::RedrawWindows() is called from only one placeTor Lillqvist2013-03-171-1/+1
| | | | | | | No need to take a parameter for which NULL is always passed, and related simplifications. Change-Id: I89bab2904fdae3520987d0f67e55b2649bf225d3
* onAppCmd() and onInputEvent() don't exist any moreTor Lillqvist2013-03-171-3/+0
| | | | | | They were used in the NativeActivity-based coding. Change-Id: Id393026783c989f05d90ad79cc4e8f5e8cd0174e
* Bin more pointless comments and ASCII graphicsTor Lillqvist2013-03-168-375/+1
| | | | | | | | | | | Suggested Easy Hack: Replace all instances of // -------- comments including surrounding newlines with a single newline. Another Easy Hack, slightly harder to automate: Remove all the pointless comments that just tell the class name right before the declaration of that class. Change-Id: Ia890ed613b53c5d719988697e20a983d62334123
* Bin some pointless comments and ASCII graphicsTor Lillqvist2013-03-1629-261/+1
| | | | Change-Id: Ib7b176eb1889ebd94d4b628899011de9ebbb3dbd
* Get rid of a few pointless commentsTor Lillqvist2013-03-163-28/+1
| | | | | | | No need to refer to some source files in a few random places in headers, using ancient UPPER-CASE file names even. Change-Id: Ia0827be34046f25fd769466c41dab017b4935a37
* mnSystemVersion not usedTor Lillqvist2013-03-161-5/+0
| | | | Change-Id: Ief800f1228bca327fd8d77a78fa332639f5d5f69
* Resolves: #i119125# various actions implemented, clipping added.Armin Le Grand2013-03-151-1/+2
| | | | | | | | | | | | Esp hard was ImpSdrGDIMetaFileImport, but working now. Needed to hand-craft alpha addition for alpha in Metafile content and gradient of action. Also added better BitmapEx creation for convert to bitmap for draw objects. Conflicts: svx/source/svdraw/svdxcgv.cxx vcl/source/gdi/impgraph.cxx Change-Id: Ic6ac9fb3132dd122e16a5cd8f9c5ddd155ec9882
* Related: #i119125# Added MetaFloatTransparentAction handling...Armin Le Grand2013-03-151-0/+8
| | | | | | | | | | | | ...using primitive renderer Conflicts: svx/source/svdraw/svdedtv2.cxx svx/source/svdraw/svdfmtf.cxx svx/source/svdraw/svdfmtf.hxx svx/source/svdraw/svdograf.cxx Change-Id: I2223f86a63be80ecae91af0a6987ac587f07bc30
* Remove rtl:: namespace, fix minor spelling error in commentChris2013-03-143-17/+14
| | | | | | | Change-Id: Icd04bfa61209277c57afe313d679b253aa241b7d Reviewed-on: https://gerrit.libreoffice.org/2726 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
* pass argb32 pixmaps from vcl to canvas, avoiding costly x11 roundtripsRadek Doulik2013-03-142-0/+7
| | | | | | - fixes also problem with emf+ rendering for slideshow Change-Id: Icb894d3f37b29f23d3f267c944d827eefbf47fda
* vcl: make Region ctors explicit to prevent overloading desastersMichael Stahl2013-03-131-6/+6
| | | | Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0
* vcl: targetted restoration of OutputDevice::PixelToLogic overloadMichael Stahl2013-03-131-0/+1
| | | | | | | | | Add some code needed for commit 684c502ed0a6782fe1b9c7d7cd1911a4a88b543a This fixes the infinite loop that allocates gigs of memory in sc_unoapi test. The problem was that instead of PixelToLogic overload an implicit Region ctor was called. Change-Id: Iefcd453a5c6327964c219074239ac65be737da6e
* Replace XubString with OUString (vcl/ilstbox)Chr. Rossmanith2013-03-121-12/+12
| | | | | | | Change-Id: Ia2cefe1649538d411ae858e21a3145ca01fff2ee Reviewed-on: https://gerrit.libreoffice.org/2690 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Replace XubString with OUString (dbggui.cxx)Chr. Rossmanith2013-03-121-2/+1
| | | | | | | Change-Id: I080f6671eaa923790fd41d4ed9f147c44c721442 Reviewed-on: https://gerrit.libreoffice.org/2688 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* update pch headersLuboš Luňák2013-03-121-0/+7
| | | | Change-Id: Ibb368e6a806666a73bf6bf1a097d14bc6e75b24d
* liblibo: install test library by itself and install it.Michael Meeks2013-03-121-3/+2
| | | | | | | Also fix debugging with threads, find fundamentalrc correctly, make it headless, finally loads a document then exits. Change-Id: I2017075bf3b3c7198bde53b9fe85585089e5ab6c
* Abbreviate Rectangle as Rect, not RecTor Lillqvist2013-03-121-1/+1
| | | | Change-Id: If38a5d23150bcd19a6eb6024c2ef1eea826898f5
* Resolves: fdo#62154 propogate text language down to icu for loclCaolán McNamara2013-03-111-1/+2
| | | | Change-Id: I92f40d0a1e88b5cb0e6f07a1e6e4a8bd41cb8102
* fdo#38838: Converting String/UniString to OUStringelixir2013-03-112-23/+23
| | | | | | | Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9 Reviewed-on: https://gerrit.libreoffice.org/2586 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* update pch filesPeter Foley2013-03-101-0/+1
| | | | Change-Id: I07c1acc9f9e788f1165b3e241008aa944485790d
* fdo#60691 add modelines to *.src and *.hrc filesBorim2013-03-082-0/+6
| | | | | | | | | use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
* AndroidSalInstance::Wakeup() is unusedTor Lillqvist2013-03-081-1/+0
| | | | | | | | | | The Wakeup() in the base class, SvpSalInstance, is not virtual. So this Wakeup() does not override the Wakeup() in the base class, as the author maybe thought. I don't see in git history that it would have ever been called explicitly on any AndroidSalInstance objects either. Or am I missing something? Change-Id: I932398e7c0a37a3048c5d372996fe6ac6f209887
* Don't crash the other experimental appsTor Lillqvist2013-03-081-5/+0
| | | | | | | | | | | Don't try to find the class org.libreoffice.experimental.desktop.Desktop in the AndroidSalInstance constructor. It won't exist anyway except in that specific app. Look up the class in the damaged() method where it is needed. And actually, of course we should not hardcode the name of the app class like that, but the app should pass its class down to the native code. Change-Id: Ic15d5cc2c8d53be558711ca7a145d5489e34d298
* Make use of new-style AccessBridge ctorStephan Bergmann2013-03-081-1/+2
| | | | Change-Id: I9239fb1c8b139ee2bdb27cdf55222d54e488f6d5
* set action and content area via their internal-child idsCaolán McNamara2013-03-081-0/+7
| | | | | | | | | | rather than based on their names, which changes if there are more than one dialog in a .ui set them explicitly in the manual-build-dialog case of the SfxTabDialogs Change-Id: I293c77df05d9e11e3f1cf3b358a9dd27fe668b0f
* editable ttf fonts are usable for print&preview tooLuboš Luňák2013-03-081-2/+2
| | | | | | | Since it's a less restrictive setting (fonts should usually have both bits set though). Change-Id: I83f740762698bd0a0f8fdee388a6e710cfd9d00a
* embed also view-only fonts, but do not use themLuboš Luňák2013-03-081-1/+17
| | | | | | | | | | | | MSO embeds even fonts which allow only embedding for viewing the document but not editing it. So embed such fonts too, but do not actually use them from the document. What MSO does when such a font is not present locally when opening the document is switching to read-only mode, warning about this and providing a button for switching to editing mode by dumping the font(s). That should be done for LO too, but right now dropping view-only fonts is better than using them for editing. Change-Id: I19c28fadb091e6b21beaf4cbf8b47e3078256d1c
* function for duplicated codeLuboš Luňák2013-03-081-0/+15
| | | | Change-Id: If9d6a163abb5a1cbd64838ca005b14dcd51c4588
* c#708653# remove unused member SalXLib::pYieldEntries_Herbert Dürr2013-03-071-2/+0
| | | | Change-Id: I0d562f102d5159c0711922ff0c2997a560304eba
* rename setInitialLayoutSize to setOptimalLayoutSizeCaolán McNamara2013-03-072-1/+7
| | | | | | | and add a mechanism to know that we're in true initial layout mode Change-Id: I4ff61160ae67a7ccf1cb8b25c41870c195d32b94
* add stock button text for paste, and map to gtk-pasteCaolán McNamara2013-03-071-0/+1
| | | | Change-Id: I38a49ccc744060271be77c9eba2e6bd300630092
* Replace (Xub)String with OUString in vcl(field)Chr. Rossmanith2013-03-071-16/+16
| | | | | | | Change-Id: I62fba60a4c6e1db870443a796e6338cddc934352 Reviewed-on: https://gerrit.libreoffice.org/2229 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>