class TableOfContentsCreator {

    public boolean shouldGenerateToC() {
        return params.getTableOfContentsPolicy() != ToCPolicy.NONE;
    }

    public  TableOfContentsCreator(MergeParameters params, PDDocument document);

}