diff options
Diffstat (limited to 'sw/source/filter/ww8/writerhelper.hxx')
-rw-r--r-- | sw/source/filter/ww8/writerhelper.hxx | 43 |
1 files changed, 9 insertions, 34 deletions
diff --git a/sw/source/filter/ww8/writerhelper.hxx b/sw/source/filter/ww8/writerhelper.hxx index fa8a17fd5312..18e73b1e2d56 100644 --- a/sw/source/filter/ww8/writerhelper.hxx +++ b/sw/source/filter/ww8/writerhelper.hxx @@ -39,13 +39,14 @@ #include <com/sun/star/embed/XEmbeddedObject.hpp> #include <sfx2/objsh.hxx> -# include "types.hxx" -# include <svtools/itempool.hxx> //SfxItemPool -# include <svtools/itemset.hxx> //SfxItemSet -# include <format.hxx> //SwFmt -# include <node.hxx> //SwCntntNode -# include <pam.hxx> //SwPaM -# include <tools/poly.hxx> //Polygon, PolyPolygon +#include "types.hxx" +#include <svtools/itempool.hxx> //SfxItemPool +#include <svtools/itemset.hxx> //SfxItemSet +#include <format.hxx> //SwFmt +#include <node.hxx> //SwCntntNode +#include <pam.hxx> //SwPaM +#include <tools/poly.hxx> //Polygon, PolyPolygon +#include <doc.hxx> //SwDoc //Uncomment to dump debugging streams of graphics #if OSL_DEBUG_LEVEL > 1 @@ -633,8 +634,6 @@ namespace sw need them to have something to be anchored to. So this method returns all the floating elements in a document as a STL container of sw::Frames which are guaranteed to have an appropiate anchor. - This will include drawing objects, use GetNonDrawingFrames if - you are not interested in the drawing objects. @param rDoc The SwDoc document to get the styles from @@ -648,31 +647,7 @@ namespace sw @author <a href="mailto:cmc@openoffice.org">Caolán McNamara</a> */ - Frames GetAllFrames(const SwDoc &rDoc, SwPaM *pPaM = 0); - - /** Get the Floating elements in a SwDoc - - Writer's FrmFmts may or may not be anchored to some text content, - e.g. Page Anchored elements will not be. For the winword export we - need them to have something to be anchored to. So this method - returns all the floating elements in a document as a STL container - of sw::Frames which are guaranteed to have an appropiate anchor. - This will not include drawing objects, use GetAllFrames if you - are interested in the drawing objects. - - @param rDoc - The SwDoc document to get the styles from - - @param pPaM - The SwPam to describe the selection in the document to get the - elements from. 0 means the entire document. - - @return A Frames containing the selections Floating elements - - @author - <a href="mailto:cmc@openoffice.org">Caolán McNamara</a> - */ - Frames GetNonDrawingFrames(const SwDoc &rDoc, SwPaM *pPaM = 0); + Frames GetFrames(const SwDoc &rDoc, SwPaM *pPaM = 0); /** Get the Frames anchored to a given node |