#include "nsISupports.idl"

interface nsIScriptEditor;

[scriptable, uuid(2fcece94-dc4a-4be8-992b-fe8845575d83)]
interface nsIScriptPaginator : nsISupports
{
  readonly attribute long pageCount;
  attribute long linesPerPage;
  attribute long fontSize;

  void init (in nsIScriptEditor aEditor);
  void resetCache ();
  void cacheExistingPageBreaks ();
  void adjustPageBreaks ();
  void adjustSynchronously ();
};
