/** * Set the width value type for the table. * <p>If the width type is changed from the current type and the currently-set value * is not consistent with the new width type, the value is reset to the default value * for the specified width type.</p> * * @param widthType Width type * @since 4.0.0 */ public void setWidthType(TableWidthType widthType) { XWPFTable.setWidthType(widthType, getTcWidth()); }
/** * Set the width value type for the table. * <p>If the width type is changed from the current type and the currently-set value * is not consistent with the new width type, the value is reset to the default value * for the specified width type.</p> * * @param widthType Width type * @since 4.0.0 */ public void setWidthType(TableWidthType widthType) { setWidthType(widthType, getTblPr().getTblW()); }
/** * Set the width value type for the table. * <p>If the width type is changed from the current type and the currently-set value * is not consistent with the new width type, the value is reset to the default value * for the specified width type.</p> * * @param widthType Width type * @since 4.0.0 */ public void setWidthType(TableWidthType widthType) { XWPFTable.setWidthType(widthType, getTcWidth()); }
/** * Set the width value type for the table. * <p>If the width type is changed from the current type and the currently-set value * is not consistent with the new width type, the value is reset to the default value * for the specified width type.</p> * * @param widthType Width type * @since 4.0.0 */ public void setWidthType(TableWidthType widthType) { setWidthType(widthType, getTblPr().getTblW()); }