98 assert(!
m_strName.isEmpty() &&
"name should not be null.");
105 pAttrList->
AddAttribute(
"text:anchor-type",
"paragraph" );
115 pAttrList->
AddAttribute(
"text:anchor-type",
"as-char" );
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()
static OUString Encode(sal_uInt8 const *buf, sal_Int32 len)
@descr Encode binary buffer to base64 encoding.
const OUString & GetStyleName() const
: return the style name.
static OUString GenImageName()
@descr Generate a name for an image object
virtual void ToXml(IXFStream *pStrm) override
@descr Output image.
void SetFileURL(const OUString &url)
@descr Use file link source.a
void SetImageData(sal_uInt8 const *buf, int len)
@descr Use base64 stream.