Implement XDrawPagesSupplier in SwXTextDocument

Desktop / LibreOffice - Mike Kaganski [collabora.com] - 7 February 2018 13:13 EST

Text documents only exposed deprecated XDrawPageSupplier interface (see https://api.libreoffice.org/docs/idl/ref/deprecated.html). Other documents (spreadsheets, Draw and Impress documents) only expose XDrawPagesSupplier interface. Implementing the latter for text documents (which would only provide a single page) allows for uniform handling of draw pages across all modules.

Change-Id: Ib9e719c6130bc3c968d92c6864fa413ad2c0e3b9 Reviewed-on: https://gerrit.libreoffice.org/47681

da0815e8a2e8 Implement XDrawPagesSupplier in SwXTextDocument
sw/inc/unotxdoc.hxx | 5 +++
sw/qa/extras/uiwriter/uiwriter.cxx | 21 +++++++++++++
sw/source/uibase/uno/unotxdoc.cxx | 64 ++++++++++++++++++++++++++++++++++++++
3 files changed, 90 insertions(+)

Upstream: cgit.freedesktop.org


  • Share