Skip to main content
12-Amethyst
February 12, 2015
Question

Caret PI placement and offsets

  • February 12, 2015
  • 2 replies
  • 897 views

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

    12-Amethyst
    February 12, 2015

    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!


    12-Amethyst
    March 20, 2015

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