The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Prty::Sdoc::Paragraph - Paragraph

BASE CLASS

Prty::Sdoc::Node

DESCRIPTION

Ein Objekt der Klasse repräsentiert einen Paragraph im Sdoc-Parsingbaum.

ATTRIBUTES

type => 'Paragraph'

Typ des Knotens

parent => $parent

Verweis auf übergeordneten Knoten.

text => $text

Text des Paragraphs.

METHODS

Konstruktor

new() - Konstruktor

Synopsis

    $node = $class->new($doc,$parent);

Description

Lies Paragraph aus Textdokument $doc und liefere eine Referenz auf dieses Objekt zurück.

Methods

lines() - Liefere die Anzahl der Textzeilen

Synopsis

    $n = $node->lines;

dump() - Erzeuge externe Repräsentation für Paragraph-Knoten

Synopsis

    $str = $node->dump($format,@args);

Description

Erzeuge eine externe Repräsentation für den Paragraph-Knoten und liefere diese zurück.

VERSION

1.112

AUTHOR

Frank Seitz, http://fseitz.de/

COPYRIGHT

Copyright (C) 2017 Frank Seitz

LICENSE

This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.