Jlink - how to get the sheet# of a table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jlink - how to get the sheet# of a table?
I assume I have a list of tables and loop through them, how do tell which sheet# a table belong to on a multiple sheet drawing?
TableOwner tableOwner = (TableOwner) pfcSession.GetCurrentSession().GetCurrentModel();
Tables tables = tableOwner.ListTables();
for (int i = 0; i < tables.getarraysize(); i++) {
Table table = tables.get(i);
I tried read the free jlink docs but I could not locate it.
- Labels:
-
Jlink
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
There is currently no direct Jlink method in the form of Table.Getsheet(). To request it file an enhancement request.
At present, as you have figured ListTables() returns all the tables that are present in the TableOwner.
A workaround may consist in calling GetSegmentCount () and then GetSegmentSheet()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you very much, it works
GetSegmentSheet(0)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I'm looking for a way to convert the contents of a google sheet I've created (nothing fancy) to a reddit table. I've tried tableit.net but it comes out looking a bit messy. The sheet I'm trying to convert is here MyCCPay
Thanks!
- Tags:
- question