2327 lines
111 KiB
HTML
2327 lines
111 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html lang="en">
|
||
|
|
<head>
|
||
|
|
<meta charset="utf-8">
|
||
|
|
<title>Documentation</title>
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
|
<base href="../">
|
||
|
|
<link rel="icon" href="images/favicon.ico"/>
|
||
|
|
<link rel="stylesheet" href="css/normalize.css">
|
||
|
|
<link rel="stylesheet" href="css/base.css">
|
||
|
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||
|
|
<link rel="stylesheet" href="css/template.css">
|
||
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||
|
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||
|
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||
|
|
<script src="js/search.js"></script>
|
||
|
|
<script defer src="js/searchIndex.js"></script>
|
||
|
|
</head>
|
||
|
|
<body id="top">
|
||
|
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||
|
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||
|
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||
|
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||
|
|
<i class="fas fa-bars"></i>
|
||
|
|
</label>
|
||
|
|
<section data-search-form class="phpdocumentor-search">
|
||
|
|
<label>
|
||
|
|
<span class="visually-hidden">Search for</span>
|
||
|
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
|
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||
|
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||
|
|
</svg>
|
||
|
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||
|
|
</label>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
<nav class="phpdocumentor-topnav">
|
||
|
|
<ul class="phpdocumentor-topnav__menu">
|
||
|
|
</ul>
|
||
|
|
</nav>
|
||
|
|
</header>
|
||
|
|
|
||
|
|
<main class="phpdocumentor">
|
||
|
|
<div class="phpdocumentor-section">
|
||
|
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||
|
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||
|
|
Menu
|
||
|
|
</label>
|
||
|
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||
|
|
|
||
|
|
<section class="phpdocumentor-sidebar__category">
|
||
|
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||
|
|
<h3 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/default.html"><abbr title="\">Global</abbr></a></h3>
|
||
|
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/phpoffice.html"><abbr title="\PhpOffice">PhpOffice</abbr></a></h4>
|
||
|
|
<ul class="phpdocumentor-list">
|
||
|
|
<li><a href="namespaces/phpoffice-phpword.html"><abbr title="\PhpOffice\PhpWord">PhpWord</abbr></a></li>
|
||
|
|
</ul>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
|
||
|
|
<section class="phpdocumentor-sidebar__category">
|
||
|
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-sidebar__category">
|
||
|
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||
|
|
</section>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||
|
|
<ul class="phpdocumentor-breadcrumbs">
|
||
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/phpoffice.html">PhpOffice</a></li>
|
||
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/phpoffice-phpword.html">PhpWord</a></li>
|
||
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/phpoffice-phpword-style.html">Style</a></li>
|
||
|
|
</ul>
|
||
|
|
|
||
|
|
<article class="phpdocumentor-element -class">
|
||
|
|
<h2 class="phpdocumentor-content__title">
|
||
|
|
Tab
|
||
|
|
|
||
|
|
<span class="phpdocumentor-element__extends">
|
||
|
|
extends <a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html"><abbr title="\PhpOffice\PhpWord\Style\AbstractStyle">AbstractStyle</abbr></a>
|
||
|
|
</span>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</h2>
|
||
|
|
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">23</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Tab style</p>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3 id="toc">
|
||
|
|
Table of Contents
|
||
|
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h3>
|
||
|
|
|
||
|
|
<dl class="phpdocumentor-table-of-contents">
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_LEADER_DOT">TAB_LEADER_DOT</a>
|
||
|
|
<span>
|
||
|
|
= 'dot' </span>
|
||
|
|
</dt>
|
||
|
|
<dd></dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_LEADER_HEAVY">TAB_LEADER_HEAVY</a>
|
||
|
|
<span>
|
||
|
|
= 'heavy' </span>
|
||
|
|
</dt>
|
||
|
|
<dd></dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_LEADER_HYPHEN">TAB_LEADER_HYPHEN</a>
|
||
|
|
<span>
|
||
|
|
= 'hyphen' </span>
|
||
|
|
</dt>
|
||
|
|
<dd></dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_LEADER_MIDDLEDOT">TAB_LEADER_MIDDLEDOT</a>
|
||
|
|
<span>
|
||
|
|
= 'middleDot' </span>
|
||
|
|
</dt>
|
||
|
|
<dd></dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_LEADER_NONE">TAB_LEADER_NONE</a>
|
||
|
|
<span>
|
||
|
|
= 'none' </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Tab leader types</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_LEADER_UNDERSCORE">TAB_LEADER_UNDERSCORE</a>
|
||
|
|
<span>
|
||
|
|
= 'underscore' </span>
|
||
|
|
</dt>
|
||
|
|
<dd></dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_STOP_BAR">TAB_STOP_BAR</a>
|
||
|
|
<span>
|
||
|
|
= 'bar' </span>
|
||
|
|
</dt>
|
||
|
|
<dd></dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_STOP_CENTER">TAB_STOP_CENTER</a>
|
||
|
|
<span>
|
||
|
|
= 'center' </span>
|
||
|
|
</dt>
|
||
|
|
<dd></dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_STOP_CLEAR">TAB_STOP_CLEAR</a>
|
||
|
|
<span>
|
||
|
|
= 'clear' </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Tab stop types</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_STOP_DECIMAL">TAB_STOP_DECIMAL</a>
|
||
|
|
<span>
|
||
|
|
= 'decimal' </span>
|
||
|
|
</dt>
|
||
|
|
<dd></dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_STOP_LEFT">TAB_STOP_LEFT</a>
|
||
|
|
<span>
|
||
|
|
= 'left' </span>
|
||
|
|
</dt>
|
||
|
|
<dd></dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_STOP_NUM">TAB_STOP_NUM</a>
|
||
|
|
<span>
|
||
|
|
= 'num' </span>
|
||
|
|
</dt>
|
||
|
|
<dd></dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_STOP_RIGHT">TAB_STOP_RIGHT</a>
|
||
|
|
<span>
|
||
|
|
= 'right' </span>
|
||
|
|
</dt>
|
||
|
|
<dd></dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#property_aliases">$aliases</a>
|
||
|
|
<span>
|
||
|
|
: array<string|int, mixed> </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Aliases</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#property_index">$index</a>
|
||
|
|
<span>
|
||
|
|
: int|null </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Index number in Style collection for named style</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#property_styleName">$styleName</a>
|
||
|
|
<span>
|
||
|
|
: string </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Style name</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#property_isAuto">$isAuto</a>
|
||
|
|
<span>
|
||
|
|
: bool </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Is this an automatic style? (Used primarily in OpenDocument driver)</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#property_leader">$leader</a>
|
||
|
|
<span>
|
||
|
|
: string </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Tab leader character</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#property_position">$position</a>
|
||
|
|
<span>
|
||
|
|
: int|float </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Tab stop position (twip)</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#property_type">$type</a>
|
||
|
|
<span>
|
||
|
|
: string </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Tab stop type</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#method___construct">__construct()</a>
|
||
|
|
<span>
|
||
|
|
: mixed </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Create a new instance of Tab. Both $type and $leader
|
||
|
|
must conform to the values put forth in the schema. If they do not
|
||
|
|
they will be changed to default values.</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_getChildStyleValue">getChildStyleValue()</a>
|
||
|
|
<span>
|
||
|
|
: mixed </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Return style value of child style object, e.g. `left` from `Indentation` child style of `Paragraph`</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_getIndex">getIndex()</a>
|
||
|
|
<span>
|
||
|
|
: int|null </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Get index number</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#method_getLeader">getLeader()</a>
|
||
|
|
<span>
|
||
|
|
: string </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Get leader</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#method_getPosition">getPosition()</a>
|
||
|
|
<span>
|
||
|
|
: int|float </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Get position</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_getStyleName">getStyleName()</a>
|
||
|
|
<span>
|
||
|
|
: string </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Get style name</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#method_getType">getType()</a>
|
||
|
|
<span>
|
||
|
|
: string </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Get stop type</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_isAuto">isAuto()</a>
|
||
|
|
<span>
|
||
|
|
: bool </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Get is automatic style flag</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setArrayStyle">setArrayStyle()</a>
|
||
|
|
<span>
|
||
|
|
: self </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set style using associative array</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setAuto">setAuto()</a>
|
||
|
|
<span>
|
||
|
|
: self </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set is automatic style flag</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setIndex">setIndex()</a>
|
||
|
|
<span>
|
||
|
|
: self </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set index number</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#method_setLeader">setLeader()</a>
|
||
|
|
<span>
|
||
|
|
: self </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set leader</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#method_setPosition">setPosition()</a>
|
||
|
|
<span>
|
||
|
|
: self </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set position</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setStyleByArray">setStyleByArray()</a>
|
||
|
|
<span>
|
||
|
|
: self </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set style by using associative array</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setStyleName">setStyleName()</a>
|
||
|
|
<span>
|
||
|
|
: self </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set style name</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setStyleValue">setStyleValue()</a>
|
||
|
|
<span>
|
||
|
|
: self </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set style value template method</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#method_setType">setType()</a>
|
||
|
|
<span>
|
||
|
|
: self </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set stop type</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setBoolVal">setBoolVal()</a>
|
||
|
|
<span>
|
||
|
|
: bool </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set bool value</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setEnumVal">setEnumVal()</a>
|
||
|
|
<span>
|
||
|
|
: mixed </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set enum value</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setFloatVal">setFloatVal()</a>
|
||
|
|
<span>
|
||
|
|
: float|null </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set float value: Convert string that contains only numeric into float</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setIntVal">setIntVal()</a>
|
||
|
|
<span>
|
||
|
|
: int|null </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set integer value: Convert string that contains only numeric into integer</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setNonEmptyVal">setNonEmptyVal()</a>
|
||
|
|
<span>
|
||
|
|
: string </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set default for null and empty value</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setNumericVal">setNumericVal()</a>
|
||
|
|
<span>
|
||
|
|
: int|float|null </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set numeric value</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setObjectVal">setObjectVal()</a>
|
||
|
|
<span>
|
||
|
|
: mixed </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set object value</dd>
|
||
|
|
|
||
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setPairedVal">setPairedVal()</a>
|
||
|
|
<span>
|
||
|
|
: self </span>
|
||
|
|
</dt>
|
||
|
|
<dd>Set $property value and set $pairProperty = false when $value = true</dd>
|
||
|
|
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<section class="phpdocumentor-constants">
|
||
|
|
<h3 class="phpdocumentor-elements__header" id="constants">
|
||
|
|
Constants
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h3>
|
||
|
|
<article class="phpdocumentor-element -constant -public ">
|
||
|
|
<h4 class="phpdocumentor-element__name" id="constant_TAB_LEADER_DOT">
|
||
|
|
TAB_LEADER_DOT
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_LEADER_DOT" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">44</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
|
||
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||
|
|
<span class="phpdocumentor-signature__name">TAB_LEADER_DOT</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">'dot'</span>
|
||
|
|
</code>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article class="phpdocumentor-element -constant -public ">
|
||
|
|
<h4 class="phpdocumentor-element__name" id="constant_TAB_LEADER_HEAVY">
|
||
|
|
TAB_LEADER_HEAVY
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_LEADER_HEAVY" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">47</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
|
||
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||
|
|
<span class="phpdocumentor-signature__name">TAB_LEADER_HEAVY</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">'heavy'</span>
|
||
|
|
</code>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article class="phpdocumentor-element -constant -public ">
|
||
|
|
<h4 class="phpdocumentor-element__name" id="constant_TAB_LEADER_HYPHEN">
|
||
|
|
TAB_LEADER_HYPHEN
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_LEADER_HYPHEN" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">45</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
|
||
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||
|
|
<span class="phpdocumentor-signature__name">TAB_LEADER_HYPHEN</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">'hyphen'</span>
|
||
|
|
</code>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article class="phpdocumentor-element -constant -public ">
|
||
|
|
<h4 class="phpdocumentor-element__name" id="constant_TAB_LEADER_MIDDLEDOT">
|
||
|
|
TAB_LEADER_MIDDLEDOT
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_LEADER_MIDDLEDOT" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">48</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
|
||
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||
|
|
<span class="phpdocumentor-signature__name">TAB_LEADER_MIDDLEDOT</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">'middleDot'</span>
|
||
|
|
</code>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article class="phpdocumentor-element -constant -public ">
|
||
|
|
<h4 class="phpdocumentor-element__name" id="constant_TAB_LEADER_NONE">
|
||
|
|
TAB_LEADER_NONE
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_LEADER_NONE" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">43</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Tab leader types</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||
|
|
<span class="phpdocumentor-signature__name">TAB_LEADER_NONE</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">'none'</span>
|
||
|
|
</code>
|
||
|
|
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||
|
|
Tags
|
||
|
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h5>
|
||
|
|
<dl class="phpdocumentor-tag-list">
|
||
|
|
<dt class="phpdocumentor-tag-list__entry">
|
||
|
|
<span class="phpdocumentor-tag__name">const</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-tag-list__definition">
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"><p>string</p>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article class="phpdocumentor-element -constant -public ">
|
||
|
|
<h4 class="phpdocumentor-element__name" id="constant_TAB_LEADER_UNDERSCORE">
|
||
|
|
TAB_LEADER_UNDERSCORE
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_LEADER_UNDERSCORE" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">46</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
|
||
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||
|
|
<span class="phpdocumentor-signature__name">TAB_LEADER_UNDERSCORE</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">'underscore'</span>
|
||
|
|
</code>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article class="phpdocumentor-element -constant -public ">
|
||
|
|
<h4 class="phpdocumentor-element__name" id="constant_TAB_STOP_BAR">
|
||
|
|
TAB_STOP_BAR
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_STOP_BAR" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">35</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
|
||
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||
|
|
<span class="phpdocumentor-signature__name">TAB_STOP_BAR</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">'bar'</span>
|
||
|
|
</code>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article class="phpdocumentor-element -constant -public ">
|
||
|
|
<h4 class="phpdocumentor-element__name" id="constant_TAB_STOP_CENTER">
|
||
|
|
TAB_STOP_CENTER
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_STOP_CENTER" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">32</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
|
||
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||
|
|
<span class="phpdocumentor-signature__name">TAB_STOP_CENTER</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">'center'</span>
|
||
|
|
</code>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article class="phpdocumentor-element -constant -public ">
|
||
|
|
<h4 class="phpdocumentor-element__name" id="constant_TAB_STOP_CLEAR">
|
||
|
|
TAB_STOP_CLEAR
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_STOP_CLEAR" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">30</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Tab stop types</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||
|
|
<span class="phpdocumentor-signature__name">TAB_STOP_CLEAR</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">'clear'</span>
|
||
|
|
</code>
|
||
|
|
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||
|
|
Tags
|
||
|
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h5>
|
||
|
|
<dl class="phpdocumentor-tag-list">
|
||
|
|
<dt class="phpdocumentor-tag-list__entry">
|
||
|
|
<span class="phpdocumentor-tag__name">const</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-tag-list__definition">
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"><p>string</p>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article class="phpdocumentor-element -constant -public ">
|
||
|
|
<h4 class="phpdocumentor-element__name" id="constant_TAB_STOP_DECIMAL">
|
||
|
|
TAB_STOP_DECIMAL
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_STOP_DECIMAL" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">34</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
|
||
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||
|
|
<span class="phpdocumentor-signature__name">TAB_STOP_DECIMAL</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">'decimal'</span>
|
||
|
|
</code>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article class="phpdocumentor-element -constant -public ">
|
||
|
|
<h4 class="phpdocumentor-element__name" id="constant_TAB_STOP_LEFT">
|
||
|
|
TAB_STOP_LEFT
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_STOP_LEFT" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">31</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
|
||
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||
|
|
<span class="phpdocumentor-signature__name">TAB_STOP_LEFT</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">'left'</span>
|
||
|
|
</code>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article class="phpdocumentor-element -constant -public ">
|
||
|
|
<h4 class="phpdocumentor-element__name" id="constant_TAB_STOP_NUM">
|
||
|
|
TAB_STOP_NUM
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_STOP_NUM" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">36</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
|
||
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||
|
|
<span class="phpdocumentor-signature__name">TAB_STOP_NUM</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">'num'</span>
|
||
|
|
</code>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article class="phpdocumentor-element -constant -public ">
|
||
|
|
<h4 class="phpdocumentor-element__name" id="constant_TAB_STOP_RIGHT">
|
||
|
|
TAB_STOP_RIGHT
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#constant_TAB_STOP_RIGHT" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">33</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
|
||
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||
|
|
<span class="phpdocumentor-signature__name">TAB_STOP_RIGHT</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">'right'</span>
|
||
|
|
</code>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
|
||
|
|
<section class="phpdocumentor-properties">
|
||
|
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
||
|
|
Properties
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h3>
|
||
|
|
<article
|
||
|
|
class="
|
||
|
|
phpdocumentor-element
|
||
|
|
-property
|
||
|
|
-protected
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="property_aliases">
|
||
|
|
$aliases
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#property_aliases" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
<span class="phpdocumentor-element__modifiers">
|
||
|
|
</span>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">50</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Aliases</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||
|
|
<span class="phpdocumentor-signature__type">array<string|int, mixed></span>
|
||
|
|
<span class="phpdocumentor-signature__name">$aliases</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">array()</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="
|
||
|
|
phpdocumentor-element
|
||
|
|
-property
|
||
|
|
-protected
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="property_index">
|
||
|
|
$index
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#property_index" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
<span class="phpdocumentor-element__modifiers">
|
||
|
|
</span>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">43</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Index number in Style collection for named style</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||
|
|
<span class="phpdocumentor-signature__type">int|null</span>
|
||
|
|
<span class="phpdocumentor-signature__name">$index</span>
|
||
|
|
</code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"><p>This number starts from one and defined in Style::setStyleValues()</p>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="
|
||
|
|
phpdocumentor-element
|
||
|
|
-property
|
||
|
|
-protected
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="property_styleName">
|
||
|
|
$styleName
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#property_styleName" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
<span class="phpdocumentor-element__modifiers">
|
||
|
|
</span>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">34</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Style name</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||
|
|
<span class="phpdocumentor-signature__type">string</span>
|
||
|
|
<span class="phpdocumentor-signature__name">$styleName</span>
|
||
|
|
</code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="
|
||
|
|
phpdocumentor-element
|
||
|
|
-property
|
||
|
|
-private
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="property_isAuto">
|
||
|
|
$isAuto
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#property_isAuto" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
<span class="phpdocumentor-element__modifiers">
|
||
|
|
</span>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">58</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Is this an automatic style? (Used primarily in OpenDocument driver)</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
||
|
|
<span class="phpdocumentor-signature__type">bool</span>
|
||
|
|
<span class="phpdocumentor-signature__name">$isAuto</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||
|
|
Tags
|
||
|
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h5>
|
||
|
|
<dl class="phpdocumentor-tag-list">
|
||
|
|
<dt class="phpdocumentor-tag-list__entry">
|
||
|
|
<span class="phpdocumentor-tag__name">since</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-tag-list__definition">
|
||
|
|
<span class="phpdocumentor-tag-link">0.11.0</span>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="
|
||
|
|
phpdocumentor-element
|
||
|
|
-property
|
||
|
|
-private
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="property_leader">
|
||
|
|
$leader
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#property_leader" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
<span class="phpdocumentor-element__modifiers">
|
||
|
|
</span>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">62</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Tab leader character</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
||
|
|
<span class="phpdocumentor-signature__type">string</span>
|
||
|
|
<span class="phpdocumentor-signature__name">$leader</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">self::TAB_LEADER_NONE</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="
|
||
|
|
phpdocumentor-element
|
||
|
|
-property
|
||
|
|
-private
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="property_position">
|
||
|
|
$position
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#property_position" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
<span class="phpdocumentor-element__modifiers">
|
||
|
|
</span>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">69</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Tab stop position (twip)</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
||
|
|
<span class="phpdocumentor-signature__type">int|float</span>
|
||
|
|
<span class="phpdocumentor-signature__name">$position</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">0</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="
|
||
|
|
phpdocumentor-element
|
||
|
|
-property
|
||
|
|
-private
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="property_type">
|
||
|
|
$type
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#property_type" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
<span class="phpdocumentor-element__modifiers">
|
||
|
|
</span>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">55</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Tab stop type</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
||
|
|
<span class="phpdocumentor-signature__type">string</span>
|
||
|
|
<span class="phpdocumentor-signature__name">$type</span>
|
||
|
|
= <span class="phpdocumentor-signature__default-value">self::TAB_STOP_CLEAR</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-methods">
|
||
|
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||
|
|
Methods
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h3>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
||
|
|
__construct()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">80</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Create a new instance of Tab. Both $type and $leader
|
||
|
|
must conform to the values put forth in the schema. If they do not
|
||
|
|
they will be changed to default values.</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$type</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$position</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$leader</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$type</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"><p>Defaults to 'clear' if value is not possible</p>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$position</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"><p>Must be numeric; otherwise defaults to 0</p>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$leader</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"><p>Defaults to null if value is not possible</p>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_getChildStyleValue">
|
||
|
|
getChildStyleValue()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_getChildStyleValue" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">137</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Return style value of child style object, e.g. `left` from `Indentation` child style of `Paragraph`</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">getChildStyleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html"><abbr title="\PhpOffice\PhpWord\Style\AbstractStyle">AbstractStyle</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$substyleObject</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$substyleProperty</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$substyleObject</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html"><abbr title="\PhpOffice\PhpWord\Style\AbstractStyle">AbstractStyle</abbr></a></span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$substyleProperty</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||
|
|
Tags
|
||
|
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h5>
|
||
|
|
<dl class="phpdocumentor-tag-list">
|
||
|
|
<dt class="phpdocumentor-tag-list__entry">
|
||
|
|
<span class="phpdocumentor-tag__name">since</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-tag-list__definition">
|
||
|
|
<span class="phpdocumentor-tag-link">0.12.0</span>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_getIndex">
|
||
|
|
getIndex()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_getIndex" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">88</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Get index number</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">getIndex</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|null</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">int|null</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_getLeader">
|
||
|
|
getLeader()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#method_getLeader" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">129</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Get leader</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">getLeader</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_getPosition">
|
||
|
|
getPosition()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#method_getPosition" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">156</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Get position</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">getPosition</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|float</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">int|float</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_getStyleName">
|
||
|
|
getStyleName()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_getStyleName" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">65</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Get style name</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">getStyleName</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_getType">
|
||
|
|
getType()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#method_getType" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">101</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Get stop type</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">getType</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_isAuto">
|
||
|
|
isAuto()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_isAuto" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">111</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Get is automatic style flag</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">isAuto</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
-deprecated "
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setArrayStyle">
|
||
|
|
setArrayStyle()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setArrayStyle" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">350</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set style using associative array</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature -deprecated">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setArrayStyle</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$style</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$style</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||
|
|
= <span class="phpdocumentor-signature__argument__default-value">array()</span> </dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||
|
|
Tags
|
||
|
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h5>
|
||
|
|
<dl class="phpdocumentor-tag-list">
|
||
|
|
<dt class="phpdocumentor-tag-list__entry">
|
||
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-tag-list__definition">
|
||
|
|
<span class="phpdocumentor-tag-link">0.11.0</span>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt class="phpdocumentor-tag-list__entry">
|
||
|
|
<span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-tag-list__definition">
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">self</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setAuto">
|
||
|
|
setAuto()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setAuto" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">122</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set is automatic style flag</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setAuto</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$value</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
||
|
|
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">self</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setIndex">
|
||
|
|
setIndex()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setIndex" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">99</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set index number</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setIndex</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">int|null </span><span class="phpdocumentor-signature__argument__name">$value</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">int|null</span>
|
||
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">self</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setLeader">
|
||
|
|
setLeader()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#method_setLeader" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">140</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set leader</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setLeader</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">self</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setPosition">
|
||
|
|
setPosition()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#method_setPosition" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">167</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set position</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setPosition</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int|float </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">int|float</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">self</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setStyleByArray">
|
||
|
|
setStyleByArray()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setStyleByArray" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">179</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set style by using associative array</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setStyleByArray</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$values</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$values</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||
|
|
= <span class="phpdocumentor-signature__argument__default-value">array()</span> </dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">self</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setStyleName">
|
||
|
|
setStyleName()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setStyleName" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">76</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set style name</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setStyleName</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">self</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setStyleValue">
|
||
|
|
setStyleValue()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setStyleValue" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">160</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set style value template method</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setStyleValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"><p>Some child classes have their own specific overrides.
|
||
|
|
Backward compability check for versions < 0.10.0 which use underscore
|
||
|
|
prefix for their private properties.
|
||
|
|
Check if the set method is exists. Throws an exception?</p>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">self</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-public
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setType">
|
||
|
|
setType()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#method_setType" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/Tab.php"><a href="files/src-phpword-style-tab.html"><abbr title="src/PhpWord/Style/Tab.php">Tab.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">112</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set stop type</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setType</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">self</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-protected
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setBoolVal">
|
||
|
|
setBoolVal()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setBoolVal" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">211</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set bool value</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setBoolVal</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$default</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$default</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-protected
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setEnumVal">
|
||
|
|
setEnumVal()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setEnumVal" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">286</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set enum value</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setEnumVal</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$value</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$enum</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$default</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$enum</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||
|
|
= <span class="phpdocumentor-signature__argument__default-value">array()</span> </dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$default</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||
|
|
Tags
|
||
|
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h5>
|
||
|
|
<dl class="phpdocumentor-tag-list">
|
||
|
|
<dt class="phpdocumentor-tag-list__entry">
|
||
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-tag-list__definition">
|
||
|
|
<span class="phpdocumentor-tag-link"><abbr title="\InvalidArgumentException">InvalidArgumentException</abbr></span>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-protected
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setFloatVal">
|
||
|
|
setFloatVal()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setFloatVal" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">264</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set float value: Convert string that contains only numeric into float</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setFloatVal</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">float|null </span><span class="phpdocumentor-signature__argument__name">$default</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float|null</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$default</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">float|null</span>
|
||
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">float|null</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-protected
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setIntVal">
|
||
|
|
setIntVal()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setIntVal" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">243</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set integer value: Convert string that contains only numeric into integer</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setIntVal</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int|null </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int|null </span><span class="phpdocumentor-signature__argument__name">$default</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|null</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">int|null</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$default</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">int|null</span>
|
||
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">int|null</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-protected
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setNonEmptyVal">
|
||
|
|
setNonEmptyVal()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setNonEmptyVal" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">195</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set default for null and empty value</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setNonEmptyVal</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$default</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"><p>(was: mixed)</p>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$default</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"><p>(was: mixed)</p>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"><p>(was: mixed)</p>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-protected
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setNumericVal">
|
||
|
|
setNumericVal()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setNumericVal" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">227</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set numeric value</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setNumericVal</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int|float|null </span><span class="phpdocumentor-signature__argument__name">$default</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|float|null</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$default</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">int|float|null</span>
|
||
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">int|float|null</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-protected
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setObjectVal">
|
||
|
|
setObjectVal()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setObjectVal" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">305</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set object value</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setObjectVal</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$styleName</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__reference-operator">&</span><span class="phpdocumentor-signature__argument__name">$style</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$styleName</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$style</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<article
|
||
|
|
class="phpdocumentor-element
|
||
|
|
-method
|
||
|
|
-protected
|
||
|
|
"
|
||
|
|
>
|
||
|
|
<h4 class="phpdocumentor-element__name" id="method_setPairedVal">
|
||
|
|
setPairedVal()
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-AbstractStyle.html#method_setPairedVal" class="headerlink"><i class="fas fa-link"></i></a>
|
||
|
|
</h4>
|
||
|
|
<aside class="phpdocumentor-element-found-in">
|
||
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Style/AbstractStyle.php"><a href="files/src-phpword-style-abstractstyle.html"><abbr title="src/PhpWord/Style/AbstractStyle.php">AbstractStyle.php</abbr></a></abbr>
|
||
|
|
:
|
||
|
|
<span class="phpdocumentor-element-found-in__line">329</span>
|
||
|
|
</aside>
|
||
|
|
|
||
|
|
<p class="phpdocumentor-summary">Set $property value and set $pairProperty = false when $value = true</p>
|
||
|
|
|
||
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||
|
|
<span class="phpdocumentor-signature__name">setPairedVal</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__reference-operator">&</span><span class="phpdocumentor-signature__argument__name">$property</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__reference-operator">&</span><span class="phpdocumentor-signature__argument__name">$pairProperty</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||
|
|
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||
|
|
<dl class="phpdocumentor-argument-list">
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$property</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$pairProperty</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
<dt class="phpdocumentor-argument-list__entry">
|
||
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
||
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
||
|
|
</dt>
|
||
|
|
<dd class="phpdocumentor-argument-list__definition">
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
</dd>
|
||
|
|
</dl>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||
|
|
<span class="phpdocumentor-signature__response_type">self</span>
|
||
|
|
—
|
||
|
|
<section class="phpdocumentor-description"></section>
|
||
|
|
|
||
|
|
|
||
|
|
</article>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
</article>
|
||
|
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||
|
|
<section class="phpdocumentor-search-results__dialog">
|
||
|
|
<header class="phpdocumentor-search-results__header">
|
||
|
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||
|
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||
|
|
</header>
|
||
|
|
<section class="phpdocumentor-search-results__body">
|
||
|
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||
|
|
</section>
|
||
|
|
</section>
|
||
|
|
</section>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<a href="classes/PhpOffice-PhpWord-Style-Tab.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||
|
|
|
||
|
|
</main>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
cssVars({});
|
||
|
|
</script>
|
||
|
|
</body>
|
||
|
|
</html>
|