How to stop Find at the end of the document?
Dear all,
There is a flag in the Find parameters which shall stop the wrap around:
oPropVal1 = new PropVal() ;
oPropVal1.propIdent.num = Constants.FS_FindWrap ;
oPropVal1.propVal.valType = Constants.FT_Integer;
oPropVal1.propVal.ival = 0 ; // don't wrap
findParms.push(oPropVal1);
I have found that a Find loops 'endless' even if this flag is used. And BTW I have no influence on this from the UI panel.
I want to create a Find procedure, which has two options:
- Start the find at the top of the document and end it at the end of it
- Start the find at the current location and end it at the end of the document.
→ Do You have any idea how to achieve this?
In a former project concerning Footnotes I developed a method by looping through all ¶ and checking against the starting point of the Find and the resulting Find location. But it seems that this is not reliable


