|
Symbian sdk帮助-类CWordModelHeader
译文作者:小梁 |
| 译文版本:1.0 译文时间:2005-11-10 |
|
|
Class CWordModelHeader
class CWordModelHeader : 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.
这个类提供对于内嵌或者扩展一个应用程序模块数据的知识。字处理器文本能够嵌入在富文本对象中。
派生
o 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 ,一种作为对于应用程序模型封装的接口类
§ CWordModelHeader - Wrapper for the word processor application engine,对字处理器应用程序引擎的封装器
成员
在 CwordModelHeader 被定义的:
AppId(), CWordModelHeader(), DetachFromStoreL(), Model(), RestoreL(), StoreL(), iModel, ~CWordModelHeader()
从 CBase中继承:
operator new()
构造和析构
CWordModelHeader()
IMPORT_C CWordModelHeader(CWordModel *aModel);
描述
Constructor, specifying a word engine to wrap.
指向用来封装字引擎的构造器
参数
返回值
~CWordModelHeader()
virtual IMPORT_C ~CWordModelHeader();
描述
Destructor.
This deletes the wrapped word engine.
析构器
这删除被封装的字的引擎。
返回值
成员函数
StoreL()
virtual IMPORT_C void StoreL(CStreamStore &aStore, CStreamDictionary &aDict) const;
描述
Stores the wrapped word engine
存储已封装的字引擎
参数
返回值
RestoreL()
IMPORT_C void RestoreL(const CStreamStore &aStore, const CStreamDictionary &aDict);
描述
Restores the wrapped word engine
重新存储已封装的字引擎。
参数
返回值
AppId()
virtual IMPORT_C TApaAppIdentifier AppId() const;
描述
Gets an 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()设置图片怎样被存储。
参数
返回值
Model()
IMPORT_C CWordModel *Model();
描述
得到已封装的字引擎
返回值
成员数据
iModel
protected: CWordModel * iModel;
描述
Word engine to wrap
用来封装的字引擎 |