Lines Matching full:if

15  * along with this program. If not, see <https://www.gnu.org/licenses/>.
53 if ($element instanceof ReportBaseElement) {
54 if ($element instanceof ReportBaseText) {
60 if (empty($lastelement)) {
63 // Checking if the Text has the same style
70 // Check if the Footnote has been set with it’s link number
72 // Save first the last element if any
73 if (!empty($lastelement)) {
81 if (!empty($footnote_element)) {
88 if (!empty($lastelement)) {
95 if (!empty($lastelement)) {
99 if (!empty($footnote_element)) {
109 if (!empty($lastelement)) {
112 if (!empty($footnote_element)) {
124 // If current position (left)
125 if ($this->left === ReportBaseElement::CURRENT_POSITION) {
132 // If current position (top)
133 if ($this->top === ReportBaseElement::CURRENT_POSITION) {
140 // Check the width if set to page wide OR set by xml to larger then page width (margin)
141 if ($this->width === 0.0 || $this->width > $renderer->getRemainingWidthPDF()) {
151 if (is_array($cM['cell'])) {
163 // 1 => 1 if text was wrapped, 0 if text did not wrap
170 if (is_object($this->elements[$i])) {
172 if ($ew === $cWT) {
178 if ($lw[1] === 1) {
185 if ($w > $cWT) {
197 // If any element exist
198 if ($cE > 0) {
199 // Check if this is text or some other element, like images
200 if ($eH === 0.0) {
206 if ($this->padding) {
207 if (is_array($cM['cell'])) {
213 if ($cH < $cHT) {
222 if ($cH < $renderer->lastCellHeight) {
225 // Add a new page if needed
226 if ($this->pagecheck) {
229 if ($renderer->checkPageBreakPDF($cH)) {
236 if ($this->border) {
241 if ($this->fill) {
242 if (preg_match('/#?(..)(..)(..)/', $this->bgcolor, $match)) {
253 if (!empty($cS)) {
254 if (!$renderer->tcpdf->getRTL()) {
261 // Add cell padding if set and if any text (element) exist
262 if ($this->padding) {
263 if ($cHT > 0) {
264 if (is_array($cM['cell'])) {
272 if (!$renderer->tcpdf->getRTL()) {
273 if ($this->padding) {
274 if (is_array($cM['cell'])) {
284 if (is_array($cM['cell'])) {
299 if ($element instanceof ReportBaseElement) {
312 if ($this->reseth) {
315 if ($cPN !== $renderer->tcpdf->getPage()) {
320 if (!$this->newline) {