summaryrefslogtreecommitdiff
path: root/vcl/inc
AgeCommit message (Collapse)Author
2013-03-18Improve indentation consistencyTor Lillqvist
Change-Id: I27a692be8d1c3aa10bdf46883fd502491aff4674
2013-03-18Bypass X11-specific code if not on X11Tor Lillqvist
Change-Id: I6452191b11b197b0f90ae6638019d3bc6db67ad7
2013-03-18SalData::drainThreadAutoreleasePool() is unusedTor Lillqvist
Change-Id: Idbb98b32ffc5970e236c9d319e0e8791b855e283
2013-03-17AndroidSalInstance::RedrawWindows() is called from only one placeTor Lillqvist
No need to take a parameter for which NULL is always passed, and related simplifications. Change-Id: I89bab2904fdae3520987d0f67e55b2649bf225d3
2013-03-17onAppCmd() and onInputEvent() don't exist any moreTor Lillqvist
They were used in the NativeActivity-based coding. Change-Id: Id393026783c989f05d90ad79cc4e8f5e8cd0174e
2013-03-16Bin more pointless comments and ASCII graphicsTor Lillqvist
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
2013-03-16Bin some pointless comments and ASCII graphicsTor Lillqvist
Change-Id: Ib7b176eb1889ebd94d4b628899011de9ebbb3dbd
2013-03-16Get rid of a few pointless commentsTor Lillqvist
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
2013-03-16mnSystemVersion not usedTor Lillqvist
Change-Id: Ief800f1228bca327fd8d77a78fa332639f5d5f69
2013-03-15Resolves: #i119125# various actions implemented, clipping added.Armin Le Grand
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
2013-03-15Related: #i119125# Added MetaFloatTransparentAction handling...Armin Le Grand
...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
2013-03-14Remove rtl:: namespace, fix minor spelling error in commentChris
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>
2013-03-14pass argb32 pixmaps from vcl to canvas, avoiding costly x11 roundtripsRadek Doulik
- fixes also problem with emf+ rendering for slideshow Change-Id: Icb894d3f37b29f23d3f267c944d827eefbf47fda
2013-03-13vcl: make Region ctors explicit to prevent overloading desastersMichael Stahl
Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0
2013-03-13vcl: targetted restoration of OutputDevice::PixelToLogic overloadMichael Stahl
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
2013-03-12Replace XubString with OUString (vcl/ilstbox)Chr. Rossmanith
Change-Id: Ia2cefe1649538d411ae858e21a3145ca01fff2ee Reviewed-on: https://gerrit.libreoffice.org/2690 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-12Replace XubString with OUString (dbggui.cxx)Chr. Rossmanith
Change-Id: I080f6671eaa923790fd41d4ed9f147c44c721442 Reviewed-on: https://gerrit.libreoffice.org/2688 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-12update pch headersLuboš Luňák
Change-Id: Ibb368e6a806666a73bf6bf1a097d14bc6e75b24d
2013-03-12liblibo: install test library by itself and install it.Michael Meeks
Also fix debugging with threads, find fundamentalrc correctly, make it headless, finally loads a document then exits. Change-Id: I2017075bf3b3c7198bde53b9fe85585089e5ab6c
2013-03-12Abbreviate Rectangle as Rect, not RecTor Lillqvist
Change-Id: If38a5d23150bcd19a6eb6024c2ef1eea826898f5
2013-03-11Resolves: fdo#62154 propogate text language down to icu for loclCaolán McNamara
Change-Id: I92f40d0a1e88b5cb0e6f07a1e6e4a8bd41cb8102
2013-03-11fdo#38838: Converting String/UniString to OUStringelixir
Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9 Reviewed-on: https://gerrit.libreoffice.org/2586 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-10update pch filesPeter Foley
Change-Id: I07c1acc9f9e788f1165b3e241008aa944485790d
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
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
2013-03-08AndroidSalInstance::Wakeup() is unusedTor Lillqvist
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
2013-03-08Don't crash the other experimental appsTor Lillqvist
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
2013-03-08Make use of new-style AccessBridge ctorStephan Bergmann
Change-Id: I9239fb1c8b139ee2bdb27cdf55222d54e488f6d5
2013-03-08set action and content area via their internal-child idsCaolán McNamara
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
2013-03-08editable ttf fonts are usable for print&preview tooLuboš Luňák
Since it's a less restrictive setting (fonts should usually have both bits set though). Change-Id: I83f740762698bd0a0f8fdee388a6e710cfd9d00a
2013-03-08embed also view-only fonts, but do not use themLuboš Luňák
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
2013-03-08function for duplicated codeLuboš Luňák
Change-Id: If9d6a163abb5a1cbd64838ca005b14dcd51c4588
2013-03-07c#708653# remove unused member SalXLib::pYieldEntries_Herbert Dürr
Change-Id: I0d562f102d5159c0711922ff0c2997a560304eba
2013-03-07rename setInitialLayoutSize to setOptimalLayoutSizeCaolán McNamara
and add a mechanism to know that we're in true initial layout mode Change-Id: I4ff61160ae67a7ccf1cb8b25c41870c195d32b94
2013-03-07add stock button text for paste, and map to gtk-pasteCaolán McNamara
Change-Id: I38a49ccc744060271be77c9eba2e6bd300630092
2013-03-07Replace (Xub)String with OUString in vcl(field)Chr. Rossmanith
Change-Id: I62fba60a4c6e1db870443a796e6338cddc934352 Reviewed-on: https://gerrit.libreoffice.org/2229 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-07fix canvas bitmap rendering (argb32 pixmaps) fixes color issue in n#780830Radek Doulik
Change-Id: I5242bbb171ba21da43e535255b7e9dd73c1d4930
2013-03-07Replaced XubString with OUString in vcl(combobox)Chr. Rossmanith
Change-Id: Ibe80e9837f1c8275d625e942eb75ecc8de897bf5 Reviewed-on: https://gerrit.libreoffice.org/2574 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-07Revert "Window::PostPaint() was unused and empty"Tor Lillqvist
Nah, seems that it was used after all on Windows, somehow. This reverts commit 5754264f93001978a3c5f5f1cdabd7113de010b8.
2013-03-07Handle damage tracking and redrawing properly in the "desktop" Android appTor Lillqvist
In the damaged() method do a callback up to Java code in Desktop that invalidates the view. For now store the view in a static field, but need to do that in a cleaner way eventually. There might in some circumstancest be several instances of the Desktop activity present. Obviously should also run just one LO thread. Get rid of the temporary self-invalidattion in onDraw() silliness. Start the LO thread that runs soffice_main() from Java, not from native code. Apparently only threads created from Java have proper class loaders in Android. No need for an own DoReleaseYield() in AndroidSalInstance, the one in the SvpSalInstance base class does what needs to be done. Change-Id: I4cb85b352fca1f1375f726620ec8c93d2047f113
2013-03-07SALEVENT_COUNT is unusedTor Lillqvist
Change-Id: Ia4970bd63ae5a9af40a82c894ecd077b7ca199df
2013-03-07Window::PostPaint() was unused and emptyTor Lillqvist
Change-Id: I0e35b55888df16067660862fd54d240f5dfcef8f
2013-03-06merge isLayoutEnabledsCaolán McNamara
Change-Id: I67e55fd6aac3e0c9b80c63ca682d3aca7be7d815
2013-03-06some XubString->OUStringCaolán McNamara
Change-Id: Ic2baaa9d6de5e6b53bbd11e5917f206336302f7c
2013-03-06remove the need to explicitly specify font style for font embeddingLuboš Luňák
The information can be read from the font data itself now, so this is a bit pointless. It wasn't entirely reliable anyway, as it is also necessary to ensure two font different font files don't overwrite each other. Change-Id: Ie17ab8118e1c08228beb7c749c5c8d6cf3426362
2013-03-06check whether font files allow being embedded in documentsLuboš Luňák
Change-Id: I95842a35a7c795cb0a3c1957f4062a373a9c4797
2013-03-06Add SvpSalInstance::PostedEventsInQueue()Tor Lillqvist
Used by AndroidSalInstance::AnyInput(). Unfortunately there is no way to check for a specific type of input being queued as the AnyInput() API would want. That information is too hidden, sigh. Should fix that. Change-Id: I2d971a7da531bb00a80fd39311fb70ab29359b08
2013-03-04doubled includesThomas Arnhold
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04remove unused and commented out codeThomas Arnhold
This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-03-04callcatcher: unused codeCaolán McNamara
Change-Id: I7dcaa6f57815321e108cd7ce284fe145dc0506f2
2013-03-04fdo#39468 translate German comments in vclChristian M. Heller
modified: vcl/inc/vcl/fltcall.hxx modified: vcl/inc/vcl/textdata.hxx modified: vcl/inc/vcl/texteng.hxx modified: vcl/source/control/combobox.cxx modified: vcl/source/control/fixed.cxx Change-Id: I8af3fe962ba77d7047eac8d7570c5bc572585363 Reviewed-on: https://gerrit.libreoffice.org/2534 Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com> Tested-by: Muthu Subramanian K <muthusuba@gmail.com>