summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)Author
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
2012-10-02Revert "As far as I can see the PptImporter library is not a UNO component"Tor Lillqvist
I don't trust myself. This reverts commit 2726f7f4ca5cde91565203ef055561558ea66e7d.
2012-10-01As far as I can see the PptImporter library is not a UNO componentTor Lillqvist
Change-Id: I5a230207bb760dde7ffb2e052148072d9f589cba
2012-10-01Use prefixTor Lillqvist
Change-Id: Ie741222944bf8ed6cacd5a3037f8aa75a6a4dec3
2012-10-01fdo#54225: PDFExport::mbSignPDF potentially used uninitializedStephan Bergmann
Change-Id: I2b83f4c6a1fd0ca4b230ab19c806f654232f9f96
2012-10-01fdo#51304: Remove the author of some java source filesAnurag Jain
This patch remove some '@author' for Java souce files, and removes some commented code founded when removing the '@author'. Change-Id: Ic4fcd028a9cdbd85c693d93bcd48e41f36386d22
2012-10-01Prefixify textfdTor Lillqvist
Change-Id: I42c9166dcf6d256d071a3edb20ab64184fef1f89
2012-10-01Prefixify t602filterTor Lillqvist
Change-Id: I652ffdf009f6078c723a0f0932256adb183e7513