ILIAS
eassessment Revision 61809
|
Static Public Member Functions | |
static | pixelsToEMU ($pValue=0) |
Convert pixels to EMU. | |
static | EMUToPixels ($pValue=0) |
Convert EMU to pixels. | |
static | pixelsToCellDimension ($pValue=0, PHPExcel_Style_Font $pDefaultFont) |
Convert pixels to column width. | |
static | cellDimensionToPixels ($pValue=0, PHPExcel_Style_Font $pDefaultFont) |
Convert column width from (intrinsic) Excel units 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. | |
static | imagecreatefrombmp ($p_sFile) |
Create a new image from file. |
Definition at line 36 of file Drawing.php.
|
static |
Convert angle to degrees.
int | $pValue | Angle |
Definition at line 164 of file Drawing.php.
Referenced by PHPExcel_Reader_Excel2007\load().
|
static |
Convert column width from (intrinsic) Excel units to pixels.
float | $pValue | Value in cell dimension |
PHPExcel_Style_Font | $pDefaultFont | Default font of the workbook |
Definition at line 99 of file Drawing.php.
References PHPExcel_Shared_Font\$defaultColumnWidths, $name, PHPExcel_Style_Font\getName(), and PHPExcel_Style_Font\getSize().
Referenced by PHPExcel_Writer_HTML\buildCSS(), and PHPExcel_Shared_Excel5\sizeCol().
|
static |
Convert degrees to angle.
int | $pValue | Degrees |
Definition at line 154 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 |
Create a new image from file.
By alexander at alexauto dot nl
string $filename Path to Windows DIB (BMP) image resource
Definition at line 179 of file Drawing.php.
Referenced by PHPExcel_Writer_Excel5\_buildWorkbookEscher().
|
static |
Convert pixels to column width.
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 |
PHPExcel_Style_Font | $pDefaultFont | Default font of the workbook |
Definition at line 71 of file Drawing.php.
References PHPExcel_Shared_Font\$defaultColumnWidths, $name, PHPExcel_Style_Font\getName(), and PHPExcel_Style_Font\getSize().
Referenced by PHPExcel_Shared_Font\calculateColumnWidth().
|
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 130 of file Drawing.php.
Referenced by PHPExcel_Writer_HTML\buildCSS().
|
static |
Convert points to pixels.
int | $pValue | Value in points |
Definition at line 140 of file Drawing.php.
Referenced by PHPExcel_Shared_Excel5\sizeRow().