Location:
apadbase.h
Link against: apparc.lib
CApaDoorBase
Supported from 5.0
The base class for the graphic representation of an embedded document.
An embedded document can be represented either as an icon or as a glass picture. Such a graphic representation is known as a door.
The class is intended for derivation.
|
Defined in CApaDoorBase
:
EGlassDoor
, EIconic
, ETemporarilyIconic
, ExternalizeBaseStreamL()
, Format()
, GlassDoorSize()
, InternalizeBaseStreamL()
, SetSource()
, Source()
, TFormat
Inherited from CBase
:
operator new()
Inherited from CPicture
:
AddCropInPixels()
,
Capability()
,
DetachFromStoreL()
,
Draw()
,
EDetachDraw
,
EDetachFull
,
ExternalizeL()
,
GetCropInTwips()
,
GetOriginalSizeInTwips()
,
GetSizeInPixels()
,
GetSizeInTwips()
,
LineBreakPossible()
,
ResetToOriginal()
,
ScaleFactorHeight()
,
ScaleFactorWidth()
,
SetCropInTwips()
,
SetScaleFactor()
,
SetSizeInPixels()
,
SetSizeInTwips()
,
StoreL()
,
TDetach
TFormat Format() const;
Gets the current format of the representation of the embedded document.
|
void SetSource(TUid aSource);
Sets the UID that identifies this door when the source originates on a non-Symbian platform.
This is used by converters.
|
TUid Source() const;
Gets the UID that identifies this door when the source originates on a non-Symbian platform.
This is used by converters.
|
protected: void ExternalizeBaseStreamL(CStreamStore& aStore,CStreamDictionary& aStreamDict) const;
Externalises the information contained in this base class to a stream in the specified store.
The resulting stream ID is associated with an internal UID, and placed in the specified stream dictionary.
|
protected: TSize InternalizeBaseStreamL(const CStreamStore& aStore,const CStreamDictionary& aStreamDict);
Internalises the information for this base class from a stream in the specified store, and returns the size of the icon or glass door.
The stream ID is extracted from the specified stream dictionary. The UID associated with the stream ID is the same as that used when externalising.
|
|
protected: virtual TSize GlassDoorSize() const = 0;
Returns the size of the glass door, in twips.
A concrete implementation of this function is provided by derived classes.
|
TFormat
Defines the possible formats for the graphical representation of the embedded document.
|