java - Avoid carriage return in paragraph with doxc4j -
i think paragraph elements definition creates new line need insert elements first element of page not moving down existing elements.
is there element can use instead of paragraph? think tables , paragraphs available , understand tables contains paragraphs don't work purpose.
or maybe exists property can set avoid new paragraph moving other elements?
i tried keepnext , keeplines not i'm looking for.
you can absolutely position ellipse, without being in first paragraph on page.
in word, on ellipse, right click , choose "more layout options". on position tab, eg 1" below page.
this creates like:
<w:r> <w:pict> <v:oval strokecolor="#243f60 [1604]" strokeweight="2pt" style="position:absolute;margin-left:41.25pt;margin-top:1in; width:207.35pt;height:1in;z-index:251659264;visibility:visible;mso-wrap-style:square;mso-width-percent:0;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;mso-position-horizontal:absolute;mso-position-horizontal-relative:text;mso-position-vertical:absolute;mso-position-vertical-relative:page;mso-width-percent:0;mso-width-relative:margin;v-text-anchor:middle" id="oval 1" o:spid="_x0000_s1026"> <w10:wrap anchory="page"/> </v:oval> </w:pict> </w:r>
if reason want add new first paragraph, make paragraph have small font, no space before or after. r:pr/r:vanish causes ellipse vanish, don't try that!
Comments
Post a Comment