A FlowDocument needs an already created renderer, and style options.
Output text.
Line break.
Next page.
Enter <h1> title.
Exit </h1> title.
Enter <h2> title.
Exit </h2> title.
Enter <h3> title.
Exit </h3> title.
Enter <h4> title.
Exit </h4> title.
Enter <h5> title.
Exit </h5> title.
Enter <h6> title.
Exit </h6> title.
Enter <b>.
Exit </b>.
Enter <strong>.
Exit </strong>.
Enter <i>.
Exit </i>.
Enter <em>.
Exit </em>.
Enter <p>.
Exit </p>.
Enter <pre>.
Exit </pre>.
Enter <code>.
Exit </code>.
Enter <ol>.
Exit </ol>.
Enter <ul>.
Exit </ul>.
Enter <li>.
Exit </li>.
Enter <img>.
Exit </img>.
You MUST make that call before getting the bytes output of the renderer. No subsequent can be made with that IFlowDocument.
Concrete implementation of IFlowDocument using a `