incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Alexandre Ferreira Leite (JIRA)" <>
Subject [jira] [Commented] (ODFTOOLKIT-349) Setting red color gets the text stricken
Date Tue, 03 Dec 2013 15:19:35 GMT


Leonardo Alexandre Ferreira Leite commented on ODFTOOLKIT-349:

Today i investigated this behavior using the repo version.
(by the way, maven run well without issues :)
Now the current behavior is no more related to strike,
but the text simply does not appear.

i found out that the font returned by  

Font font = cell.getFont(); 

has size equals zero!
Therefore a possible workaround is

		Font font = cell.getFont();

but i think that maybe the returned font should inherit the size from somewhere. right?

> Setting red color gets the text stricken
> ----------------------------------------
>                 Key: ODFTOOLKIT-349
>                 URL:
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: simple api
>    Affects Versions: 0.7-incubating
>         Environment: Ubuntu 12.05, Open JDK 6
>            Reporter: Leonardo Alexandre Ferreira Leite
>            Priority: Minor
> The following excerpt should make the font color become red, but the font color gets
black (as it already was) and the text get stricken! 
>  Cell cell = table.getCellByPosition(col+l);
>  Font font = cell.getFont();
>  font.setColor(Color.RED);
>  cell.setFont(font);

This message was sent by Atlassian JIRA

View raw message