Symbian3/SDK/Source/GUID-74A4A88D-768E-51B9-B50B-81CF35D5D692.dita
author Graeme Price <GRAEME.PRICE@NOKIA.COM>
Fri, 15 Oct 2010 14:32:18 +0100
changeset 15 307f4279f433
parent 0 89d6a7a84779
permissions -rw-r--r--
Initial contribution of the Adaptation Documentation.

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 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 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE concept
  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<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. 
iRichText-&gt;ResetL(); // change whole document
iTextView-&gt;HandleGlobalChangeL();</codeblock> </conbody></concept>