TER ChangeTransactor::doApply () { if (mTxn.getTxnType () == ttFEATURE) return applyFeature (); if (mTxn.getTxnType () == ttFEE) return applyFee (); return temUNKNOWN; }
void XtgScanner::setSubscript() { applyFeature(CharStyle::SUBSCRIPT); }
void XtgScanner::setSuperscript() { applyFeature(CharStyle::SUPERSCRIPT); }
void XtgScanner::setSmallCaps() { applyFeature(CharStyle::SMALLCAPS); }
void XtgScanner::setStrikethrough() { applyFeature(CharStyle::STRIKETHROUGH); }
void XtgScanner::setUnderline() { applyFeature(CharStyle::UNDERLINE); }
void XtgScanner::setOutline() { applyFeature(CharStyle::OUTLINE); }
void XtgScanner::setShadow() { applyFeature(CharStyle::SHADOWED); }
void XtgScanner::setSuperior() { styleEffects &= ~ScStyle_Subscript; applyFeature(ScStyle_Superscript); }
void XtgScanner::setSmallCaps() { styleEffects &= ~ScStyle_AllCaps; applyFeature(ScStyle_SmallCaps); }
void XtgScanner::setStrikethrough() { applyFeature(ScStyle_Strikethrough); }
void XtgScanner::setWordUnder() { styleEffects &= ~ScStyle_Underline; applyFeature(ScStyle_UnderlineWords); }
void XtgScanner::setUnderline() { styleEffects &= ~ScStyle_UnderlineWords; applyFeature(ScStyle_Underline); }
void XtgScanner::setOutline() { applyFeature(ScStyle_Outline); }
void XtgScanner::setShadow() { applyFeature(ScStyle_Shadowed); }