Quantcast
Channel: PHPWord
Viewing all articles
Browse latest Browse all 450

New Post: Way to specify location of a table?

$
0
0
Is there a way to move a table to a particular location on the page? I tried the following:

$styleTable = array('borderSize'=>6, 'left'=>3000, 'top'=>3000, 'borderColor'=>'006699', 'cellMargin'=>80);

It didn't change anything. I'm trying to place text at a specific location on the page, like writing to pdf docs allows you to do. I was planning on using a 1 cell table if it worked.

What I'd really like is a TextBox field. If it's not available and someone could give me some ideas on where to start, I could maybe hack one in if it's not too complex. The one complexity seems to be in the fact that it needs to be embedded in a drawing area, so you'd need a drawing area object as well.

Thanks.

Viewing all articles
Browse latest Browse all 450

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>