🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.indesign.sdk
Article #88

CS3 7 Win: How can I select cells of a table?

#88
From: Hans Stoessel
Date: Thu, 19 Mar 2009 12:24
20 lines
1134 bytes
Hi

I want select a range (area) of a table. I try it with:

...
  do {
    InterfacePtr<ITableSelectionSuite> ipTableSelSuite(Utils<ISelectionUtils>()->QueryActiveTableSelectionSuite());
    if (ipTableSelectionSuite == nil) break;
      ipTableSelectionSuite->DeselectAll();
      ipTableSelectionSuite->Select(ipTableModel, oArea, ipTableSelectionSuite->kReplace, kTrue);
    }
  } while (kFalse);
...

But I get an assert, that are more than one CSB is active. When I call this piece of code, the text tool is active.

Waht could be wrong?

Thanks
Hans
Technical Details
Message-ID: <59b85853.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f63e9,44bd6db9426e3b2,start
X-Google-Attributes: gidf63e9,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Hans Stoessel" <hstoessel.list@pm-medici.ch>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.indesign.sdk
Subject: CS3 7 Win: How can I select cells of a table?
Message-ID: <59b85853.-1@webcrossing.la2eafNXanI>
Date: Thu, 19 Mar 2009 05:24:22 -0700
Lines: 23
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit