LibreOffice Module vcl (master) 1
|
#include <inetimg.hxx>
Public Member Functions | |
INetImage (OUString _aImageURL, OUString _aTargetURL, OUString _aTargetFrame) | |
INetImage () | |
const OUString & | GetImageURL () const |
const OUString & | GetTargetURL () const |
const OUString & | GetTargetFrame () const |
void | Write (SvStream &rOStm, SotClipboardFormatId nFormat) const |
bool | Read (SvStream &rIStm, SotClipboardFormatId nFormat) |
Private Attributes | |
OUString | aImageURL |
OUString | aTargetURL |
OUString | aTargetFrame |
Size | aSizePixel |
Definition at line 28 of file inetimg.hxx.
|
inline |
Definition at line 36 of file inetimg.hxx.
|
inline |
Definition at line 44 of file inetimg.hxx.
|
inline |
Definition at line 47 of file inetimg.hxx.
References aImageURL.
|
inline |
Definition at line 49 of file inetimg.hxx.
References aTargetFrame.
|
inline |
Definition at line 48 of file inetimg.hxx.
References aTargetURL.
bool INetImage::Read | ( | SvStream & | rIStm, |
SotClipboardFormatId | nFormat | ||
) |
Definition at line 59 of file inetimg.cxx.
References aImageURL, aSizePixel, aTargetFrame, aTargetURL, ERRCODE_NONE, SvStream::GetError(), o3tl::getToken(), read_zeroTerminated_uInt8s_ToOUString(), SvStream::ReadInt32(), SvStream::Seek(), SvStream::SeekRel(), Size::setHeight(), Size::setWidth(), SvStream::Tell(), o3tl::toInt32(), and TOKEN_SEPARATOR.
Referenced by TransferableDataHelper::GetINetImage().
void INetImage::Write | ( | SvStream & | rOStm, |
SotClipboardFormatId | nFormat | ||
) | const |
Definition at line 29 of file inetimg.cxx.
References aImageURL, aSizePixel, aTargetFrame, aTargetURL, Size::Height(), OUStringToOString(), TOKEN_SEPARATOR, Size::Width(), and SvStream::WriteBytes().
Referenced by TransferableHelper::SetINetImage().
|
private |
Definition at line 30 of file inetimg.hxx.
Referenced by GetImageURL(), Read(), and Write().
|
private |
Definition at line 33 of file inetimg.hxx.
|
private |
Definition at line 32 of file inetimg.hxx.
Referenced by GetTargetFrame(), Read(), and Write().
|
private |
Definition at line 31 of file inetimg.hxx.
Referenced by GetTargetURL(), Read(), and Write().