void XHTMLTagParagraphWithControlAction::doAtStart(XHTMLReader &reader, const char**) { if (myControl == TITLE && bookReader(reader).model().bookTextModel()->paragraphsNumber() > 1) { bookReader(reader).insertEndOfSectionParagraph(); } reader.pushTextKind(myControl); beginParagraph(reader); }
void XHTMLTagParagraphAction::doAtStart(XHTMLReader &reader, const char**) { if (!reader.myNewParagraphInProgress) { reader.pushTextKind(myTextKind); reader.beginParagraph(); reader.myNewParagraphInProgress = true; } }
void XHTMLTagPreAction::doAtStart(XHTMLReader &reader, const char**) { reader.myPreformatted = true; reader.pushTextKind(PREFORMATTED); beginParagraph(reader); }
void XHTMLTagControlAction::doAtStart(XHTMLReader &reader, const char**) { reader.pushTextKind(myControl); bookReader(reader).addControl(myControl, true); }