
## get_style(style_file_name) {#str}

Returns bibliography style.


```python
def get_style(self, style_file_name: str):
    ...
```

| Parameter | Type | Description |
| --- | --- | --- |
| style_file_name | str | The bibliography style file name. |

### Remarks

The implementation should return ``None`` to indicate that
the MS Word version of specified style should be used.



### Returns

The io.BytesIO with bibliography style XSLT stylesheet.


### Examples

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

```python
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](../../)
* class [IBibliographyStylesProvider](../)

