addBibliography

addBibliography

ADVANCED / PREMIUM BASIC

Inserts a bibliography into the Word document.

Description
public void addBibliography() throws Exception
public void addBibliography(OptionsBibliography options) throws Exception
public void addBibliography(OptionsBibliography options, WordFragment legend) throws Exception

This method allows you to include a bibliography in you Word document.

New contents to be displayed in a bibliography can be added using addSource and addCitation methods.

Parameters

options

Option Type Description
autoUpdate Boolean If true it will try to update the bibliography when first opened.

legend

Key Type Description
legend WordFragment The placeholder text that will be shown if the autoupdate option is not activated.
Code samples

Example #1