Phasellus sed libero ut dui hendrerit tempus. Justo nunc ultricies quam, sed ullamcorper lectus urna ac justo. $docx->addText('Quisque ullamcorper, dolor eget eleifend consequat, This option lets you control which formatting conditions declared in the corresponding table style should be applied. Given in twentieths of a point (twips).Īn integer or a zero-based array with the widths of each column in twentieths of a point. The values are given in twentieths of a point. An integer or an array with keys: top, right, bottom and left. General cell margins for the whole table. Sets global row split properties (can be overriden or set for individual rows by rowProperties). If the value is set to outside or inside the border styles will only apply to the outside or inside boreders respectively. If all (default value) the border styles apply to all table borders. Possible values are: all, outside, inside. You should select none for borderless tables. Sets to 'true' for right to left languages (default value is 'false').īorder type: none, single, double, dashed, threeDEngrave, threeDEmboss, outset, inset.īy default the border type is single. The possible keys and values of this array are: Key This is an array including all general table options (some of them may be overriden by row or cell properties). Preferred cell width in twentieths of a point (twips). Vertical align of text: top, center, both or bottom. Available values are: lr (default), tbRl and btLr. The row span of that particular table cell. If true fits the text to the size of the cell. The col span of that particular table cell.
Hexadecimal color value: 'FF0000', '000000'.īorder type: none, single, double, dashed, threeDEngrave, threeDEmboss, outset, inset. The text to be inserted (string) or a Word fragment if you want to insert complex paragraphs, images, nested tables. The possible keys and values of each of these arrays are: Key The array option gives you whole control over the contents and formatting of a particular table cell. The WordFragments are only needed if you want to insert images, charts, nested tables or complex paragraphs. The first option is only valid for very simple tables that only contain plain text.