Kaydet (Commit) 835cea6b authored tarafından Luboš Luňák's avatar Luboš Luňák

write proper title and description for wp:docPr

üst 88a8c089
......@@ -2103,11 +2103,11 @@ void DocxAttributeOutput::FlyFrameGraphic( const SwGrfNode& rGrfNode, const Size
}
}
// picture description
// TODO the right image description
m_pSerializer->startElementNS( XML_wp, XML_docPr,
XML_id, "1",
XML_name, "Picture",
XML_descr, "A description...",
XML_title, OUStringToOString( rGrfNode.GetTitle(), RTL_TEXTENCODING_UTF8 ).getStr(),
XML_descr, OUStringToOString( rGrfNode.GetDescription(), RTL_TEXTENCODING_UTF8 ).getStr(),
FSEND );
// TODO hyperlink
// m_pSerializer->singleElementNS( XML_a, XML_hlinkClick,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment