379380381382383384385
ctBrdr.setVal(STBorder.NONE); tableProperties.add(new BorderBottom(ctBrdr)); shd.setColor("auto"); shd.setFill("auto"); shd.setVal(STShd.CLEAR); tableProperties.add(new Shading(shd)); }
524525526527528529530
CTShd shd = null; int resColor = UnitsOfMeasurement.combineColors(fgColor, bgColor, pctFg); shd = Context.getWmlObjectFactory().createCTShd(); shd.setVal(STShd.CLEAR); shd.setFill(calcHexColor(resColor)); return new Shading(shd); }
146147148149150151152153154155
// FOP doesn't support auto, but it degrades gracefully } // otherwise the default 'auto' is implied } if (tblPr.getShd() != null) { properties.add(new Shading(tblPr.getShd())); } return properties; }
193194195196197198199200201
} if (tcPr.getVAlign()!=null) { properties.add(new org.docx4j.model.properties.table.tc.TextAlignmentVertical(tcPr.getVAlign() ) ); } if (tcPr.getShd()!=null) { properties.add(new Shading(tcPr.getShd())); } }