🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker
Article #991

Re: Get all cells on one page with FDK

#991
From: Russ Ward
Date: Wed, 04 Feb 2009 12:09
7 lines
1464 bytes
Hi Peter,

You are calling FP_FirstCell to get the first cell in the text frame, which is a valid operation. However, when you call FP_NextCell, you are then at a table-level operation, no longer working within the context of the text frame. So, it operates on the current table only, returning the next cell in that table. When it reaches the end of the current table, it returns zero. You'll never be able to get to any other tables with FP_NextCell.

Perhaps you could use one of the valid cell IDs to retrieve the table object ID, then you could use the FP_NextTableInDoc property on that table ID to get the next table, then drill down to the cells, etc. I don't know, however, if this will retrieve the tables in document order and I also don't know off the top of my head how to be sure a table is actually in a desired text frame, if that is important.

Russ
Technical Details
Message-ID: <59b7c6c4.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <59b7c6c4.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: fd315,c74077fc12d1fa5f
X-Google-Attributes: gidfd315,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Russ Ward" <russ@weststreetconsulting.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.framemaker
Subject: Re: Get all cells on one page with FDK
Message-ID: <59b7c6c4.0@webcrossing.la2eafNXanI>
Date: Wed, 4 Feb 2009 04:09:59 -0800
References: <59b7c6c4.-1@webcrossing.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit