/** * This element specifies the height of the current table row within the * current table. This height shall be used to determine the resulting * height of the table row, which may be absolute or relative (depending on * its attribute values). If omitted, then the table row shall automatically * resize its height to the height required by its contents (the equivalent * of an hRule value of auto). * * @param height */ public void setHeight(int height) { CTTrPr properties = getTrPr(); CTHeight h = properties.sizeOfTrHeightArray() == 0 ? properties.addNewTrHeight() : properties.getTrHeightArray(0); h.setVal(new BigInteger(Integer.toString(height))); }
/** * This element specifies the height of the current table row within the * current table. This height shall be used to determine the resulting * height of the table row, which may be absolute or relative (depending on * its attribute values). If omitted, then the table row shall automatically * resize its height to the height required by its contents (the equivalent * of an hRule value of auto). * * @param height */ public void setHeight(int height) { CTTrPr properties = getTrPr(); CTHeight h = properties.sizeOfTrHeightArray() == 0 ? properties.addNewTrHeight() : properties.getTrHeightArray(0); h.setVal(new BigInteger(Integer.toString(height))); }
/** * This element specifies the height of the current table row within the * current table. This height shall be used to determine the resulting * height of the table row, which may be absolute or relative (depending on * its attribute values). If omitted, then the table row shall automatically * resize its height to the height required by its contents (the equivalent * of an hRule value of auto). * * @param height */ public void setHeight(int height) { CTTrPr properties = getTrPr(); CTHeight h = properties.sizeOfTrHeightArray() == 0 ? properties.addNewTrHeight() : properties.getTrHeightArray(0); h.setVal(new BigInteger("" + height)); }
CTTrPr trPr = dscRow.getCtRow().addNewTrPr(); CTHeight ht = trPr.addNewTrHeight(); ht.setVal(BigInteger.valueOf((long) (360 * 4 * tableStyle.getHeight(i))));
CTTrPr trPr = dscRow.getCtRow().addNewTrPr(); CTHeight ht = trPr.addNewTrHeight(); ht.setVal(BigInteger.valueOf((long)(360*4*tableStyle.getHeight(i))));
CTTrPr trPr = dscRow.getCtRow().addNewTrPr(); CTHeight ht = trPr.addNewTrHeight(); ht.setVal(BigInteger.valueOf((long) (360 * 4 * tableStyle.getHeight(i))));
ht.setVal(BigInteger.valueOf(360));