equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 CWordDocument::CWordDocument(CEikApplication& aApp) |
|
20 : CEikDocument(aApp), |
|
21 iNewDocument(EFalse) |
|
22 {} |
|
23 |
|
24 CWordModel* CWordDocument::Model()const |
|
25 {return iModel;} |
|
26 |
|
27 CWordAppUi& CWordDocument::WordAppUi() |
|
28 {return REINTERPRET_CAST(CWordAppUi&,*iAppUi);} |
|
29 |
|
30 CTextPageRegionPrinter& CWordDocument::PageRegionPrinter()const |
|
31 {return *iPrint;} |
|
32 |
|
33 const CWordAppUi& CWordDocument::WordAppUi()const |
|
34 {return REINTERPRET_CAST(const CWordAppUi&,*iAppUi);} |
|
35 |
|
36 TBool CWordDocument::FileNameExists(const TFileName& aFileName)const |
|
37 {return aFileName==Process()->MainDocFileName();} |
|
38 |
|
39 TWordUiData& CWordDocument::UiData() |
|
40 {return *iUiData;} |