Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TableSettings #2

Open
fabbaum opened this issue Sep 1, 2024 · 0 comments
Open

TableSettings #2

fabbaum opened this issue Sep 1, 2024 · 0 comments

Comments

@fabbaum
Copy link

fabbaum commented Sep 1, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant