29namespace com :: sun :: star :: awt {
class XToolkit; }
30namespace com :: sun :: star :: frame {
class XModel; }
31namespace com :: sun :: star :: lang {
class XComponent; }
32namespace com :: sun :: star :: view {
class XRenderable; }
46 const css::uno::Reference<css::lang::XComponent>&
mxDocument;
55 css::uno::Reference<css::frame::XModel>
mxModel;
63 bool hasSelection()
const;
68 css::uno::Any getSelection()
const;
70 sal_Int32 getCurrentPageWriter();
76 sal_Int32 getCurrentPage();
82 const std::vector<OUString>& getChapterNames()
const;
84 Size getDocumentSizeInPixels( sal_Int32 nCurrentPage );
86 Size getDocumentSizeIn100mm(sal_Int32 nCurrentPage,
Point* pDocumentPosition =
nullptr,
87 Point* pCalcPagePosition =
nullptr,
Size *pCalcPageSize =
nullptr);
89 Graphic renderToGraphic( sal_Int32 nCurrentPage,
Size aDocumentSizePixel,
90 Size aTargetSizePixel,
Color aPageColor,
bool bExtOutDevData);
98 static bool isShapeSelected(
99 css::uno::Reference< css::drawing::XShapes > & rxShapes,
100 css::uno::Reference< css::drawing::XShape > & rxShape,
101 const css::uno::Reference< css::frame::XController > & rxController );
103 bool isWriter()
const;
105 bool isImpress()
const;
const css::uno::Reference< css::lang::XComponent > & mxDocument
std::vector< OUString > maChapterNames
css::uno::Reference< css::awt::XToolkit > mxToolkit
css::uno::Reference< css::view::XRenderable > mxRenderable
css::uno::Reference< css::frame::XModel > mxModel
css::uno::Reference< css::frame::XController > mxController
css::uno::Any maSelection
sal_Int32 getPageCount(const uno::Reference< frame::XModel > &xModel)