summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)Author
2012-11-17accessible names set *after* resource was freed, so names were nullCaolán McNamara
I've seen so many of these accessible resources in the wrong place or otherwise broken that I wonder if any of that is really working. We can eventually move all this foo into the .ui format and implement the accessiblilty stuff in the builder Change-Id: I82e87df05d5cd3777ed5ab8b83c424ff759124e9
2012-11-16Fix the Windows build breakage by reorganizing svtools headers.Kohei Yoshida
Also removed a fair amount of implicit inline methods to promote use of more forward declaration. Change-Id: I5ad21f0d7abc85281708b7e87f1036b02a053627
2012-11-14add a regression test for EDB-22681Caolán McNamara
Change-Id: I62adf5eef023de163114266de56c14310f3aad34
2012-11-14callcatcher: update unused code post binfilter deathCaolán McNamara
Change-Id: I5b25d14ef2769126f98523551597f43812b9feb7
2012-11-11filter: remove obsolete binfilter filter configuration filesMichael Stahl
Change-Id: I43fe95e7957c018f1013c543367c548fcfa1d9c3
2012-11-09binfilter.die.die.dieNorbert Thiebaud
Change-Id: Ia3c103e4343d309b997ed37e33a382ffdfbddac3 Reviewed-on: https://gerrit.libreoffice.org/1014 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-06re-base on ALv2 code. Includes (at least) relevant parts of:Michael Meeks
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-05Uploading new libvisio 0.0.20 releaseFridrich Štrba
Change-Id: Ic090ae81c28f12a106a74aa6d10b43cce9d68fed
2012-11-01rework filters test to squeeze through extra flagsCaolán McNamara
that are needed to load .odt, .sxw etc files, and add a regression test for CVE-2012-4233 Change-Id: Ie178725ded3d76942030d12f23074de519cf62de
2012-10-28fix some VS 2010 specific issuesDavid Ostrovsky
Change-Id: Iae27a96c1e2ed72d2744fcbe100d6ada7dc41c82 Reviewed-on: https://gerrit.libreoffice.org/914 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-26loplugin: misleading indentCaolán McNamara
Change-Id: I382b2a01ec5c7bbe5a3faf7333c161e8a76fdd27
2012-10-26XubString->OUStringCaolán McNamara
Change-Id: Ie54528ccf641b380eda1d1bb12b39d0536c4d17b
2012-10-26loplugin: unused aName string and whacky indentCaolán McNamara
Change-Id: I3febbc1618ca86f19c851a8eea313327a9c0a96c
2012-10-25remove all traces of saxonDavid Tardon
Change-Id: I33ca2c27d557d24e3900d7ebf8f3ea2d99b3cfb0
2012-10-25drop saxon-based XSLT transformerDavid Tardon
Change-Id: I2cd4e0965452c376df8c5e43353fbdd6f62fb27d
2012-10-25rework selection of transformer for an XSLT filterDavid Tardon
Change-Id: I765762f11813c6b612416a8db2707bf94114c876
2012-10-25convert java XSL transformer into extensionDavid Tardon
Change-Id: Ided6c480969764073056830722c8996e0df52285
2012-10-24fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin
Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory. Change-Id: I9f0098af37b91f107d8799f14caa04756eac82b1
2012-10-23fdo#46808, use service constructor for i18n::BreakIteratorNoel Grandin
Note that I found a pre-existing bug in linguistic/source/gciterator.cxx but I was not able to fix it, because doing so appears to expose bugs elsewhere! Change-Id: I17fb9108d98a98d0ae13fe5a8e043d2db5b27a6a
2012-10-22fdo#46808, Adapt xml::sax::XWriter UNO service to new styleNoel Grandin
Create a merged XWriter interface for the service. The xml.sax.Writer service already existed, it just did not have an IDL file. Change-Id: I4e6d3f3c68f9282a55fc7aa19778f97632fd8ad5
2012-10-18loplugin: unused stringsCaolán McNamara
Change-Id: I41a572ea28f827740b7084105a029854035ef9d7
2012-10-19Merge SvListEntry and SvLBoxEntry into SvTreeListEntry.Kohei Yoshida
Change-Id: I89cfc8c1288c00674fe64e791c149743d377d5ee
2012-10-17no need to check for NULL on delete, delete does that alreadyCaolán McNamara
Change-Id: Ic3ba8a962f867eead7b738738d28da27b567dfec
2012-10-16coverty: misuses of strncpyNorbert Thiebaud
Change-Id: I13b3f176fc37b49e1bb7b191e97ef657eafaebe6 Reviewed-on: https://gerrit.libreoffice.org/876 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2012-10-14Added stream sanity checking to TGA filterMarc-André Laverdière
Change-Id: If6bb9f28e76ea012ac46b74e3cea0e27fd86741e Reviewed-on: https://gerrit.libreoffice.org/864 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-11Cleanup svg export namespace handlingThorsten Behrens
All smil animations are inside the http://www.w3.org/2000/svg NS for svg - ODF places e.g. animateMotion into smil, their path attr though into svg. Flattened namespace now into only default (svg) and the ooo prefix. Killed all superfluous NS decls, creating SvXMLExport with EXPORT_META only adds XML_NP_XLINK, XML_NP_DC, XML_NP_META, and XML_NP_GRDDL to the known-namespaces map. Change-Id: Ib54900aaee0eda3a5c5dc618d836df8bd8eb25fc
2012-10-10SVGActionWriter::ImplWriteActions: indent thatMichael Stahl
Change-Id: I6ae6d96f88df813172017bafe1dd883c7b871c9e
2012-10-10SVGActionWriter::ImplWriteActions: fix debug codeMichael Stahl
Change-Id: I770e72673d794b4e3e52a199a05f018558b8a3c4
2012-10-10Make svg export use slidesorter selection in most cases.Thorsten Behrens
There was code previously that took the current selection, iff Impress main view was in slidesorter mode. Extended this quite helpful functionality to also work in other modes (as long as a slidesorter pane is displayed & has up-to-date selection, it should work). Change-Id: Ibbfe630a4ca31aa52978501745c2eef0d79fb8e3
2012-10-10Don't assume we're exporting Impress to svg, unconditionallyThorsten Behrens
Svg export is also used on Draw documents, which do not bear the transition properties. Guard accordingly. Change-Id: I2e4a5d478a8de8621265a0d1de16bd60b1f47cc1
2012-10-10Define ooo xmlns prefix unconditionally for svg exportThorsten Behrens
Plus some commented-code cleanup
2012-10-10Bug Fix: background objects on master pages were not stacked in the correct ↵Marco Cecchetti
order
2012-10-10Bug fix: fixed date/time fields were not exported correctly when positioned ↵Marco Cecchetti
chars are used.
2012-10-10IsUsePositionedCharacters() tries to get its value from filter data passed ↵Marco Cecchetti
to SVGExport ctor Now IsUseTinyProfile and IsEmbedFonts methods are depended by IsUsePositionedCharacters
2012-10-10Now debugging code is conditionally compiled and JavaScript debug log are ↵Marco Cecchetti
turned off.
2012-10-10some improvement in making text animation compatible with text selectionMarco Cecchetti
2012-10-10Handled META_BMPSCALE_ACTION, supported hyperlinks, text selection support.Marco Cecchetti
The implCreateObjectFromShape method of the SVGFilter class has been modified in order to handling bitmap meta actions of type META_BMPSCALE_ACTION for each bitmap embedded into a text shape. The implCreateObjectFromShape method of the SVGFilter class has been modified in order to avoid to generate an id for empty text shapes. The MetaSlide class has two new methods for collecting text shapes from the text shape exported index and hyperlinks. A new HyperlinkElement class has been designed for handling text portion with an attached URL. The routine handling mouse click has been modified in order to interacting with the EventMultiplexer instance belonging to the current slide even when no animations are exported. All that let us supporting both web links and local links to slide belonging to the current document. The routine handling mouse click has been modified in order to avoid to start the next effect or switch to the next slide when there is a text fragment selected. Now when the user selects text or performs a right click in order to copy the selected text no further action is executed by the presentation engine. When the left mouse button is clicked the previous selection is discarded but still no further action is performed by the presentation engine. The implCreateObjectFromShape method of the SVGFilter class has been modified in order to avoid of adding to the group of embedded bitmaps those bitmap belonging to XShape object convertible to XText but that does not contain any text shape meta comment action. Now a meta bitmap action is handled by the SVGTextWriter class only if the action is between a meta comment action of type XTEXT_PAINTSHAPE_BEGIN and a meta comment action of type XTEXT_PAINTSHAPE_END. The writeBitmapPlaceholder and implWriteEmbeddedBitmaps methods of the SVGTextWriter class have been modified in order to change the way the id of the <use> elements that reference a bitmap is created. That has been needed because when two <use> element referencing the same bitmap and embedded into two different text shapes but placed at the same position (e.g. for instance when they belong to different slide) they got the same id. Now the id is built by prepending the meta bitmap action checksum with the text shape id followed by a dot.
2012-10-10Now MasterPage text fields work, list items are detected correctly, some ↵Marco Cecchetti
effect work on text. Date/Time, Footer and Page Number text fields are displayed correctly again. Fixed several bugs related to synchronization of the two iterations on both meta comment actions and text paragraphs/text portions enumerations. At present list items inside a table or an OLE object are not exported correctly. Enabled support for animating text paragraph. Both entrance and exit effects work on text shapes, on the contrary there is not yet support for emphasis effects such as changing font color and font properties. At present it is possible to apply an effect to the whole paragraph only, no support is provided for by word or by character effect variants. Another weak point of current implementation is that if you try to select a fragment of a text shape and in your selection is included an animatable paragraph the selection is not correct.
2012-10-10text export support for bullets and hyperlinksMarco Cecchetti
SVGFilter: - new: implExportTextShapeIndex, implEmbedBulletGlyphs, implEmbedBulletGlyph, implExportTextEmbeddedBitmaps - modified: implExportShape, implCreateObjectsFromShapes, implCreateObjectsFromShape SVGActionWriter: - new: GetChecksum - modified: ImplWriteActions, WriteMetaFile SVGTextWriter: -new: implExportHyperlinkIds, implWriteBulletChars, writeBitmapPlaceholder, implWriteEmbeddedBitmaps, setTextShape, implRegisterInterface, implGetValidIDFromInterface -modified: nextParagraph, nextTextPortion, startTextShape, endTextShape, startTextParagraph, endTextParagraph, writeTextPortion, implWriteTextPortion
2012-10-10text-export: meta-action based implementationMarco Cecchetti
2012-10-09Get ride of not used macros in filterMarcos Paulo de Souza
Change-Id: I7f06720c9f4614b763066bb3cf136f2464b2c7bd Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/843 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2012-10-07Handle lack of module loading/unloading API when DISABLE_DYNLOADINGTor Lillqvist
There are basicically two classes of cases: 1) Where the code is for obscure historical reasons or what I see as misguided "optimization" split into a more libraries than necessary, and these then are loaded at run-time. Instead, just use direct linking. 2) Where dynamic loading is part of the functionality offered to some upper (scripting etc) layer, or where some system-specific non-LO library is loaded dynamically, as it is not necessarily present on end-user machines. Can't have such in the DISABLE_DYNLOADING case. Change-Id: I9eceac5fb635245def2f4f3320821447bb7cd8c0
2012-10-06Bin unused leftover "dummy" fieldsTor Lillqvist
Change-Id: If16fcbb58234a9f1b7e07718f77909273f1fbbd4
2012-10-06drop unneeded #includeDavid Tardon
Change-Id: I20fed5357c55e6c4444b1e100d15600636ffe25d
2012-10-04Add some notes about graphicfiltersTor Lillqvist
Change-Id: I1d2a51865b0e564821db7fb45b9e557e4594d4a1
2012-10-04fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin
The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-10-04Fixes/improvements on previous commitStephan Bergmann
* UUIInteractionHandler still needs to implement XInitialization. * Moved ambiguating InteractionHandler typedef out of the way. * Removed InteractionHandler.createDefault, as it was originally stated that "it is strongly recommended that [the "Parent"] property is supplied." * Added back documentation about Parent and Context. * Simplified some call-sites to directly use XInteractionHandler2. Change-Id: I1029b8f3cf079171c75920cafaaa44b5bbada883
2012-10-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin
Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-10-03re-base on ALv2 code. Includes:Michael Meeks
tkr41: #117828# office crash fixed . (null pointer) + add unit test Patch contributed by Tobias Krause http://svn.apache.org/viewvc?view=revision&revision=1172105 Do not add targets for junit tests when junit is disabled. Patch contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1241508 remove the OutDev::GetKernPair* stubs completely Patch contributed by Herbert Duerr http://svn.apache.org/viewvc?view=revision&revision=1179221 reverting un-necessary OS/2 conditionals.
2012-10-02PptImporter is unused; it was also missing in scp2Matúš Kukan
Change-Id: I87c8d46d791525e3e5b6866edc6423e92cbcca81