Article View: adobe.indesign.sdk
Article #4279Re: Get UIDRef of a newly created Text Frame
From: Satoru_Fujimori
Date: Fri, 25 Jun 2004 10:11
Date: Fri, 25 Jun 2004 10:11
22 lines
1292 bytes
1292 bytes
Hello Sarah,
I maybe misundestand what you want to do...
After you crate your TextFrame,you can get TextModel of this frame.
then call funtion insert table to UIDRef of TextModel like below.
UIDRef YourCreateTextFrame(){
//Create TextFrame then get UIDRef of TextModel of TextFrame.
return modelRef;
}
void YourInsertTable(const modelRef,const TextIndex index){
//insert table...
}
Satoru Fujimori
KJ Systems,Inc.
//how to use
UIDRef modelRef=YourCreateTextFrame();
//check if it is created
if(modelRef.GetUID()==kInvalidUID) break;
YourInsertTable(modelRef,0);
Technical Details
Message-ID:
<3bb4c571.1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<3bb4c571.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f63e9,f5cbef4972c1f759 X-Google-Attributes: gidf63e9,public From: Satoru_Fujimori@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.indesign.sdk Subject: Re: Get UIDRef of a newly created Text Frame Message-ID: <3bb4c571.1@webx.la2eafNXanI> Date: Fri, 25 Jun 2004 03:11:49 -0700 References: <3bb4c571.-1@webx.la2eafNXanI> Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit