<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Tabellenränder (Border) per OLE-Automation in Word unsichtbar machen]]></title><description><![CDATA[<p>Hallo,<br />
ich habe mittels folgendem Code eine Tabelle erzeugt und mit Daten gefüllt:</p>
<pre><code class="language-cpp">WordSelection.Exec(Procedure(&quot;GoTo&quot;) &lt;&lt; (int)wdGoToBookmark &lt;&lt; 0 &lt;&lt; 0 &lt;&lt; &quot;Tabelle&quot;);
WordSelection.OleProcedure(&quot;TypeText&quot;, WideString(&quot;&quot;)); //für Leerzeile

int colCount = 3;
int rowCount = ClientDataSet-&gt;RecordCount;
int colAWWidth[3] = {30, 400, 50};

WordRange = WordSelection.Exec(PropertyGet(&quot;Range&quot;));
WordTables = WordRange.OlePropertyGet(&quot;Tables&quot;);
WordTable = WordTables.OleFunction(&quot;Add&quot;, WordRange, rowCount, colCount);

//Tabelleninhalt füllen
for(int row = 0; row &lt; ClientDataSet-&gt;RecordCount; row++)
{
 for(int col = 0; col &lt; 3; col++)
 {
  cell = WordTable.OleFunction(&quot;cell&quot;,row+1,col+1);
  cell.OlePropertySet(&quot;Width&quot;,colAWWidth[col]);
  String content;
  if(col == 0) content = &quot;-&quot;;
  else content = ClientDataSet-&gt;Fields-&gt;Fields[col]-&gt;AsString;
  cell.OlePropertyGet(&quot;Range&quot;).OleProcedure(&quot;InsertAfter&quot;, WideString(content));
 }
 ClientDataSet-&gt;Next();
}
</code></pre>
<p>Wie mache ich nun die Tabellenränder per OLE-Zugriff unsichtbar? Kann mir jemand weiterhelfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/207755/tabellenränder-border-per-ole-automation-in-word-unsichtbar-machen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 20 Aug 2026 06:31:05 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/207755.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 Mar 2008 14:03:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tabellenränder (Border) per OLE-Automation in Word unsichtbar machen on Tue, 11 Mar 2008 14:03:04 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich habe mittels folgendem Code eine Tabelle erzeugt und mit Daten gefüllt:</p>
<pre><code class="language-cpp">WordSelection.Exec(Procedure(&quot;GoTo&quot;) &lt;&lt; (int)wdGoToBookmark &lt;&lt; 0 &lt;&lt; 0 &lt;&lt; &quot;Tabelle&quot;);
WordSelection.OleProcedure(&quot;TypeText&quot;, WideString(&quot;&quot;)); //für Leerzeile

int colCount = 3;
int rowCount = ClientDataSet-&gt;RecordCount;
int colAWWidth[3] = {30, 400, 50};

WordRange = WordSelection.Exec(PropertyGet(&quot;Range&quot;));
WordTables = WordRange.OlePropertyGet(&quot;Tables&quot;);
WordTable = WordTables.OleFunction(&quot;Add&quot;, WordRange, rowCount, colCount);

//Tabelleninhalt füllen
for(int row = 0; row &lt; ClientDataSet-&gt;RecordCount; row++)
{
 for(int col = 0; col &lt; 3; col++)
 {
  cell = WordTable.OleFunction(&quot;cell&quot;,row+1,col+1);
  cell.OlePropertySet(&quot;Width&quot;,colAWWidth[col]);
  String content;
  if(col == 0) content = &quot;-&quot;;
  else content = ClientDataSet-&gt;Fields-&gt;Fields[col]-&gt;AsString;
  cell.OlePropertyGet(&quot;Range&quot;).OleProcedure(&quot;InsertAfter&quot;, WideString(content));
 }
 ClientDataSet-&gt;Next();
}
</code></pre>
<p>Wie mache ich nun die Tabellenränder per OLE-Zugriff unsichtbar? Kann mir jemand weiterhelfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1472104</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1472104</guid><dc:creator><![CDATA[SkyLowLow]]></dc:creator><pubDate>Tue, 11 Mar 2008 14:03:04 GMT</pubDate></item><item><title><![CDATA[Reply to Tabellenränder (Border) per OLE-Automation in Word unsichtbar machen on Tue, 11 Mar 2008 15:48:08 GMT]]></title><description><![CDATA[<p>schau mal <a href="http://cpp.developpez.com/faq/bcb/?page=msofficewordgestiontableaux" rel="nofollow">hier</a> und such dort nach &quot;Borders&quot;</p>
<p>oder verwende die Suchfunktion und finde <a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-60327-and-start-is-0-and-postdays-is-0-and-postorder-is-asc-and-highlight-is-%2Aolepropertyget%2A.html" rel="nofollow">das</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1472224</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1472224</guid><dc:creator><![CDATA[Linnea]]></dc:creator><pubDate>Tue, 11 Mar 2008 15:48:08 GMT</pubDate></item><item><title><![CDATA[Reply to Tabellenränder (Border) per OLE-Automation in Word unsichtbar machen on Wed, 12 Mar 2008 13:18:27 GMT]]></title><description><![CDATA[<p>Danke für die schnelle Antwort. Der Code von der frz. Seite hat funktioniert.<br />
Hast du auch eine Lösung für mein <a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-206537-and-highlight-is-.html" rel="nofollow">anderes Problem</a> zur Hand?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1472823</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1472823</guid><dc:creator><![CDATA[SkyLowLow]]></dc:creator><pubDate>Wed, 12 Mar 2008 13:18:27 GMT</pubDate></item></channel></rss>