diff options
author | Vishv Brahmbhatt <vishvbrahmbhatt19@gmail.com> | 2013-07-31 01:58:58 +0530 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-08-26 14:47:24 +0200 |
commit | 7885ead7ee4ed8858655001bedd1b312c03a452b (patch) | |
tree | 777facc620144f925da299b5dc63755ffb1a2bdf /sd/inc | |
parent | 52abaef5db0dd1a7e55874b5d7e92fa378379906 (diff) |
Temporarily adding new methods to "drawdoc.cxx".
Adding new methods to "SdDrawDocument" class to set the vector "layoutlist"
from the constructor of "SdDrawDocument" and use it in "CalcAutoLayoutRectangles".
Build got failed in-between,so authentication of it's working is left to be done.
Change-Id: Ia614ab0e1d45022d770e61d27b0ae6c74dc71bf8
Diffstat (limited to 'sd/inc')
-rw-r--r-- | sd/inc/drawdoc.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx index f33cfdedaeb4..58736028422c 100644 --- a/sd/inc/drawdoc.hxx +++ b/sd/inc/drawdoc.hxx @@ -30,6 +30,7 @@ #include <unotools/charclass.hxx> #include <sot/storage.hxx> #include <rsc/rscsfx.hxx> +#include <com/sun/star/xml/dom/XNode.hpp> #include <svx/svdundo.hxx> @@ -188,6 +189,7 @@ private: DECL_LINK(OnlineSpellEventHdl, EditStatus*); std::vector< OUString > maAnnotationAuthors; + std::vector<com::sun::star::uno::Reference<com::sun::star::xml::dom::XNode>> layoutinfo; bool mbUseEmbedFonts; @@ -262,6 +264,9 @@ public: bool IsExitAfterPresenting() const; void SetExitAfterPresenting( bool bExitAfterPresenting ); + void SetLayoutVector(); + std::vector<com::sun::star::uno::Reference<com::sun::star::xml::dom::XNode>> GetLayoutVector(); + /** Insert pages into this document This method inserts whole pages into this document, either @@ -307,7 +312,6 @@ public: Whether the replace operation should take the name from the new page, or preserve the old name */ - sal_Bool InsertBookmarkAsPage(const std::vector<OUString> &rBookmarkList, std::vector<OUString> *pExchangeList, sal_Bool bLink, sal_Bool bReplace, sal_uInt16 nPgPos, |