437 Commits

Author SHA1 Message Date
Jan Holesovsky
0c22f3eadd Make LO buildable again after the GraphicFilter move.
Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
2013-01-04 22:02:51 +01:00
Michael Meeks
b8511cef9a fdo#35680 - fix wrong gradient rendering when grouped. 2012-12-11 11:01:47 +00:00
Eike Rathke
c3bde3cd13 use LanguageTag
Change-Id: I2f8fd72cb49298f59d5eb406f03a1fc4128d1c8d
2012-11-16 20:54:00 +01:00
Michael Meeks
44cfc7cb65 re-base on ALv2 code. Includes (at least) relevant parts of:
linecap: Reintegrating finished LineCap feature
    Patch contributed by Regina Henschel
    http://svn.apache.org/viewvc?view=revision&revision=1232507

    Patches contributed by Sven Jacobi
    impress212: #i81610# fixed animation export
    http://svn.apache.org/viewvc?view=revision&revision=1167620
    impress212: drawinglayer gbuild environment changes
    http://svn.apache.org/viewvc?view=revision&revision=1167627
    http://svn.apache.org/viewvc?view=revision&revision=1167628
    impress212: DffPropSet -> minor code improvements, removing table
    http://svn.apache.org/viewvc?view=revision&revision=1167634
    impress212: #158494# fixed excel import (text rotation)
    http://svn.apache.org/viewvc?view=revision&revision=1167638

    Patches contributed by Armin Le Grand
    Svg: Reintegrated Svg replacement from /branches/alg/svgreplavement
    http://svn.apache.org/viewvc?view=revision&revision=1220836
    #118728# changed indentifying definitions for Svg file detection
    http://svn.apache.org/viewvc?view=revision&revision=1229961
    #118838# LineGeometry creation for complicated cases optimized to
	create single Polygons
    http://svn.apache.org/viewvc?view=revision&revision=1236232
    #119176# corrected file type detection for SVG for svg files
	without xml header
    http://svn.apache.org/viewvc?view=revision&revision=1309445
    #118728# Extended Svg file detection
    http://svn.apache.org/viewvc?view=revision&revision=1230531
    #118529# solve break converters and convert commands for OLEs and images
    http://svn.apache.org/viewvc?view=revision&revision=1186168
    svg: added WaE changes from branch svgreplacement to trunc
    http://svn.apache.org/viewvc?view=revision&revision=1222974
    svg: corrected missing member initialization
    http://svn.apache.org/viewvc?view=revision&revision=1226134
    fix for #118525#: Using primitives for chart sub-geometry visualisation
    http://svn.apache.org/viewvc?view=revision&revision=1226879
    #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert
	metafiles to bitmapEx ...
    http://svn.apache.org/viewvc?view=revision&revision=1293316
    fix for #118525#: removed no longer used variable maOriginalMapMode, one
    more exception eliminated
    http://svn.apache.org/viewvc?view=revision&revision=1227097
    #16758# Added buffering to the VDev usages of the VclProcessor2D derivates...
    http://svn.apache.org/viewvc?view=revision&revision=1229521
    #116758# Secured VDev buffer device to Vcl deinit
    http://svn.apache.org/viewvc?view=revision&revision=1230574
    #116758# added remembering allocated VDevs for VDevBuffer to be able to also
    delete these when vcl goes down; it should never happen, but You never know
    http://svn.apache.org/viewvc?view=revision&revision=1230927
    #118730# Changed SvgClipPathNode to use MaskPrimitive2D for primitive
	representation instead of TransparencePrimitive2D
    http://svn.apache.org/viewvc?view=revision&revision=1231198
    #118822# secured 3D geometry creation (slices) by subdividing the 2D
    source polyPolygon early
    http://svn.apache.org/viewvc?view=revision&revision=1234749
    #118829# enhanced Svg gradient quality, obstacles avoided
    http://svn.apache.org/viewvc?view=revision&revision=1235361
    #118834# Unified usage of TextBreakupHelper as single tooling class
    for i18n text primitive breakup
    http://svn.apache.org/viewvc?view=revision&revision=1236110
    #118853# added square pixel size limit to conversion of
    TransparencePrimitive2D to Metafile action
    http://svn.apache.org/viewvc?view=revision&revision=1237656
    #118824# coreccted mirroring and boundrect when the graphicmanager
    is used for bitmap output
    http://svn.apache.org/viewvc?view=revision&revision=1240097
    #115092# Corrected VclProcessor2D::RenderPolygonStrokePrimitive2D for
    various optimization scenarios
    http://svn.apache.org/viewvc?view=revision&revision=1241434
    #118783# Corrected errors in ID strings, corrected Svg line/fill export,
    corrected polygon close state
    http://svn.apache.org/viewvc?view=revision&revision=1232006
    #118796# corrected null-pointer usage in SVG text exporter
    http://svn.apache.org/viewvc?view=revision&revision=1240262
    #118729# Use GraphicStreamUrl and GraphicUrl to allow multi image
    import with linked graphics, too
    http://svn.apache.org/viewvc?view=revision&revision=1229962
    #118898# corrected error in GDIMetaFile::GetBoundRect in handling
    MetaFloatTransparentAction
    http://svn.apache.org/viewvc?view=revision&revision=1293349
    #118855# Corrected handling of possibly created empty clipRegions
    after PolyPolygon clipping
    http://svn.apache.org/viewvc?view=revision&revision=1237725
	#115962# Better (but not yet optimal, see comments in task) handling
	of MetaFloatTransparentAction in PDF export
	http://svn.apache.org/viewvc?view=revision&revision=1241078
    IP clearance: #118466# This patch removes librsvg, libcroco, libgsf, ...
    http://svn.apache.org/viewvc?view=revision&revision=1200879
    118779# Added svg content streaming in/out to ImpGraphic stream operators
    http://svn.apache.org/viewvc?view=revision&revision=1231908
    linecap: correctons for WaE and mac drawing
    http://svn.apache.org/viewvc?view=revision&revision=1232793
    svg: uses current system Dpi for Svg replacement image creation
    http://svn.apache.org/viewvc?view=revision&revision=1233948

    Patches contributed by Mathias Bauer (and others)
    gnumake4 work variously
    http://svn.apache.org/viewvc?view=revision&revision=1394326
    http://svn.apache.org/viewvc?view=revision&revision=1396797
    http://svn.apache.org/viewvc?view=revision&revision=1397315
    http://svn.apache.org/viewvc?view=revision&revision=1394326
    Remove duplicate header includes.
    cws mba34issues01: #i117720#: convert assertion into warning
    http://svn.apache.org/viewvc?view=revision&revision=1172352
    118485 - Styles for OLEs are not saved. Submitted by Armin Le Grand.
    http://svn.apache.org/viewvc?view=revision&revision=1182166
    cws mba34issues01: #i117714#: remove assertion
    http://svn.apache.org/viewvc?view=revision&revision=1172357

    Patch contributed by Jurgen Schmidt
    add some additional checks to ensure proper reading operations
    http://svn.apache.org/viewvc?view=revision&revision=1209022
    mostly prefer our stream / bounds checking work.

    Patches contributed by Herbert Duerr
    #i118816# add clarifying comment regarding Font::*Color*() methods
    http://svn.apache.org/viewvc?view=revision&revision=1233833
    extend macro->string handling for empty strings
    http://svn.apache.org/viewvc?view=revision&revision=1175801
    avoid magic constants for SALCOLOR_NONE
    http://svn.apache.org/viewvc?view=revision&revision=1177543
    initialize slant properly in ImplFontMetricData constructor (author=iorsh)
    http://svn.apache.org/viewvc?view=revision&revision=1177551
    #i118675# make check for extension updates more stable
    http://svn.apache.org/viewvc?view=revision&revision=1214797
    #a118617# remove VBasicEventListener.dll binary
    There are no known users depending on its CLSID
    http://svn.apache.org/viewvc?view=revision&revision=1203697

    Patches contributed by Ariel Constenla-Haile
    Fix build breaker on Linux/gcc
    http://svn.apache.org/viewvc?view=revision&revision=1221104
    Fix crash when trying to instantiate css.graphic.GraphicRasterizer_RSVG
    http://svn.apache.org/viewvc?view=revision&revision=1215559

    Patches contributed by Oliver-Rainer Wittmann
    sw34bf06: #i117962# - method <SwFlyFrm::IsPaint(..)> - consider
    instances of <SwFlyDrawObj>
    http://svn.apache.org/viewvc?view=revision&revision=1172120
    sw34bf06: #i117783# - Writer's implementation of XPagePrintable -
    apply print settings to new printing routines
    http://svn.apache.org/viewvc?view=revision&revision=1172115

    gnumake4 work variously from Hans-Joachim Lankenau
    http://svn.apache.org/viewvc?view=revision&revision=1397315
    http://svn.apache.org/viewvc?view=revision&revision=1396797
    http://svn.apache.org/viewvc?view=revision&revision=1396782
    http://svn.apache.org/viewvc?view=revision&revision=1394707
    plus some amount of re-splitting of legacy headers.

    Patch contributed by Pavel Janik
    WaE: Remove unused variables.
    http://svn.apache.org/viewvc?view=revision&revision=1230697

    Patches contributed by Takashi Ono
    mingwport35: i#117795: MinGW port fix for vcl2gnumake
    http://svn.apache.org/viewvc?view=revision&revision=1172091
    mingwport35: i#117795: MinGW port fix for vcl2gnumake
    http://svn.apache.org/viewvc?view=revision&revision=1172091

    Patch contributed by Christian Lippka
    impress212: #i98044# re enable Text menu for outline and title shapes
    http://svn.apache.org/viewvc?view=revision&revision=1167639

    Patch contributed by Andre Fischer
    118674: Made category B code optional and disabled by default.
    http://svn.apache.org/viewvc?view=revision&revision=1215131
    118881: Ignore empty paragraphs after bullets.
    http://svn.apache.org/viewvc?view=revision&revision=1296205

    Patches contributed by Philipp Lohmann
    ooo340fixes: #i117780# use rtl allocator
    http://svn.apache.org/viewvc?view=revision&revision=1172087
    ooo34gsl02: #i117807# fix an off by one error (index actually
    inside the pfb section header)
    http://svn.apache.org/viewvc?view=revision&revision=1167576

various cleanups, related compilation fixes, warning cleanups, re-working
of obsolete stl template pieces to use boost instead, changed string
classes, re-adapt KDE about data, about dialog, fixing warnings,
and other fixes & improvements.
Disable svg import / render for about/ branding code-paths for now.
Restore full icon theme set.
Remove OS/2 conditionals and sources.
Remove conflicting gtk/full-screen monitors support.
Retain existing svg rasterizer files - temporarily disabled.
Standardize stringificaiton and fixup dllpostfix issues.
Rename SvgGradientHelper::== to equalTo to avoid overloading issues.
Use the flat GdiPlus API for LineCaps calls.
2012-11-06 11:58:16 +00:00
Michael Meeks
1383224822 Revert "calc65: #i116318# Fixed the painting of axial gradients."
This reverts commit de2dd7a15678d2968cd7c22d74e7056c35a051f3.
2012-11-06 11:58:12 +00:00
Norbert Thiebaud
8eb5db8997 replace sxub_Unicode by sal_Unicode
Change-Id: Icf4b434a1961cc4964ee6e362491868e898a1831
Reviewed-on: https://gerrit.libreoffice.org/887
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-19 10:55:56 +00:00
Radek Doulik
35cbe7206d fixed typo
Change-Id: I483ff930b99d04cbd1514d7f541e57e223b04bab
2012-09-06 14:42:18 +02:00
Radek Doulik
2af61dad1b display hexadecimal and decimal record numbers
Change-Id: If8720ad99d2c4c6fa4927771027123a559895bb6
2012-08-15 13:24:08 +02:00
Caolán McNamara
7e071e5383 remove some unused methods
Change-Id: I8b89f49eff059f5650bfb531bcb568db1d97c3a3
2012-08-09 12:47:03 +01:00
Radek Doulik
cf08e8a2ee emf+: added implementation of DrawImage record
Change-Id: I6c86c2eaca1586d915b648292373da4378c755ba
2012-07-19 11:09:07 +02:00
Stephan Bergmann
4dd7c0369d Various Clang 3.1 -Wunsued-variable, -Wconstant-conversion
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
2012-07-18 08:23:28 +02:00
Thomas Arnhold
278000a28b Remove unused defines
Some of them were commented out for documentation purpose.

Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02 17:46:25 +02:00
Caolán McNamara
d5909e1452 replace custom readString with read_uInt16s_ToOUString
replace custom readString with more efficient and foolproof
read_uInt16s_ToOUString

Change-Id: Idf5f85adad008b4bd775badd83f55b152a6ddaaf
2012-06-25 14:19:02 +01:00
Michael Stahl
1b0cacf919 cppcanvas: remove obsolete makefile.mk
Change-Id: Id9ccc156371a235bca764044a8d155b8720782c0
2012-06-22 22:39:34 +02:00
Michael Stahl
0caf87c580 remove bunch of obsolete looking .dxp files
Change-Id: Ib06d88890007fd27d6838a5c8829230733d3df97
2012-06-22 22:39:34 +02:00
Takeshi Abe
cdea32dd8a removed unused forward declarations of class
except moving ScPostIt into source/filter/inc/xeescher.hxx

Change-Id: I85fbfe88e30edce5a48a65c494ced7b2129964ff
2012-06-23 02:48:29 +09:00
Michael Meeks
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Caolán McNamara
447e5b4b36 death to some UniStrings
Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608
2012-06-19 14:11:50 +01:00
Caolán McNamara
16bf6e9c5f use a temporary rather than calling Erase
Change-Id: I77c80d332e4bef34c31accf6e2ab77e59f9bf93e
2012-06-19 14:11:49 +01:00
Caolán McNamara
67d0936315 where is the logic of having 5 pChars if we only need 4
Change-Id: I16c1f5ee7a05aa011d00e6f1de86e1aa5d9621b8
2012-06-19 14:11:49 +01:00
Caolán McNamara
64a9f8942d if the string is created of len 0, then no point passing any arguments
Change-Id: I0055ad846f438765c5259e02025e6ef5f32c6169
2012-06-19 14:11:49 +01:00
Caolán McNamara
d531ef63a4 if the string is created from 4 sal_Unicodes then it cannot be of 0 len
Change-Id: I14695ec0871e186266770d7cfe90f532de31ea57
2012-06-19 14:11:49 +01:00
Jan Holesovsky
6d78c490b0 Get rid of GRADIENT_* defines, they conflict with Windows GDI types.
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
2012-06-12 16:31:43 +02:00
Michael Meeks
3858ba3585 targetted string re-work
Change-Id: I9ed4df2a25c8a2a868f83de48472715a6cabe2be
2012-05-22 18:21:18 +01:00
Radek Doulik
41c4585504 tune the guessed position a bit, so that it works better with test documents 2012-04-18 19:17:11 +02:00
Radek Doulik
e14b7cdd54 implemented EmfPlusRecordTypeDrawString record 2012-04-18 19:08:43 +02:00
Radek Doulik
8e92501541 added debug message for unsupported cases 2012-04-18 15:40:05 +02:00
Radek Doulik
695d82b63d SrcRect for SrcUnit = 2 is in pixels, don't Map it 2012-04-18 15:37:50 +02:00
Caolán McNamara
fc435133c3 ImplText never instantiated 2012-04-18 13:03:21 +01:00
Radek Doulik
e94e669bd3 set minimal width if pen width is set to zero 2012-04-13 16:25:31 +02:00
Caolán McNamara
35fb870b5f fix crash on invalid/missing pen 2012-04-13 13:15:26 +01:00
Caolán McNamara
830724367d fix busted indent 2012-04-13 13:15:26 +01:00
Caolán McNamara
fe630f3b09 callcatcher: update list, add README, remove some newly unused code 2012-04-05 13:59:05 +01:00
Tor Lillqvist
66aed6f470 New try to sort out the overloaded virtual method weirdness
Revert "Clang WaE: -Woverloaded-virtual weirdness, this seems to help"
as that broke tinderboxes. Try another way instead, renaming two
versions of the overloaded render() method, so that there is no longer
any overloading.

Compiles -Werror-clean with Clang, hopefully no problem with other
compilers either.

This reverts commit 86b99ab408c7235604a1a02d7bc531fe5d5f97f6.
2012-04-04 08:27:23 +03:00
Tor Lillqvist
86b99ab408 Clang WaE: -Woverloaded-virtual weirdness, this seems to help 2012-04-04 01:05:50 +03:00
Takeshi Abe
6f087d103a removed duplicate includes in cppcanvas / cppuhelper / cui 2012-03-30 00:42:35 +09:00
Caolán McNamara
e443216ce2 readUnicodeString can just return the string
seeing as no-one checks the return value, we don't need
the intermediate temporary string
2012-03-26 12:18:09 +01:00
Thorsten Behrens
80fe015a86 Add COMPHELPER_SERVICEDECL_EXPORTS* back in, after libmerge changes
Did I mention I hate boilerplate copied all over the place? ;)
2012-03-16 17:02:23 +01:00
Thorsten Behrens
af1514abf2 Performance: avoid scaling just-generated bitmap 2nd time
We're creating the bitmap to exactly match our output size -
so why rounding off total transformation again, incurring another
expensive bitmap scale down in the canvas?
2012-03-16 17:02:20 +01:00
Michael Stahl
24b449b7fc cppcanvas: processEMFPlus: fix valgrind warning:
When reading EmfPlusRecordTypeDrawImagePoints, handle the variant where
points are stored as 16-bit integers instead of floats correctly.
Found via valgrind on loading bugdoc from fdo#42252.
2012-03-09 15:40:00 +01:00
Radek Doulik
0d396171b6 workaround for buggy metafile images 2012-03-07 16:59:53 +01:00
Szabolcs Dezsi
eed2695cd5 Removed unused code from cppcanvas 2012-02-17 15:48:23 +00:00
Alexander Bergmann
8963cc01f5 EasyHack: Removed gcc conditionals 2012-02-13 17:33:15 +00:00
Caolán McNamara
04d58ef75a String->rtl::OUString 2012-01-24 16:53:55 +00:00
Caolán McNamara
2669d048bc make VectorOfOutDevStates a class and refactor this a little 2012-01-05 09:18:17 +00:00
August Sodora
3b8bf60a04 Revert "callcatcher: Remove unused code"
This reverts commit 070eff8cf1ad7763b8b730336f11032893b77049.
2011-12-21 06:46:56 -05:00
August Sodora
070eff8cf1 callcatcher: Remove unused code 2011-12-21 06:25:31 -05:00
August Sodora
d498a3c2a1 callcatcher: Remove unused code 2011-12-19 23:19:45 -05:00
Lior Kaplan
e10fc18fb2 typo fix: explicitely -> explicitly 2011-12-01 23:41:42 +02:00