diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-07-29 13:17:30 +0200 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-07-30 12:44:02 +0200 |
commit | 366d8fb4dbe829653a4996acc8e9bae512ed0155 (patch) | |
tree | eac9aa93439178bd83081880366b843488ad4ced /libreofficekit | |
parent | 977ba354b2256da7c871179a75b72c4f568d5fcb (diff) |
LOKDocView: add part name retrieval.
Change-Id: Iac31de0410d7f6187e5884152c329375047a23f4
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.c b/libreofficekit/source/gtk/lokdocview.c index 07d07a1e9c64..cb045ce5aee3 100644 --- a/libreofficekit/source/gtk/lokdocview.c +++ b/libreofficekit/source/gtk/lokdocview.c @@ -204,5 +204,8 @@ SAL_DLLPUBLIC_EXPORT void lok_docview_set_part( LOKDocView* pDocView, int nPart) renderDocument( pDocView ); } - +SAL_DLLPUBLIC_EXPORT char* lok_docview_get_part_name( LOKDocView* pDocView, int nPart ) +{ + return pDocView->pDocument->pClass->getPartName( pDocView->pDocument, nPart ); +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |