php - PHPExcel Orphan/Widow, getRowDimension -


i having issue saving pdf file phpexcel , creating widow/orphans data.

i know of function create page breaks,

$objphpexcel->getactivesheet()->setbreak( 'a10' , phpexcel_worksheet::break_row ); 

but know if there function know current height of range of cells.

i have found references "getrowdimension" in functions

$objphpexcel->getactivesheet()->getrowdimension('10')->setrowheight(100); 

but cannot find documentation on function. know if can calculate height of chosen row and/or take range of rows?

also, there function calculate usable space between header , footer of each page? or should calculate page margin?

thank you, nick

$objphpexcel->getactivesheet()     ->getrowdimension('10')     ->getrowheight(); 

will return row height specified row. height in "points", 1 point equivalent of 1/72 of inch (or 0.35mm). value of 0 indicates hidden row; while value of -1 default value, 12.75pt (about 1/6 of inch).

the phpexcel_shared_drawing class contains number of functions converting between points , other units of measure, such pointstopixels() , pixelstopoints(), , pixelstoemu() , emutopixels() (english metric units).

the whole issue of microsoft's units of measure confusing minefield, there's useful blog post here discussing different units of measure use in ms office


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -