bibliography_styles_provider property

FieldOptions.bibliography_styles_provider property

Gets or sets a provider that returns a bibliography style for the FieldBibliography and FieldCitation fields.

@property
def bibliography_styles_provider(self) -> aspose.words.fields.IBibliographyStylesProvider:
    ...

@bibliography_styles_provider.setter
def bibliography_styles_provider(self, value: aspose.words.fields.IBibliographyStylesProvider):
    ...

Examples

Shows how to override built-in styles or provide custom one (BibliographyStylesProvider).

class BibliographyStylesProvider(aw.fields.IBibliographyStylesProvider):

    def get_style(self, style_file_name):
        return system_helper.io.File.open_read(MY_DIR + 'Bibliography custom style.xsl')

See Also