GetSelText -A -W
GetSelText -A -W
When this is used to GetSelText does it include a footnote number? or is the number ignored? (I don't need it in fact I don't want it but I am trying to figure out something.)
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: GetSelText -A -W
When getting a text of selected fragment, most non-text items (such as footnotes) are not included.
If you want to get selected text with all non-text items (for footnotes, it will be not a number but all footnote text inside []) you can use SaveTextToStream/SaveTextToStreamW to save text to a stream, then read a string from this stream.
The parameters must be:
SelectionOnly = True
TextOnly = False.
If you want, I can post a sample code.
If you want to get selected text with all non-text items (for footnotes, it will be not a number but all footnote text inside []) you can use SaveTextToStream/SaveTextToStreamW to save text to a stream, then read a string from this stream.
The parameters must be:
SelectionOnly = True
TextOnly = False.
If you want, I can post a sample code.
Re: GetSelText -A -W
All good, thanks for the information that solves my understanding of the code. I sure appreciate you taking the time.