LibreOffice Module svgio (master) 1
Classes | Typedefs | Enumerations | Functions | Variables
svgio::svgreader Namespace Reference

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< SvgNumberSvgNumberVector
 
typedef ::std::vector< OUString > SvgStringVector
 

Enumerations

enum class  ColorType {
  HueRotate ,
  Matrix ,
  Saturate ,
  LuminanceToAlpha
}
 
enum class  XmlSpace {
  NotSet ,
  Default ,
  Preserve
}
 
enum class  Display {
  Inline ,
  Block ,
  ListItem ,
  RunIn ,
  Compact ,
  Marker ,
  Table ,
  InlineTable ,
  TableRowGroup ,
  TableHeaderGroup ,
  TableFooterGroup ,
  TableRow ,
  TableColumnGroup ,
  TableColumn ,
  TableCell ,
  TableCaption ,
  None ,
  Inherit
}
 
enum class  NumberType {
  xcoordinate ,
  ycoordinate ,
  length
}
 
enum class  SvgUnit {
  em = 0 ,
  ex ,
  px ,
  pt ,
  pc ,
  cm ,
  mm ,
  in ,
  percent ,
  none
}
 
enum class  StrokeLinecap {
  notset ,
  butt ,
  round ,
  square
}
 
enum class  StrokeLinejoin {
  notset ,
  miter ,
  round ,
  bevel
}
 
enum class  FontSize {
  notset ,
  xx_small ,
  x_small ,
  small ,
  smaller ,
  medium ,
  large ,
  larger ,
  x_large ,
  xx_large ,
  initial
}
 
enum class  FontStretch {
  notset ,
  normal ,
  wider ,
  narrower ,
  ultra_condensed ,
  extra_condensed ,
  condensed ,
  semi_condensed ,
  semi_expanded ,
  expanded ,
  extra_expanded ,
  ultra_expanded
}
 
enum class  FontStyle {
  notset ,
  normal ,
  italic ,
  oblique
}
 
enum class  FontWeight {
  notset ,
  N100 ,
  N200 ,
  N300 ,
  N400 ,
  N500 ,
  N600 ,
  N700 ,
  N800 ,
  N900 ,
  bolder ,
  lighter
}
 
enum class  TextAlign {
  notset ,
  left ,
  right ,
  center ,
  justify
}
 
enum class  TextDecoration {
  notset ,
  none ,
  underline ,
  overline ,
  line_through ,
  blink
}
 
enum class  TextAnchor {
  notset ,
  start ,
  middle ,
  end
}
 
enum class  FillRule {
  notset ,
  nonzero ,
  evenodd
}
 
enum class  BaselineShift {
  Baseline ,
  Sub ,
  Super ,
  Percentage ,
  Length
}
 
enum class  Visibility {
  notset ,
  visible ,
  hidden ,
  collapse ,
  inherit
}
 
enum class  SVGToken {
  Unknown = 0 ,
  Width ,
  Height ,
  ViewBox ,
  Transform ,
  Style ,
  Display ,
  D ,
  X ,
  Y ,
  Xmlns ,
  Version ,
  Id ,
  In ,
  Rx ,
  Ry ,
  Points ,
  Dx ,
  Dy ,
  Rotate ,
  TextLength ,
  LengthAdjust ,
  Font ,
  FontFamily ,
  FontSize ,
  FontSizeAdjust ,
  FontStretch ,
  FontStyle ,
  FontVariant ,
  FontWeight ,
  Direction ,
  LetterSpacing ,
  TextDecoration ,
  UnicodeBidi ,
  WordSpacing ,
  Character ,
  Tspan ,
  Tref ,
  TextPath ,
  StartOffset ,
  Method ,
  Spacing ,
  StdDeviation ,
  TextAlign ,
  PathLength ,
  Type ,
  Class ,
  TextAnchor ,
  XmlSpace ,
  Color ,
  ClipPathNode ,
  ClipPathProperty ,
  FeColorMatrix ,
  FeDropShadow ,
  FeFlood ,
  FeImage ,
  FeGaussianBlur ,
  FeOffset ,
  Filter ,
  FloodColor ,
  FloodOpacity ,
  Mask ,
  ClipPathUnits ,
  MaskUnits ,
  MaskContentUnits ,
  ClipRule ,
  Marker ,
  MarkerStart ,
  MarkerMid ,
  MarkerEnd ,
  RefX ,
  RefY ,
  MarkerUnits ,
  MarkerWidth ,
  MarkerHeight ,
  Orient ,
  Pattern ,
  PatternUnits ,
  PatternContentUnits ,
  PatternTransform ,
  Opacity ,
  Visibility ,
  Title ,
  Desc ,
  PreserveAspectRatio ,
  Defer ,
  None ,
  XMinYMin ,
  XMidYMin ,
  XMaxYMin ,
  XMinYMid ,
  XMidYMid ,
  XMaxYMid ,
  XMinYMax ,
  XMidYMax ,
  XMaxYMax ,
  Meet ,
  Slice ,
  Values ,
  Defs ,
  G ,
  Svg ,
  Symbol ,
  Use ,
  A ,
  Circle ,
  Ellipse ,
  Line ,
  Path ,
  Polygon ,
  Polyline ,
  Rect ,
  Image ,
  LinearGradient ,
  RadialGradient ,
  Stop ,
  Offset ,
  X1 ,
  Y1 ,
  X2 ,
  Y2 ,
  Cx ,
  Cy ,
  Fx ,
  Fy ,
  R ,
  GradientUnits ,
  GradientTransform ,
  SpreadMethod ,
  Href ,
  XlinkHref ,
  StopColor ,
  StopOpacity ,
  Fill ,
  FillOpacity ,
  FillRule ,
  Stroke ,
  StrokeDasharray ,
  StrokeDashoffset ,
  StrokeLinecap ,
  StrokeLinejoin ,
  StrokeMiterlimit ,
  StrokeOpacity ,
  StrokeWidth ,
  Text ,
  BaselineShift ,
  FlowRoot
}
 
enum class  SvgUnits {
  userSpaceOnUse ,
  objectBoundingBox
}
 
enum class  SvgAlign {
  none ,
  xMinYMin ,
  xMidYMin ,
  xMaxYMin ,
  xMinYMid ,
  xMidYMid ,
  xMaxYMid ,
  xMinYMax ,
  xMidYMax ,
  xMaxYMax
}
 

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 Documentation

◆ SvgNodeVector

typedef std::vector< std::unique_ptr<SvgNode> > svgio::svgreader::SvgNodeVector

Definition at line 29 of file svgdocument.hxx.

◆ SvgNumberVector

Definition at line 111 of file SvgNumber.hxx.

◆ SvgStringVector

typedef ::std::vector< OUString > svgio::svgreader::SvgStringVector

Definition at line 124 of file svgtools.hxx.

Enumeration Type Documentation

◆ BaselineShift

Enumerator
Baseline 
Sub 
Super 
Percentage 
Length 

Definition at line 156 of file svgstyleattributes.hxx.

◆ ColorType

enum class svgio::svgreader::ColorType
strong
Enumerator
HueRotate 
Matrix 
Saturate 
LuminanceToAlpha 

Definition at line 28 of file svgfecolormatrixnode.hxx.

◆ Display

enum class svgio::svgreader::Display
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.

◆ FillRule

enum class svgio::svgreader::FillRule
strong
Enumerator
notset 
nonzero 
evenodd 

Definition at line 149 of file svgstyleattributes.hxx.

◆ FontSize

enum class svgio::svgreader::FontSize
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.

◆ FontStretch

enum class svgio::svgreader::FontStretch
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.

◆ FontStyle

enum class svgio::svgreader::FontStyle
strong
Enumerator
notset 
normal 
italic 
oblique 

Definition at line 94 of file svgstyleattributes.hxx.

◆ FontWeight

enum class svgio::svgreader::FontWeight
strong
Enumerator
notset 
N100 
N200 
N300 
N400 
N500 
N600 
N700 
N800 
N900 
bolder 
lighter 

Definition at line 102 of file svgstyleattributes.hxx.

◆ NumberType

enum class svgio::svgreader::NumberType
strong
Enumerator
xcoordinate 
ycoordinate 
length 

Definition at line 28 of file SvgNumber.hxx.

◆ StrokeLinecap

Enumerator
notset 
butt 
round 
square 

Definition at line 44 of file svgstyleattributes.hxx.

◆ StrokeLinejoin

Enumerator
notset 
miter 
round 
bevel 

Definition at line 52 of file svgstyleattributes.hxx.

◆ SvgAlign

enum class svgio::svgreader::SvgAlign
strong
Enumerator
none 
xMinYMin 
xMidYMin 
xMaxYMin 
xMinYMid 
xMidYMid 
xMaxYMid 
xMinYMax 
xMidYMax 
xMaxYMax 

Definition at line 50 of file svgtools.hxx.

◆ SVGToken

enum class svgio::svgreader::SVGToken
strong
Enumerator
Unknown 
Width 
Height 
ViewBox 
Transform 
Style 
Display 
Xmlns 
Version 
Id 
In 
Rx 
Ry 
Points 
Dx 
Dy 
Rotate 
TextLength 
LengthAdjust 
Font 
FontFamily 
FontSize 
FontSizeAdjust 
FontStretch 
FontStyle 
FontVariant 
FontWeight 
Direction 
LetterSpacing 
TextDecoration 
UnicodeBidi 
WordSpacing 
Character 
Tspan 
Tref 
TextPath 
StartOffset 
Method 
Spacing 
StdDeviation 
TextAlign 
PathLength 
Type 
Class 
TextAnchor 
XmlSpace 
Color 
ClipPathNode 
ClipPathProperty 
FeColorMatrix 
FeDropShadow 
FeFlood 
FeImage 
FeGaussianBlur 
FeOffset 
Filter 
FloodColor 
FloodOpacity 
Mask 
ClipPathUnits 
MaskUnits 
MaskContentUnits 
ClipRule 
Marker 
MarkerStart 
MarkerMid 
MarkerEnd 
RefX 
RefY 
MarkerUnits 
MarkerWidth 
MarkerHeight 
Orient 
Pattern 
PatternUnits 
PatternContentUnits 
PatternTransform 
Opacity 
Visibility 
Title 
Desc 
PreserveAspectRatio 
Defer 
None 
XMinYMin 
XMidYMin 
XMaxYMin 
XMinYMid 
XMidYMid 
XMaxYMid 
XMinYMax 
XMidYMax 
XMaxYMax 
Meet 
Slice 
Values 
Defs 
Svg 
Symbol 
Use 
Circle 
Ellipse 
Line 
Path 
Polygon 
Polyline 
Rect 
Image 
LinearGradient 
RadialGradient 
Stop 
Offset 
X1 
Y1 
X2 
Y2 
Cx 
Cy 
Fx 
Fy 
GradientUnits 
GradientTransform 
SpreadMethod 
Href 
XlinkHref 
StopColor 
StopOpacity 
Fill 
FillOpacity 
FillRule 
Stroke 
StrokeDasharray 
StrokeDashoffset 
StrokeLinecap 
StrokeLinejoin 
StrokeMiterlimit 
StrokeOpacity 
StrokeWidth 
Text 
BaselineShift 
FlowRoot 

Definition at line 27 of file svgtoken.hxx.

◆ SvgUnit

enum class svgio::svgreader::SvgUnit
strong
Enumerator
em 
ex 
px 
pt 
pc 
cm 
mm 
in 
percent 
none 

Definition at line 46 of file SvgNumber.hxx.

◆ SvgUnits

enum class svgio::svgreader::SvgUnits
strong
Enumerator
userSpaceOnUse 
objectBoundingBox 

Definition at line 44 of file svgtools.hxx.

◆ TextAlign

enum class svgio::svgreader::TextAlign
strong
Enumerator
notset 
left 
right 
center 
justify 

Definition at line 122 of file svgstyleattributes.hxx.

◆ TextAnchor

enum class svgio::svgreader::TextAnchor
strong
Enumerator
notset 
start 
middle 
end 

Definition at line 141 of file svgstyleattributes.hxx.

◆ TextDecoration

Enumerator
notset 
none 
underline 
overline 
line_through 
blink 

Definition at line 131 of file svgstyleattributes.hxx.

◆ Visibility

enum class svgio::svgreader::Visibility
strong
Enumerator
notset 
visible 
hidden 
collapse 
inherit 

Definition at line 165 of file svgstyleattributes.hxx.

◆ XmlSpace

enum class svgio::svgreader::XmlSpace
strong
Enumerator
NotSet 
Default 
Preserve 

Definition at line 43 of file svgnode.hxx.

Function Documentation

◆ consolidateContiguousSpace()

OUString svgio::svgreader::consolidateContiguousSpace ( const OUString &  rCandidate)

Definition at line 1452 of file svgtools.cxx.

References aBuffer, and nPos.

Referenced by svgio::svgreader::SvgCharacterNode::whiteSpaceHandling().

◆ copyHex()

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.

References nPos, and rTarget.

Referenced by read_color().

◆ copyNumber()

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.

References nPos, and rTarget.

Referenced by readNumber().

◆ copySign()

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.

References nPos, and rTarget.

Referenced by readNumber().

◆ copyString()

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.

References nPos, and rTarget.

Referenced by svgio::svgreader::SvgStyleAttributes::readCssStyle(), and readSvgAspectRatio().

◆ copyToLimiter()

void svgio::svgreader::copyToLimiter ( std::u16string_view  rCandidate,
sal_Unicode  nLimiter,
sal_Int32 &  nPos,
OUStringBuffer &  rTarget,
const sal_Int32  nLen 
)

◆ extractFromGraphic()

static void svgio::svgreader::extractFromGraphic ( const Graphic rGraphic,
drawinglayer::primitive2d::Primitive2DContainer rEmbedded,
basegfx::B2DRange rViewBox,
BitmapEx rBitmapEx 
)
static

◆ getBolder()

FontWeight svgio::svgreader::getBolder ( FontWeight  aSource)

Definition at line 123 of file svgstyleattributes.cxx.

References N100, N200, N300, N400, N500, N600, N700, N800, and N900.

Referenced by svgio::svgreader::SvgStyleAttributes::getFontWeight().

◆ getDisplayFromContent()

Display svgio::svgreader::getDisplayFromContent ( std::u16string_view  aContent)

◆ getLighter()

FontWeight svgio::svgreader::getLighter ( FontWeight  aSource)

Definition at line 141 of file svgstyleattributes.cxx.

References N100, N200, N300, N400, N500, N600, N700, N800, and N900.

Referenced by svgio::svgreader::SvgStyleAttributes::getFontWeight().

◆ getNarrower()

FontStretch svgio::svgreader::getNarrower ( FontStretch  aSource)

◆ getVclFontWeight()

FontWeight svgio::svgreader::getVclFontWeight ( FontWeight  aSource)

◆ getWider()

FontStretch svgio::svgreader::getWider ( FontStretch  aSource)

◆ match_colorKeyword()

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().

◆ read_color()

bool svgio::svgreader::read_color ( const OUString &  rCandidate,
basegfx::BColor rColor,
SvgNumber rOpacity 
)

◆ read_hex()

sal_Int32 svgio::svgreader::read_hex ( sal_Unicode  nChar)

Definition at line 622 of file svgtools.cxx.

References u.

Referenced by read_color().

◆ readAngle()

bool svgio::svgreader::readAngle ( std::u16string_view  rCandidate,
sal_Int32 &  nPos,
double &  fAngle,
const sal_Int32  nLen 
)

◆ readFilterMatrix()

std::vector< double > svgio::svgreader::readFilterMatrix ( std::u16string_view  rCandidate,
InfoProvider const &  rInfoProvider 
)

◆ readImageLink()

void svgio::svgreader::readImageLink ( const OUString &  rCandidate,
OUString &  rXLink,
OUString &  rUrl,
OUString &  rData 
)

◆ readLocalLink()

bool svgio::svgreader::readLocalLink ( std::u16string_view  rCandidate,
OUString &  rURL 
)

◆ readLocalUrl()

bool svgio::svgreader::readLocalUrl ( const OUString &  rCandidate,
OUString &  rURL 
)

◆ readNumber()

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().

◆ readNumberAndUnit()

bool svgio::svgreader::readNumberAndUnit ( std::u16string_view  rCandidate,
sal_Int32 &  nPos,
SvgNumber aNum,
const sal_Int32  nLen 
)

◆ readSingleNumber()

bool svgio::svgreader::readSingleNumber ( std::u16string_view  rCandidate,
SvgNumber aNum 
)

◆ readSvgAspectRatio()

SvgAspectRatio svgio::svgreader::readSvgAspectRatio ( std::u16string_view  rCandidate)

◆ readSvgNumberVector()

bool svgio::svgreader::readSvgNumberVector ( std::u16string_view  rCandidate,
SvgNumberVector rSvgNumberVector 
)

◆ readSvgPaint()

bool svgio::svgreader::readSvgPaint ( const OUString &  rCandidate,
SvgPaint rSvgPaint,
OUString &  rURL,
SvgNumber rOpacity 
)

◆ readSvgStringVector()

bool svgio::svgreader::readSvgStringVector ( std::u16string_view  rCandidate,
SvgStringVector rSvgStringVector 
)

◆ readTransform()

basegfx::B2DHomMatrix svgio::svgreader::readTransform ( std::u16string_view  rCandidate,
InfoProvider const &  rInfoProvider 
)

◆ readUnit()

SvgUnit svgio::svgreader::readUnit ( std::u16string_view  rCandidate,
sal_Int32 &  nPos,
const sal_Int32  nLen 
)

Definition at line 441 of file svgtools.cxx.

References cm, em, ex, in, mm, nPos, pc, percent, pt, px, and u.

Referenced by readNumberAndUnit().

◆ readViewBox()

basegfx::B2DRange svgio::svgreader::readViewBox ( std::u16string_view  rCandidate,
InfoProvider const &  rInfoProvider 
)

◆ removeBlockComments()

OUString svgio::svgreader::removeBlockComments ( const OUString &  rCandidate)

Definition at line 1402 of file svgtools.cxx.

References aBuffer, and nPos.

Referenced by svgio::svgreader::SvgDocHdl::endElement().

◆ skip_char() [1/2]

void svgio::svgreader::skip_char ( std::u16string_view  rCandidate,
sal_Unicode  nChar,
sal_Int32 &  nPos,
const sal_Int32  nLen 
)

◆ skip_char() [2/2]

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.

◆ solveSvgNumberVector()

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().

◆ StrokeLinecapToDrawingLineCap()

static css::drawing::LineCap svgio::svgreader::StrokeLinecapToDrawingLineCap ( StrokeLinecap  aStrokeLinecap)
static

Definition at line 68 of file svgstyleattributes.cxx.

References round, and square.

Referenced by svgio::svgreader::SvgStyleAttributes::add_stroke().

◆ StrokeLinejoinToB2DLineJoin()

static basegfx::B2DLineJoin svgio::svgreader::StrokeLinejoinToB2DLineJoin ( StrokeLinejoin  aStrokeLinejoin)
static

◆ StrToSVGToken()

SVGToken svgio::svgreader::StrToSVGToken ( const OUString &  rStr,
bool  bCaseIndependent 
)

◆ SVGTokenToStr()

OUString svgio::svgreader::SVGTokenToStr ( const SVGToken rToken)

Variable Documentation

◆ aColorTokenMapperList

constexpr auto svgio::svgreader::aColorTokenMapperList
constexpr

Definition at line 35 of file svgtools.cxx.

Referenced by match_colorKeyword().

◆ aSVGLowerCaseTokenMapperList

constexpr auto svgio::svgreader::aSVGLowerCaseTokenMapperList
constexpr

Definition at line 185 of file svgtoken.cxx.

Referenced by StrToSVGToken().

◆ aSVGTokenMapperList

constexpr auto svgio::svgreader::aSVGTokenMapperList
constexpr

Definition at line 28 of file svgtoken.cxx.

Referenced by StrToSVGToken(), and SVGTokenToStr().