Kaydet (Commit) 366d8fb4 authored tarafından Andrzej Hunt's avatar Andrzej Hunt

LOKDocView: add part name retrieval.

Change-Id: Iac31de0410d7f6187e5884152c329375047a23f4
üst 977ba354
......@@ -62,7 +62,8 @@ int lok_docview_get_parts (LOKDocView* pDocView);
int lok_docview_get_part (LOKDocView* pDocView);
void lok_docview_set_part (LOKDocView* pDocView,
int nPart);
char* lok_docview_get_part_name (LOKDocView* pDocView,
int nPart);
#ifdef __cplusplus
}
#endif
......
......@@ -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: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment