1D-shape geometry control

N

Nikolay Klinachyov

I do the 1D-shape whose geometry depends from its text:

EndX=GUARD(BeginX+CEILING(0,25 cm.+TEXTWIDTH(Sheet.27!TheText);0,25
cm.)*IF(FlipY;-1;1))

How correctly to write the formula?
The correct turn of the shape is required (Flip Horizontal)
 
Top