/** * Specifies the additional indentation which shall be applied to the first * line of the parent paragraph. This additional indentation is specified * relative to the paragraph indentation which is specified for all other * lines in the parent paragraph. * The firstLine and hanging attributes are * mutually exclusive, if both are specified, then the firstLine value is * ignored. * If the firstLineChars attribute is also specified, then this * value is ignored. * If this attribute is omitted, then its value shall be * assumed to be zero (if needed). * * @return indentation or null if indentation is not set */ public int getIndentationFirstLine() { CTInd indentation = getCTInd(false); return (indentation != null && indentation.isSetFirstLine()) ? indentation.getFirstLine().intValue() : -1; }
if (tmpInd != null) { CTInd cellInd = cellPPr.getInd() != null ? cellPPr.getInd() : cellPPr.addNewInd(); if (tmpInd.getFirstLine() != null) { cellInd.setFirstLine(tmpInd.getFirstLine());
@Override public Float getValue( CTInd ind ) { BigInteger firstLine = ind.getFirstLine(); if ( firstLine != null ) { return DxaUtil.dxa2points( firstLine ); } return null; } }
@Override public Float getValue( CTInd ind ) { BigInteger firstLine = ind.getFirstLine(); if ( firstLine != null ) { return DxaUtil.dxa2points( firstLine ); } return null; } }
@Override public Float getValue( CTInd ind ) { BigInteger firstLine = ind.getFirstLine(); if ( firstLine != null ) { return DxaUtil.dxa2points( firstLine ); } return null; }
@Override public Float getValue( CTInd ind ) { BigInteger firstLine = ind.getFirstLine(); if ( firstLine != null ) { return DxaUtil.dxa2points( firstLine ); } return null; }
/** * Specifies the additional indentation which shall be applied to the first * line of the parent paragraph. This additional indentation is specified * relative to the paragraph indentation which is specified for all other * lines in the parent paragraph. * The firstLine and hanging attributes are * mutually exclusive, if both are specified, then the firstLine value is * ignored. * If the firstLineChars attribute is also specified, then this * value is ignored. * If this attribute is omitted, then its value shall be * assumed to be zero (if needed). * * @return indentation or null if indentation is not set */ public int getIndentationFirstLine() { CTInd indentation = getCTInd(false); return (indentation != null && indentation.isSetFirstLine()) ? indentation.getFirstLine().intValue() : -1; }
/** * Specifies the additional indentation which shall be applied to the first * line of the parent paragraph. This additional indentation is specified * relative to the paragraph indentation which is specified for all other * lines in the parent paragraph. * The firstLine and hanging attributes are * mutually exclusive, if both are specified, then the firstLine value is * ignored. * If the firstLineChars attribute is also specified, then this * value is ignored. * If this attribute is omitted, then its value shall be * assumed to be zero (if needed). * * @return indentation or null if indentation is not set */ public int getIndentationFirstLine() { CTInd indentation = getCTInd(false); return (indentation != null && indentation.isSetFirstLine()) ? indentation.getFirstLine().intValue() : -1; }
private void processIndent( StyleParagraphProperties paragraphProperties, CTInd ctInd ) { BigInteger firstLine = ctInd.getFirstLine(); if ( firstLine != null ) paragraphProperties.setIndentationFirstLine( firstLine.intValue() ); BigInteger left = ctInd.getLeft(); if ( left != null ) paragraphProperties.setIndentationLeft( left.intValue() ); BigInteger right = ctInd.getLeft(); if ( right != null ) paragraphProperties.setIndentationRight( right ); }
if ( ctInd != null ) BigInteger firstLine = ctInd.getFirstLine(); if ( firstLine != null ) cssStyleSheet.setCSSProperty( TEXT_INDENT, dxa2points( firstLine ) + "pt" );
BigInteger firstLine = ind.getFirstLine(); if ( firstLine != null )