Article View: adobe.framemaker.sgml
Article #852F_ApiGetTextForRange()
From: Stanislav_Kurik
Date: Wed, 16 Jul 2008 08:06
Date: Wed, 16 Jul 2008 08:06
9 lines
1288 bytes
1288 bytes
Hello to all, I encounter some weird behaviour of this function when called in structured document. It suffices to create new document based on "Report, plain" structured template and delete all text except the first line, "ReportTitle". Then if I call F_ApiGetTextForRange() with text range having offset 0 and length 11 ( = the length of text "ReportTitle"), I get FTI_String containing only "ReportTit". If I adjust the text range to have length 13 (I just tried it), it gives me correctly "ReportTitle". It works perfectly in unstructured documents, however it seems to have some problems in structured environment. Is there any way how to make it work for structured documents as well? Thank you.
Technical Details
Message-ID:
<59b5dbb3.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: fcc08,868da3524a895934,start X-Google-Attributes: gidfcc08,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Stanislav_Kurik@adobeforums.com Newsgroups: adobe.framemaker.sgml Subject: F_ApiGetTextForRange() Message-ID: <59b5dbb3.-1@webcrossing.la2eafNXanI> Date: Wed, 16 Jul 2008 01:06:41 -0700 Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossing