return variableContainerImpl;
}
private void updateTableToNone(Table table) {
OdfFileDom dom = (OdfFileDom) getTableContainerElement().getOwnerDocument();
TableTableElement tableEle = table.getOdfElement();
String stylename = tableEle.getStyleName();
OdfOfficeAutomaticStyles styles = null;
if (dom instanceof OdfContentDom) {
styles = ((OdfContentDom) dom).getAutomaticStyles();
} else if (dom instanceof OdfStylesDom) {
styles = ((OdfStylesDom) dom).getAutomaticStyles();
}
OdfStyle tableStyle = styles.getStyle(stylename, OdfStyleFamily.Table);
tableStyle.setProperty(StyleTablePropertiesElement.Shadow, "none");
NodeList cells = tableEle.getElementsByTagNameNS(OdfDocumentNamespace.TABLE.getUri(), "table-cell");
if (cells != null && cells.getLength() > 0) {
OdfStyle cellStyleWithoutBorder = styles.newStyle(OdfStyleFamily.TableCell);
cellStyleWithoutBorder.setProperty(StyleTableCellPropertiesElement.Border, "none");
cellStyleWithoutBorder.removeProperty(StyleTableCellPropertiesElement.Padding);
String cellStyleName = cellStyleWithoutBorder.getStyleNameAttribute();