forcePageBreak method

void forcePageBreak()

Ends the current page and starts a new one (WML <newpage/>); no blank page is produced.

Implementation

void forcePageBreak() {
  if (_hadRecordThisPage) {
    _newPageEnd();
    wap.wapBlockId = 'PAGEBREAK';
    parseBlock('PAGEBREAK');
    _newPageStart();
  }
}