<?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: Create Word Document using OLE - Specify Paragraph Style in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-word-document-using-ole-specify-paragraph-style/m-p/8413373#M1645883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is telling me about Bold, Italics, Underline etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to set some text with a paragraph style, so that it can be used on an index. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Dec 2011 13:41:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-12T13:41:32Z</dc:date>
    <item>
      <title>Create Word Document using OLE - Specify Paragraph Style</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-word-document-using-ole-specify-paragraph-style/m-p/8413371#M1645881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a word document using OLE. Is it possible to specify the paragraph style when putting text onto the document. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example I would like to specify the styles Heading 1, Heading 2, Heading 3 etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is possible is it also possible to auto generate the cross-reference on the document so that it displays the index at the top of the document. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 13:18:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-word-document-using-ole-specify-paragraph-style/m-p/8413371#M1645881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-12T13:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create Word Document using OLE - Specify Paragraph Style</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-word-document-using-ole-specify-paragraph-style/m-p/8413372#M1645882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer this example for paragraph formatting.&lt;/P&gt;&lt;P&gt;&lt;A href="http://sapabap-techsupport.blogspot.com/2010/09/calling-word-documents-from-abap.html" target="test_blank"&gt;http://sapabap-techsupport.blogspot.com/2010/09/calling-word-documents-from-abap.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;*--Setting paragraph format attribute - section&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 13:30:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-word-document-using-ole-specify-paragraph-style/m-p/8413372#M1645882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-12T13:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create Word Document using OLE - Specify Paragraph Style</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-word-document-using-ole-specify-paragraph-style/m-p/8413373#M1645883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is telling me about Bold, Italics, Underline etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to set some text with a paragraph style, so that it can be used on an index. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 13:41:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-word-document-using-ole-specify-paragraph-style/m-p/8413373#M1645883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-12T13:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create Word Document using OLE - Specify Paragraph Style</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-word-document-using-ole-specify-paragraph-style/m-p/8413374#M1645884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may use the parameters of the font to design your document. But if you need an table of content, that will not be enough. In this case you can use the following paragraph functions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;GET &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;PROPERTY &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;gs_application &lt;SPAN class="L0S33"&gt;'Selection' &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;gs_selection &lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;GET &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;PROPERTY &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;gs_selection &lt;SPAN class="L0S33"&gt;'ParagraphFormat' &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;gs_parformat &lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;SET &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;PROPERTY &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;gs_parformat &lt;SPAN class="L0S33"&gt;'Style' &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;. "value -2 equals style wdStyleHeading1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 12:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-word-document-using-ole-specify-paragraph-style/m-p/8413374#M1645884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-12T12:23:54Z</dc:date>
    </item>
  </channel>
</rss>

