diff options
Diffstat (limited to 'svgio')
-rw-r--r-- | svgio/inc/svgstyleattributes.hxx | 4 | ||||
-rw-r--r-- | svgio/inc/svgtextpathnode.hxx | 9 | ||||
-rw-r--r-- | svgio/source/svgreader/svgstyleattributes.cxx | 12 | ||||
-rw-r--r-- | svgio/source/svgreader/svgtextpathnode.cxx | 26 |
4 files changed, 1 insertions, 50 deletions
diff --git a/svgio/inc/svgstyleattributes.hxx b/svgio/inc/svgstyleattributes.hxx index b9f655eba3d2..ab9b0479bf13 100644 --- a/svgio/inc/svgstyleattributes.hxx +++ b/svgio/inc/svgstyleattributes.hxx @@ -204,7 +204,6 @@ namespace svgio SvgNumber maFontSizeNumber; FontStretch maFontStretch; FontStyle maFontStyle; - FontVariant maFontVariant; FontWeight maFontWeight; TextAlign maTextAlign; TextDecoration maTextDecoration; @@ -381,9 +380,6 @@ namespace svgio FontStyle getFontStyle() const; void setFontStyle(const FontStyle aFontStyle) { maFontStyle = aFontStyle; } - /// FontVariant content - void setFontVariant(const FontVariant aFontVariant) { maFontVariant = aFontVariant; } - /// FontWeight content FontWeight getFontWeight() const; void setFontWeight(const FontWeight aFontWeight) { maFontWeight = aFontWeight; } diff --git a/svgio/inc/svgtextpathnode.hxx b/svgio/inc/svgtextpathnode.hxx index 39876511ec99..a0aa9b05270b 100644 --- a/svgio/inc/svgtextpathnode.hxx +++ b/svgio/inc/svgtextpathnode.hxx @@ -41,9 +41,6 @@ namespace svgio /// variable scan values, dependent of given XAttributeList SvgNumber maStartOffset; - bool mbMethod : 1; // true = align, false = stretch - bool mbSpacing : 1; // true = auto, false = exact - public: SvgTextPathNode( SvgDocument& rDocument, @@ -60,12 +57,6 @@ namespace svgio /// StartOffset content const SvgNumber& getStartOffset() const { return maStartOffset; } - - /// Method content - void setMethod(bool bNew) { mbMethod = bNew; } - - /// Spacing content - void setSpacing(bool bNew) { mbSpacing = bNew; } }; } // end of namespace svgreader } // end of namespace svgio diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index 15abeb022ff1..19e2bfd9bb91 100644 --- a/svgio/source/svgreader/svgstyleattributes.cxx +++ b/svgio/source/svgreader/svgstyleattributes.cxx @@ -1230,7 +1230,6 @@ namespace svgio maFontSizeNumber(), maFontStretch(FontStretch_notset), maFontStyle(FontStyle_notset), - maFontVariant(FontVariant_notset), maFontWeight(FontWeight_notset), maTextAlign(TextAlign_notset), maTextDecoration(TextDecoration_notset), @@ -1651,17 +1650,6 @@ namespace svgio } case SVGTokenFontVariant: { - if(!aContent.isEmpty()) - { - if(aContent.startsWith("normal")) - { - setFontVariant(FontVariant_normal); - } - else if(aContent.startsWith("small-caps")) - { - setFontVariant(FontVariant_small_caps); - } - } break; } case SVGTokenFontWeight: diff --git a/svgio/source/svgreader/svgtextpathnode.cxx b/svgio/source/svgreader/svgtextpathnode.cxx index 0ac0457a174b..e9b00eb2ddec 100644 --- a/svgio/source/svgreader/svgtextpathnode.cxx +++ b/svgio/source/svgreader/svgtextpathnode.cxx @@ -251,9 +251,7 @@ namespace svgio : SvgNode(SVGTokenTextPath, rDocument, pParent), maSvgStyleAttributes(*this), maXLink(), - maStartOffset(), - mbMethod(true), - mbSpacing(false) + maStartOffset() { } @@ -297,32 +295,10 @@ namespace svgio } case SVGTokenMethod: { - if(!aContent.isEmpty()) - { - if(aContent.startsWith("align")) - { - setMethod(true); - } - else if(aContent.startsWith("stretch")) - { - setMethod(false); - } - } break; } case SVGTokenSpacing: { - if(!aContent.isEmpty()) - { - if(aContent.startsWith("auto")) - { - setSpacing(true); - } - else if(aContent.startsWith("exact")) - { - setSpacing(false); - } - } break; } case SVGTokenXlinkHref: |