Symbian3/SDK/Source/GUID-74A4A88D-768E-51B9-B50B-81CF35D5D692.dita
changeset 7 51a74ef9ed63
parent 0 89d6a7a84779
equal deleted inserted replaced
6:43e37759235e 7:51a74ef9ed63
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <concept xml:lang="en" id="GUID-74A4A88D-768E-51B9-B50B-81CF35D5D692"><title>How to reset</title><prolog><metadata><keywords/></metadata></prolog><conbody><p>The following code resets the document. Resetting deletes all text and formatting, leaving the end of text paragraph delimiter. Because resetting deletes the document’s content and formatting, a call to <codeph>HandleGlobalChangeL()</codeph> is required to update the formatting and the view.</p> <codeblock id="GUID-3214EF4E-498E-54D5-B1EC-7BD81FD3425C" xml:space="preserve">// Reset document. 
       
    13 iRichText-&gt;ResetL(); // change whole document
       
    14 iTextView-&gt;HandleGlobalChangeL();</codeblock> </conbody></concept>