|
LibreOffice Module svgio (master) 1
|
Classes | |
| struct | commonStrings |
| class | InfoProvider |
| class | SvgANode |
| class | SvgAspectRatio |
| class | SvgCharacterNode |
| class | SvgCircleNode |
| class | SvgClipPathNode |
| class | SvgDocHdl |
| class | SvgDocument |
| class | SvgDrawVisitor |
| class | SvgEllipseNode |
| class | SvgFeColorMatrixNode |
| class | SvgFeDropShadowNode |
| class | SvgFeFloodNode |
| class | SvgFeGaussianBlurNode |
| class | SvgFeImageNode |
| class | SvgFeOffsetNode |
| class | SvgFilterNode |
| class | SvgGNode |
| class | SvgGradientNode |
| class | SvgGradientStopNode |
| class | SvgImageNode |
| class | SvgLineNode |
| class | SvgMarkerNode |
| class | SvgMaskNode |
| class | SvgNode |
| class | SvgNumber |
| class | SvgPaint |
| class | SvgPathNode |
| class | SvgPatternNode |
| class | SvgPolyNode |
| class | SvgRectNode |
| class | SvgStyleAttributes |
| class | SvgStyleNode |
| class | SvgSvgNode |
| class | SvgSymbolNode |
| class | SvgTextNode |
| class | SvgTextPathNode |
| class | SvgTextPosition |
| class | SvgTextPositions |
| class | SvgTitleDescNode |
| class | SvgTrefNode |
| class | SvgTspanNode |
| class | SvgUseNode |
| class | Visitor |
Typedefs | |
| typedef std::vector< std::unique_ptr< SvgNode > > | SvgNodeVector |
| typedef std::vector< SvgNumber > | SvgNumberVector |
| typedef ::std::vector< OUString > | SvgStringVector |
Functions | |
| static void | extractFromGraphic (const Graphic &rGraphic, drawinglayer::primitive2d::Primitive2DContainer &rEmbedded, basegfx::B2DRange &rViewBox, BitmapEx &rBitmapEx) |
| Display | getDisplayFromContent (std::u16string_view aContent) |
| static basegfx::B2DLineJoin | StrokeLinejoinToB2DLineJoin (StrokeLinejoin aStrokeLinejoin) |
| static css::drawing::LineCap | StrokeLinecapToDrawingLineCap (StrokeLinecap aStrokeLinecap) |
| FontStretch | getWider (FontStretch aSource) |
| FontStretch | getNarrower (FontStretch aSource) |
| FontWeight | getBolder (FontWeight aSource) |
| FontWeight | getLighter (FontWeight aSource) |
| ::FontWeight | getVclFontWeight (FontWeight aSource) |
| SVGToken | StrToSVGToken (const OUString &rStr, bool bCaseIndependent) |
| OUString | SVGTokenToStr (const SVGToken &rToken) |
| void | skip_char (std::u16string_view rCandidate, sal_Unicode nChar, sal_Int32 &nPos, const sal_Int32 nLen) |
| void | skip_char (std::u16string_view rCandidate, sal_Unicode nCharA, sal_Unicode nCharB, sal_Int32 &nPos, const sal_Int32 nLen) |
| void | copySign (std::u16string_view rCandidate, sal_Int32 &nPos, OUStringBuffer &rTarget, const sal_Int32 nLen) |
| void | copyNumber (std::u16string_view rCandidate, sal_Int32 &nPos, OUStringBuffer &rTarget, const sal_Int32 nLen) |
| void | copyHex (std::u16string_view rCandidate, sal_Int32 &nPos, OUStringBuffer &rTarget, const sal_Int32 nLen) |
| void | copyString (std::u16string_view rCandidate, sal_Int32 &nPos, OUStringBuffer &rTarget, const sal_Int32 nLen) |
| void | copyToLimiter (std::u16string_view rCandidate, sal_Unicode nLimiter, sal_Int32 &nPos, OUStringBuffer &rTarget, const sal_Int32 nLen) |
| bool | readNumber (std::u16string_view rCandidate, sal_Int32 &nPos, double &fNum, const sal_Int32 nLen) |
| SvgUnit | readUnit (std::u16string_view rCandidate, sal_Int32 &nPos, const sal_Int32 nLen) |
| bool | readNumberAndUnit (std::u16string_view rCandidate, sal_Int32 &nPos, SvgNumber &aNum, const sal_Int32 nLen) |
| bool | readAngle (std::u16string_view rCandidate, sal_Int32 &nPos, double &fAngle, const sal_Int32 nLen) |
| sal_Int32 | read_hex (sal_Unicode nChar) |
| bool | match_colorKeyword (basegfx::BColor &rColor, const OUString &rName) |
| bool | read_color (const OUString &rCandidate, basegfx::BColor &rColor, SvgNumber &rOpacity) |
| basegfx::B2DRange | readViewBox (std::u16string_view rCandidate, InfoProvider const &rInfoProvider) |
| std::vector< double > | readFilterMatrix (std::u16string_view rCandidate, InfoProvider const &rInfoProvider) |
| basegfx::B2DHomMatrix | readTransform (std::u16string_view rCandidate, InfoProvider const &rInfoProvider) |
| bool | readSingleNumber (std::u16string_view rCandidate, SvgNumber &aNum) |
| bool | readLocalLink (std::u16string_view rCandidate, OUString &rURL) |
| bool | readLocalUrl (const OUString &rCandidate, OUString &rURL) |
| bool | readSvgPaint (const OUString &rCandidate, SvgPaint &rSvgPaint, OUString &rURL, SvgNumber &rOpacity) |
| bool | readSvgNumberVector (std::u16string_view rCandidate, SvgNumberVector &rSvgNumberVector) |
| SvgAspectRatio | readSvgAspectRatio (std::u16string_view rCandidate) |
| bool | readSvgStringVector (std::u16string_view rCandidate, SvgStringVector &rSvgStringVector) |
| void | readImageLink (const OUString &rCandidate, OUString &rXLink, OUString &rUrl, OUString &rData) |
| OUString | removeBlockComments (const OUString &rCandidate) |
| OUString | consolidateContiguousSpace (const OUString &rCandidate) |
| ::std::vector< double > | solveSvgNumberVector (const SvgNumberVector &rInput, const InfoProvider &rInfoProvider) |
Variables | |
| constexpr auto | aSVGTokenMapperList |
| constexpr auto | aSVGLowerCaseTokenMapperList |
| constexpr auto | aColorTokenMapperList |
| typedef std::vector< std::unique_ptr<SvgNode> > svgio::svgreader::SvgNodeVector |
Definition at line 29 of file svgdocument.hxx.
| typedef std::vector<SvgNumber> svgio::svgreader::SvgNumberVector |
Definition at line 111 of file SvgNumber.hxx.
| typedef ::std::vector< OUString > svgio::svgreader::SvgStringVector |
Definition at line 124 of file svgtools.hxx.
|
strong |
| Enumerator | |
|---|---|
| Baseline | |
| Sub | |
| Super | |
| Percentage | |
| Length | |
Definition at line 156 of file svgstyleattributes.hxx.
|
strong |
| Enumerator | |
|---|---|
| HueRotate | |
| Matrix | |
| Saturate | |
| LuminanceToAlpha | |
Definition at line 28 of file svgfecolormatrixnode.hxx.
|
strong |
| Enumerator | |
|---|---|
| Inline | |
| Block | |
| ListItem | |
| RunIn | |
| Compact | |
| Marker | |
| Table | |
| InlineTable | |
| TableRowGroup | |
| TableHeaderGroup | |
| TableFooterGroup | |
| TableRow | |
| TableColumnGroup | |
| TableColumn | |
| TableCell | |
| TableCaption | |
| None | |
| Inherit | |
Definition at line 51 of file svgnode.hxx.
|
strong |
| Enumerator | |
|---|---|
| notset | |
| nonzero | |
| evenodd | |
Definition at line 149 of file svgstyleattributes.hxx.
|
strong |
| Enumerator | |
|---|---|
| notset | |
| xx_small | |
| x_small | |
| small | |
| smaller | |
| medium | |
| large | |
| larger | |
| x_large | |
| xx_large | |
| initial | |
Definition at line 60 of file svgstyleattributes.hxx.
|
strong |
| Enumerator | |
|---|---|
| notset | |
| normal | |
| wider | |
| narrower | |
| ultra_condensed | |
| extra_condensed | |
| condensed | |
| semi_condensed | |
| semi_expanded | |
| expanded | |
| extra_expanded | |
| ultra_expanded | |
Definition at line 75 of file svgstyleattributes.hxx.
|
strong |
| Enumerator | |
|---|---|
| notset | |
| normal | |
| italic | |
| oblique | |
Definition at line 94 of file svgstyleattributes.hxx.
|
strong |
| Enumerator | |
|---|---|
| notset | |
| N100 | |
| N200 | |
| N300 | |
| N400 | |
| N500 | |
| N600 | |
| N700 | |
| N800 | |
| N900 | |
| bolder | |
| lighter | |
Definition at line 102 of file svgstyleattributes.hxx.
|
strong |
| Enumerator | |
|---|---|
| xcoordinate | |
| ycoordinate | |
| length | |
Definition at line 28 of file SvgNumber.hxx.
|
strong |
| Enumerator | |
|---|---|
| notset | |
| butt | |
| round | |
| square | |
Definition at line 44 of file svgstyleattributes.hxx.
|
strong |
| Enumerator | |
|---|---|
| notset | |
| miter | |
| round | |
| bevel | |
Definition at line 52 of file svgstyleattributes.hxx.
|
strong |
| Enumerator | |
|---|---|
| none | |
| xMinYMin | |
| xMidYMin | |
| xMaxYMin | |
| xMinYMid | |
| xMidYMid | |
| xMaxYMid | |
| xMinYMax | |
| xMidYMax | |
| xMaxYMax | |
Definition at line 50 of file svgtools.hxx.
|
strong |
Definition at line 27 of file svgtoken.hxx.
|
strong |
| Enumerator | |
|---|---|
| em | |
| ex | |
| px | |
| pt | |
| pc | |
| cm | |
| mm | |
| in | |
| percent | |
| none | |
Definition at line 46 of file SvgNumber.hxx.
|
strong |
| Enumerator | |
|---|---|
| userSpaceOnUse | |
| objectBoundingBox | |
Definition at line 44 of file svgtools.hxx.
|
strong |
| Enumerator | |
|---|---|
| notset | |
| left | |
| right | |
| center | |
| justify | |
Definition at line 122 of file svgstyleattributes.hxx.
|
strong |
| Enumerator | |
|---|---|
| notset | |
| start | |
| middle | |
| end | |
Definition at line 141 of file svgstyleattributes.hxx.
|
strong |
| Enumerator | |
|---|---|
| notset | |
| none | |
| underline | |
| overline | |
| line_through | |
| blink | |
Definition at line 131 of file svgstyleattributes.hxx.
|
strong |
| Enumerator | |
|---|---|
| notset | |
| visible | |
| hidden | |
| collapse | |
| inherit | |
Definition at line 165 of file svgstyleattributes.hxx.
|
strong |
| Enumerator | |
|---|---|
| NotSet | |
| Default | |
| Preserve | |
Definition at line 43 of file svgnode.hxx.
| OUString svgio::svgreader::consolidateContiguousSpace | ( | const OUString & | rCandidate | ) |
Definition at line 1452 of file svgtools.cxx.
Referenced by svgio::svgreader::SvgCharacterNode::whiteSpaceHandling().
| void svgio::svgreader::copyHex | ( | std::u16string_view | rCandidate, |
| sal_Int32 & | nPos, | ||
| OUStringBuffer & | rTarget, | ||
| const sal_Int32 | nLen | ||
| ) |
Definition at line 340 of file svgtools.cxx.
Referenced by read_color().
| void svgio::svgreader::copyNumber | ( | std::u16string_view | rCandidate, |
| sal_Int32 & | nPos, | ||
| OUStringBuffer & | rTarget, | ||
| const sal_Int32 | nLen | ||
| ) |
Definition at line 322 of file svgtools.cxx.
Referenced by readNumber().
| void svgio::svgreader::copySign | ( | std::u16string_view | rCandidate, |
| sal_Int32 & | nPos, | ||
| OUStringBuffer & | rTarget, | ||
| const sal_Int32 | nLen | ||
| ) |
Definition at line 308 of file svgtools.cxx.
Referenced by readNumber().
| void svgio::svgreader::copyString | ( | std::u16string_view | rCandidate, |
| sal_Int32 & | nPos, | ||
| OUStringBuffer & | rTarget, | ||
| const sal_Int32 | nLen | ||
| ) |
Definition at line 360 of file svgtools.cxx.
Referenced by svgio::svgreader::SvgStyleAttributes::readCssStyle(), and readSvgAspectRatio().
| void svgio::svgreader::copyToLimiter | ( | std::u16string_view | rCandidate, |
| sal_Unicode | nLimiter, | ||
| sal_Int32 & | nPos, | ||
| OUStringBuffer & | rTarget, | ||
| const sal_Int32 | nLen | ||
| ) |
Definition at line 380 of file svgtools.cxx.
Referenced by svgio::svgreader::SvgStyleNode::addCssStyleSheet(), svgio::svgreader::SvgStyleAttributes::readCssStyle(), readImageLink(), readLocalUrl(), and readSvgStringVector().
|
static |
Definition at line 155 of file svgimagenode.cxx.
References Graphic::GetBitmapEx(), Graphic::GetType(), and Graphic::getVectorGraphicData().
Referenced by svgio::svgreader::SvgImageNode::decomposeSvgNode().
| FontWeight svgio::svgreader::getBolder | ( | FontWeight | aSource | ) |
| Display svgio::svgreader::getDisplayFromContent | ( | std::u16string_view | aContent | ) |
Definition at line 452 of file svgnode.cxx.
References Block, Compact, o3tl::equalsIgnoreAsciiCase(), Inherit, Inline, InlineTable, ListItem, Marker, None, RunIn, Table, TableCaption, TableCell, TableColumn, TableColumnGroup, TableFooterGroup, TableHeaderGroup, TableRow, TableRowGroup, o3tl::trim(), and u.
Referenced by svgio::svgreader::SvgNode::parseAttribute(), and svgio::svgreader::SvgStyleAttributes::parseStyleAttribute().
| FontWeight svgio::svgreader::getLighter | ( | FontWeight | aSource | ) |
| FontStretch svgio::svgreader::getNarrower | ( | FontStretch | aSource | ) |
Definition at line 105 of file svgstyleattributes.cxx.
References condensed, expanded, extra_condensed, extra_expanded, normal, semi_condensed, semi_expanded, ultra_condensed, and ultra_expanded.
Referenced by svgio::svgreader::SvgStyleAttributes::getFontStretch().
| FontWeight svgio::svgreader::getVclFontWeight | ( | FontWeight | aSource | ) |
Definition at line 159 of file svgstyleattributes.cxx.
References N100, N200, N300, N400, N500, N600, N700, N800, N900, WEIGHT_BLACK, WEIGHT_BOLD, WEIGHT_LIGHT, WEIGHT_MEDIUM, WEIGHT_NORMAL, WEIGHT_SEMIBOLD, WEIGHT_SEMILIGHT, WEIGHT_ULTRABOLD, and WEIGHT_ULTRALIGHT.
Referenced by svgio::svgreader::SvgCharacterNode::createSimpleTextPrimitive().
| FontStretch svgio::svgreader::getWider | ( | FontStretch | aSource | ) |
Definition at line 87 of file svgstyleattributes.cxx.
References condensed, expanded, extra_condensed, extra_expanded, normal, semi_condensed, semi_expanded, ultra_condensed, and ultra_expanded.
Referenced by svgio::svgreader::SvgStyleAttributes::getFontStretch().
| bool svgio::svgreader::match_colorKeyword | ( | basegfx::BColor & | rColor, |
| const OUString & | rName | ||
| ) |
Definition at line 643 of file svgtools.cxx.
References aColorTokenMapperList.
Referenced by read_color().
| bool svgio::svgreader::read_color | ( | const OUString & | rCandidate, |
| basegfx::BColor & | rColor, | ||
| SvgNumber & | rOpacity | ||
| ) |
Definition at line 658 of file svgtools.cxx.
References copyHex(), match_colorKeyword(), nLength, nPos, read_hex(), readNumber(), basegfx::BColor::setBlue(), basegfx::BColor::setGreen(), basegfx::BColor::setRed(), and skip_char().
Referenced by readSvgPaint().
| sal_Int32 svgio::svgreader::read_hex | ( | sal_Unicode | nChar | ) |
| bool svgio::svgreader::readAngle | ( | std::u16string_view | rCandidate, |
| sal_Int32 & | nPos, | ||
| double & | fAngle, | ||
| const sal_Int32 | nLen | ||
| ) |
Definition at line 559 of file svgtools.cxx.
References basegfx::deg2rad(), o3tl::matchIgnoreAsciiCase(), nPos, readNumber(), skip_char(), and u.
Referenced by svgio::svgreader::SvgMarkerNode::parseAttribute(), and readTransform().
| std::vector< double > svgio::svgreader::readFilterMatrix | ( | std::u16string_view | rCandidate, |
| InfoProvider const & | rInfoProvider | ||
| ) |
Definition at line 849 of file svgtools.cxx.
References nPos, readNumberAndUnit(), skip_char(), and svgio::svgreader::SvgNumber::solve().
Referenced by svgio::svgreader::SvgFeColorMatrixNode::apply().
| void svgio::svgreader::readImageLink | ( | const OUString & | rCandidate, |
| OUString & | rXLink, | ||
| OUString & | rUrl, | ||
| OUString & | rData | ||
| ) |
Definition at line 1346 of file svgtools.cxx.
References aBuffer, aData, aMimeType, copyToLimiter(), nPos, readLocalLink(), skip_char(), o3tl::starts_with(), and u.
Referenced by svgio::svgreader::SvgFeImageNode::parseAttribute(), and svgio::svgreader::SvgImageNode::parseAttribute().
| bool svgio::svgreader::readLocalLink | ( | std::u16string_view | rCandidate, |
| OUString & | rURL | ||
| ) |
Definition at line 1084 of file svgtools.cxx.
References nPos, and skip_char().
Referenced by svgio::svgreader::SvgGradientNode::parseAttribute(), svgio::svgreader::SvgPatternNode::parseAttribute(), svgio::svgreader::SvgTextPathNode::parseAttribute(), svgio::svgreader::SvgTrefNode::parseAttribute(), svgio::svgreader::SvgUseNode::parseAttribute(), and readImageLink().
| bool svgio::svgreader::readLocalUrl | ( | const OUString & | rCandidate, |
| OUString & | rURL | ||
| ) |
Definition at line 1102 of file svgtools.cxx.
References copyToLimiter(), nPos, and skip_char().
Referenced by svgio::svgreader::SvgStyleAttributes::parseStyleAttribute(), and readSvgPaint().
| bool svgio::svgreader::readNumber | ( | std::u16string_view | rCandidate, |
| sal_Int32 & | nPos, | ||
| double & | fNum, | ||
| const sal_Int32 | nLen | ||
| ) |
Definition at line 389 of file svgtools.cxx.
References copyNumber(), copySign(), and nPos.
Referenced by read_color(), readAngle(), and readNumberAndUnit().
| bool svgio::svgreader::readNumberAndUnit | ( | std::u16string_view | rCandidate, |
| sal_Int32 & | nPos, | ||
| SvgNumber & | aNum, | ||
| const sal_Int32 | nLen | ||
| ) |
Definition at line 544 of file svgtools.cxx.
References nPos, readNumber(), readUnit(), and skip_char().
Referenced by readFilterMatrix(), readSingleNumber(), readSvgNumberVector(), readTransform(), and readViewBox().
| bool svgio::svgreader::readSingleNumber | ( | std::u16string_view | rCandidate, |
| SvgNumber & | aNum | ||
| ) |
Definition at line 1076 of file svgtools.cxx.
References nPos, and readNumberAndUnit().
Referenced by svgio::svgreader::SvgFeColorMatrixNode::apply(), svgio::svgreader::SvgCircleNode::parseAttribute(), svgio::svgreader::SvgEllipseNode::parseAttribute(), svgio::svgreader::SvgFeDropShadowNode::parseAttribute(), svgio::svgreader::SvgFeFloodNode::parseAttribute(), svgio::svgreader::SvgFeGaussianBlurNode::parseAttribute(), svgio::svgreader::SvgFeOffsetNode::parseAttribute(), svgio::svgreader::SvgGradientNode::parseAttribute(), svgio::svgreader::SvgGradientStopNode::parseAttribute(), svgio::svgreader::SvgImageNode::parseAttribute(), svgio::svgreader::SvgLineNode::parseAttribute(), svgio::svgreader::SvgMarkerNode::parseAttribute(), svgio::svgreader::SvgMaskNode::parseAttribute(), svgio::svgreader::SvgPathNode::parseAttribute(), svgio::svgreader::SvgPatternNode::parseAttribute(), svgio::svgreader::SvgRectNode::parseAttribute(), svgio::svgreader::SvgSvgNode::parseAttribute(), svgio::svgreader::SvgTextPathNode::parseAttribute(), svgio::svgreader::SvgUseNode::parseAttribute(), svgio::svgreader::SvgStyleAttributes::parseStyleAttribute(), and svgio::svgreader::SvgTextPositions::parseTextPositionAttributes().
| SvgAspectRatio svgio::svgreader::readSvgAspectRatio | ( | std::u16string_view | rCandidate | ) |
Definition at line 1197 of file svgtools.cxx.
References copyString(), Defer, Meet, None, none, nPos, SAL_WARN, skip_char(), Slice, StrToSVGToken(), XMaxYMax, xMaxYMax, XMaxYMid, xMaxYMid, XMaxYMin, xMaxYMin, XMidYMax, xMidYMax, XMidYMid, xMidYMid, XMidYMin, xMidYMin, XMinYMax, xMinYMax, XMinYMid, xMinYMid, XMinYMin, and xMinYMin.
Referenced by svgio::svgreader::SvgImageNode::parseAttribute(), svgio::svgreader::SvgMarkerNode::parseAttribute(), svgio::svgreader::SvgPatternNode::parseAttribute(), svgio::svgreader::SvgSvgNode::parseAttribute(), and svgio::svgreader::SvgSymbolNode::parseAttribute().
| bool svgio::svgreader::readSvgNumberVector | ( | std::u16string_view | rCandidate, |
| SvgNumberVector & | rSvgNumberVector | ||
| ) |
Definition at line 1174 of file svgtools.cxx.
References nPos, readNumberAndUnit(), and skip_char().
Referenced by svgio::svgreader::SvgStyleAttributes::parseStyleAttribute(), and svgio::svgreader::SvgTextPositions::parseTextPositionAttributes().
| bool svgio::svgreader::readSvgPaint | ( | const OUString & | rCandidate, |
| SvgPaint & | rSvgPaint, | ||
| OUString & | rURL, | ||
| SvgNumber & | rOpacity | ||
| ) |
Url is copied to rURL, but needs to be solved outside this helper
Definition at line 1139 of file svgtools.cxx.
References o3tl::equalsIgnoreAsciiCase(), read_color(), readLocalUrl(), o3tl::trim(), and u.
Referenced by svgio::svgreader::SvgFeDropShadowNode::parseAttribute(), svgio::svgreader::SvgFeFloodNode::parseAttribute(), and svgio::svgreader::SvgStyleAttributes::parseStyleAttribute().
| bool svgio::svgreader::readSvgStringVector | ( | std::u16string_view | rCandidate, |
| SvgStringVector & | rSvgStringVector | ||
| ) |
Definition at line 1319 of file svgtools.cxx.
References copyToLimiter(), nPos, and skip_char().
Referenced by svgio::svgreader::SvgStyleAttributes::parseStyleAttribute().
| basegfx::B2DHomMatrix svgio::svgreader::readTransform | ( | std::u16string_view | rCandidate, |
| InfoProvider const & | rInfoProvider | ||
| ) |
Definition at line 871 of file svgtools.cxx.
References basegfx::utils::createRotateAroundPoint(), basegfx::utils::createRotateB2DHomMatrix(), basegfx::utils::createScaleB2DHomMatrix(), basegfx::utils::createShearXB2DHomMatrix(), basegfx::utils::createShearYB2DHomMatrix(), basegfx::utils::createTranslateB2DHomMatrix(), basegfx::fTools::equalZero(), svgio::svgreader::SvgNumber::isSet(), o3tl::matchIgnoreAsciiCase(), nPos, readAngle(), readNumberAndUnit(), SAL_WARN, basegfx::B2DHomMatrix::set(), skip_char(), svgio::svgreader::SvgNumber::solve(), u, xcoordinate, and ycoordinate.
Referenced by svgio::svgreader::SvgANode::parseAttribute(), svgio::svgreader::SvgCircleNode::parseAttribute(), svgio::svgreader::SvgClipPathNode::parseAttribute(), svgio::svgreader::SvgEllipseNode::parseAttribute(), svgio::svgreader::SvgGNode::parseAttribute(), svgio::svgreader::SvgGradientNode::parseAttribute(), svgio::svgreader::SvgImageNode::parseAttribute(), svgio::svgreader::SvgLineNode::parseAttribute(), svgio::svgreader::SvgMaskNode::parseAttribute(), svgio::svgreader::SvgPathNode::parseAttribute(), svgio::svgreader::SvgPatternNode::parseAttribute(), svgio::svgreader::SvgPolyNode::parseAttribute(), svgio::svgreader::SvgRectNode::parseAttribute(), svgio::svgreader::SvgTextNode::parseAttribute(), and svgio::svgreader::SvgUseNode::parseAttribute().
| SvgUnit svgio::svgreader::readUnit | ( | std::u16string_view | rCandidate, |
| sal_Int32 & | nPos, | ||
| const sal_Int32 | nLen | ||
| ) |
| basegfx::B2DRange svgio::svgreader::readViewBox | ( | std::u16string_view | rCandidate, |
| InfoProvider const & | rInfoProvider | ||
| ) |
Definition at line 808 of file svgtools.cxx.
References nPos, readNumberAndUnit(), skip_char(), svgio::svgreader::SvgNumber::solve(), xcoordinate, and ycoordinate.
Referenced by svgio::svgreader::SvgMarkerNode::parseAttribute(), svgio::svgreader::SvgPatternNode::parseAttribute(), svgio::svgreader::SvgSvgNode::parseAttribute(), and svgio::svgreader::SvgSymbolNode::parseAttribute().
| OUString svgio::svgreader::removeBlockComments | ( | const OUString & | rCandidate | ) |
Definition at line 1402 of file svgtools.cxx.
Referenced by svgio::svgreader::SvgDocHdl::endElement().
| void svgio::svgreader::skip_char | ( | std::u16string_view | rCandidate, |
| sal_Unicode | nChar, | ||
| sal_Int32 & | nPos, | ||
| const sal_Int32 | nLen | ||
| ) |
Definition at line 292 of file svgtools.cxx.
References nPos.
Referenced by svgio::svgreader::SvgStyleNode::addCssStyleSheet(), read_color(), readAngle(), svgio::svgreader::SvgStyleAttributes::readCssStyle(), readFilterMatrix(), readImageLink(), readLocalLink(), readLocalUrl(), readNumberAndUnit(), readSvgAspectRatio(), readSvgNumberVector(), readSvgStringVector(), readTransform(), and readViewBox().
| void svgio::svgreader::skip_char | ( | std::u16string_view | rCandidate, |
| sal_Unicode | nCharA, | ||
| sal_Unicode | nCharB, | ||
| sal_Int32 & | nPos, | ||
| const sal_Int32 | nLen | ||
| ) |
Definition at line 300 of file svgtools.cxx.
References nPos.
| std::vector< double > svgio::svgreader::solveSvgNumberVector | ( | const SvgNumberVector & | rInput, |
| const InfoProvider & | rInfoProvider | ||
| ) |
Definition at line 1499 of file svgtools.cxx.
References a, nCount, and solve().
Referenced by svgio::svgreader::SvgStyleAttributes::add_stroke().
|
static |
Definition at line 68 of file svgstyleattributes.cxx.
Referenced by svgio::svgreader::SvgStyleAttributes::add_stroke().
|
static |
Definition at line 54 of file svgstyleattributes.cxx.
References basegfx::Bevel, bevel, basegfx::Miter, basegfx::Round, and round.
Referenced by svgio::svgreader::SvgStyleAttributes::add_stroke().
| SVGToken svgio::svgreader::StrToSVGToken | ( | const OUString & | rStr, |
| bool | bCaseIndependent | ||
| ) |
Definition at line 343 of file svgtoken.cxx.
References aSVGLowerCaseTokenMapperList, aSVGTokenMapperList, and Unknown.
Referenced by svgio::svgreader::SvgDocHdl::endElement(), svgio::svgreader::SvgNode::parseAttributes(), svgio::svgreader::SvgStyleAttributes::readCssStyle(), readSvgAspectRatio(), and svgio::svgreader::SvgDocHdl::startElement().
| OUString svgio::svgreader::SVGTokenToStr | ( | const SVGToken & | rToken | ) |
Definition at line 369 of file svgtoken.cxx.
References aSVGTokenMapperList.
Referenced by svgio::svgreader::SvgDocHdl::endElement(), svgio::svgreader::SvgNode::fillCssStyleVectorUsingHierarchyAndSelectors(), and svgio::svgreader::SvgNode::fillCssStyleVectorUsingParent().
|
constexpr |
Definition at line 35 of file svgtools.cxx.
Referenced by match_colorKeyword().
|
constexpr |
Definition at line 185 of file svgtoken.cxx.
Referenced by StrToSVGToken().
|
constexpr |
Definition at line 28 of file svgtoken.cxx.
Referenced by StrToSVGToken(), and SVGTokenToStr().