SwTwips SwIsoToxPortion::GetViewWidth(const SwTextSizeInfo& rInf) const
{ // Although we are const, nViewWidth should be calculated in the last // moment possible
SwIsoToxPortion* pThis = const_cast<SwIsoToxPortion*>(this); // nViewWidth need to be calculated if( !Width() && rInf.OnWin() &&
!rInf.GetOpt().IsPagePreview() &&
!rInf.GetOpt().IsReadonly() && rInf.GetOpt().IsFieldShadings() )
{ if( !m_nViewWidth )
pThis->m_nViewWidth = rInf.GetTextSize(OUString(' ')).Width();
} else
pThis->m_nViewWidth = 0; return m_nViewWidth;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.