public String toFormulaString(String[] operands) { if (space.isSet(_options)) { return operands[0]; } else if (optiIf.isSet(_options)) { return toFormulaString() + "(" + operands[0] + ")"; } else if (optiSkip.isSet(_options)) { return toFormulaString() + operands[0]; // goto isn't a real formula element should not show up } else { return toFormulaString() + "(" + operands[0] + ")"; } }
public String toFormulaString() { if (semiVolatile.isSet(_options)) { return "ATTR(semiVolatile)"; } if (optiIf.isSet(_options)) { return "IF"; } if (optiChoose.isSet(_options)) { return "CHOOSE"; } if (optiSkip.isSet(_options)) { return ""; } if (optiSum.isSet(_options)) { return "SUM"; } if (baxcel.isSet(_options)) { return "ATTR(baxcel)"; } if (space.isSet(_options)) { return ""; } return "UNKNOWN ATTRIBUTE"; }
private boolean isExtendedText() { return extBit.isSet(getOptionFlags()); }
/** * This bit MUST be ignored * * @return the unused1 field value. * @deprecated This field should not be used according to specification */ @Internal @Deprecated public boolean isUnused1() { return unused1.isSet(field_3_info); }
/** * A bit that specifies whether the level indented the text it was applied to and that the indent * needs to be removed when numbering is removed. The indent to be removed is stored in * dxaIndentSav * * @return the fIndentSav field value. */ @Internal public boolean isFIndentSav() { return fIndentSav.isSet(field_3_info); }
/** * A bit that specifies whether this level overrides the nfc of all inherited level numbers. If * the original nfc of a level number is msonfcArabicLZ, it is preserved. Otherwise, the nfc of * the level number is overridden by msonfcArabic. * * @return the fLegal field value. */ @Internal public boolean isFLegal() { return fLegal.isSet(field_3_info); }
/** @return the fVertMerge field value. */ public boolean isFVertMerge() { return fVertMerge.isSet(field_1_rgf); }
/** @return the fBackward field value. */ public boolean isFBackward() { return fBackward.isSet(field_1_rgf); }
/** @return the fMerged field value. */ public boolean isFMerged() { return fMerged.isSet(field_1_rgf); }
public boolean isSemiVolatile() { return semiVolatile.isSet(_options); }
/** @return the text locked field value. */ public boolean isTextLocked() { return textLocked.isSet(field_1_options); }
public boolean isCalcOnLoad() { return calcOnLoad.isSet(field_5_options); }
public boolean isAlwaysCalc() { return alwaysCalc.isSet(field_5_options); }
public boolean isSharedFormula() { return sharedFormula.isSet(field_5_options); }
/** @return lastcol relative or not */ public final boolean isLastColRelative() { return colRelative.isSet(field_4_last_column); }
/** @return isrelative first column to relative or not */ public final boolean isFirstColRelative() { return colRelative.isSet(field_3_first_column); }
/** @return the fFirstMerged field value. */ public boolean isFFirstMerged() { return fFirstMerged.isSet(field_1_rgf); }
public boolean isOptimizedIf() { return optiIf.isSet(_options); }
/** @return the fVertical field value. */ public boolean isFVertical() { return fVertical.isSet(field_1_rgf); }
public boolean isOptimizedChoose() { return optiChoose.isSet(_options); }
/** @return the fRotateFont field value. */ public boolean isFRotateFont() { return fRotateFont.isSet(field_1_rgf); }
public boolean isSum() { return optiSum.isSet(_options); }
/** @return the fVertRestart field value. */ public boolean isFVertRestart() { return fVertRestart.isSet(field_1_rgf); }
public boolean isSkip() { return optiSkip.isSet(_options); }
/** * A bit that specifies whether the number sequence of the level does not restart after a level is * encountered that is more significant than the level to which this LVLF corresponds * * @return the fNoRestart field value. */ @Internal public boolean isFNoRestart() { return fNoRestart.isSet(field_3_info); }
// lets hope no one uses this anymore private boolean isBaxcel() { return baxcel.isSet(_options); }
/** * A bit that specifies whether the nfc of this LVLF structure was previously a temporary value * used for bidirectional compatibility that was converted into a standard MSONFC * * @return the fConverted field value. */ @Internal public boolean isFConverted() { return fConverted.isSet(field_3_info); }
public boolean isSpace() { return space.isSet(_options); }
/** * A bit that specifies whether the format of the level is tentative * * @return the fTentative field value. */ @Internal public boolean isFTentative() { return fTentative.isSet(field_3_info); }
private boolean isRichText() { return richText.isSet(getOptionFlags()); }