LibreOffice Module sfx2 (master) 1
Public Member Functions | Private Member Functions | List of all members
SfxOleCodePageProperty Class Reference

Property representing the codepage used to encode bytestrings in the entire property set. More...

#include <oleprops.hxx>

Inheritance diagram for SfxOleCodePageProperty:
[legend]
Collaboration diagram for SfxOleCodePageProperty:
[legend]

Public Member Functions

 SfxOleCodePageProperty ()
 
- Public Member Functions inherited from SfxOlePropertyBase
 SfxOlePropertyBase (sal_Int32 nPropId, sal_Int32 nPropType)
 
sal_Int32 GetPropId () const
 
sal_Int32 GetPropType () const
 
- Public Member Functions inherited from SfxOleObjectBase
 SfxOleObjectBase ()
 
virtual ~SfxOleObjectBase ()
 
ErrCode const & GetError () const
 Returns the current error code. More...
 
ErrCode const & Load (SvStream &rStrm)
 Loads this object from the passed stream. More...
 
ErrCode const & Save (SvStream &rStrm)
 Saves this object to the passed stream. More...
 
- Public Member Functions inherited from SfxOleTextEncoding
 SfxOleTextEncoding ()
 
 SfxOleTextEncoding (rtl_TextEncoding eTextEnc)
 
rtl_TextEncoding GetTextEncoding () const
 Returns the current text encoding identifier. More...
 
void SetTextEncoding (rtl_TextEncoding eTextEnc)
 Sets the passed text encoding. More...
 
bool IsUnicode () const
 Returns true, if this object contains Unicode text encoding. More...
 
void SetUnicode ()
 Sets Unicode text encoding to this object. More...
 
sal_uInt16 GetCodePage () const
 Converts the current settings to a Windows codepage identifier. More...
 
void SetCodePage (sal_uInt16 nCodePage)
 Sets the current text encoding from a Windows codepage identifier. More...
 

Private Member Functions

virtual void ImplLoad (SvStream &rStrm) override
 Derived classes implement loading the object from the passed steam. More...
 
virtual void ImplSave (SvStream &rStrm) override
 Derived classes implement saving the object to the passed steam. More...
 

Additional Inherited Members

- Protected Member Functions inherited from SfxOlePropertyBase
void SetPropType (sal_Int32 nPropType)
 
- Protected Member Functions inherited from SfxOleObjectBase
void SetError (ErrCode nErrCode)
 Sets the passed error code. More...
 
void LoadObject (SvStream &rStrm, SfxOleObjectBase &rObj)
 Loads the passed object from the stream. More...
 
void SaveObject (SvStream &rStrm, SfxOleObjectBase &rObj)
 Saves the passed object to the stream. More...
 

Detailed Description

Property representing the codepage used to encode bytestrings in the entire property set.

Definition at line 223 of file oleprops.hxx.

Constructor & Destructor Documentation

◆ SfxOleCodePageProperty()

SfxOleCodePageProperty::SfxOleCodePageProperty ( )
explicit

Definition at line 365 of file oleprops.cxx.

Member Function Documentation

◆ ImplLoad()

void SfxOleCodePageProperty::ImplLoad ( SvStream rStrm)
overrideprivatevirtual

Derived classes implement loading the object from the passed steam.

Implements SfxOleObjectBase.

Definition at line 370 of file oleprops.cxx.

References SvStream::ReadUInt16(), rStrm, and SfxOleTextEncoding::SetCodePage().

◆ ImplSave()

void SfxOleCodePageProperty::ImplSave ( SvStream rStrm)
overrideprivatevirtual

Derived classes implement saving the object to the passed steam.

Implements SfxOleObjectBase.

Definition at line 378 of file oleprops.cxx.

References SfxOleTextEncoding::GetCodePage(), rStrm, and SvStream::WriteUInt16().


The documentation for this class was generated from the following files: