/** * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. * * @param parent * The parent object in the object tree. * @param unmarshaller * The unmarshaller that generated the instance. */ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { setParent(parent); }
/** * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. * * @param parent * The parent object in the object tree. * @param unmarshaller * The unmarshaller that generated the instance. */ public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { setParent(parent); }
public void saveStyle() { if (!newCellXfs.isEmpty()) { CTCellXfs ctCellXfs = ctStylesheet.getCellXfs(); if (ctCellXfs == null) { ctCellXfs = new CTCellXfs(); ctStylesheet.setCellXfs(ctCellXfs); } ctCellXfs.setCount((long) cellXfsIndex.size()); List<CTXf> xfs = ctCellXfs.getXf(); for (CellXfs cellXfs : newCellXfs) { CTXf ctXf = new CTXf(); ctXf.setNumFmtId(cellXfs.getNumFmtId()); ctXf.setFontId(cellXfs.getFontId()); ctXf.setFillId(cellXfs.getFillId()); ctXf.setBorderId(cellXfs.getBorderId()); ctXf.setXfId(cellXfs.getXfId()); ctXf.setParent(ctCellXfs); xfs.add(ctXf); } } }
public void saveStyle() { if (!newCellXfs.isEmpty()) { CTCellXfs ctCellXfs = ctStylesheet.getCellXfs(); if (ctCellXfs == null) { ctCellXfs = new CTCellXfs(); ctStylesheet.setCellXfs(ctCellXfs); } ctCellXfs.setCount((long) cellXfsIndex.size()); List<CTXf> xfs = ctCellXfs.getXf(); for (CellXfs cellXfs : newCellXfs) { CTXf ctXf = new CTXf(); ctXf.setNumFmtId(cellXfs.getNumFmtId()); ctXf.setFontId(cellXfs.getFontId()); ctXf.setFillId(cellXfs.getFillId()); ctXf.setBorderId(cellXfs.getBorderId()); ctXf.setXfId(cellXfs.getXfId()); ctXf.setParent(ctCellXfs); xfs.add(ctXf); } } }