|
Symbian sdk帮助-类CWordModelHeaderV2
译文作者:小梁 |
| 译文版本:1.0 译文时间:2005-11-10 |
|
|
Class CWordModelHeaderV2
class CWordModelHeaderV2 : public CApaModelHeader;
描述
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.
这个类提供对于内嵌并扩展一个应用程序模块数据的知识。字处理器文本能够嵌入在富文本对象中。
Compared to CWordModelHeader, it also provides restoration support for objects embedded within embedded word documents.
与CWordModelHeader相比,它也提供对于用嵌入字文档嵌入的对象的重新存储。
派生
CBase - Base class for all classes to be instantiated on the heap
在堆中,基类对于所有类是被实例化的
CApaModelHeader - An interface class that acts as a wrapper for an application model
一种作为对应用程序模型的封装器的接口类
CWordModelHeaderV2 - Wrapper for the word processor application engine
对于字处理器应用程序引擎的封装器
成员
Defined in CWordModelHeaderV2:
在CWordModelHeaderV2中定义:
AppId(), DetachFromStoreL(), Model(), RestoreL(), StoreL(), ~CWordModelHeaderV2()
从 CBase中继承:
operator new()
构造和析构
~CWordModelHeaderV2()
IMPORT_C ~CWordModelHeaderV2();
描述
Destructor.
析构器
This deletes the wrapped word engine.
这删除封装的字引擎
返回值
成员函数
StoreL()
virtual IMPORT_C void StoreL(CStreamStore &aStore, CStreamDictionary &aDict) const;
描述
Stores the wrapped word engine.
存储被封装的字引擎。
参数
|
CStreamStore &aStore
|
Store to write to
写出存储 |
|
CStreamDictionary &aDict
|
Stream dictionary to write to
写出流字典 |
|
返回值
AppId()
virtual IMPORT_C TApaAppIdentifier AppId() const;
描述
Gets an application identifier.
得到一个应用程序标识符
返回值
|
TApaAppIdentifier
|
Word processor application identifier
字处理应用程序标识符 |
|
DetachFromStoreL()
virtual IMPORT_C void DetachFromStoreL(CPicture::TDetach aDegree);
描述
Calls DetachFromStoreL() on the engine's components (text, header, and footer).
在引擎的组件(文本,页眉,页脚)调用DetachFromStoreL()
DetachFromStoreL() sets how pictures are stored.
DetachFromStoreL() 设置图片怎样存储。
参数
|
CPicture::TDetach aDegree
|
Picture storage option
图片存储选项 |
|
返回值
RestoreL()
IMPORT_C void RestoreL(const CStreamStore &aStore, const CStreamDictionary &aDict);
描述
Restores the wrapped word engine.
重新存储封装字引擎
参数
|
const CStreamStore &aStore
|
Store to read from. 读入存储 |
|
const CStreamDictionary &aDict
|
Stream dictionary to read from. 读入流字典 |
|
返回值
Model()
IMPORT_C CWordModel *Model();
描述
Gets the wrapped word engine.
得到封装的字引擎。
返回值
|
CWordModel *
|
The wrapped word engine
封装的字引擎 |
|
|