Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_txt_viewer_app_view.html
Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>TB9.2 Example Applications: CTxtViewerAppView Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="contents">
<h1>CTxtViewerAppView Class Reference</h1><!-- doxytag: class="CTxtViewerAppView" -->
<p><a href="class_c_txt_viewer_app_view-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae74594fb74924317b395e7f170d6858a"></a><!-- doxytag: member="CTxtViewerAppView::LoadBodyL" ref="ae74594fb74924317b395e7f170d6858a" args="()" -->
void </td><td class="memItemRight" valign="bottom"><b>LoadBodyL</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aee97852b27f039217495a89618234074"></a><!-- doxytag: member="CTxtViewerAppView::SaveBodyL" ref="aee97852b27f039217495a89618234074" args="()" -->
void </td><td class="memItemRight" valign="bottom"><b>SaveBodyL</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7ba7289e4838e9e19667218942befe64"></a><!-- doxytag: member="CTxtViewerAppView::ExportToFileL" ref="a7ba7289e4838e9e19667218942befe64" args="(const TDes &aFileName)" -->
void </td><td class="memItemRight" valign="bottom"><b>ExportToFileL</b> (const TDes &aFileName)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75a57025a96ebfcfb952cb2fddf88402"></a><!-- doxytag: member="CTxtViewerAppView::UiMtm" ref="a75a57025a96ebfcfb952cb2fddf88402" args="()" -->
<a class="el" href="class_c_text_mtm_ui.html">CTextMtmUi</a> * </td><td class="memItemRight" valign="bottom"><b>UiMtm</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a12a0af27913bbf3d2a415e793544ee82"></a><!-- doxytag: member="CTxtViewerAppView::EntryId" ref="a12a0af27913bbf3d2a415e793544ee82" args="()" -->
TMsvId </td><td class="memItemRight" valign="bottom"><b>EntryId</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc93487a7836751c80d453758b546653"></a><!-- doxytag: member="CTxtViewerAppView::OpenedForEditing" ref="adc93487a7836751c80d453758b546653" args="()" -->
TBool </td><td class="memItemRight" valign="bottom"><b>OpenedForEditing</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a32c488eecaea8f2ec6e28c603749e50e"></a><!-- doxytag: member="CTxtViewerAppView::Notify" ref="a32c488eecaea8f2ec6e28c603749e50e" args="()" -->
void </td><td class="memItemRight" valign="bottom"><b>Notify</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_txt_viewer_app_view.html#a3dc00011be0b2d62f27c9fbadfdca61e">~CTxtViewerAppView</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a79e65e4d66ad8f41e6f5e541e548bf31"></a><!-- doxytag: member="CTxtViewerAppView::InitializeMTMsL" ref="a79e65e4d66ad8f41e6f5e541e548bf31" args="()" -->
void </td><td class="memItemRight" valign="bottom"><b>InitializeMTMsL</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_txt_viewer_app_view.html#a7bdf1bd8212448ee05a191b4dabf60a4">Draw</a> (const TRect &aRect) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_txt_viewer_app_view.html#adcb735423b6b32f46c0438c8929c47ae">SizeChanged</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a393f7964d6d2ba0839dd9232b663065b"></a><!-- doxytag: member="CTxtViewerAppView::OfferKeyEventL" ref="a393f7964d6d2ba0839dd9232b663065b" args="(const TKeyEvent &aKeyEvent, TEventCode aType)" -->
TKeyResponse </td><td class="memItemRight" valign="bottom"><b>OfferKeyEventL</b> (const TKeyEvent &aKeyEvent, TEventCode aType)</td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_txt_viewer_app_view.html">CTxtViewerAppView</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_txt_viewer_app_view.html#a7e09c1fd7708ad2ae159310677f63bae">NewL</a> (const TRect &aRect)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_txt_viewer_app_view.html">CTxtViewerAppView</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_txt_viewer_app_view.html#a8d1fac9534b9bedb16e07e2e978fb80a">NewLC</a> (const TRect &aRect)</td></tr>
<tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a46b68b2060a9790af6bfc7289214c25f"></a><!-- doxytag: member="CTxtViewerAppView::it" ref="a46b68b2060a9790af6bfc7289214c25f" args="" -->
TRequestStatus * </td><td class="memItemRight" valign="bottom"><b>it</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adb25633d1cf200239af04a77beecc4c9"></a><!-- doxytag: member="CTxtViewerAppView::iop" ref="adb25633d1cf200239af04a77beecc4c9" args="" -->
CMsvOperation * </td><td class="memItemRight" valign="bottom"><b>iop</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b675179b469d9d5d2d26559bedc8b7c"></a><!-- doxytag: member="CTxtViewerAppView::iselection" ref="a0b675179b469d9d5d2d26559bedc8b7c" args="" -->
CMsvEntrySelection * </td><td class="memItemRight" valign="bottom"><b>iselection</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a14feb23508c37df59f43e5fc765d7dbb"></a><!-- doxytag: member="CTxtViewerAppView::iscrap" ref="a14feb23508c37df59f43e5fc765d7dbb" args="" -->
TBuf8< 1 > </td><td class="memItemRight" valign="bottom"><b>iscrap</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Definition at line <a class="el" href="_txt_viewer_app_view_8h_source.html#l00029">29</a> of file <a class="el" href="_txt_viewer_app_view_8h_source.html">TxtViewerAppView.h</a>.</p>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a3dc00011be0b2d62f27c9fbadfdca61e"></a><!-- doxytag: member="CTxtViewerAppView::~CTxtViewerAppView" ref="a3dc00011be0b2d62f27c9fbadfdca61e" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CTxtViewerAppView::~CTxtViewerAppView </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>~CTxtViewerAppView Virtual Destructor. </p>
<p>Definition at line <a class="el" href="_txt_viewer_app_view_8cpp_source.html#l00315">315</a> of file <a class="el" href="_txt_viewer_app_view_8cpp_source.html">TxtViewerAppView.cpp</a>.</p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a7e09c1fd7708ad2ae159310677f63bae"></a><!-- doxytag: member="CTxtViewerAppView::NewL" ref="a7e09c1fd7708ad2ae159310677f63bae" args="(const TRect &aRect)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_c_txt_viewer_app_view.html">CTxtViewerAppView</a> * CTxtViewerAppView::NewL </td>
<td>(</td>
<td class="paramtype">const TRect & </td>
<td class="paramname"> <em>aRect</em></td>
<td> ) </td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>NewL. Two-phased constructor. Create a <a class="el" href="class_c_txt_viewer_app_view.html">CTxtViewerAppView</a> object, which will draw itself to aRect. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>aRect</em> </td><td>The rectangle this view will be drawn to. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the created instance of <a class="el" href="class_c_txt_viewer_app_view.html">CTxtViewerAppView</a>. </dd></dl>
<p>Definition at line <a class="el" href="_txt_viewer_app_view_8cpp_source.html#l00114">114</a> of file <a class="el" href="_txt_viewer_app_view_8cpp_source.html">TxtViewerAppView.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a8d1fac9534b9bedb16e07e2e978fb80a"></a><!-- doxytag: member="CTxtViewerAppView::NewLC" ref="a8d1fac9534b9bedb16e07e2e978fb80a" args="(const TRect &aRect)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_c_txt_viewer_app_view.html">CTxtViewerAppView</a> * CTxtViewerAppView::NewLC </td>
<td>(</td>
<td class="paramtype">const TRect & </td>
<td class="paramname"> <em>aRect</em></td>
<td> ) </td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>NewLC. Two-phased constructor. Create a <a class="el" href="class_c_txt_viewer_app_view.html">CTxtViewerAppView</a> object, which will draw itself to aRect. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>aRect</em> </td><td>Rectangle this view will be drawn to. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the created instance of <a class="el" href="class_c_txt_viewer_app_view.html">CTxtViewerAppView</a>. </dd></dl>
<p>Definition at line <a class="el" href="_txt_viewer_app_view_8cpp_source.html#l00126">126</a> of file <a class="el" href="_txt_viewer_app_view_8cpp_source.html">TxtViewerAppView.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a7bdf1bd8212448ee05a191b4dabf60a4"></a><!-- doxytag: member="CTxtViewerAppView::Draw" ref="a7bdf1bd8212448ee05a191b4dabf60a4" args="(const TRect &aRect) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CTxtViewerAppView::Draw </td>
<td>(</td>
<td class="paramtype">const TRect & </td>
<td class="paramname"> <em>aRect</em></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>From CCoeControl, Draw Draw this <a class="el" href="class_c_txt_viewer_app_view.html">CTxtViewerAppView</a> to the screen. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>aRect</em> </td><td>the rectangle of this view that needs updating </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_txt_viewer_app_view_8cpp_source.html#l00332">332</a> of file <a class="el" href="_txt_viewer_app_view_8cpp_source.html">TxtViewerAppView.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="adcb735423b6b32f46c0438c8929c47ae"></a><!-- doxytag: member="CTxtViewerAppView::SizeChanged" ref="adcb735423b6b32f46c0438c8929c47ae" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CTxtViewerAppView::SizeChanged </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>From CoeControl, SizeChanged. Called by framework when the view size is changed. </p>
<p>Definition at line <a class="el" href="_txt_viewer_app_view_8cpp_source.html#l00341">341</a> of file <a class="el" href="_txt_viewer_app_view_8cpp_source.html">TxtViewerAppView.cpp</a>.</p>
</div>
</div>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>