73 , m_strName(
XFGlobal::GenFrameName())
78 , m_isTextBox(isTextBox)
135 assert(!
m_strName.isEmpty() &&
"name should not be null.");
142 pAttrList->
AddAttribute(
"text:anchor-type",
"paragraph" );
152 pAttrList->
AddAttribute(
"text:anchor-type",
"as-char" );
167 pAttrList->
AddAttribute(
"fo:max-height", OUString::number(0) +
"cm" );
Attribute list interface for sax writer.
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()
virtual void ToXml(IXFStream *pStrm) override
@descr Output to OOo model or local file.
virtual void Add(XFContent *pContent)
@descr Add content.
int GetCount() const
@descr return the number of contents in the container.
rtl::Reference< XFContent > GetContent(sal_uInt32 index) const
@descr get content by index.
@descr Base class for all content object.
const OUString & GetStyleName() const
: return the style name.
virtual enumXFContent GetContentType()
: return the content type.
Base class for all frame object,include drawing,image,text-box.
virtual enumXFContent GetContentType() override
@descr Get content type, enumXFContentFrame.
virtual ~XFFrame() override
static void EndFrame(IXFStream *pStrm)
enumXFFrameType GetFrameType() const
@descr Get the frame type.
void StartFrame(IXFStream *pStrm)
void SetZIndex(sal_uInt32 zIndex)
@descr Set z-index of the frame.
virtual void Add(XFContent *pContent) override
@descr override the add function to adjust z-index.
virtual void ToXml(IXFStream *pStrm) override
@descr serialize.
Global object, it manages all global variables for the full filter.
const EnumerationType m_eType
#define XFFRAME_FLAG_MINHEIGHT
#define XFFRAME_FLAG_MAXHEIGHT