Skip to content

Paragraph ​

php
final readonly class PPTXenigma\Paragraph

A paragraph of a note: its runs of text, and its place in a list if it has one.

Source: src/Paragraph.php

Methods ​

__construct() ​

php
public function __construct(array $inlines, ListItem $item = null)

isBlank() ​

php
public function isBlank(): bool

text() ​

php
public function text(): string

The text of the paragraph, without any style.

trimmedText() ​

php
public function trimmedText(): string

The text without the spaces around it, the non-breaking ones included.

Documentation of 1.0.0 , built from 5dd2e99 on 1.0.0 by pipeline #37507528046 on 2026-10-06.