Dear,



*How to set column width styles ?*        final OdfStyle
cabecalhoSubDinamico =
spreadsheetDocument.getOrCreateDocumentStyles().newStyle(EstiloHelper.STYLE_CABECALHO_SUB_DINAMICO,
OdfStyleFamily.TableCell);
        cabecalhoSubDinamico.setProperty(StyleTextPropertiesElement.Color,
"#000000");

cabecalhoSubDinamico.setProperty(StyleTextPropertiesElement.FontSize,
"10pt");

cabecalhoSubDinamico.setProperty(StyleTextPropertiesElement.FontWeight,
"bold");

cabecalhoSubDinamico.setProperty(StyleParagraphPropertiesElement.TextAlign,
"center");

cabecalhoSubDinamico.setProperty(StyleTableCellPropertiesElement.VerticalAlign,
"middle");

cabecalhoSubDinamico.setProperty(StyleTableCellPropertiesElement.Border,
"0.0007in solid #000000");

cabecalhoSubDinamico.setProperty(StyleTableCellPropertiesElement.BackgroundColor,
"#c0c0c0");
//
cabecalhoSubDinamico.setProperty(StyleTableCellPropertiesElement.WrapOption,
"wrap");


Atenciosamente,

Rafael Nunes
I'm free - Linux
Linux User #439174
http://www.linkedin.com/in/mederafael

Reply via email to