LibreOffice Module sw (master)  1
Functions
SwReqIfReader Namespace Reference

Functions

bool ExtractOleFromRtf (SvStream &rRtf, SvStream &rOle, bool &bOwnFormat)
 Extracts an OLE2 container binary from an RTF fragment. More...
 
bool WrapOleInRtf (SvStream &rOle2, SvStream &rRtf, SwOLENode &rOLENode)
 Wraps an OLE2 container binary in an RTF fragment. More...
 
bool WrapGraphicInRtf (const Graphic &rGraphic, const Size &rLogicSize, SvStream &rRtf)
 Wraps an image in an RTF fragment. More...
 

Function Documentation

bool SwReqIfReader::ExtractOleFromRtf ( SvStream rRtf,
SvStream rOle,
bool &  bOwnFormat 
)

Extracts an OLE2 container binary from an RTF fragment.

Parameters
bOwnFormatif the extracted data has an ODF class ID or not.

Definition at line 257 of file htmlreqifreader.cxx.

References SvxMSDffManager::ExtractOwnStream(), SotStorage::GetClassName(), SvxMSDffManager::GetFilterNameFromClassID(), SvMemoryStream::GetSize(), SvStream::Seek(), SvStream::SetStreamSize(), SvStream::WriteOString(), and SvStream::WriteStream().

Referenced by SwHTMLParser::InsertEmbed().

bool SwReqIfReader::WrapGraphicInRtf ( const Graphic rGraphic,
const Size rLogicSize,
SvStream rRtf 
)
bool SwReqIfReader::WrapOleInRtf ( SvStream rOle2,
SvStream rRtf,
SwOLENode rOLENode 
)