2021-03-08 01:07:47 +00:00
|
|
|
<!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-element.html">Element</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<article class="phpdocumentor-element -class">
|
|
|
|
|
<h2 class="phpdocumentor-content__title">
|
|
|
|
|
Table
|
|
|
|
|
|
|
|
|
|
<span class="phpdocumentor-element__extends">
|
|
|
|
|
extends <a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html"><abbr title="\PhpOffice\PhpWord\Element\AbstractElement">AbstractElement</abbr></a>
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/PhpWord/Element/Table.php"><a href="files/src-phpword-element-table.html"><abbr title="src/PhpWord/Element/Table.php">Table.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">25</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Table element.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<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 -property -protected">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_collectionRelation">$collectionRelation</a>
|
|
|
|
|
<span>
|
|
|
|
|
: bool </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Is part of collection; true for Title, Footnote, Endnote, Chart, and Comment.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_commentRangeEnd">$commentRangeEnd</a>
|
|
|
|
|
<span>
|
|
|
|
|
: <a href="classes/PhpOffice-PhpWord-Element-Comment.html"><abbr title="\PhpOffice\PhpWord\Element\Comment">Comment</abbr></a> </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>The end position for the linked comment.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_commentRangeStart">$commentRangeStart</a>
|
|
|
|
|
<span>
|
|
|
|
|
: <a href="classes/PhpOffice-PhpWord-Element-Comment.html"><abbr title="\PhpOffice\PhpWord\Element\Comment">Comment</abbr></a> </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>The start position for the linked comment.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_docPart">$docPart</a>
|
|
|
|
|
<span>
|
|
|
|
|
: string </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Document part type: Section|Header|Footer|Footnote|Endnote.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_docPartId">$docPartId</a>
|
|
|
|
|
<span>
|
|
|
|
|
: int </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Document part Id.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_elementId">$elementId</a>
|
|
|
|
|
<span>
|
|
|
|
|
: string </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Unique Id for element.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_elementIndex">$elementIndex</a>
|
|
|
|
|
<span>
|
|
|
|
|
: int </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Index of element in the elements collection (start with 1).</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_mediaRelation">$mediaRelation</a>
|
|
|
|
|
<span>
|
|
|
|
|
: bool </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Has media relation flag; true for Link, Image, and Object.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_phpWord">$phpWord</a>
|
|
|
|
|
<span>
|
|
|
|
|
: <a href="classes/PhpOffice-PhpWord-PhpWord.html"><abbr title="\PhpOffice\PhpWord\PhpWord">PhpWord</abbr></a> </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>PhpWord object.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_relationId">$relationId</a>
|
|
|
|
|
<span>
|
|
|
|
|
: int </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Relation Id.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_sectionId">$sectionId</a>
|
|
|
|
|
<span>
|
|
|
|
|
: int </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Section Id.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_nestedLevel">$nestedLevel</a>
|
|
|
|
|
<span>
|
|
|
|
|
: int </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Depth of table container nested level; Primarily used for RTF writer/reader.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_parent">$parent</a>
|
|
|
|
|
<span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: null|<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html"><abbr title="\PhpOffice\PhpWord\Element\AbstractElement">AbstractElement</abbr></a> </span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>A reference to the parent.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_parentContainer">$parentContainer</a>
|
|
|
|
|
<span>
|
|
|
|
|
: string </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Parent container type.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#property_rows">$rows</a>
|
|
|
|
|
<span>
|
|
|
|
|
: array<string|int, <a href="classes/PhpOffice-PhpWord-Element-Row.html"><abbr title="\PhpOffice\PhpWord\Element\Row">Row</abbr></a>> </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Table rows.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#property_style">$style</a>
|
|
|
|
|
<span>
|
|
|
|
|
: <a href="classes/PhpOffice-PhpWord-Style-Table.html"><abbr title="\PhpOffice\PhpWord\Style\Table">Table</abbr></a> </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Table style.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_trackChange">$trackChange</a>
|
|
|
|
|
<span>
|
|
|
|
|
: <a href="classes/PhpOffice-PhpWord-Element-TrackChange.html"><abbr title="\PhpOffice\PhpWord\Element\TrackChange">TrackChange</abbr></a> </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>changed element info.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#property_width">$width</a>
|
|
|
|
|
<span>
|
|
|
|
|
: int </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Table width.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method___construct">__construct()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: mixed </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Create a new table.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method_addCell">addCell()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: <a href="classes/PhpOffice-PhpWord-Element-Cell.html"><abbr title="\PhpOffice\PhpWord\Element\Cell">Cell</abbr></a> </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Add a cell.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method_addRow">addRow()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: <a href="classes/PhpOffice-PhpWord-Element-Row.html"><abbr title="\PhpOffice\PhpWord\Element\Row">Row</abbr></a> </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Add a row.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method_countColumns">countColumns()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: int </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Get column count.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method_findFirstDefinedCellWidths">findFirstDefinedCellWidths()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: array<string|int, int> </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>The first declared cell width for each column.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getCommentRangeEnd">getCommentRangeEnd()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: <a href="classes/PhpOffice-PhpWord-Element-Comment.html"><abbr title="\PhpOffice\PhpWord\Element\Comment">Comment</abbr></a> </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Get comment end.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getCommentRangeStart">getCommentRangeStart()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: <a href="classes/PhpOffice-PhpWord-Element-Comment.html"><abbr title="\PhpOffice\PhpWord\Element\Comment">Comment</abbr></a> </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Get comment start.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getDocPart">getDocPart()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: string </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Get doc part.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getDocPartId">getDocPartId()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: int </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Get doc part Id.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getElementId">getElementId()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: string </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Get element unique ID.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getElementIndex">getElementIndex()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: int </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Get element index.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getNestedLevel">getNestedLevel()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: int </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Get nested level.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getParent">getParent()</a>
|
|
|
|
|
<span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: null|<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html"><abbr title="\PhpOffice\PhpWord\Element\AbstractElement">AbstractElement</abbr></a> </span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Get parent element.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getPhpWord">getPhpWord()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: <a href="classes/PhpOffice-PhpWord-PhpWord.html"><abbr title="\PhpOffice\PhpWord\PhpWord">PhpWord</abbr></a> </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Get PhpWord.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getRelationId">getRelationId()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: int </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Get relation Id.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method_getRows">getRows()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: array<string|int, <a href="classes/PhpOffice-PhpWord-Element-Row.html"><abbr title="\PhpOffice\PhpWord\Element\Row">Row</abbr></a>> </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Get all rows.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getSectionId">getSectionId()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: int </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Get section number.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method_getStyle">getStyle()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: <a href="classes/PhpOffice-PhpWord-Style-Table.html"><abbr title="\PhpOffice\PhpWord\Style\Table">Table</abbr></a> </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Get table style.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getTrackChange">getTrackChange()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: <a href="classes/PhpOffice-PhpWord-Element-TrackChange.html"><abbr title="\PhpOffice\PhpWord\Element\TrackChange">TrackChange</abbr></a> </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Gets the trackChange information.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method_getWidth">getWidth()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: int </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Get table width.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_isInSection">isInSection()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: bool </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Check if element is located in Section doc part (as opposed to Header/Footer).</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setChangeInfo">setChangeInfo()</a>
|
|
|
|
|
<span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: void </span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Set changed.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setCommentRangeEnd">setCommentRangeEnd()</a>
|
|
|
|
|
<span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: void </span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Set comment end.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setCommentRangeStart">setCommentRangeStart()</a>
|
|
|
|
|
<span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: void </span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Set comment start.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setDocPart">setDocPart()</a>
|
|
|
|
|
<span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: void </span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</dt>
|
|
|
|
|
<dd>Set doc part.</dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setElementId">setElementId()</a>
|
|
|
|
|
<span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: void </span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</dt>
|
|
|
|
|
<dd>Set element unique ID from 6 first digit of md5.</dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setElementIndex">setElementIndex()</a>
|
|
|
|
|
<span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: void </span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</dt>
|
|
|
|
|
<dd>Set element index.</dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setParentContainer">setParentContainer()</a>
|
|
|
|
|
<span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: void </span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Set parent container.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setPhpWord">setPhpWord()</a>
|
|
|
|
|
<span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: void </span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</dt>
|
|
|
|
|
<dd>Set PhpWord as reference.</dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setRelationId">setRelationId()</a>
|
|
|
|
|
<span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: void </span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</dt>
|
|
|
|
|
<dd>Set relation Id.</dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setTrackChange">setTrackChange()</a>
|
|
|
|
|
<span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: void </span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Sets the trackChange information.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method_setWidth">setWidth()</a>
|
|
|
|
|
<span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: void </span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</dt>
|
|
|
|
|
<dd>Set table width.</dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setEnumVal">setEnumVal()</a>
|
|
|
|
|
<span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: null|string </span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Set enum value.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setNewStyle">setNewStyle()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: mixed </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Set new style value.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getMediaPart">getMediaPart()</a>
|
|
|
|
|
<span>
|
|
|
|
|
: string </span>
|
|
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Return media element (image, object, link) container name.</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setCollectionRelation">setCollectionRelation()</a>
|
|
|
|
|
<span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: void </span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</dt>
|
|
|
|
|
<dd>Set relation Id for elements that will be registered in the Collection subnamespaces.</dd>
|
|
|
|
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setMediaRelation">setMediaRelation()</a>
|
|
|
|
|
<span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: void </span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</dt>
|
2022-11-15 20:28:31 +00:00
|
|
|
<dd>Set relation Id for media elements (link, image, object; legacy of OOXML).</dd>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-properties">
|
|
|
|
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
|
|
|
|
Properties
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.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_collectionRelation">
|
|
|
|
|
$collectionRelation
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_collectionRelation" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">131</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Is part of collection; true for Title, Footnote, Endnote, Chart, and Comment.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">bool</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$collectionRelation</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-protected
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_commentRangeEnd">
|
|
|
|
|
$commentRangeEnd
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_commentRangeEnd" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">145</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">The end position for the linked comment.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type"><a href="classes/PhpOffice-PhpWord-Element-Comment.html"><abbr title="\PhpOffice\PhpWord\Element\Comment">Comment</abbr></a></span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$commentRangeEnd</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-protected
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_commentRangeStart">
|
|
|
|
|
$commentRangeStart
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_commentRangeStart" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">138</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">The start position for the linked comment.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type"><a href="classes/PhpOffice-PhpWord-Element-Comment.html"><abbr title="\PhpOffice\PhpWord\Element\Comment">Comment</abbr></a></span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$commentRangeStart</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-protected
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_docPart">
|
|
|
|
|
$docPart
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_docPart" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">55</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Document part type: Section|Header|Footer|Footnote|Endnote.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<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">$docPart</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">'Section'</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Used by textrun and cell container to determine where the element is
|
|
|
|
|
located because it will affect the availability of other element,
|
|
|
|
|
e.g. footnote will not be available when $docPart is header or footer.</p>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-protected
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_docPartId">
|
|
|
|
|
$docPartId
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_docPartId" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">66</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Document part Id.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">int</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$docPartId</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">1</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>For header and footer, this will be = ($sectionId - 1) * 3 + $index
|
|
|
|
|
because the max number of header/footer in every page is 3, i.e.
|
|
|
|
|
AUTO, FIRST, and EVEN (AUTO = ODD)</p>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-protected
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_elementId">
|
|
|
|
|
$elementId
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_elementId" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">80</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Unique Id for element.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<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">$elementId</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-protected
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_elementIndex">
|
|
|
|
|
$elementIndex
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_elementIndex" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">73</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Index of element in the elements collection (start with 1).</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">int</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$elementIndex</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">1</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-protected
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_mediaRelation">
|
|
|
|
|
$mediaRelation
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_mediaRelation" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">124</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Has media relation flag; true for Link, Image, and Object.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">bool</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$mediaRelation</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-protected
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_phpWord">
|
|
|
|
|
$phpWord
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_phpWord" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">37</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">PhpWord object.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type"><a href="classes/PhpOffice-PhpWord-PhpWord.html"><abbr title="\PhpOffice\PhpWord\PhpWord">PhpWord</abbr></a></span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$phpWord</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-protected
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_relationId">
|
|
|
|
|
$relationId
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_relationId" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">87</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Relation Id.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">int</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$relationId</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-protected
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_sectionId">
|
|
|
|
|
$sectionId
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_sectionId" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">44</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Section Id.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">int</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$sectionId</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-private
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_nestedLevel">
|
|
|
|
|
$nestedLevel
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_nestedLevel" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">96</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Depth of table container nested level; Primarily used for RTF writer/reader.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">int</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$nestedLevel</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__default-value">0</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>0 = Not in a table; 1 = in a table; 2 = in a table inside another table, etc.</p>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-private
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_parent">
|
|
|
|
|
$parent
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_parent" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">103</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">A reference to the parent.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__type">null|<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html"><abbr title="\PhpOffice\PhpWord\Element\AbstractElement">AbstractElement</abbr></a></span>
|
2021-03-08 01:07:47 +00:00
|
|
|
<span class="phpdocumentor-signature__name">$parent</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-private
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_parentContainer">
|
|
|
|
|
$parentContainer
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_parentContainer" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">117</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Parent container type.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<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">$parentContainer</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-private
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_rows">
|
|
|
|
|
$rows
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#property_rows" 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/Element/Table.php"><a href="files/src-phpword-element-table.html"><abbr title="src/PhpWord/Element/Table.php">Table.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">39</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Table rows.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">array<string|int, <a href="classes/PhpOffice-PhpWord-Element-Row.html"><abbr title="\PhpOffice\PhpWord\Element\Row">Row</abbr></a>></span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$rows</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
= <span class="phpdocumentor-signature__default-value">[]</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-private
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_style">
|
|
|
|
|
$style
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#property_style" 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/Element/Table.php"><a href="files/src-phpword-element-table.html"><abbr title="src/PhpWord/Element/Table.php">Table.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">32</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Table style.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type"><a href="classes/PhpOffice-PhpWord-Style-Table.html"><abbr title="\PhpOffice\PhpWord\Style\Table">Table</abbr></a></span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$style</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-private
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_trackChange">
|
|
|
|
|
$trackChange
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#property_trackChange" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">110</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">changed element info.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type"><a href="classes/PhpOffice-PhpWord-Element-TrackChange.html"><abbr title="\PhpOffice\PhpWord\Element\TrackChange">TrackChange</abbr></a></span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$trackChange</span>
|
|
|
|
|
</code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="
|
|
|
|
|
phpdocumentor-element
|
|
|
|
|
-property
|
|
|
|
|
-private
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="property_width">
|
|
|
|
|
$width
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#property_width" 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/Element/Table.php"><a href="files/src-phpword-element-table.html"><abbr title="src/PhpWord/Element/Table.php">Table.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">46</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Table width.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
|
|
|
<span class="phpdocumentor-signature__type">int</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">$width</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
</code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-methods">
|
|
|
|
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
|
|
|
|
Methods
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.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-Element-Table.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/Element/Table.php"><a href="files/src-phpword-element-table.html"><abbr title="src/PhpWord/Element/Table.php">Table.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">53</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Create a new table.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<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">mixed </span><span class="phpdocumentor-signature__argument__name">$style</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">$style</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-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_addCell">
|
|
|
|
|
addCell()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method_addCell" 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/Element/Table.php"><a href="files/src-phpword-element-table.html"><abbr title="src/PhpWord/Element/Table.php">Table.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">83</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Add a cell.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">addCell</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">$width</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">mixed </span><span class="phpdocumentor-signature__argument__name">$style</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"><a href="classes/PhpOffice-PhpWord-Element-Cell.html"><abbr title="\PhpOffice\PhpWord\Element\Cell">Cell</abbr></a></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">$width</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</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">$style</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-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/PhpOffice-PhpWord-Element-Cell.html"><abbr title="\PhpOffice\PhpWord\Element\Cell">Cell</abbr></a></span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_addRow">
|
|
|
|
|
addRow()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method_addRow" 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/Element/Table.php"><a href="files/src-phpword-element-table.html"><abbr title="src/PhpWord/Element/Table.php">Table.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">66</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Add a row.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">addRow</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">$height</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">mixed </span><span class="phpdocumentor-signature__argument__name">$style</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"><a href="classes/PhpOffice-PhpWord-Element-Row.html"><abbr title="\PhpOffice\PhpWord\Element\Row">Row</abbr></a></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">$height</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</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">$style</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-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/PhpOffice-PhpWord-Element-Row.html"><abbr title="\PhpOffice\PhpWord\Element\Row">Row</abbr></a></span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_countColumns">
|
|
|
|
|
countColumns()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method_countColumns" 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/Element/Table.php"><a href="files/src-phpword-element-table.html"><abbr title="src/PhpWord/Element/Table.php">Table.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">137</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Get column count.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">countColumns</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_findFirstDefinedCellWidths">
|
|
|
|
|
findFirstDefinedCellWidths()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method_findFirstDefinedCellWidths" 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/Element/Table.php"><a href="files/src-phpword-element-table.html"><abbr title="src/PhpWord/Element/Table.php">Table.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">159</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">The first declared cell width for each column.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">findFirstDefinedCellWidths</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, int></span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, int></span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_getCommentRangeEnd">
|
|
|
|
|
getCommentRangeEnd()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getCommentRangeEnd" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">319</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Get comment end.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">getCommentRangeEnd</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/PhpOffice-PhpWord-Element-Comment.html"><abbr title="\PhpOffice\PhpWord\Element\Comment">Comment</abbr></a></span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/PhpOffice-PhpWord-Element-Comment.html"><abbr title="\PhpOffice\PhpWord\Element\Comment">Comment</abbr></a></span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_getCommentRangeStart">
|
|
|
|
|
getCommentRangeStart()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getCommentRangeStart" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">297</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Get comment start.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">getCommentRangeStart</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/PhpOffice-PhpWord-Element-Comment.html"><abbr title="\PhpOffice\PhpWord\Element\Comment">Comment</abbr></a></span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/PhpOffice-PhpWord-Element-Comment.html"><abbr title="\PhpOffice\PhpWord\Element\Comment">Comment</abbr></a></span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_getDocPart">
|
|
|
|
|
getDocPart()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getDocPart" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">194</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Get doc part.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">getDocPart</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_getDocPartId">
|
|
|
|
|
getDocPartId()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getDocPartId" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">204</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Get doc part Id.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">getDocPartId</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_getElementId">
|
|
|
|
|
getElementId()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getElementId" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">249</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Get element unique ID.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">getElementId</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_getElementIndex">
|
|
|
|
|
getElementIndex()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getElementIndex" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">229</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Get element index.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">getElementIndex</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_getNestedLevel">
|
|
|
|
|
getNestedLevel()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getNestedLevel" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">287</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Get nested level.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">getNestedLevel</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_getParent">
|
|
|
|
|
getParent()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getParent" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">341</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Get parent element.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__name">getParent</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">null|<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html"><abbr title="\PhpOffice\PhpWord\Element\AbstractElement">AbstractElement</abbr></a></span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__response_type">null|<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html"><abbr title="\PhpOffice\PhpWord\Element\AbstractElement">AbstractElement</abbr></a></span>
|
2021-03-08 01:07:47 +00:00
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_getPhpWord">
|
|
|
|
|
getPhpWord()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getPhpWord" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">152</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Get PhpWord.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">getPhpWord</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/PhpOffice-PhpWord-PhpWord.html"><abbr title="\PhpOffice\PhpWord\PhpWord">PhpWord</abbr></a></span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/PhpOffice-PhpWord-PhpWord.html"><abbr title="\PhpOffice\PhpWord\PhpWord">PhpWord</abbr></a></span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_getRelationId">
|
|
|
|
|
getRelationId()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getRelationId" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">267</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Get relation Id.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">getRelationId</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_getRows">
|
|
|
|
|
getRows()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method_getRows" 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/Element/Table.php"><a href="files/src-phpword-element-table.html"><abbr title="src/PhpWord/Element/Table.php">Table.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">97</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Get all rows.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">getRows</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, <a href="classes/PhpOffice-PhpWord-Element-Row.html"><abbr title="\PhpOffice\PhpWord\Element\Row">Row</abbr></a>></span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, <a href="classes/PhpOffice-PhpWord-Element-Row.html"><abbr title="\PhpOffice\PhpWord\Element\Row">Row</abbr></a>></span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_getSectionId">
|
|
|
|
|
getSectionId()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getSectionId" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">172</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Get section number.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">getSectionId</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_getStyle">
|
|
|
|
|
getStyle()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method_getStyle" 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/Element/Table.php"><a href="files/src-phpword-element-table.html"><abbr title="src/PhpWord/Element/Table.php">Table.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">107</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Get table style.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">getStyle</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/PhpOffice-PhpWord-Style-Table.html"><abbr title="\PhpOffice\PhpWord\Style\Table">Table</abbr></a></span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/PhpOffice-PhpWord-Style-Table.html"><abbr title="\PhpOffice\PhpWord\Style\Table">Table</abbr></a></span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_getTrackChange">
|
|
|
|
|
getTrackChange()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getTrackChange" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">465</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Gets the trackChange information.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">getTrackChange</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/PhpOffice-PhpWord-Element-TrackChange.html"><abbr title="\PhpOffice\PhpWord\Element\TrackChange">TrackChange</abbr></a></span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/PhpOffice-PhpWord-Element-TrackChange.html"><abbr title="\PhpOffice\PhpWord\Element\TrackChange">TrackChange</abbr></a></span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_getWidth">
|
|
|
|
|
getWidth()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method_getWidth" 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/Element/Table.php"><a href="files/src-phpword-element-table.html"><abbr title="src/PhpWord/Element/Table.php">Table.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">117</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Get table width.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">getWidth</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_isInSection">
|
|
|
|
|
isInSection()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_isInSection" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">426</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Check if element is located in Section doc part (as opposed to Header/Footer).</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">isInSection</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
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_setChangeInfo">
|
|
|
|
|
setChangeInfo()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setChangeInfo" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">477</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Set changed.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__name">setChangeInfo</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$type</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$author</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">null|<abbr title="\DateTime">DateTime</abbr>|int </span><span class="phpdocumentor-signature__argument__name">$date</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">void</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"><p>INSERTED|DELETED</p>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
|
|
|
<span class="phpdocumentor-signature__argument__name">$author</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">$date</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">null|<abbr title="\DateTime">DateTime</abbr>|int</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"><p>allways in UTC</p>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__response_type">void</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_setCommentRangeEnd">
|
|
|
|
|
setCommentRangeEnd()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setCommentRangeEnd" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">327</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Set comment end.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__name">setCommentRangeEnd</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/PhpOffice-PhpWord-Element-Comment.html"><abbr title="\PhpOffice\PhpWord\Element\Comment">Comment</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<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"><a href="classes/PhpOffice-PhpWord-Element-Comment.html"><abbr title="\PhpOffice\PhpWord\Element\Comment">Comment</abbr></a></span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
2022-11-15 20:28:31 +00:00
|
|
|
|
2021-03-08 01:07:47 +00:00
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__response_type">void</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_setCommentRangeStart">
|
|
|
|
|
setCommentRangeStart()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setCommentRangeStart" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
|
|
|
|
<span class="phpdocumentor-element-found-in__line">305</span>
|
|
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Set comment start.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__name">setCommentRangeStart</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/PhpOffice-PhpWord-Element-Comment.html"><abbr title="\PhpOffice\PhpWord\Element\Comment">Comment</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<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"><a href="classes/PhpOffice-PhpWord-Element-Comment.html"><abbr title="\PhpOffice\PhpWord\Element\Comment">Comment</abbr></a></span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
2022-11-15 20:28:31 +00:00
|
|
|
|
2021-03-08 01:07:47 +00:00
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__response_type">void</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_setDocPart">
|
|
|
|
|
setDocPart()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setDocPart" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">183</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
<p class="phpdocumentor-summary">Set doc part.</p>
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__name">setDocPart</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$docPart</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$docPartId</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">1</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<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">$docPart</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">$docPartId</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__argument__default-value">1</span> </dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__response_type">void</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_setElementId">
|
|
|
|
|
setElementId()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setElementId" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">257</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
<p class="phpdocumentor-summary">Set element unique ID from 6 first digit of md5.</p>
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__name">setElementId</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__response_type">void</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_setElementIndex">
|
|
|
|
|
setElementIndex()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setElementIndex" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">239</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
<p class="phpdocumentor-summary">Set element index.</p>
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__name">setElementIndex</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<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</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__response_type">void</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_setParentContainer">
|
|
|
|
|
setParentContainer()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setParentContainer" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">353</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Set parent container.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__name">setParentContainer</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html"><abbr title="\PhpOffice\PhpWord\Element\AbstractElement">AbstractElement</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$container</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Passed parameter should be a container, except for Table (contain Row) and Row (contain Cell)</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">$container</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html"><abbr title="\PhpOffice\PhpWord\Element\AbstractElement">AbstractElement</abbr></a></span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__response_type">void</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_setPhpWord">
|
|
|
|
|
setPhpWord()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setPhpWord" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">162</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
<p class="phpdocumentor-summary">Set PhpWord as reference.</p>
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__name">setPhpWord</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/PhpOffice-PhpWord-PhpWord.html"><abbr title="\PhpOffice\PhpWord\PhpWord">PhpWord</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$phpWord</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">void</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<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">$phpWord</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/PhpOffice-PhpWord-PhpWord.html"><abbr title="\PhpOffice\PhpWord\PhpWord">PhpWord</abbr></a></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>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__response_type">void</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_setRelationId">
|
|
|
|
|
setRelationId()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setRelationId" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">277</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
<p class="phpdocumentor-summary">Set relation Id.</p>
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__name">setRelationId</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<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</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__response_type">void</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_setTrackChange">
|
|
|
|
|
setTrackChange()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setTrackChange" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">455</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Sets the trackChange information.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__name">setTrackChange</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/PhpOffice-PhpWord-Element-TrackChange.html"><abbr title="\PhpOffice\PhpWord\Element\TrackChange">TrackChange</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$trackChange</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<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">$trackChange</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/PhpOffice-PhpWord-Element-TrackChange.html"><abbr title="\PhpOffice\PhpWord\Element\TrackChange">TrackChange</abbr></a></span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
2022-11-15 20:28:31 +00:00
|
|
|
|
2021-03-08 01:07:47 +00:00
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__response_type">void</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-public
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_setWidth">
|
|
|
|
|
setWidth()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-Table.html#method_setWidth" 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/Element/Table.php"><a href="files/src-phpword-element-table.html"><abbr title="src/PhpWord/Element/Table.php">Table.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">127</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
<p class="phpdocumentor-summary">Set table width.</p>
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__name">setWidth</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$width</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<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">$width</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__response_type">void</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
—
|
|
|
|
|
<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-Element-AbstractElement.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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">493</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Set enum value.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__name">setEnumVal</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">null|string </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, string> </span><span class="phpdocumentor-signature__argument__name">$enum</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">null|string </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">null|string</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<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>
|
2022-11-15 20:28:31 +00:00
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">null|string</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
= <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, string></span>
|
2022-11-15 20:28:31 +00:00
|
|
|
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
2021-03-08 01:07:47 +00:00
|
|
|
<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>
|
2022-11-15 20:28:31 +00:00
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">null|string</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
= <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">todo</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Merge with the same method in AbstractStyle</p>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__response_type">null|string</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-protected
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_setNewStyle">
|
|
|
|
|
setNewStyle()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setNewStyle" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">440</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Set new style value.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">setNewStyle</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$styleObject</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">$styleValue</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">bool </span><span class="phpdocumentor-signature__argument__name">$returnObject</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</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">$styleObject</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
|
|
|
</dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"><p>Style object</p>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
|
|
|
<span class="phpdocumentor-signature__argument__name">$styleValue</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"><p>Style value</p>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
|
|
|
<span class="phpdocumentor-signature__argument__name">$returnObject</span>
|
|
|
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
|
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
|
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
|
<section class="phpdocumentor-description"><p>Always return object</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
|
|
|
|
|
-private
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_getMediaPart">
|
|
|
|
|
getMediaPart()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_getMediaPart" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">214</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Return media element (image, object, link) container name.</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
|
|
|
<span class="phpdocumentor-signature__name">getMediaPart</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"><p>section|headerx|footerx|footnote|endnote</p>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-private
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_setCollectionRelation">
|
|
|
|
|
setCollectionRelation()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setCollectionRelation" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">411</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
|
|
|
|
<p class="phpdocumentor-summary">Set relation Id for elements that will be registered in the Collection subnamespaces.</p>
|
|
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__name">setCollectionRelation</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__response_type">void</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
—
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
<article
|
|
|
|
|
class="phpdocumentor-element
|
|
|
|
|
-method
|
|
|
|
|
-private
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<h4 class="phpdocumentor-element__name" id="method_setMediaRelation">
|
|
|
|
|
setMediaRelation()
|
|
|
|
|
<a href="classes/PhpOffice-PhpWord-Element-AbstractElement.html#method_setMediaRelation" 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/Element/AbstractElement.php"><a href="files/src-phpword-element-abstractelement.html"><abbr title="src/PhpWord/Element/AbstractElement.php">AbstractElement.php</abbr></a></abbr>
|
|
|
|
|
:
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-element-found-in__line">382</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
</aside>
|
|
|
|
|
|
2022-11-15 20:28:31 +00:00
|
|
|
<p class="phpdocumentor-summary">Set relation Id for media elements (link, image, object; legacy of OOXML).</p>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__name">setMediaRelation</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
2021-03-08 01:07:47 +00:00
|
|
|
|
|
|
|
|
<section class="phpdocumentor-description"><ul>
|
|
|
|
|
<li>Image element needs to be passed to Media object</li>
|
|
|
|
|
<li>Icon needs to be set for Object element</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
2022-11-15 20:28:31 +00:00
|
|
|
<span class="phpdocumentor-signature__response_type">void</span>
|
2021-03-08 01:07:47 +00:00
|
|
|
—
|
|
|
|
|
<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-Element-Table.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
|
|
|
|
|
|
|
|
|
</main>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
cssVars({});
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|