Lines Matching refs:rStm
49 sal_uLong ReadClipboardFormat( SvStream & rStm ) in ReadClipboardFormat() argument
53 rStm >> nLen; in ReadClipboardFormat()
54 if( rStm.IsEof() ) in ReadClipboardFormat()
55 rStm.SetError( SVSTREAM_GENERALERROR ); in ReadClipboardFormat()
60 if( p && rStm.Read( p, nLen ) == (sal_uLong) nLen ) in ReadClipboardFormat()
66 rStm.SetError( SVSTREAM_GENERALERROR ); in ReadClipboardFormat()
72 rStm >> nFormat; in ReadClipboardFormat()
75 rStm >> nFormat; in ReadClipboardFormat()
78 rStm.SetError( SVSTREAM_GENERALERROR ); in ReadClipboardFormat()
83 rStm.SetError( SVSTREAM_GENERALERROR ); in ReadClipboardFormat()
88 void WriteClipboardFormat( SvStream & rStm, sal_uLong nFormat ) in WriteClipboardFormat() argument
97 rStm << (sal_Int32) (aAsciiCbFmt.Len() + 1); in WriteClipboardFormat()
98 rStm << (const char *)aAsciiCbFmt.GetBuffer(); in WriteClipboardFormat()
99 rStm << (sal_uInt8) 0; in WriteClipboardFormat()
102 rStm << (sal_Int32) -1 // for Windows in WriteClipboardFormat()
105 rStm << (sal_Int32) 0; // no clipboard format in WriteClipboardFormat()