Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: WNGDOOR.H
Link against: wpeng.lib

Class CWordModelHeaderV3

class CWordModelHeaderV3 : public CApaModelHeader;

Description

Wrapper for the word processor application engine.

The class provides the knowledge for internalising and externalising an application model's data. It enables word processor documents to be embedded within rich text objects.

Like CWordModelHeaderV2, it provides restoration support for objects embedded within embedded word documents. Unlike that class, however, it does not restore printer setup information, or process header and footer information.

Derivation

Members

Defined in CWordModelHeaderV3:
AppId(), DetachFromStoreL(), Model(), RestoreL(), StoreL(), ~CWordModelHeaderV3()

Inherited from CApaModelHeader:
Reserved_1(), Reserved_2()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


~CWordModelHeaderV3()

IMPORT_C ~CWordModelHeaderV3();

Description

Destructor.

This deletes the wrapped word engine.

[Top]


Member functions


StoreL()

virtual IMPORT_C void StoreL(CStreamStore &aStore, CStreamDictionary &aDict) const;

Description

Stores the wrapped word engine.

Parameters

CStreamStore &aStore

Store to write to

CStreamDictionary &aDict

Stream dictionary to write to


AppId()

virtual IMPORT_C TApaAppIdentifier AppId() const;

Description

Gets an application identifier.

Return value

TApaAppIdentifier

Word processor application identifier


DetachFromStoreL()

virtual IMPORT_C void DetachFromStoreL(CPicture::TDetach aDegree);

Description

Calls DetachFromStoreL() on the engine's components (text, header, and footer).

DetachFromStoreL() sets how pictures are stored.

Parameters

CPicture::TDetach aDegree

Picture storage option


RestoreL()

IMPORT_C void RestoreL(const CStreamStore &aStore, const CStreamDictionary &aDict);

Description

Restores the wrapped word engine.

Parameters

const CStreamStore &aStore

Store to read from.

const CStreamDictionary &aDict

Stream dictionary to read from.


Model()

IMPORT_C CWordModel *Model();

Description

Gets the wrapped word engine.

Return value

CWordModel *

The wrapped word engine