epoc32/include/frmtview.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
     1.1 --- a/epoc32/include/frmtview.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/frmtview.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -1,17 +1,20 @@
     1.4 -// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 -// All rights reserved.
     1.6 -// This component and the accompanying materials are made available
     1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.8 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -//
    1.18 +/*
    1.19 +* Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
    1.20 +* All rights reserved.
    1.21 +* This component and the accompanying materials are made available
    1.22 +* under the terms of "Eclipse Public License v1.0"
    1.23 +* which accompanies this distribution, and is available
    1.24 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.25 +*
    1.26 +* Initial Contributors:
    1.27 +* Nokia Corporation - initial contribution.
    1.28 +*
    1.29 +* Contributors:
    1.30 +*
    1.31 +* Description: 
    1.32 +*
    1.33 +*/
    1.34 +
    1.35  
    1.36  #ifndef __FRMTVIEW_H__
    1.37  #define __FRMTVIEW_H__
    1.38 @@ -296,8 +299,11 @@
    1.39  		{
    1.40  		public:
    1.41  
    1.42 -		/** Called after reformatting but before redisplay, so that edit
    1.43 -		windows, etc., can be resized.
    1.44 +		/** Called after reformatting but before redisplay, so that the height of edit windows, etc., 
    1.45 +		can be adjusted. There is no need to adjust the width of displaying components as formatting 
    1.46 +		is always done to fit the specified width.
    1.47 +		Implementers are not allowed to call any formatting functions while handling reformatting 
    1.48 +		notifications as it may cause recursive loops leading to unexpected consequences.
    1.49  		@param aTextView A pointer to the current text view object. */
    1.50  		virtual void OnReformatL(const CTextView* aTextView) = 0;
    1.51  		};
    1.52 @@ -317,6 +323,8 @@
    1.53  	To use it, construct a TTagmaForwarder object, then call InitL(), which
    1.54  	finishes background formatting, then call the MTmTextLayoutForwarder
    1.55  	functions.
    1.56 +	
    1.57 +	The class should only be used internally by FORM component.
    1.58  	@publishedAll
    1.59  	@released
    1.60  	*/
    1.61 @@ -444,7 +452,8 @@
    1.62  	IMPORT_C TInt ScrollDisplayL(TCursorPosition::TMovementType aMovement,
    1.63  		CTextLayout::TAllowDisallow aScrollBlankSpace=CTextLayout::EFDisallowScrollingBlankSpace);
    1.64  	IMPORT_C TPoint SetViewLineAtTopL(TInt aLineNo);
    1.65 -	IMPORT_C void ScrollDisplayPixelsL(TInt& aDeltaY);
    1.66 +    IMPORT_C void ScrollDisplayPixelsL(TInt& aDeltaY);
    1.67 +    IMPORT_C void ScrollDisplayPixelsNoLimitBorderL(TInt aDeltaY);
    1.68  	IMPORT_C TInt ScrollDisplayLinesL(TInt& aDeltaLines,
    1.69  		CTextLayout::TAllowDisallow aScrollBlankSpace = CTextLayout::EFDisallowScrollingBlankSpace);
    1.70  	IMPORT_C TInt ScrollDisplayParagraphsL(TInt& aDeltaParas,
    1.71 @@ -560,9 +569,7 @@
    1.72  	TInt iHorizontalScrollJump;
    1.73  	TInt iHeightNotDrawn;
    1.74  	MObserver* iObserver;	// must not be moved
    1.75 -	/** Explicit off-screen bitmap to draw to.
    1.76 -	@internalComponent */
    1.77 -	CBitmapContext* iOffScreenContext;
    1.78 +	CBitmapContext* iOffScreenContext; //Explicit off-screen bitmap to draw to.
    1.79  	TRect iReducedDrawingAreaRect;
    1.80  	TUint iDummy;// was iRedrawExtendedHighlight;
    1.81  	TBool iContextIsNavigation;