PerlDoc

24 Jun 2022 - 10:02 | Version 1 |
See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview


Parent package: Foswiki::Plugins::EditTablePlugin
Child packages:

    Helper class parses tables to take out table texts, and stores table cell data.

    Constructor

    parseText($text)

    The guts of this routine was initially copied from SpreadSheetPlugin.pm and were used in the ChartPlugin Table object which this was copied from, but this has been modified to support the functionality needed by the EditTablePlugin. One major change is to only count and save tables following an tag.

    This routine basically returns an array of hashes where each hash contains the information for a single table. Thus the first hash in the array represents the first table found on the topic page, the second hash in the array represents the second table found on the topic page, etc.

    _trimCellsInRow (\@rowCells)

    Trim any leading and trailing white space and/or '*'.

    _trimSpaces( $text ) -> $text

    Removes spaces from both sides of the text.

    Puts tags on a new line to better deal with TablePlugin variables: because $PATTERN_EDITTABLEPLUGIN is greedy this tag would otherwise be grabbed together with the EDITTABLE tag

    Return the contents of the specified cell

    Return an entire table, or an empty list
    Kontakt
    Pädagogische Hochschule Schwyz
    Zaystrasse 42
    CH-6410 Goldau
    T +41 41 859 05 90
    info@phsz.ch Dies ist ein Wiki des Fachkerns Medien und Informatik der Pädagogischen Hochschule Schwyz. Für Fragen wenden Sie sich bitte an wikiadmin@phsz.ch
    This page was cached on 08 Apr 2025 - 19:08.
    This website is using cookies. More info. That's Fine