LibreOffice Module filter (master) 1
|
#include "svgfilter.hxx"
#include "svgfontexport.hxx"
#include "svgwriter.hxx"
#include <comphelper/base64.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <sal/log.hxx>
#include <vcl/unohelp.hxx>
#include <vcl/cvtgrf.hxx>
#include <vcl/metric.hxx>
#include <vcl/outdev.hxx>
#include <vcl/settings.hxx>
#include <vcl/filter/SvmReader.hxx>
#include <vcl/filter/SvmWriter.hxx>
#include <tools/fract.hxx>
#include <tools/helpers.hxx>
#include <tools/stream.hxx>
#include <xmloff/namespacemap.hxx>
#include <xmloff/unointerfacetouniqueidentifiermapper.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <o3tl/string_view.hxx>
#include <svx/svdomedia.hxx>
#include <basegfx/utils/bgradient.hxx>
#include <tools/vcompat.hxx>
#include <com/sun/star/container/XEnumerationAccess.hpp>
#include <com/sun/star/container/XIndexReplace.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/i18n/CharacterIteratorMode.hpp>
#include <com/sun/star/i18n/XBreakIterator.hpp>
#include <com/sun/star/style/NumberingType.hpp>
#include <com/sun/star/text/XTextField.hpp>
#include <memory>
Go to the source code of this file.
Functions | |
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * | filter_SVGWriter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &args) |
Variables | |
constexpr OUStringLiteral | aPrefixClipPathId = u"clip_path_" |
constexpr OUStringLiteral | aXMLElemG = u"g" |
constexpr OUStringLiteral | aXMLElemDefs = u"defs" |
constexpr OUStringLiteral | aXMLElemText = u"text" |
constexpr OUStringLiteral | aXMLElemTspan = u"tspan" |
constexpr OUStringLiteral | aXMLElemLinearGradient = u"linearGradient" |
constexpr OUStringLiteral | aXMLElemStop = u"stop" |
constexpr OUStringLiteral | aXMLAttrTransform = u"transform" |
constexpr OUStringLiteral | aXMLAttrStyle = u"style" |
constexpr OUStringLiteral | aXMLAttrId = u"id" |
constexpr OUStringLiteral | aXMLAttrX = u"x" |
constexpr OUStringLiteral | aXMLAttrY = u"y" |
constexpr OUStringLiteral | aXMLAttrX1 = u"x1" |
constexpr OUStringLiteral | aXMLAttrY1 = u"y1" |
constexpr OUStringLiteral | aXMLAttrX2 = u"x2" |
constexpr OUStringLiteral | aXMLAttrY2 = u"y2" |
constexpr OUStringLiteral | aXMLAttrCX = u"cx" |
constexpr OUStringLiteral | aXMLAttrCY = u"cy" |
constexpr OUStringLiteral | aXMLAttrRX = u"rx" |
constexpr OUStringLiteral | aXMLAttrRY = u"ry" |
constexpr OUStringLiteral | aXMLAttrWidth = u"width" |
constexpr OUStringLiteral | aXMLAttrHeight = u"height" |
constexpr OUStringLiteral | aXMLAttrStrokeWidth = u"stroke-width" |
constexpr OUStringLiteral | aXMLAttrFill = u"fill" |
constexpr OUStringLiteral | aXMLAttrFontFamily = u"font-family" |
constexpr OUStringLiteral | aXMLAttrFontSize = u"font-size" |
constexpr OUStringLiteral | aXMLAttrFontStyle = u"font-style" |
constexpr OUStringLiteral | aXMLAttrFontWeight = u"font-weight" |
constexpr OUStringLiteral | aXMLAttrTextDecoration = u"text-decoration" |
constexpr OUStringLiteral | aXMLAttrXLinkHRef = u"xlink:href" |
constexpr OUStringLiteral | aXMLAttrGradientUnits = u"gradientUnits" |
constexpr OUStringLiteral | aXMLAttrOffset = u"offset" |
constexpr OUStringLiteral | aXMLAttrStopColor = u"stop-color" |
constexpr OUStringLiteral | aXMLAttrStrokeLinejoin = u"stroke-linejoin" |
constexpr OUStringLiteral | aXMLAttrStrokeLinecap = u"stroke-linecap" |
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * filter_SVGWriter_get_implementation | ( | css::uno::XComponentContext * | context, |
css::uno::Sequence< css::uno::Any > const & | args | ||
) |
Definition at line 4162 of file svgwriter.cxx.
References args.
|
constexpr |
Definition at line 56 of file svgwriter.cxx.
Referenced by SVGActionWriter::ImplCreateClipPathDef(), and SVGActionWriter::ImplStartClipRegion().
|
constexpr |
Definition at line 74 of file svgwriter.cxx.
Referenced by SVGAttributeWriter::AddGradientDef(), and SVGActionWriter::ImplWriteEllipse().
|
constexpr |
Definition at line 75 of file svgwriter.cxx.
Referenced by SVGAttributeWriter::AddGradientDef(), and SVGActionWriter::ImplWriteEllipse().
|
constexpr |
Definition at line 81 of file svgwriter.cxx.
Referenced by SVGAttributeWriter::AddPaintAttr().
|
constexpr |
Definition at line 82 of file svgwriter.cxx.
Referenced by SVGTextWriter::implSetFontFamily(), and SVGAttributeWriter::setFontFamily().
Definition at line 83 of file svgwriter.cxx.
Referenced by SVGTextWriter::addFontAttributes(), and SVGAttributeWriter::SetFontAttr().
|
constexpr |
Definition at line 84 of file svgwriter.cxx.
Referenced by SVGTextWriter::addFontAttributes(), and SVGAttributeWriter::SetFontAttr().
|
constexpr |
Definition at line 85 of file svgwriter.cxx.
Referenced by SVGTextWriter::addFontAttributes(), and SVGAttributeWriter::SetFontAttr().
|
constexpr |
Definition at line 88 of file svgwriter.cxx.
Referenced by SVGAttributeWriter::AddGradientDef(), and SVGActionWriter::ImplWriteGradientLinear().
|
constexpr |
Definition at line 79 of file svgwriter.cxx.
Referenced by SVGActionWriter::ImplWriteBmp(), SVGActionWriter::ImplWritePattern(), and SVGActionWriter::ImplWriteRect().
|
constexpr |
Definition at line 67 of file svgwriter.cxx.
Referenced by SVGAttributeWriter::AddGradientDef(), SVGActionWriter::ImplCreateClipPathDef(), SVGActionWriter::ImplWriteGradientLinear(), SVGActionWriter::ImplWritePattern(), SVGActionWriter::ImplWriteShape(), and SVGActionWriter::StartMask().
|
constexpr |
Definition at line 89 of file svgwriter.cxx.
Referenced by SVGAttributeWriter::AddGradientDef(), and SVGActionWriter::ImplWriteGradientStop().
|
constexpr |
Definition at line 76 of file svgwriter.cxx.
Referenced by SVGActionWriter::ImplWriteEllipse(), and SVGActionWriter::ImplWriteRect().
|
constexpr |
Definition at line 77 of file svgwriter.cxx.
Referenced by SVGActionWriter::ImplWriteEllipse(), and SVGActionWriter::ImplWriteRect().
Definition at line 90 of file svgwriter.cxx.
Referenced by SVGAttributeWriter::AddGradientDef().
|
constexpr |
Definition at line 92 of file svgwriter.cxx.
Referenced by SVGActionWriter::ImplAddLineAttr(), and SVGActionWriter::ImplWriteShape().
|
constexpr |
Definition at line 91 of file svgwriter.cxx.
Referenced by SVGActionWriter::ImplAddLineAttr(), and SVGActionWriter::ImplWriteShape().
|
constexpr |
Definition at line 80 of file svgwriter.cxx.
Referenced by SVGActionWriter::ImplAddLineAttr(), and SVGActionWriter::ImplWriteShape().
|
constexpr |
Definition at line 66 of file svgwriter.cxx.
Referenced by SVGActionWriter::ImplWriteGradientLinear(), SVGActionWriter::ImplWriteGradientStop(), SVGActionWriter::ImplWritePattern(), and SVGActionWriter::StartMask().
|
constexpr |
Definition at line 86 of file svgwriter.cxx.
Referenced by SVGTextWriter::addFontAttributes(), and SVGAttributeWriter::SetFontAttr().
|
constexpr |
Definition at line 65 of file svgwriter.cxx.
Referenced by SVGActionWriter::ImplWriteBmp(), SVGActionWriter::ImplWritePattern(), SVGActionWriter::ImplWriteText(), and SVGTextWriter::startTextShape().
|
constexpr |
Definition at line 78 of file svgwriter.cxx.
Referenced by SVGActionWriter::ImplWriteBmp(), SVGActionWriter::ImplWritePattern(), and SVGActionWriter::ImplWriteRect().
|
constexpr |
Definition at line 68 of file svgwriter.cxx.
Referenced by SVGActionWriter::ImplWriteBmp(), SVGTextWriter::implWriteEmbeddedBitmaps(), SVGActionWriter::ImplWritePattern(), SVGActionWriter::ImplWriteRect(), SVGActionWriter::ImplWriteText(), and SVGTextWriter::startTextPosition().
|
constexpr |
Definition at line 70 of file svgwriter.cxx.
Referenced by SVGAttributeWriter::AddGradientDef(), SVGActionWriter::ImplWriteGradientLinear(), and SVGActionWriter::ImplWriteLine().
|
constexpr |
Definition at line 72 of file svgwriter.cxx.
Referenced by SVGAttributeWriter::AddGradientDef(), SVGActionWriter::ImplWriteGradientLinear(), and SVGActionWriter::ImplWriteLine().
|
constexpr |
Definition at line 87 of file svgwriter.cxx.
Referenced by SVGActionWriter::ImplWriteActions(), SVGActionWriter::ImplWriteBmp(), SVGTextWriter::implWriteBulletChars(), SVGTextWriter::implWriteEmbeddedBitmaps(), and SVGTextWriter::implWriteTextPortion().
|
constexpr |
Definition at line 69 of file svgwriter.cxx.
Referenced by SVGActionWriter::ImplWriteBmp(), SVGTextWriter::implWriteEmbeddedBitmaps(), SVGActionWriter::ImplWritePattern(), SVGActionWriter::ImplWriteRect(), SVGActionWriter::ImplWriteText(), and SVGTextWriter::startTextPosition().
|
constexpr |
Definition at line 71 of file svgwriter.cxx.
Referenced by SVGAttributeWriter::AddGradientDef(), SVGActionWriter::ImplWriteGradientLinear(), and SVGActionWriter::ImplWriteLine().
|
constexpr |
Definition at line 73 of file svgwriter.cxx.
Referenced by SVGAttributeWriter::AddGradientDef(), SVGActionWriter::ImplWriteGradientLinear(), and SVGActionWriter::ImplWriteLine().
|
constexpr |
Definition at line 59 of file svgwriter.cxx.
Referenced by SVGAttributeWriter::AddGradientDef(), SVGActionWriter::ImplCreateClipPathDef(), SVGActionWriter::ImplWriteGradientLinear(), SVGActionWriter::ImplWritePattern(), and SVGActionWriter::StartMask().
|
constexpr |
Definition at line 58 of file svgwriter.cxx.
Referenced by SVGActionWriter::ImplStartClipRegion(), SVGTextWriter::implWriteBulletChars(), SVGTextWriter::implWriteEmbeddedBitmaps(), SVGActionWriter::ImplWriteGradientLinear(), SVGActionWriter::ImplWriteMask(), SVGActionWriter::ImplWritePattern(), SVGActionWriter::ImplWriteText(), and SVGAttributeWriter::startFontSettings().
|
constexpr |
Definition at line 62 of file svgwriter.cxx.
Referenced by SVGAttributeWriter::AddGradientDef(), and SVGActionWriter::ImplWriteGradientLinear().
|
constexpr |
Definition at line 63 of file svgwriter.cxx.
Referenced by SVGAttributeWriter::AddGradientDef(), and SVGActionWriter::ImplWriteGradientStop().
|
constexpr |
Definition at line 60 of file svgwriter.cxx.
Referenced by SVGActionWriter::ImplWriteText(), and SVGTextWriter::startTextShape().
|
constexpr |
Definition at line 61 of file svgwriter.cxx.
Referenced by SVGTextWriter::implWriteTextPortion(), SVGTextWriter::nextParagraph(), SVGAttributeWriter::startFontSettings(), SVGTextWriter::startTextParagraph(), SVGTextWriter::startTextPosition(), and SVGTextWriter::writeBitmapPlaceholder().