diff -r 666f914201fb -r 2fe1408b6811 epoc32/include/txtfrmat.inl --- a/epoc32/include/txtfrmat.inl Tue Nov 24 13:55:44 2009 +0000 +++ b/epoc32/include/txtfrmat.inl Tue Mar 16 16:12:26 2010 +0000 @@ -1,1 +1,160 @@ -txtfrmat.inl +// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// 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 +// which accompanies this distribution, and is available +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + + +TBool TTabStop::operator!=(const TTabStop& aTabStop)const +/** Compares two tab stops for inequality. They are different if the twips +position or alignment is different. + +@param aTabStop The tab stop to compare with the current tab stop +@return ETrue if the objects' twips position or alignment differs. EFalse if +equal. */ + {return !(*this==aTabStop);} + + +TBool TParaBorder::operator!=(const TParaBorder& aParaBorder)const +/** Compares two paragraph border sides for inequality. Two paragraph border +sides are different if any of their data members are different. + +@param aBorder The paragraph border to compare with the current border. +@return ETrue if the two paragraph border sides are different, +EFalse if not. */ + {return !(*this==aParaBorder);} + + +TBool TBullet::operator!=(const TBullet& aBullet)const +/** Compares two bullet points for inequality. Two bullet points are unequal if +any of their data members are different. + +@param aBullet The bullet point to compare. +@return ETrue if the two bullet points are different, EFalse if not. */ + {return !(*this==aBullet);} + + + +void CParaFormat::RemoveAllTabs() +/** Removes all tab stops from the object. */ + { + if (iTabList) + { + delete iTabList; + iTabList = NULL; + } + } + + +TInt CParaFormat::TabCount()const +/** Gets a count of the total number of tab stops in the object's tab list. If +the object has no tab list, returns zero. + +@return The number of tab stops. */ + {return (iTabList)?iTabList->Count():0;} + + + + +TParaFormatMask::TParaFormatMask() + :iGuard(0) +/** The default C++ constructor constructs a paragraph format mask, initialising +all bits to zero. */ + {} + + +void TParaFormatMask::SetAttrib(TTextFormatAttribute aAttribute) +/** Sets a single attribute flag in the paragraph format mask. + +@param aAttribute The attribute flag to set. */ + {iGuard|=(1<