68 : m_pLineStyle(nullptr)
69 , m_pAreaStyle(nullptr)
70 , m_fArrowStartSize(0.3)
71 , m_fArrowEndSize(0.3)
72 , m_bArrowStartCenter(false)
73 , m_bArrowEndCenter(false)
74 , m_bLineStyleRegistered(false)
75 , m_bAreaStyleRegistered(false)
177 pAttrList->
AddAttribute(
"style:run-through",
"foreground" );
199 if(
color.IsValid() )
214 if(
color.IsValid() )
222 if(
color.IsValid() )
224 pAttrList->
AddAttribute(
"draw:fill-hatch-solid",
"true" );
237 pAttrList->
AddAttribute(
"draw:draw:marker-start-center",
"true" );
244 pAttrList->
AddAttribute(
"draw:draw:marker-end-center",
"true" );
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 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()
XFStyleManager * GetXFStyleManager()
static LwpGlobalMgr * GetInstance(LwpSvStream *pSvStream=nullptr)
void SetLineColor(XFColor const &color)
void SetBackColor(XFColor const &color)
void SetLineStyle(enumXFAreaLineStyle style)
enumXFAreaStyle GetAreaStyle() const
const XFColor & GetBackColor() const
void SetLineSpace(double space)
void SetLineAngle(sal_Int32 angle)
void SetAreaStyle(enumXFAreaStyle style)
Border line style for drawing object.
void SetSpace(double space)
@descr Set space between dash dot.
void SetWidth(double width)
@descr Set line width.
const XFColor & GetColor() const
void SetDot2Length(double length)
@descr Set second dot length.
bool IsSolid() const
@descr decide whether it's a solid line.
void SetDot1Length(double length)
@descr Set first dot length.
sal_Int32 GetTransparency() const
void SetColor(const XFColor &color)
@descr Set line color.
void SetDot1Number(sal_Int32 number)
@descr Set first dot number of dash line.
void SetLineStyle(enumXFLineStyle style)
@descr Set line type, solid,dash,dot?
void SetDot2Number(sal_Int32 number)
@descr Set second dot number of dash line.
void SetTransparency(sal_Int32 transparency)
@descr Set line transparency.
bool m_bLineStyleRegistered
std::unique_ptr< XFFontWorkStyle > m_pFontWorkStyle
virtual enumXFStyle GetStyleFamily() override
@descr get style family.
virtual void ToXml(IXFStream *pStrm) override
virtual ~XFDrawStyle() override
void SetLineDashStyle(enumXFLineStyle style, double len1, double len2, double space)
@descr Set drawing object dash border style.
XFDrawLineStyle * m_pLineStyle
void SetLineStyle(double width, XFColor color)
@descr Set drawing object border line.
void SetAreaColor(XFColor const &color)
@descr Set drawing object area fill color.
XFDrawAreaStyle * m_pAreaStyle
void SetFontWorkStyle(enumXFFWStyle eStyle, enumXFFWAdjust eAdjust)
void SetAreaLineStyle(enumXFAreaLineStyle style, sal_Int32 angle, double space, XFColor lineColor)
@descr Set drawing object area grid style.
bool m_bAreaStyleRegistered
static OUString GenAreaName()
@descr Generate a name for the area fill style.
static OUString GenStrokeDashName()
@descr Generate a name for the stroke style.
Style manager for the filter.
IXFStyleRet AddStyle(std::unique_ptr< IXFStyle > pStyle)
virtual OUString GetStyleName() override
@descr get style name.
virtual void SetStyleName(const OUString &styleName) override
@descr set style name.