diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2024-06-25 18:59:23 +0900 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-07-08 19:18:46 +0200 |
commit | 9aaf21b2851410492797a7dcf9193396c8bde770 (patch) | |
tree | ffd0a34ab8e74508b262463706e0fc874fabbce6 /include/vcl | |
parent | 6211461c50a4b713c81fc53ccafcfdf701c7388f (diff) |
sd: function to return a presentation info in a JSON document
The presentation info includes properties like document size, if the
slide is visible, master slide information and similar.
[ Miklos: don't refer to removed tools::ScopedJsonWriterArray. ]
Change-Id: I5b0acff2ee0df351dd1859e02695ca249e17c391
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170155
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/ITiledRenderable.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/vcl/ITiledRenderable.hxx b/include/vcl/ITiledRenderable.hxx index be6c050ad36d..483176aca3b8 100644 --- a/include/vcl/ITiledRenderable.hxx +++ b/include/vcl/ITiledRenderable.hxx @@ -384,6 +384,12 @@ public: * @param pViewShell the view to get the options from, if nullptr the current view shell is used */ virtual OString getViewRenderState(SfxViewShell* = nullptr) { return rtl::OString(); } + + /** Return JSON structure filled with the information about the presentation (Impress only function) */ + virtual OString getPresentationInfo() const + { + return {}; + } }; } // namespace vcl |