LibreOffice Module sw (master)  1
SwReqIfReader Namespace Reference


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.

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

Definition at line 375 of file htmlreqifreader.cxx.

References SvxMSDffManager::ExtractOwnStream(), 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