Skip to content

TableSettings #2

Description

@fabbaum

Firstly, thank you for this package.
Unfortunately I am not fit enough in Perl to offer a pull request.

The font and font size are hardcoded. The values from the system configuration are not adopted.

        my %TableParam;

        $TableParam{CellData}[0][0]{Font}     = 'ProportionalBold';
        $TableParam{CellData}[0][0]{FontSize} = 11;
        $TableParam{CellData}[0][0]{Align}    = 'center';
        $TableParam{CellData}[0][0]{Content}  = $TextData[0];

        VALUEROW:
        for my $RowCount ( 1 .. $#TextData ) {
            $TableParam{CellData}[$RowCount][0]{Font}     = 'Proportional';
            $TableParam{CellData}[$RowCount][0]{FontSize} = 8;
            $TableParam{CellData}[$RowCount][0]{Align}    = 'center';
            $TableParam{CellData}[$RowCount][0]{Content}  = $TextData[$RowCount];
        }

It would also be great if the table header and the table rows could also be individually predefined in the system configuration.

It would also be nice if the table could also be left- or right-aligned. This is also hardcoded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions