LibreOffice Module filter (master) 1
|
#include <svgwriter.hxx>
Public Member Functions | |
SVGActionWriter (SVGExport &rExport, SVGFontExport &rFontExport) | |
~SVGActionWriter () | |
void | WriteMetaFile (const Point &rPos100thmm, const Size &rSize100thmm, const GDIMetaFile &rMtf, sal_uInt32 nWriteFlags, const OUString &aElementId="", const Reference< css::drawing::XShape > *pXShape=nullptr, const GDIMetaFile *pTextEmbeddedBitmapMtf=nullptr) |
void | SetEmbeddedBitmapRefs (const MetaBitmapActionMap *pEmbeddedBitmapsMap) |
void | StartMask (const Point &rDestPt, const Size &rDestSize, const Gradient &rGradient, sal_uInt32 nWriteFlags, const basegfx::BColorStops *pColorStops, OUString *pTextStyle=nullptr) |
void | SetPreviewMode (bool bState=true) |
Static Public Member Functions | |
static OUString | GetPathString (const tools::PolyPolygon &rPolyPoly, bool bLine) |
static BitmapChecksum | GetChecksum (const MetaAction *pAction) |
Private Member Functions | |
tools::Long | ImplMap (sal_Int32 nVal) const |
Point & | ImplMap (const Point &rPt, Point &rDstPt) const |
Size & | ImplMap (const Size &rSz, Size &rDstSz) const |
void | ImplMap (const tools::Rectangle &rRect, tools::Rectangle &rDstRect) const |
tools::Polygon & | ImplMap (const tools::Polygon &rPoly, tools::Polygon &rDstPoly) const |
tools::PolyPolygon & | ImplMap (const tools::PolyPolygon &rPolyPoly, tools::PolyPolygon &rDstPolyPoly) const |
void | ImplWriteLine (const Point &rPt1, const Point &rPt2, const Color *pLineColor=nullptr) |
void | ImplWriteRect (const tools::Rectangle &rRect, tools::Long nRadX=0, tools::Long nRadY=0) |
void | ImplWriteEllipse (const Point &rCenter, tools::Long nRadX, tools::Long nRadY) |
void | ImplWritePattern (const tools::PolyPolygon &rPolyPoly, const Hatch *pHatch, const Gradient *pGradient, sal_uInt32 nWriteFlags) |
void | ImplAddLineAttr (const LineInfo &rAttrs) |
void | ImplWritePolyPolygon (const tools::PolyPolygon &rPolyPoly, bool bLineOnly, bool bApplyMapping=true) |
void | ImplWriteShape (const SVGShapeDescriptor &rShape) |
void | ImplCreateClipPathDef (const tools::PolyPolygon &rPolyPoly) |
void | ImplStartClipRegion (sal_Int32 nClipPathId) |
void | ImplEndClipRegion () |
void | ImplWriteClipPath (const tools::PolyPolygon &rPolyPoly) |
void | ImplWriteGradientEx (const tools::PolyPolygon &rPolyPoly, const Gradient &rGradient, sal_uInt32 nWriteFlags, const basegfx::BColorStops *pColorStops) |
void | ImplWriteGradientLinear (const tools::PolyPolygon &rPolyPoly, const Gradient &rGradient, const basegfx::BColorStops *pColorStops) |
void | ImplWriteGradientStop (const Color &rColor, double fOffset) |
void | ImplWriteMask (GDIMetaFile &rMtf, const Point &rDestPt, const Size &rDestSize, const Gradient &rGradient, sal_uInt32 nWriteFlags, const basegfx::BColorStops *pColorStops) |
void | ImplWriteText (const Point &rPos, const OUString &rText, KernArraySpan pDXArray, tools::Long nWidth) |
void | ImplWriteText (const Point &rPos, const OUString &rText, KernArraySpan pDXArray, tools::Long nWidth, Color aTextColor) |
void | ImplWriteBmp (const BitmapEx &rBmpEx, const Point &rPt, const Size &rSz, const Point &rSrcPt, const Size &rSrcSz, const css::uno::Reference< css::drawing::XShape > *pShape) |
void | ImplWriteActions (const GDIMetaFile &rMtf, sal_uInt32 nWriteFlags, const OUString &aElementId, const Reference< css::drawing::XShape > *pXShape=nullptr, const GDIMetaFile *pTextEmbeddedBitmapMtf=nullptr) |
vcl::Font | ImplSetCorrectFontHeight () const |
Static Private Member Functions | |
static Color | ImplGetColorWithIntensity (const Color &rColor, sal_uInt16 nIntensity) |
Private Attributes | |
sal_Int32 | mnCurGradientId |
sal_Int32 | mnCurMaskId |
sal_Int32 | mnCurPatternId |
sal_Int32 | mnCurClipPathId |
::std::unique_ptr< SvXMLElementExport > | mpCurrentClipRegionElem |
::std::unique_ptr< SVGShapeDescriptor > | mapCurShape |
SVGExport & | mrExport |
SVGContextHandler | maContextHandler |
SVGState & | mrCurrentState |
SVGAttributeWriter | maAttributeWriter |
SVGTextWriter | maTextWriter |
VclPtr< VirtualDevice > | mpVDev |
MapMode | maTargetMapMode |
bool | mbClipAttrChanged |
bool | mbIsPlaceholderShape |
const MetaBitmapActionMap * | mpEmbeddedBitmapsMap |
bool | mbIsPreview |
Definition at line 302 of file svgwriter.hxx.
SVGActionWriter::SVGActionWriter | ( | SVGExport & | rExport, |
SVGFontExport & | rFontExport | ||
) |
Definition at line 1806 of file svgwriter.cxx.
References Create(), maTargetMapMode, maTextWriter, mpVDev, and SVGTextWriter::setVirtualDevice().
SVGActionWriter::~SVGActionWriter | ( | ) |
Definition at line 1828 of file svgwriter.cxx.
References VclPtr< class reference_type >::disposeAndClear(), and mpVDev.
|
static |
Definition at line 1964 of file svgwriter.cxx.
References GDIMetaFile::AddAction(), and SvmWriter::GetChecksum().
Referenced by SVGTextWriter::implWriteEmbeddedBitmaps(), and SVGTextWriter::writeBitmapPlaceholder().
|
static |
Definition at line 1894 of file svgwriter.cxx.
References tools::PolyPolygon::Count(), tools::Polygon::GetFlags(), tools::Polygon::GetSize(), gentoken::i, n, nCount, u, Point::X(), and Point::Y().
Referenced by SVGFontExport::implEmbedFont(), SVGFontExport::implEmbedGlyph(), SVGTextWriter::implWriteBulletChars(), and ImplWritePolyPolygon().
|
private |
Definition at line 2043 of file svgwriter.cxx.
References SvXMLExport::AddAttribute(), aXMLAttrStrokeLinecap, aXMLAttrStrokeLinejoin, aXMLAttrStrokeWidth, basegfx::Bevel, LineInfo::GetLineCap(), LineInfo::GetLineJoin(), LineInfo::GetWidth(), ImplMap(), LineInfo::IsDefault(), basegfx::Miter, mrExport, basegfx::NONE, basegfx::Round, and XML_NAMESPACE_NONE.
Referenced by ImplWriteActions().
|
private |
Definition at line 2206 of file svgwriter.cxx.
References SvXMLExport::AddAttribute(), aPrefixClipPathId, aXMLAttrId, aXMLElemDefs, ImplWritePolyPolygon(), mnCurClipPathId, mrExport, and XML_NAMESPACE_NONE.
Referenced by ImplWriteClipPath().
|
private |
Definition at line 2233 of file svgwriter.cxx.
References mpCurrentClipRegionElem.
Referenced by ImplWriteActions(), ImplWriteClipPath(), and WriteMetaFile().
|
staticprivate |
Definition at line 2450 of file svgwriter.cxx.
References Color::GetBlue(), Color::GetGreen(), and Color::GetRed().
Definition at line 1842 of file svgwriter.cxx.
References OutputDevice::LogicToLogic(), maTargetMapMode, and mpVDev.
Definition at line 1849 of file svgwriter.cxx.
References OutputDevice::LogicToLogic(), maTargetMapMode, and mpVDev.
|
private |
Definition at line 1865 of file svgwriter.cxx.
References tools::Polygon::GetFlags(), tools::Polygon::GetSize(), gentoken::i, ImplMap(), and tools::Polygon::SetFlags().
|
private |
Definition at line 1879 of file svgwriter.cxx.
References tools::PolyPolygon::Count(), gentoken::i, ImplMap(), tools::PolyPolygon::Insert(), and nCount.
|
private |
Definition at line 1856 of file svgwriter.cxx.
References tools::Rectangle::GetSize(), ImplMap(), and tools::Rectangle::TopLeft().
|
private |
Definition at line 1834 of file svgwriter.cxx.
References ImplMap().
Referenced by ImplAddLineAttr(), ImplMap(), ImplSetCorrectFontHeight(), ImplWriteBmp(), ImplWriteEllipse(), ImplWriteGradientLinear(), ImplWriteLine(), ImplWritePattern(), ImplWritePolyPolygon(), ImplWriteRect(), ImplWriteShape(), and ImplWriteText().
|
private |
Definition at line 4064 of file svgwriter.cxx.
References vcl::Font::GetFontHeight(), Size::Height(), ImplMap(), mpVDev, and vcl::Font::SetFontHeight().
Referenced by ImplWriteActions().
|
private |
Definition at line 2221 of file svgwriter.cxx.
References SvXMLExport::AddAttribute(), aPrefixClipPathId, aXMLElemG, mpCurrentClipRegionElem, mrExport, and XML_NAMESPACE_NONE.
Referenced by ImplWriteActions(), and ImplWriteClipPath().
|
private |
Definition at line 3032 of file svgwriter.cxx.
References a, SvXMLExport::AddAttribute(), SVGAttributeWriter::AddPaintAttr(), aXMLAttrXLinkHRef, basegfx::Bevel, SvtGraphicStroke::capRound, SvtGraphicStroke::capSquare, tools::Rectangle::Center(), vcl::CLIPREGION, COL_TRANSPARENT(), tools::PolyPolygon::Count(), SVGTextWriter::createParagraphEnumeration(), SVGTextWriter::endTextShape(), equalsIgnoreAsciiCase(), Execute(), SvtGraphicFill::fillGradient, SvtGraphicFill::fillSolid, FRound(), GDIMetaFile::GetAction(), GDIMetaFile::GetActionSize(), vcl::Region::GetAsPolyPolygon(), MetaBmpAction::GetBitmap(), MetaBmpScaleAction::GetBitmap(), MetaBmpScalePartAction::GetBitmap(), MetaBmpExAction::GetBitmapEx(), MetaBmpExScaleAction::GetBitmapEx(), MetaBmpExScalePartAction::GetBitmapEx(), SvtGraphicStroke::getCapType(), MetaPixelAction::GetColor(), MetaCommentAction::GetComment(), SvtGraphicStroke::getDashArray(), MetaCommentAction::GetData(), MetaCommentAction::GetDataSize(), MetaBmpExScalePartAction::GetDestPoint(), MetaBmpScalePartAction::GetDestPoint(), MetaBmpExScalePartAction::GetDestSize(), MetaBmpScalePartAction::GetDestSize(), SvXMLExport::GetDocHandler(), MetaTextArrayAction::GetDXArray(), SvtGraphicStroke::getEndArrow(), MetaArcAction::GetEndPoint(), MetaChordAction::GetEndPoint(), MetaLineAction::GetEndPoint(), MetaPieAction::GetEndPoint(), SvtGraphicFill::getFillColor(), SvtGraphicFill::getFillType(), MetaPushAction::GetFlags(), MetaFloatTransparentAction::GetGDIMetaFile(), MetaFloatTransparentAction::GetGradient(), MetaGradientAction::GetGradient(), MetaGradientExAction::GetGradient(), SvtGraphicFill::getGradientType(), MetaHatchAction::GetHatch(), tools::Rectangle::GetHeight(), MetaRoundRectAction::GetHorzRound(), MetaStretchTextAction::GetIndex(), MetaTextAction::GetIndex(), MetaTextArrayAction::GetIndex(), SvtGraphicStroke::getJoinType(), MetaStretchTextAction::GetLen(), MetaTextAction::GetLen(), MetaTextArrayAction::GetLen(), MetaPolyLineAction::GetLineInfo(), SvtGraphicStroke::getPath(), SvtGraphicFill::getPath(), MetaBmpAction::GetPoint(), MetaBmpExAction::GetPoint(), MetaBmpExScaleAction::GetPoint(), MetaBmpScaleAction::GetPoint(), MetaEPSAction::GetPoint(), MetaFloatTransparentAction::GetPoint(), MetaPixelAction::GetPoint(), MetaPointAction::GetPoint(), MetaStretchTextAction::GetPoint(), MetaTextAction::GetPoint(), MetaTextArrayAction::GetPoint(), MetaPolyLineAction::GetPolygon(), MetaGradientExAction::GetPolyPolygon(), MetaHatchAction::GetPolyPolygon(), MetaPolyPolygonAction::GetPolyPolygon(), MetaTransparentAction::GetPolyPolygon(), SVGContextHandler::getPushFlags(), MetaArcAction::GetRect(), MetaChordAction::GetRect(), MetaEllipseAction::GetRect(), MetaGradientAction::GetRect(), MetaPieAction::GetRect(), MetaRoundRectAction::GetRect(), MetaTextRectAction::GetRect(), tools::Polygon::GetSize(), MetaBmpExScaleAction::GetSize(), MetaBmpScaleAction::GetSize(), MetaEPSAction::GetSize(), MetaFloatTransparentAction::GetSize(), Bitmap::GetSizePixel(), BitmapEx::GetSizePixel(), MetaBmpExScalePartAction::GetSrcPoint(), MetaBmpScalePartAction::GetSrcPoint(), MetaBmpExScalePartAction::GetSrcSize(), MetaBmpScalePartAction::GetSrcSize(), SvtGraphicStroke::getStartArrow(), MetaArcAction::GetStartPoint(), MetaChordAction::GetStartPoint(), MetaLineAction::GetStartPoint(), MetaPieAction::GetStartPoint(), SvtGraphicStroke::getStrokeWidth(), MetaEPSAction::GetSubstitute(), MetaFloatTransparentAction::getSVGTransparencyColorStops(), MetaStretchTextAction::GetText(), MetaTextAction::GetText(), MetaTextArrayAction::GetText(), MetaTextRectAction::GetText(), o3tl::getToken(), MetaTransparentAction::GetTransparence(), SvtGraphicFill::getTransparency(), SvtGraphicStroke::getTransparency(), MetaAction::GetType(), MetaRoundRectAction::GetVertRound(), tools::Rectangle::GetWidth(), MetaStretchTextAction::GetWidth(), ImplAddLineAttr(), ImplEndClipRegion(), ImplSetCorrectFontHeight(), ImplStartClipRegion(), ImplWriteBmp(), ImplWriteClipPath(), ImplWriteEllipse(), ImplWriteGradientEx(), ImplWriteLine(), ImplWriteMask(), ImplWritePattern(), ImplWritePolyPolygon(), ImplWriteRect(), ImplWriteShape(), ImplWriteText(), SVGTextWriter::isTextShapeStarted(), SVGExport::IsUsePositionedCharacters(), SvtGraphicStroke::joinBevel, SvtGraphicStroke::joinRound, SvtGraphicFill::Linear, maAttributeWriter, maContextHandler, mapCurShape, maTextWriter, mbClipAttrChanged, mbIsPlaceholderShape, basegfx::Miter, mnFlags, mpVDev, mrCurrentState, mrExport, nCount, SVGState::nRegionClipPathId, nType, pData, SVGContextHandler::popState(), SVGContextHandler::pushState(), SvtGraphicFill::Radial, SvStream::ReadDouble(), ReadSvtGraphicFill(), ReadSvtGraphicStroke(), SvStream::ReadUInt16(), SvStream::remainingSize(), basegfx::Round, SAL_WARN, Color::SetAlpha(), SVGAttributeWriter::SetFontAttr(), SVGTextWriter::setTextPosition(), SVGTextWriter::setTextProperties(), SVGTextWriter::setTextShape(), sPlaceholderTag, SVGTextWriter::startTextParagraph(), SVGTextWriter::startTextPosition(), SVGTextWriter::startTextShape(), sTiledBackgroundTag, sType, SVGWRITER_NO_SHAPE_COMMENTS, SVGWRITER_WRITE_FILL, SVGWRITER_WRITE_TEXT, tools::Rectangle::TopLeft(), SVGTextWriter::writeBitmapPlaceholder(), SVGTextWriter::writeTextPortion(), and XML_NAMESPACE_NONE.
Referenced by ImplWriteMask(), ImplWritePattern(), and WriteMetaFile().
|
private |
Definition at line 2854 of file svgwriter.cxx.
References aBuffer, SvXMLExport::AddAttribute(), aSeq, aXMLAttrHeight, aXMLAttrTransform, aXMLAttrWidth, aXMLAttrX, aXMLAttrXLinkHRef, aXMLAttrY, BitmapEx::Crop(), comphelper::Base64::encode(), ERRCODE_NONE, GraphicConverter::Export(), Graphic::GetBitmapExRef(), BitmapEx::GetChecksum(), SvMemoryStream::GetData(), GfxLink::GetData(), GfxLink::GetDataSize(), Graphic::GetGfxLink(), Size::getHeight(), SdrObject::getSdrObjectFromXShape(), BitmapEx::GetSizePixel(), SdrMediaObj::getTempURL(), GfxLink::GetType(), Graphic::GetType(), Size::getWidth(), Size::Height(), ImplMap(), BitmapEx::IsEmpty(), OutputDevice::LogicToLogic(), maTargetMapMode, mbIsPreview, mpEmbeddedBitmapsMap, mrExport, Size::setHeight(), Size::setWidth(), SvStream::Tell(), Size::Width(), SvStream::WriteBytes(), Point::X(), XML_NAMESPACE_NONE, and Point::Y().
Referenced by ImplWriteActions().
|
private |
Definition at line 2241 of file svgwriter.cxx.
References tools::PolyPolygon::Count(), ImplCreateClipPathDef(), ImplEndClipRegion(), ImplStartClipRegion(), mnCurClipPathId, mrCurrentState, and SVGState::nRegionClipPathId.
Referenced by ImplWriteActions().
|
private |
Definition at line 2026 of file svgwriter.cxx.
References SvXMLExport::AddAttribute(), aXMLAttrCX, aXMLAttrCY, aXMLAttrRX, aXMLAttrRY, ImplMap(), mrExport, Point::X(), XML_NAMESPACE_NONE, and Point::Y().
Referenced by ImplWriteActions().
|
private |
Definition at line 2317 of file svgwriter.cxx.
References Gradient::GetStyle(), ImplWriteGradientLinear(), and ImplWritePattern().
Referenced by ImplWriteActions(), and StartMask().
|
private |
Definition at line 2332 of file svgwriter.cxx.
References SvXMLExport::AddAttribute(), aXMLAttrGradientUnits, aXMLAttrId, aXMLAttrStyle, aXMLAttrX1, aXMLAttrX2, aXMLAttrY1, aXMLAttrY2, aXMLElemDefs, aXMLElemG, aXMLElemLinearGradient, tools::Rectangle::Bottom(), tools::PolyPolygon::Count(), Gradient::GetAngle(), Color::getBColor(), Gradient::GetBorder(), tools::PolyPolygon::GetBoundRect(), Gradient::GetBoundRect(), basegfx::BGradient::GetColorStops(), Gradient::GetEndColor(), Gradient::GetEndIntensity(), Gradient::GetOfsX(), Gradient::GetOfsY(), Gradient::GetStartColor(), Gradient::GetStartIntensity(), Gradient::GetSteps(), Gradient::GetStyle(), ImplMap(), ImplWriteGradientStop(), ImplWritePolyPolygon(), mnCurGradientId, mrExport, tools::Polygon::Rotate(), tools::Rectangle::Top(), basegfx::BGradient::tryToApplyAxial(), basegfx::BGradient::tryToApplyBorder(), basegfx::BGradient::tryToApplyStartEndIntensity(), basegfx::BGradient::tryToApplySteps(), X, Point::X(), XML_NAMESPACE_NONE, and Y.
Referenced by ImplWriteGradientEx().
|
private |
Definition at line 2434 of file svgwriter.cxx.
References SvXMLExport::AddAttribute(), aXMLAttrOffset, aXMLAttrStyle, aXMLElemStop, SVGAttributeWriter::ImplGetColorStr(), mrExport, and XML_NAMESPACE_NONE.
Referenced by ImplWriteGradientLinear().
|
private |
Definition at line 1980 of file svgwriter.cxx.
References SvXMLExport::AddAttribute(), aXMLAttrX1, aXMLAttrX2, aXMLAttrY1, aXMLAttrY2, ImplMap(), mrExport, Point::X(), XML_NAMESPACE_NONE, and Point::Y().
Referenced by ImplWriteActions().
|
private |
Definition at line 2524 of file svgwriter.cxx.
References aXMLElemG, FRound(), MapMode::GetOrigin(), GDIMetaFile::GetPrefMapMode(), GDIMetaFile::GetPrefSize(), SVGTextWriter::hasTextOpacity(), Size::Height(), ImplWriteActions(), maTextWriter, GDIMetaFile::Move(), mpVDev, mrExport, GDIMetaFile::Scale(), Point::setX(), Point::setY(), StartMask(), Size::Width(), Point::X(), XML_NAMESPACE_NONE, and Point::Y().
Referenced by ImplWriteActions().
|
private |
Definition at line 2253 of file svgwriter.cxx.
References SvXMLExport::AddAttribute(), Gradient::AddGradientActions(), aXMLAttrHeight, aXMLAttrId, aXMLAttrStyle, aXMLAttrTransform, aXMLAttrWidth, aXMLAttrX, aXMLAttrY, aXMLElemDefs, aXMLElemG, tools::PolyPolygon::Count(), tools::PolyPolygon::GetBoundRect(), tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), ImplMap(), ImplWriteActions(), ImplWritePolyPolygon(), tools::Rectangle::Left(), mnCurPatternId, mpVDev, mrExport, tools::Rectangle::Top(), and XML_NAMESPACE_NONE.
Referenced by ImplWriteActions(), and ImplWriteGradientEx().
|
private |
Definition at line 2097 of file svgwriter.cxx.
References SvXMLExport::AddAttribute(), GetPathString(), ImplMap(), mrExport, and XML_NAMESPACE_NONE.
Referenced by ImplCreateClipPathDef(), ImplWriteActions(), ImplWriteGradientLinear(), ImplWritePattern(), ImplWriteShape(), and ImplWriteText().
|
private |
Definition at line 2005 of file svgwriter.cxx.
References SvXMLExport::AddAttribute(), aXMLAttrHeight, aXMLAttrRX, aXMLAttrRY, aXMLAttrWidth, aXMLAttrX, aXMLAttrY, tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), ImplMap(), tools::Rectangle::Left(), mrExport, tools::Rectangle::Top(), and XML_NAMESPACE_NONE.
Referenced by ImplWriteActions().
|
private |
Definition at line 2117 of file svgwriter.cxx.
References SvXMLExport::AddAttribute(), SVGAttributeWriter::AddPaintAttr(), aXMLAttrId, aXMLAttrStrokeLinecap, aXMLAttrStrokeLinejoin, aXMLAttrStrokeWidth, basegfx::Bevel, COL_TRANSPARENT(), FRound(), tools::PolyPolygon::GetBoundRect(), ImplMap(), ImplWritePolyPolygon(), maAttributeWriter, SVGShapeDescriptor::maDashArray, SVGShapeDescriptor::maId, SVGShapeDescriptor::maLineCap, SVGShapeDescriptor::maLineJoin, SVGShapeDescriptor::maShapeFillColor, SVGShapeDescriptor::maShapeLineColor, SVGShapeDescriptor::maShapePolyPoly, basegfx::Miter, SVGShapeDescriptor::mnStrokeWidth, SVGShapeDescriptor::moShapeGradient, mrExport, basegfx::NONE, basegfx::Round, and XML_NAMESPACE_NONE.
Referenced by ImplWriteActions(), and WriteMetaFile().
|
private |
Definition at line 2564 of file svgwriter.cxx.
References COL_BLACK(), COL_LIGHTGRAY(), COL_WHITE(), FontMetric::GetLineHeight(), Color::GetLuminance(), vcl::Font::GetRelief(), ImplWriteText(), vcl::Font::IsOutline(), vcl::Font::IsShadow(), and mpVDev.
Referenced by ImplWriteActions(), and ImplWriteText().
|
private |
Definition at line 2655 of file svgwriter.cxx.
References SvXMLExport::AddAttribute(), SVGAttributeWriter::AddPaintAttr(), Point::AdjustY(), ALIGN_BOTTOM, ALIGN_TOP, KernArray::assign(), aXMLAttrTransform, aXMLAttrX, aXMLAttrY, aXMLElemG, aXMLElemText, COL_TRANSPARENT(), vcl::unohelper::CreateBreakIterator(), KernArraySpan::empty(), FRound(), o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), vcl::Font::GetAlignment(), FontMetric::GetAscent(), FontMetric::GetDescent(), SvXMLExport::GetDocHandler(), AllSettings::GetLanguageTag(), FontMetric::GetLineHeight(), LanguageTag::getLocale(), vcl::Font::GetOrientation(), Application::GetSettings(), vcl::Font::GetStrikeout(), vcl::Font::GetUnderline(), gentoken::i, ImplMap(), ImplWritePolyPolygon(), SVGExport::IsUseNativeTextDecoration(), LINESTYLE_NONE, maAttributeWriter, mbIsPlaceholderShape, mpVDev, mrExport, nCount, KernArray::set(), Size::setWidth(), sPlaceholderTag, STRIKEOUT_NONE, Size::Width(), X, Point::X(), XML_NAMESPACE_NONE, Y, and Point::Y().
void SVGActionWriter::SetEmbeddedBitmapRefs | ( | const MetaBitmapActionMap * | pEmbeddedBitmapsMap | ) |
Definition at line 1972 of file svgwriter.cxx.
References mpEmbeddedBitmapsMap.
Referenced by SVGFilter::implExportDocument().
|
inline |
Definition at line 381 of file svgwriter.hxx.
References mbIsPreview.
Referenced by SVGFilter::implExportDocument().
void SVGActionWriter::StartMask | ( | const Point & | rDestPt, |
const Size & | rDestSize, | ||
const Gradient & | rGradient, | ||
sal_uInt32 | nWriteFlags, | ||
const basegfx::BColorStops * | pColorStops, | ||
OUString * | pTextStyle = nullptr |
||
) |
Definition at line 2460 of file svgwriter.cxx.
References SvXMLExport::AddAttribute(), aXMLAttrId, aXMLAttrStyle, aXMLElemDefs, Gradient::GetEndColor(), Gradient::GetEndIntensity(), Color::GetLuminance(), Gradient::GetStartColor(), Gradient::GetStartIntensity(), ImplWriteGradientEx(), mnCurMaskId, mrExport, basegfx::BColorStops::reverseColorStops(), Gradient::SetEndColor(), Gradient::SetEndIntensity(), Gradient::SetStartColor(), Gradient::SetStartIntensity(), and XML_NAMESPACE_NONE.
Referenced by ImplWriteMask(), and SVGTextWriter::setTextPosition().
void SVGActionWriter::WriteMetaFile | ( | const Point & | rPos100thmm, |
const Size & | rSize100thmm, | ||
const GDIMetaFile & | rMtf, | ||
sal_uInt32 | nWriteFlags, | ||
const OUString & | aElementId = "" , |
||
const Reference< css::drawing::XShape > * | pXShape = nullptr , |
||
const GDIMetaFile * | pTextEmbeddedBitmapMtf = nullptr |
||
) |
Definition at line 4077 of file svgwriter.cxx.
References SVGTextWriter::endTextParagraph(), MapMode::GetOrigin(), GDIMetaFile::GetPrefMapMode(), GDIMetaFile::GetPrefSize(), MapMode::GetScaleX(), MapMode::GetScaleY(), Size::Height(), ImplEndClipRegion(), ImplWriteActions(), ImplWriteShape(), OutputDevice::LogicToLogic(), mapCurShape, maTextWriter, mpVDev, MapMode::SetOrigin(), MapMode::SetScaleX(), MapMode::SetScaleY(), and Size::Width().
Referenced by SVGFilter::implExportBackgroundBitmaps(), SVGFilter::implExportPage(), SVGFilter::implExportShape(), SVGFilter::implExportTextEmbeddedBitmaps(), and SVGExport::writeMtf().
|
private |
Definition at line 315 of file svgwriter.hxx.
Referenced by ImplWriteActions(), ImplWriteShape(), and ImplWriteText().
|
private |
Definition at line 313 of file svgwriter.hxx.
Referenced by ImplWriteActions().
|
private |
Definition at line 311 of file svgwriter.hxx.
Referenced by ImplWriteActions(), and WriteMetaFile().
|
private |
Definition at line 318 of file svgwriter.hxx.
Referenced by ImplMap(), ImplWriteBmp(), and SVGActionWriter().
|
private |
Definition at line 316 of file svgwriter.hxx.
Referenced by ImplWriteActions(), ImplWriteMask(), SVGActionWriter(), and WriteMetaFile().
|
private |
Definition at line 319 of file svgwriter.hxx.
Referenced by ImplWriteActions().
|
private |
Definition at line 320 of file svgwriter.hxx.
Referenced by ImplWriteActions(), and ImplWriteText().
|
private |
Definition at line 322 of file svgwriter.hxx.
Referenced by ImplWriteBmp(), and SetPreviewMode().
|
private |
Definition at line 309 of file svgwriter.hxx.
Referenced by ImplCreateClipPathDef(), and ImplWriteClipPath().
|
private |
Definition at line 306 of file svgwriter.hxx.
Referenced by ImplWriteGradientLinear().
|
private |
Definition at line 307 of file svgwriter.hxx.
Referenced by StartMask().
|
private |
Definition at line 308 of file svgwriter.hxx.
Referenced by ImplWritePattern().
|
private |
Definition at line 310 of file svgwriter.hxx.
Referenced by ImplEndClipRegion(), and ImplStartClipRegion().
|
private |
Definition at line 321 of file svgwriter.hxx.
Referenced by ImplWriteBmp(), and SetEmbeddedBitmapRefs().
|
private |
Definition at line 317 of file svgwriter.hxx.
Referenced by ImplMap(), ImplSetCorrectFontHeight(), ImplWriteActions(), ImplWriteMask(), ImplWritePattern(), ImplWriteText(), SVGActionWriter(), WriteMetaFile(), and ~SVGActionWriter().
|
private |
Definition at line 314 of file svgwriter.hxx.
Referenced by ImplWriteActions(), and ImplWriteClipPath().
|
private |
Definition at line 312 of file svgwriter.hxx.
Referenced by ImplAddLineAttr(), ImplCreateClipPathDef(), ImplStartClipRegion(), ImplWriteActions(), ImplWriteBmp(), ImplWriteEllipse(), ImplWriteGradientLinear(), ImplWriteGradientStop(), ImplWriteLine(), ImplWriteMask(), ImplWritePattern(), ImplWritePolyPolygon(), ImplWriteRect(), ImplWriteShape(), ImplWriteText(), and StartMask().