Copy text with list markers
Posted: Thu Aug 01, 2019 6:14 pm
I have a text with following structure:
<text item0>
<list marker1 (rvsListMarker)><text item2>
<list marker3 (rvsListMarker)><text item4>
<list marker5 (rvsListMarker)><text item6>
to copy a text item i used a following code, set selection (before item 2 (1 - for text item) and before item 3 (0 - for non-text).
But list markers (1 and 3) in this case is saved to rvf. I do not need them. What am i doing wrong?
<text item0>
<list marker1 (rvsListMarker)><text item2>
<list marker3 (rvsListMarker)><text item4>
<list marker5 (rvsListMarker)><text item6>
to copy a text item i used a following code, set selection (before item 2 (1 - for text item) and before item 3 (0 - for non-text).
Code: Select all
rve.SetSelectionBounds(2, 1, 3, 0);
rve.SaveRVFToStream(save_stream, true);
rve.Deselect;