Maxscape::TextFormat Package

Synopsis

use Maxscape::HTML::TextFormat;

Description

HTML and text format functions.

Examples

use Maxscape::HTML::TextFormat;
my $F = Maxscape::HTML::TextFormat->new ();
my $Text = $F->dl(style => 'Strinx', content => ['1st dt', '1 dd',]);

List of Member Functions

  1. dl
  2. new
  3. Paragraph
  4. Parser
  5. plainTextToHTML
  6. processInlineElement
  7. Text_with_Image
  8. ul

Member Functions

new

Synopsis

my $F = Maxscape::HTML::TextFormat->new (%Parameter);

Description

Creates a new new maXscape::TextFormat object.

Examples

use Maxscape::HTML::TextFormat;
my $F = Maxscape::HTML::TextFormat->new (Page => $Page, style => 'Strinx',);

dl

Synopsis

my $Text = $T->dl(style => 'Strinx', content => ['', '',]);

Description

Returns an HTML dl tag.

Examples

$Page->{T}->dl (style => '', content => [
  'My Home', 'get to know who is online',
  '', '',
]);
$Page->{T}->dl (content => [
    '', '',
]);

# embedded example
@{[
  $Page->{T}->dl (style => '', content => [ '', '', ])
]}

ul

Synopsis

my $Text = $T->ul (style => 'Strinx', content => ['', '',]);

Description

Returns an HTML ul tag.

Examples

$Page->{T}->ul (content => [
    '', '',
]);
$Page->{T}->ul (style => '', content => [
  '', '',
]);

# embedded example
@{[ $Page->{T}->ul (content => [
    '', '',
])]}

plainTextToHTML

Synopsis

my $Text = $T->plainTextToHTML (Text=> '');

Description

Converts plain text to HTML.

Parser

Synopsis

my $Text = $T->Parser ($Text);

Description

Converts plain text to HTML.

Text_with_Image

Synopsis

my $Text = $T->Text_with_Image ($Data);

Description

Opens a window with an image.

Paragraph

Synopsis

my $Text = $T->Paragraph ($Data);

Description

Returns a paragraph with a HTML header.

processInlineElement

Synopsis

my ($Text, $DataText) = $T->Paragraph ($Data);

Description

Returns a process text.

1
Next ∙ Previous ∙ Top ∙ Join ∙ Contact © Maxscape