namespace sd
{ /** This derivation of the svx::SpellDialogChildWindow base class providesDrawandImpressspecificimplementationsof GetNextWrongSentence()andApplyChangedSentence().
*/ class SpellDialogChildWindow final : public svx::SpellDialogChildWindow, public SfxListener
{ public:
SpellDialogChildWindow(vcl::Window* pParent, sal_uInt16 nId, SfxBindings* pBindings,
SfxChildWinInfo* pInfo); virtual ~SpellDialogChildWindow() override;
/** This method makes the one from the base class public so that itcanbecalledfromtheviewshellwhenoneiscreated.
*/ void InvalidateSpellDialog();
private: /** Iterate over the sentences in all text shapes and stop at the nextsentencewithspellingerrors.Whiledoingsotheview modemaybechangedandtextshapesaresetintoeditmode.
*/ virtual svx::SpellPortions GetNextWrongSentence(bool bRecheck) override;
/** This method is responsible for merging corrections made in the spellingdialogbackintothedocument.
*/ virtualvoid ApplyChangedSentence(const svx::SpellPortions& rChanged, bool bRecheck) override; virtualvoid GetFocus() override; virtualvoid LoseFocus() override;
/** This outliner is used to do the main work of iterating over a documentandfindingsentenceswithspellingerrors.
*/
SdOutliner* mpSdOutliner;
/** When this flag is <TRUE/> then eventually we have to destroy theoutlinerinmpSdOutliner.
*/ bool mbOwnOutliner;
/** Provide an outliner in the mpSdOutliner data member. When the viewshellhaschangedsincethelastcallthisincludethe deletion/releaseofformerlycreated/obtainedonepriorto construction/obtainingofanewone.
*/ void ProvideOutliner();
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.