That's just what I was looking for, thanks!

Jan

On 7 April 2010 15:19, Paul Spencer <[email protected]> wrote:

> Jan,
> In 3.6, I use the following:
> >               // Ignore cells marked with Strike through font attribute
> >               CellStyle style = cell.getCellStyle();
> >               Font cellFont = cell.getSheet().getWorkbook().getFontAt(
> >                               style.getFontIndex());
> >               if (cellFont.getStrikeout()) {
> >                       return;
> >               }
>
> Paul Spencer
>
>
> On Apr 7, 2010, at 9:25 AM, Jan Stette wrote:
>
> > Hi all,
> >
> > is there a way to get details about whether a cell has a "strikethrough"
> > style applied?  I can't find any reference to this in either the
> CellStyle
> > class or the HSSFRichTextString class.
> >
> > Thanks,
> > Jan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to