IBibliographyStylesProvider class
IBibliographyStylesProvider class
Implement this interface to provide bibliography style for the FieldBibliography and FieldCitation fields when they’re updated.
Methods
| Name | Description |
|---|---|
| get_style(style_file_name) | Returns bibliography style. |
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
- module aspose.words.fields