summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2013-02-28fdo#39468: Translated German comments in vcl/{inc,win}Christian M. Heller
Change-Id: I1b11872dd56d93b116a65ac2e3905f751cfafeeb Signed-off-by: Philipp Riemer <ruderphilipp@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/2447 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-02-28cleanup some module calls.Michael Meeks
Change-Id: I2871b7e49416c1fb25b80a7a4e7e2dc98efd75d8
2013-02-28WaE: 'eventKind' may be used uninitialized in this functionTor Lillqvist
Change-Id: I55b2a2bd4cffface671727f88a3da9b132d7637a
2013-02-28The "pre-cleaning" is fairly pointless now when we fill the whole screenTor Lillqvist
Change-Id: I85a2ee8af9615222c33b36e3d7d08e5821a66a43
2013-02-28Bin some repetitive verbose loggingTor Lillqvist
Change-Id: I5c2ee005094ec3fdf1ebc766b0760a1f73b2682f
2013-02-28fdo#38838,UniString,String_to_OUStringelixir
Change-Id: I024a2de18fe3c22be0860b62a862ede992e12c1e Reviewed-on: https://gerrit.libreoffice.org/2303 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-02-28Handle touch eventsTor Lillqvist
Change-Id: I9c9d200731df9ba48ee61f7c97692ed9b9f06648
2013-02-27get installed fonts etc. using SalGraphicsLuboš Luňák
This avoids the use of the "generic" Unix-specific PrintFontManager class at the expense of somewhat more clumsy code. Change-Id: I4e6cdcdba4f16d5a3b9d56c3c4972b34339495cf
2013-02-27make OutputDevice::ImplGetGraphics() return the SalGraphics*Luboš Luňák
Currently it returns int, meaning to be actually a bool returning whether the call was successful. The pointer can work the same way, but moreover allows access to SalGraphics* also from outside of the class (otherwise I don't see much point in the method being public). To be used by code for embedded fonts handling for getting a list of fonts etc. Change-Id: I64f2acd61c1ce2f6c2e1e4aeac3f2af97c3198de
2013-02-27Send text input to the LO codeTor Lillqvist
Change-Id: I28070fb1a8b85c9737d2a78a8a713243ce47dde9
2013-02-27vcl: re-add FontSelectPattern ctor needed on WNTMichael Stahl
(was removed in 875c997c7da116402509d0bd75e8c15a66a40529) Change-Id: I84836056acb3b40bada837347d296d2b60c9a1e3
2013-02-27fdo#39446 - Bloat Removal. Removing uncallable code with callcatcherJean-Noël Rouvignac
Removed several unused methods. Could not remove ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent() and ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&) because it breaks compilation (they are implementing pure virtual methods). Should Test::test1Table1Page() really be removed? (test class) Conflicts: unusedcode.easy Change-Id: I98a761f66f28e3a82661c10a5fa1dc7e109fff2f
2013-02-27Factor out duplicate enums and types from rsc and vcl into one headerTor Lillqvist
The new header is <rsc/rsc-vcl-shared-types.hxx>, but if some other name or location is cleaner, feel free to change. Change-Id: I601923447ff7c1b6cefd71cb2652fcc88d2483d2
2013-02-27GetFullKeyCode() was identical to GetFullCode()Tor Lillqvist
Change-Id: Ib1b51d7eef8d7076271f612b2d674c2356037bc8
2013-02-27reluctantly support NumericBox as a custom widgetCaolán McNamara
Change-Id: I7bbd8032953a6573e8f480d4c7a992b178f310f3
2013-02-27ApplicationProperty and PropertyHandler are unusedTor Lillqvist
Change-Id: I509210429995d4b69f30814222295d12065a7a85
2013-02-27UNIQUEID_SV_BEGIN is unusedTor Lillqvist
Change-Id: I19406e3a5daa1937342a796f8effd2b6551387b9
2013-02-27Remove a too verbose and frequent log writeTor Lillqvist
Change-Id: Ie6ecf61d9acabb87a24f95f878b874a04532131d
2013-02-27cppuhelper: new ZipPackage_cppuhelper_odk_headersMichael Stahl
Change-Id: I77d7ef6890ca584cf022059838c318a2811bcd5d
2013-02-27cppu: new ZipPackage_cppu_odk_headersMichael Stahl
Change-Id: I4ceee0ed3438a18e13c186ebd8d390604d26ec28
2013-02-26createWindowFoo is unusedTor Lillqvist
Change-Id: Ia61efc5d5ee65178fd7d868cb57eed9ba3c0519e
2013-02-26Cut down on the excessive and rather unhelpful OSL_TRACEs in vcl/source/gdiTor Lillqvist
Change-Id: I959fc2fc5359fbb66c2ce3291a69978e47b83ad2
2013-02-26another attempt at fixing build with the "generic" PrintFontManagerLuboš Luňák
Change-Id: I2499e57cd3e885594a9c836fabc3b6229c4a34c3
2013-02-26Don't abort when myPoints is emptyLionel Elie Mamane
Change-Id: I6bbb2a1cce1c89b94d027acf94fd712706bff422
2013-02-26put #ifdef around Unix specific codeLuboš Luňák
Why do I still get surprised about things like code in vcl/generic/ not being generic at all? Change-Id: I562e06fec0dc7b8ad0aacdba594921a8209d60ed
2013-02-26embed also system fonts when embedding fonts in a documentLuboš Luňák
Without this, only fonts that had come embedded with the document were embedded when saving, which meant that it was impossible to create new documents that would have any fonts embedded. Change-Id: I3b4e87b1b3ca5ae1ccfe29d9b571b0262c568dcf
2013-02-25The source buffer (virtual device) has 4 bytes per pixel, tooTor Lillqvist
Now the desktop-style Writer window looks fine on my device. (The app still crashes quickly, though.) Change-Id: I2542fba653cfef651f207388f1fd98d186485d3b
2013-02-25remove some trivial duplicatesThomas Arnhold
Change-Id: Ie736cb6d5ff7f4d1998338f4a3a3a3b0a67c79ad
2013-02-25loplugin: improve indentationThomas Arnhold
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25Temporary (one hopes) hack to get the actual view size down to SvpSalFrameTor Lillqvist
Change-Id: I0c2a2301de1b0de71fc6724ff2af73fbf6b406ef
2013-02-25Resolves: fdo#61373 tabs too narrow under oxygen gtk themeCaolán McNamara
Change-Id: I794b34c1864f619d91f0b105ba08a4f607abd291
2013-02-25Revert "allow WMF's with missing EOF record"Radek Doulik
This reverts commit 199f0edc93e25ff8144f16599184049573154232. the problematic emf+ file with embedded wmf suffered from different problem so I reverted this fix as it is not needed
2013-02-25Use __android_log_print() instead of fprintf(stderr)Tor Lillqvist
Printing to stderr is not at all any faster or more direct in an Android app than just using the Android standard logging API. Note that in a normal Android app, stdout and stderr are not connected anywhere. (Just like in "GUI" subsystem (as opposed to "console") Windows programs, heh.) It is our own code in sal/android/lo-bootstrap.c that redirects stdout and stderr to pipes which we set up and which are read in a separate thread that we start. The lines read are then, surprise, passed on to __android_log_print(). Thus writes to stdout or stderr in "normal" LibreOffice code aren't lost. But in code that is by definition Android-specific it makes little sense to use stdout and stderr. (Much of the affected logging in this change is in NativeActivity-related #if 0'ed code, sure, so won't actually be reached.) Change-Id: I409114f36f3e535bb144b4bde0d378110b3336a1
2013-02-25fdo#59405 fdo#60638: EMFWriter::ImplWrite: write EMF_PLUS "comments"Michael Stahl
When editing the Visio OLE object, there is a "preview" file generated, which is apparently an EMF file (strangely initially inserting the Visio object seems to result in a totally unproblematic WMF file). The EMF file apparently has almost its entire content stored in MetaCommentAction of type "EMF_PLUS", which is thrown away when writing the file again. Change-Id: I77a08454da673c1825aaa8421606737e7e8bc82c
2013-02-25vcl: GDIMetaFile: log some exceptionsMichael Stahl
Change-Id: I98794721c21231800d7d28cbdd34dd300b69a9c2
2013-02-25Related: fdo#60764 APPFONT is 1/8 avg char *height* & 1/4 avg char *width*Caolán McNamara
but *sob*, it's not really that, because there's a dialog scale factor which is per-language which adds a bit to it depending on the language, MAP_REALAPPFONT is the unscaled variant. but *head in hands*, it's not really that either because if the font was considered "too narrow" then the average char width is recalculated in terms of the average char height. *clenches teeth*, add a approximate_char_width and use it directly. It can be considered the rough equivalent of pango_font_metrics_get_approximate_char_width albeit that it retains the same crude 1/8 of the width of "aemnnxEM" Change-Id: I4c135ca03467447dddf279ac0c187b13371acadb
2013-02-25Remove unnecessary commented code that appears to do nothing whatsoever.Chris
Change-Id: Ic548b8b0b4a9111f24fe0036bb50abaef03f4a2f Reviewed-on: https://gerrit.libreoffice.org/2382 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-25allow WMF's with missing EOF recordRadek Doulik
Change-Id: Ifb38336863979890f1bc3de779d82454b4a5c185
2013-02-25re-factor AFM metric reading to simplify signatures.Michael Meeks
Change-Id: I77433ff3926b6f8e2968b30451acf8acbbb4deb3
2013-02-25perf: avoid scaling images to the same size at some cost.Michael Meeks
Change-Id: Icae65a8bf48f76801c536607055be066be0bd49f
2013-02-25loplugin: unused variablesThomas Arnhold
Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
2013-02-24Update TDE (Trinity Desktop Environment) integration filesTimothy Pearson
Change-Id: I48a5da0d01ad3532b9a77ff864f8f9e4d14e734c Reviewed-on: https://gerrit.libreoffice.org/2374 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2013-02-24be more forgiving on 768 height screens to allow dialogs occupy more heightCaolán McNamara
Change-Id: Ie9e53606d84fb1efd738709de64feecaabff9328
2013-02-24WaE: unused parameterTor Lillqvist
Change-Id: I0227762e5755fb073a2b2923fce0cd718460f02d
2013-02-24loplugin: unused variablesThomas Arnhold
Change-Id: I7fc203900256839e679bf73b717d121fedc42087
2013-02-24fdo#38838 searched, replaced and removed String::CreateFromInt32().Jean-Noël Rouvignac
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ And finally removed String::CreateFromInt32(). Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5 Reviewed-on: https://gerrit.libreoffice.org/2279 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-23comma need to be escape in Makefile when in argument of $(callNorbert Thiebaud
Change-Id: I930aacad47780a085ef8eec7f3b7fc6600528afb
2013-02-23Fix typo (beacuse/becasue)/becauseJulien Nabet
Change-Id: Ia7de2013ed72e2449525a4fe53ad2832c141e925
2013-02-23Fix typo recieved/receivedJulien Nabet
Change-Id: I0c838f5c06ff26149113a9bbab970d314758c648
2013-02-23Fix typo seperated/separatedJulien Nabet
Change-Id: I133423de994b1befe246b6c921802428a3528202