Article View: adobe.framemaker.sgml
Article #759Re: Problem with F_ApiAddText() after F_ApiPaste()
From: Stanislav_Kurik
Date: Mon, 11 Aug 2008 10:42
Date: Mon, 11 Aug 2008 10:42
5 lines
1282 bytes
1282 bytes
Hi Russ, I also thought there is no reason for paragraph's ID to change after pasting xref into it. But it's really the case. When I tried to call eg. F_ApiAddText() after pasting the xref with the original ID, it failed. I think the proof is the solution I found: new paragraph ID obtained from F_TextRangeT tr = F_ApiGetTextRange(..., FP_TextSelection) is different from the original one. One more note: I think that paragraph ID changed only if the xref pasted was unresolved, ie. if it pointed to some unavailable location.
Technical Details
Message-ID:
<59b60d9f.4@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!news4us.nl!webcrossingReferences:
<59b60d9f.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,7ddfef38ebf755b2 X-Google-Attributes: gidfcc08,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Stanislav_Kurik@adobeforums.com Newsgroups: adobe.framemaker.sgml Subject: Re: Problem with F_ApiAddText() after F_ApiPaste() Message-ID: <59b60d9f.4@webcrossing.la2eafNXanI> Date: Mon, 11 Aug 2008 03:42:37 -0700 References: <59b60d9f.-1@webcrossing.la2eafNXanI> Lines: 4 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!news4us.nl!webcrossing X-Original-Lines: 11 X-Original-Bytes: 1033