os/textandloc/textrendering/word/SRC/WNGMODEL.INL
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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 CRichText* CWordModel::Text()
    20 /** Gets the engine's rich text object.
    21 
    22 @return Engine's rich text object */
    23 	{return iText;}
    24 
    25 CStyleList* CWordModel::StyleList()
    26 /** Gets the engine's style list object.
    27 
    28 @return Engine's style list object */
    29 	{return iStyleList;}
    30 
    31 CPrintSetup* CWordModel::PrintSetup()
    32 /** Gets the engine's print setup object.
    33 
    34 @return Engine's print setup object */
    35 	{return iPrintSetup;}
    36 
    37 CArrayFix<TInt>* CWordModel::PageTable()
    38 /** Gets the engine's page table array.
    39 
    40 A page table is an array of integers; each integer represents the number of 
    41 characters on a page. It is required for pagination.
    42 
    43 @return Page table array */
    44 	{return iPageTable;}
    45 
    46 CStyleShortCutList* CWordModel::StyleShortCutList()
    47 /** Gets the engine's style short cuts array.
    48 
    49 This object stores a list of keyboard shortcuts to the styles (as returned 
    50 by StyleList()). The array is in the same order as the style list array.
    51 
    52 @return Engine's style short cuts array */
    53 	{return iStyleShortCutList;}
    54 
    55 TChar& CWordModel::NormalStyleShortCut()
    56 /** Gets the keybord short cut for the normal style.
    57 
    58 @return Keybord short cut for the normal style */
    59 	{return iNormalStyleShortCut;}