<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: spelling check program using OLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/spelling-check-program-using-ole/m-p/4113218#M983428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved by own&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jul 2008 07:08:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-03T07:08:01Z</dc:date>
    <item>
      <title>spelling check program using OLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spelling-check-program-using-ole/m-p/4113217#M983427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried to code one program which will give spelling suggestions as below: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
TYPE-POOLS ole2. 
DATA word TYPE ole2_object. 
DATA documents TYPE ole2_object. 
DATA document TYPE ole2_object. 
DATA spellings TYPE ole2_object. 
DATA count TYPE i. 

CREATE OBJECT word 'Word.Application'. 
CALL METHOD OF word 'Documents' = documents. 
CALL METHOD OF documents 'Add' = document. 

CALL METHOD OF word 'GetSpellingSuggestions' = spellings 
  EXPORTING 
  #1 = 'convertion'. 

GET PROPERTY OF spellings 'Count' = count. 

WRITE:/ 'Suggestion count' , count. 

CALL METHOD OF word 'QUIT' 
  EXPORTING 
  #1 = 0. 

FREE OBJECT document. 
FREE OBJECT documents. 
FREE OBJECT word. 
CLEAR word. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my problem is I am able to find out how many suggestion has been provided after this statement: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
GET PROPERTY OF spellings 'Count' = count. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;but not able to find out those suggested word&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;please help me on this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solved by own&lt;/P&gt;&lt;P&gt;Edited by: Khandal Haresh on Jul 3, 2008 9:07 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 11:17:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spelling-check-program-using-ole/m-p/4113217#M983427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T11:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: spelling check program using OLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spelling-check-program-using-ole/m-p/4113218#M983428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved by own&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 07:08:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spelling-check-program-using-ole/m-p/4113218#M983428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T07:08:01Z</dc:date>
    </item>
  </channel>
</rss>

