summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/writerhelper.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-10 08:14:49 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-10 08:14:49 +0000
commit8a6240f251ebd7bd29a2bd446c48b3545674d594 (patch)
tree847b539b79267955dbde796c7a19779bc90d4c07 /sw/source/filter/ww8/writerhelper.hxx
parent4046164ee2853ebcd512243ef4f834c3b8ca3ba5 (diff)
INTEGRATION: CWS ww8export01_SRC680 (1.17.310); FILE MERGED
2007/04/19 17:51:04 od 1.17.310.1: #i43447# class <sw::Frame> - introduction of new member <maLayoutSize> inklusive accessor and initialization in constructor.
Diffstat (limited to 'sw/source/filter/ww8/writerhelper.hxx')
-rw-r--r--sw/source/filter/ww8/writerhelper.hxx22
1 files changed, 20 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/writerhelper.hxx b/sw/source/filter/ww8/writerhelper.hxx
index 8d9b1e821aa6..d7ab1ea392aa 100644
--- a/sw/source/filter/ww8/writerhelper.hxx
+++ b/sw/source/filter/ww8/writerhelper.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: writerhelper.hxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: rt $ $Date: 2007-04-25 09:13:23 $
+ * last change: $Author: kz $ $Date: 2007-05-10 09:14:49 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -142,6 +142,12 @@ namespace sw
const SwFrmFmt* mpFlyFrm;
SwPosition maPos;
Size maSize;
+ // --> OD 2007-04-19 #i43447#
+ // Size of the frame in the layout.
+ // Especially needed for graphics, whose layout size can differ from its
+ // size, because it is scaled into its environment.
+ Size maLayoutSize;
+ // <--
WriterSource meWriterType;
const SwNode *mpStartFrameContent;
bool mbIsInline;
@@ -219,6 +225,18 @@ namespace sw
the best size to use to export to word
*/
const Size GetSize() const { return maSize; }
+
+ /** The layout size of the contained element
+
+ OD 2007-04-19 #i43447#
+ Needed for graphics, which are scaled into its environment
+
+ @return layout size
+ */
+ const Size GetLayoutSize() const
+ {
+ return maLayoutSize;
+ }
};
/// STL container of Frames