ILIAS
Release_4_0_x_branch Revision 61816
|
Static Public Member Functions | |
static | pixelsToEMU ($pValue=0) |
Convert pixels to EMU. | |
static | EMUToPixels ($pValue=0) |
Convert EMU to pixels. | |
static | pixelsToCellDimension ($pValue=0, $pFontSize=11) |
Convert pixels to cell dimension. | |
static | cellDimensionToPixels ($pValue=0, $pFontSize=11) |
Convert cell width to pixels. | |
static | pixelsToPoints ($pValue=0) |
Convert pixels to points. | |
static | pointsToPixels ($pValue=0) |
Convert points to pixels. | |
static | degreesToAngle ($pValue=0) |
Convert degrees to angle. | |
static | angleToDegrees ($pValue=0) |
Convert angle to degrees. |
Definition at line 36 of file Drawing.php.
|
static |
Convert angle to degrees.
int | $pValue | Angle |
Definition at line 130 of file Drawing.php.
Referenced by PHPExcel_Reader_Excel2007\load().
|
static |
Convert cell width to pixels.
int | $pValue | Value in cell dimension |
int | $pFontSize | Default font size of workbook |
Definition at line 82 of file Drawing.php.
Referenced by PHPExcel_Writer_HTML\buildCSS(), and PHPExcel_Shared_Excel5\sizeCol().
|
static |
Convert degrees to angle.
int | $pValue | Degrees |
Definition at line 120 of file Drawing.php.
Referenced by PHPExcel_Writer_Excel2007_Drawing\_writeDrawing().
|
static |
Convert EMU to pixels.
int | $pValue | Value in EMU |
Definition at line 54 of file Drawing.php.
Referenced by PHPExcel_Reader_Excel2007\load().
|
static |
Convert pixels to cell dimension.
Exact algorithm not known. By inspection of a real Excel file using Calibri 11, one finds 1000px ~ 142.85546875 This gives a conversion factor of 7. Also, we assume that pixels and font size are proportional.
int | $pValue | Value in pixels |
int | $pFontSize | Default font size of workbook |
Definition at line 71 of file Drawing.php.
|
static |
Convert pixels to EMU.
int | $pValue | Value in pixels |
Definition at line 44 of file Drawing.php.
Referenced by PHPExcel_Writer_Excel2007_Drawing\_writeDrawing().
|
static |
Convert pixels to points.
int | $pValue | Value in pixels |
Definition at line 96 of file Drawing.php.
Referenced by PHPExcel_Writer_HTML\buildCSS().
|
static |
Convert points to pixels.
int | $pValue | Value in points |
Definition at line 106 of file Drawing.php.
Referenced by PHPExcel_Shared_Excel5\sizeRow().