68 , m_bRedIfNegative(false)
69 , m_aNegativeColor(255,0,0)
148 pAttrList->
AddAttribute(
"style:family",
"data-style" );
180 pAttrList->
AddAttribute(
"style:family",
"data-style" );
188 pStrm->
EndElement(
"number:percentage-style" );
221 OUString strGEStyle = strStyleName +
"PO";
232 pAttrList->
AddAttribute(
"style:condition",
"value()>=0" );
233 pAttrList->
AddAttribute(
"style:apply-style-name", strGEStyle );
287 pStrm->
EndElement(
"number:currency-symbol" );
296 pAttrList->
AddAttribute(
"number:min-integer-digits", OUString::number(1));
297 pAttrList->
AddAttribute(
"number:min-exponent-digits", OUString::number(2));
299 pStrm->
EndElement(
"number:scientific-number" );
305 pAttrList->
AddAttribute(
"number:min-integer-digits", OUString::number(1));
Attribute list interface for sax writer.
virtual void Clear()=0
@descr: Clear all the attributes in the attribute list.
virtual void AddAttribute(const OUString &name, const OUString &value)=0
@descr: Add an attribute to the attribute list.
Stream wrapper for sax writer.
virtual void Characters(const OUString &oustr)=0
@descr output text node.
virtual IXFAttrList * GetAttrList()=0
@descr return the Attribute list interface.
virtual void StartElement(const OUString &oustr)=0
@descr Wrap XDocumentHandler::startElement()
virtual void EndElement(const OUString &oustr)=0
@descr Wrap XDocumentHandler::endElement()
@descr Interface for all style object.
virtual enumXFStyle GetStyleFamily()=0
@descr: return the style family.
OUString ToString() const
void ToXml_Normal(IXFStream *pStrm)
void ToXml_EndElement(IXFStream *pStrm)
void ToXml_Negative(IXFStream *pStrm)
OUString m_strCurrencySymbol
OUString m_strNegativeSuffix
void ToXml_Content(IXFStream *pStrm, bool nagetive)
virtual enumXFStyle GetStyleFamily() override
@descr get style family.
OUString m_strNegativePrefix
virtual bool Equal(IXFStyle *pStyle) override
@descr decide whether two style are equal.
sal_Int32 m_nDecimalDigits
void ToXml_StartElement(IXFStream *pStrm)
virtual void ToXml(IXFStream *pStrm) override
virtual OUString GetStyleName() override
@descr get style name.
virtual OUString GetParentStyleName() override
@descr set parent style name.
virtual void SetStyleName(const OUString &styleName) override
@descr set style name.
const EnumerationType m_eType