summaryrefslogtreecommitdiffstats
path: root/desktop/inc
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-04-06 12:17:23 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-04-08 13:15:55 +0200
commit7f63706ad64ed781f8c3cdeeb28a44a3c31f432c (patch)
tree2171ad9d811a50dd7c2f58c3b896aa3508b5cf57 /desktop/inc
parentliblo: clean-up liblibreoffice.h(xx) (diff)
downloadcore-7f63706ad64ed781f8c3cdeeb28a44a3c31f432c.tar.gz
core-7f63706ad64ed781f8c3cdeeb28a44a3c31f432c.zip
liblo: extend doc_saveAs with filterOptions
Change-Id: I720f2819955b6f26ea7161493cccb07f873f2a51
Diffstat (limited to 'desktop/inc')
-rw-r--r--desktop/inc/liblibreoffice.h3
-rw-r--r--desktop/inc/liblibreoffice.hxx4
2 files changed, 4 insertions, 3 deletions
diff --git a/desktop/inc/liblibreoffice.h b/desktop/inc/liblibreoffice.h
index 37920ceb8ddc..e9df56602083 100644
--- a/desktop/inc/liblibreoffice.h
+++ b/desktop/inc/liblibreoffice.h
@@ -35,7 +35,8 @@ struct _LibreOfficeDocument
void (*destroy) (LibreOfficeDocument* pThis);
int (*saveAs) (LibreOfficeDocument* pThis,
const char *pUrl,
- const char *pFormat);
+ const char *pFormat,
+ const char *pFilterOptions);
};
LibreOffice* lo_init (const char* pInstallPath);
diff --git a/desktop/inc/liblibreoffice.hxx b/desktop/inc/liblibreoffice.hxx
index 9076992da073..ef01cb31620b 100644
--- a/desktop/inc/liblibreoffice.hxx
+++ b/desktop/inc/liblibreoffice.hxx
@@ -35,9 +35,9 @@ public:
}
// Save as the given format, if format is NULL sniff from ext'n
- inline bool saveAs(const char* pUrl, const char* pFormat = NULL)
+ inline bool saveAs(const char* pUrl, const char* pFormat = NULL, const char* pFilterOptions = NULL)
{
- return mpDoc->saveAs(mpDoc, pUrl, pFormat);
+ return mpDoc->saveAs(mpDoc, pUrl, pFormat, pFilterOptions);
}
};