DocGeneratorAPI
.
DocGeneratorAPI api = new DocGeneratorAPI(); api.setSearch(SearchOptions.SEARCH_ON_ANCHORS);
DocGeneratorAPI api = new DocGeneratorAPI(); // set a custom search api.setSearch(SearchOptions.SEARCH_CUSTOM); // specify the custom search categories CustomSearchCategories categories = api.getCustomSearchCategories(); categories.addCategory("Bird"); categories.addCategory("Mammal");
DocGeneratorAPI api = new DocGeneratorAPI(); api.setLocale("fr");
DocGeneratorAPI api = new DocGeneratorAPI(); api.setOutputType("docx");
DocGeneratorAPI api = new DocGeneratorAPI(); api.setHeader("My API wiki");
DocGeneratorAPI api = new DocGeneratorAPI(); Configuration conf = api.getConfiguration(); conf.setArticlesTOC(false);Note that you can set that a specific article must not have a table of content by using the XMLArticle.setTOC(boolean).
DocGeneratorAPI api = new DocGeneratorAPI(); api.createModel(); XMLArticle article = api.createArticle("the first article"); article.setTOC(false);
DocGeneratorAPI api = new DocGeneratorAPI(); Configuration conf = api.getConfiguration(); conf.setHasDictionary(false); conf.setHasCategories(false);
docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.