cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Caret PI placement and offsets

ChrisWestern
7-Bedrock

Caret PI placement and offsets

Hello adepters!

I am looking for any insight into Pub Caret positioning please.


Q1

Did/can Editor (6.1 M010) save the PI within a line of text, or has it always saved it at the end of the element with an offset? (I thought i had seen this happening in the past)


Want:



para 1 para 1 para 1 para | 1 para 1 para 1

<h:p>Para one text text text text text text text text text text text text

text text text text text text text text text text text text</h:p>

<h:p> | text text text text text text text text text text text text

text text text text text text text text text text text text text text

text </h:p>

<h:p>
text text text text text text text text text text text text text text

</a:corpo></a:comma></a:corpo></a:comma> count as 1 each = 2
Green offset
from OID of second =8
total 145


But this maybe completely wrong!?



Any ideas much appreciated.


Thanks & Regards


Chris




2 REPLIES 2

PS: There are more long winded ways to get what i need if not using 'write' like callbacks on saving and manually inserting this PI at the required position, but would be nice if there was an easier option i've missed!


If anyone was looking at something similar, i ended up ditching this alltogether in favour of an oid context + offset direction, proved much better! 😉


Top Tags