Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
73116917
Kaydet (Commit)
73116917
authored
May 21, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: prefix members of SwWrapTabPage
Change-Id: I58d59680768d445c073c50b49a8b6976d7a636a0
üst
431598b9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
77 additions
and
77 deletions
+77
-77
wrap.cxx
sw/source/ui/frmdlg/wrap.cxx
+59
-59
wrap.hxx
sw/source/uibase/inc/wrap.hxx
+18
-18
No files found.
sw/source/ui/frmdlg/wrap.cxx
Dosyayı görüntüle @
73116917
...
...
@@ -44,7 +44,7 @@
using
namespace
::
com
::
sun
::
star
;
const
sal_uInt16
SwWrapTabPage
::
aWrapPageRg
[]
=
{
const
sal_uInt16
SwWrapTabPage
::
m_
aWrapPageRg
[]
=
{
RES_LR_SPACE
,
RES_UL_SPACE
,
RES_PROTECT
,
RES_SURROUND
,
RES_PRINT
,
RES_PRINT
,
...
...
@@ -65,18 +65,18 @@ SwWrapDlg::SwWrapDlg(vcl::Window* pParent, SfxItemSet& rSet, SwWrtShell* pSh, bo
SwWrapTabPage
::
SwWrapTabPage
(
vcl
::
Window
*
pParent
,
const
SfxItemSet
&
rSet
)
:
SfxTabPage
(
pParent
,
"WrapPage"
,
"modules/swriter/ui/wrappage.ui"
,
&
rSet
)
,
nOldLeftMargin
(
0
)
,
nOldRightMargin
(
0
)
,
nOldUpperMargin
(
0
)
,
nOldLowerMargin
(
0
)
,
nAnchorId
(
FLY_AT_PARA
)
,
nHtmlMode
(
0
)
,
pWrtSh
(
0
)
,
bFormat
(
false
)
,
bNew
(
true
)
,
bHtmlMode
(
false
)
,
bDrawMode
(
false
)
,
bContourImage
(
false
)
,
m_
nOldLeftMargin
(
0
)
,
m_
nOldRightMargin
(
0
)
,
m_
nOldUpperMargin
(
0
)
,
m_
nOldLowerMargin
(
0
)
,
m_
nAnchorId
(
FLY_AT_PARA
)
,
m_
nHtmlMode
(
0
)
,
m_
pWrtSh
(
0
)
,
m_
bFormat
(
false
)
,
m_
bNew
(
true
)
,
m_
bHtmlMode
(
false
)
,
m_
bDrawMode
(
false
)
,
m_
bContourImage
(
false
)
{
get
(
m_pNoWrapRB
,
"none"
);
get
(
m_pWrapLeftRB
,
"before"
);
...
...
@@ -163,7 +163,7 @@ VclPtr<SfxTabPage> SwWrapTabPage::Create(vcl::Window *pParent, const SfxItemSet
void
SwWrapTabPage
::
Reset
(
const
SfxItemSet
*
rSet
)
{
// contour for Draw, Graphic and OLE (Insert/Graphic/Properties still missing!)
if
(
bDrawMode
)
if
(
m_
bDrawMode
)
{
m_pWrapOutlineCB
->
Show
();
m_pWrapOutsideCB
->
Show
();
...
...
@@ -174,13 +174,13 @@ void SwWrapTabPage::Reset(const SfxItemSet *rSet)
}
else
{
bool
bShowCB
=
bFormat
;
if
(
!
bFormat
)
bool
bShowCB
=
m_
bFormat
;
if
(
!
m_
bFormat
)
{
int
nSelType
=
pWrtSh
->
GetSelectionType
();
int
nSelType
=
m_
pWrtSh
->
GetSelectionType
();
if
(
(
nSelType
&
nsSelectionType
::
SEL_GRF
)
||
(
nSelType
&
nsSelectionType
::
SEL_OLE
&&
GRAPHIC_NONE
!=
pWrtSh
->
GetIMapGraphic
().
GetType
()
))
m_
pWrtSh
->
GetIMapGraphic
().
GetType
()
))
bShowCB
=
true
;
}
if
(
bShowCB
)
...
...
@@ -190,10 +190,10 @@ void SwWrapTabPage::Reset(const SfxItemSet *rSet)
}
}
nHtmlMode
=
::
GetHtmlMode
(
static_cast
<
const
SwDocShell
*>
(
SfxObjectShell
::
Current
()));
bHtmlMode
=
(
nHtmlMode
&
HTMLMODE_ON
)
!=
0
;
m_
nHtmlMode
=
::
GetHtmlMode
(
static_cast
<
const
SwDocShell
*>
(
SfxObjectShell
::
Current
()));
m_bHtmlMode
=
(
m_
nHtmlMode
&
HTMLMODE_ON
)
!=
0
;
FieldUnit
aMetric
=
::
GetDfltMetric
(
bHtmlMode
);
FieldUnit
aMetric
=
::
GetDfltMetric
(
m_
bHtmlMode
);
SetMetric
(
*
m_pLeftMarginED
,
aMetric
);
SetMetric
(
*
m_pRightMarginED
,
aMetric
);
SetMetric
(
*
m_pTopMarginED
,
aMetric
);
...
...
@@ -203,9 +203,9 @@ void SwWrapTabPage::Reset(const SfxItemSet *rSet)
SwSurround
nSur
=
rSurround
.
GetSurround
();
const
SwFormatAnchor
&
rAnch
=
static_cast
<
const
SwFormatAnchor
&>
(
rSet
->
Get
(
RES_ANCHOR
));
nAnchorId
=
rAnch
.
GetAnchorId
();
m_
nAnchorId
=
rAnch
.
GetAnchorId
();
if
(((
nAnchorId
==
FLY_AT_PARA
)
||
(
nAnchorId
==
FLY_AT_CHAR
))
if
(((
m_nAnchorId
==
FLY_AT_PARA
)
||
(
m_
nAnchorId
==
FLY_AT_CHAR
))
&&
(
nSur
!=
SURROUND_NONE
))
{
m_pWrapAnchorOnlyCB
->
Check
(
rSurround
.
IsAnchorOnly
()
);
...
...
@@ -219,7 +219,7 @@ void SwWrapTabPage::Reset(const SfxItemSet *rSet)
m_pWrapOutlineCB
->
Check
(
bContour
);
m_pWrapOutsideCB
->
Check
(
rSurround
.
IsOutside
()
);
m_pWrapThroughRB
->
Enable
(
!
m_pWrapOutlineCB
->
IsChecked
());
bContourImage
=
!
bContour
;
m_
bContourImage
=
!
bContour
;
RadioButton
*
pBtn
=
NULL
;
...
...
@@ -236,7 +236,7 @@ void SwWrapTabPage::Reset(const SfxItemSet *rSet)
// transparent ?
pBtn
=
m_pWrapThroughRB
;
if
(
!
bDrawMode
)
if
(
!
m_
bDrawMode
)
{
const
SvxOpaqueItem
&
rOpaque
=
static_cast
<
const
SvxOpaqueItem
&>
(
rSet
->
Get
(
RES_OPAQUE
));
m_pWrapTransparentCB
->
Check
(
!
rOpaque
.
GetValue
());
...
...
@@ -271,10 +271,10 @@ void SwWrapTabPage::Reset(const SfxItemSet *rSet)
// For character objects that currently are in passage, the default
// "contour on" is prepared here, in case we switch to any other
// passage later.
if
(
bDrawMode
&&
!
m_pWrapOutlineCB
->
IsEnabled
())
if
(
m_
bDrawMode
&&
!
m_pWrapOutlineCB
->
IsEnabled
())
m_pWrapOutlineCB
->
Check
();
}
m_pWrapTransparentCB
->
Enable
(
pBtn
==
m_pWrapThroughRB
&&
!
bHtmlMode
);
m_pWrapTransparentCB
->
Enable
(
pBtn
==
m_pWrapThroughRB
&&
!
m_
bHtmlMode
);
const
SvxULSpaceItem
&
rUL
=
static_cast
<
const
SvxULSpaceItem
&>
(
rSet
->
Get
(
RES_UL_SPACE
));
const
SvxLRSpaceItem
&
rLR
=
static_cast
<
const
SvxLRSpaceItem
&>
(
rSet
->
Get
(
RES_LR_SPACE
));
...
...
@@ -299,7 +299,7 @@ bool SwWrapTabPage::FillItemSet(SfxItemSet *rSet)
SvxOpaqueItem
aOp
(
RES_OPAQUE
);
if
(
!
bDrawMode
)
if
(
!
m_
bDrawMode
)
{
const
SvxOpaqueItem
&
rOpaque
=
static_cast
<
const
SvxOpaqueItem
&>
(
GetItemSet
().
Get
(
RES_OPAQUE
));
aOp
=
rOpaque
;
...
...
@@ -317,7 +317,7 @@ bool SwWrapTabPage::FillItemSet(SfxItemSet *rSet)
else
if
(
m_pWrapThroughRB
->
IsChecked
())
{
aSur
.
SetSurround
(
SURROUND_THROUGHT
);
if
(
m_pWrapTransparentCB
->
IsChecked
()
&&
!
bDrawMode
)
if
(
m_pWrapTransparentCB
->
IsChecked
()
&&
!
m_
bDrawMode
)
aOp
.
SetValue
(
false
);
}
else
if
(
m_pIdealWrapRB
->
IsChecked
())
...
...
@@ -337,7 +337,7 @@ bool SwWrapTabPage::FillItemSet(SfxItemSet *rSet)
bModified
=
true
;
}
if
(
!
bDrawMode
)
if
(
!
m_
bDrawMode
)
{
if
(
0
==
(
pOldItem
=
GetOldItem
(
*
rSet
,
FN_OPAQUE
))
||
aOp
!=
*
pOldItem
)
...
...
@@ -381,7 +381,7 @@ bool SwWrapTabPage::FillItemSet(SfxItemSet *rSet)
}
}
if
(
bDrawMode
)
if
(
m_
bDrawMode
)
{
bool
bChecked
=
m_pWrapTransparentCB
->
IsChecked
()
&&
m_pWrapTransparentCB
->
IsEnabled
();
if
((
m_pWrapTransparentCB
->
GetSavedValue
()
==
1
)
!=
bChecked
)
...
...
@@ -396,13 +396,13 @@ void SwWrapTabPage::ActivatePage(const SfxItemSet& rSet)
{
// anchor
const
SwFormatAnchor
&
rAnch
=
static_cast
<
const
SwFormatAnchor
&>
(
rSet
.
Get
(
RES_ANCHOR
));
nAnchorId
=
rAnch
.
GetAnchorId
();
bool
bEnable
=
(
nAnchorId
!=
FLY_AS_CHAR
);
m_
nAnchorId
=
rAnch
.
GetAnchorId
();
bool
bEnable
=
(
m_
nAnchorId
!=
FLY_AS_CHAR
);
if
(
!
bDrawMode
)
if
(
!
m_
bDrawMode
)
{
SwWrtShell
*
pSh
=
bFormat
?
::
GetActiveWrtShell
()
:
pWrtSh
;
SwFlyFrmAttrMgr
aMgr
(
bNew
,
pSh
,
static_cast
<
const
SwAttrSet
&>
(
GetItemSet
())
);
SwWrtShell
*
pSh
=
m_bFormat
?
::
GetActiveWrtShell
()
:
m_
pWrtSh
;
SwFlyFrmAttrMgr
aMgr
(
m_
bNew
,
pSh
,
static_cast
<
const
SwAttrSet
&>
(
GetItemSet
())
);
SvxSwFrameValidation
aVal
;
// size
...
...
@@ -412,16 +412,16 @@ void SwWrapTabPage::ActivatePage(const SfxItemSet& rSet)
// margin
const
SvxULSpaceItem
&
rUL
=
static_cast
<
const
SvxULSpaceItem
&>
(
rSet
.
Get
(
RES_UL_SPACE
));
const
SvxLRSpaceItem
&
rLR
=
static_cast
<
const
SvxLRSpaceItem
&>
(
rSet
.
Get
(
RES_LR_SPACE
));
nOldLeftMargin
=
static_cast
<
sal_uInt16
>
(
rLR
.
GetLeft
());
nOldRightMargin
=
static_cast
<
sal_uInt16
>
(
rLR
.
GetRight
());
nOldUpperMargin
=
static_cast
<
sal_uInt16
>
(
rUL
.
GetUpper
());
nOldLowerMargin
=
static_cast
<
sal_uInt16
>
(
rUL
.
GetLower
());
m_
nOldLeftMargin
=
static_cast
<
sal_uInt16
>
(
rLR
.
GetLeft
());
m_
nOldRightMargin
=
static_cast
<
sal_uInt16
>
(
rLR
.
GetRight
());
m_
nOldUpperMargin
=
static_cast
<
sal_uInt16
>
(
rUL
.
GetUpper
());
m_
nOldLowerMargin
=
static_cast
<
sal_uInt16
>
(
rUL
.
GetLower
());
// position
const
SwFormatHoriOrient
&
rHori
=
static_cast
<
const
SwFormatHoriOrient
&>
(
rSet
.
Get
(
RES_HORI_ORIENT
));
const
SwFormatVertOrient
&
rVert
=
static_cast
<
const
SwFormatVertOrient
&>
(
rSet
.
Get
(
RES_VERT_ORIENT
));
aVal
.
nAnchorType
=
static_cast
<
sal_Int16
>
(
nAnchorId
);
aVal
.
nAnchorType
=
static_cast
<
sal_Int16
>
(
m_
nAnchorId
);
aVal
.
bAutoHeight
=
rFrmSize
.
GetHeightSizeType
()
==
ATT_MIN_SIZE
;
aVal
.
bAutoWidth
=
rFrmSize
.
GetWidthSizeType
()
==
ATT_MIN_SIZE
;
aVal
.
bMirror
=
rHori
.
IsPosToggle
();
...
...
@@ -445,7 +445,7 @@ void SwWrapTabPage::ActivatePage(const SfxItemSet& rSet)
aVal
.
nWidth
=
aSize
.
Width
();
aVal
.
nHeight
=
aSize
.
Height
();
aFrmSize
=
aSize
;
m_
aFrmSize
=
aSize
;
aMgr
.
ValidateMetrics
(
aVal
,
0
);
...
...
@@ -497,39 +497,39 @@ void SwWrapTabPage::ActivatePage(const SfxItemSet& rSet)
const
SwFormatSurround
&
rSurround
=
static_cast
<
const
SwFormatSurround
&>
(
rSet
.
Get
(
RES_SURROUND
));
SwSurround
nSur
=
rSurround
.
GetSurround
();
m_pWrapTransparentCB
->
Enable
(
bEnable
&&
!
bHtmlMode
&&
nSur
==
SURROUND_THROUGHT
);
if
(
bHtmlMode
)
m_pWrapTransparentCB
->
Enable
(
bEnable
&&
!
m_
bHtmlMode
&&
nSur
==
SURROUND_THROUGHT
);
if
(
m_
bHtmlMode
)
{
const
SwFormatHoriOrient
&
rHori
=
static_cast
<
const
SwFormatHoriOrient
&>
(
rSet
.
Get
(
RES_HORI_ORIENT
));
sal_Int16
eHOrient
=
rHori
.
GetHoriOrient
();
sal_Int16
eHRelOrient
=
rHori
.
GetRelationOrient
();
m_pWrapOutlineCB
->
Hide
();
const
bool
bAllHtmlModes
=
((
nAnchorId
==
FLY_AT_PARA
)
||
(
nAnchorId
==
FLY_AT_CHAR
))
&&
((
m_nAnchorId
==
FLY_AT_PARA
)
||
(
m_
nAnchorId
==
FLY_AT_CHAR
))
&&
(
eHOrient
==
text
::
HoriOrientation
::
RIGHT
||
eHOrient
==
text
::
HoriOrientation
::
LEFT
);
m_pWrapAnchorOnlyCB
->
Enable
(
bAllHtmlModes
&&
nSur
!=
SURROUND_NONE
);
m_pWrapOutsideCB
->
Hide
();
m_pIdealWrapRB
->
Enable
(
false
);
m_pWrapTransparentCB
->
Enable
(
false
);
m_pNoWrapRB
->
Enable
(
FLY_AT_PARA
==
nAnchorId
);
m_pNoWrapRB
->
Enable
(
FLY_AT_PARA
==
m_
nAnchorId
);
m_pWrapParallelRB
->
Enable
(
false
);
m_pWrapLeftRB
->
Enable
(
(
FLY_AT_PARA
==
nAnchorId
)
||
(
(
FLY_AT_CHAR
==
nAnchorId
)
(
(
FLY_AT_PARA
==
m_
nAnchorId
)
||
(
(
FLY_AT_CHAR
==
m_
nAnchorId
)
&&
(
eHOrient
==
text
::
HoriOrientation
::
RIGHT
)
&&
(
eHRelOrient
==
text
::
RelOrientation
::
PRINT_AREA
)));
m_pWrapRightRB
->
Enable
(
(
FLY_AT_PARA
==
nAnchorId
)
||
(
(
FLY_AT_CHAR
==
nAnchorId
)
(
(
FLY_AT_PARA
==
m_
nAnchorId
)
||
(
(
FLY_AT_CHAR
==
m_
nAnchorId
)
&&
(
eHOrient
==
text
::
HoriOrientation
::
LEFT
)
&&
(
eHRelOrient
==
text
::
RelOrientation
::
PRINT_AREA
)));
m_pWrapThroughRB
->
Enable
(
(
(
FLY_AT_PAGE
==
nAnchorId
)
||
(
(
FLY_AT_CHAR
==
nAnchorId
)
(
(
(
FLY_AT_PAGE
==
m_
nAnchorId
)
||
(
(
FLY_AT_CHAR
==
m_
nAnchorId
)
&&
(
eHRelOrient
!=
text
::
RelOrientation
::
PRINT_AREA
))
||
(
FLY_AT_PARA
==
nAnchorId
))
||
(
FLY_AT_PARA
==
m_
nAnchorId
))
&&
(
eHOrient
!=
text
::
HoriOrientation
::
RIGHT
));
if
(
m_pNoWrapRB
->
IsChecked
()
&&
!
m_pNoWrapRB
->
IsEnabled
())
{
...
...
@@ -571,7 +571,7 @@ void SwWrapTabPage::ActivatePage(const SfxItemSet& rSet)
m_pWrapThroughRB
->
Enable
(
bEnable
);
m_pWrapParallelRB
->
Enable
(
bEnable
);
m_pWrapAnchorOnlyCB
->
Enable
(
((
nAnchorId
==
FLY_AT_PARA
)
||
(
nAnchorId
==
FLY_AT_CHAR
))
((
m_nAnchorId
==
FLY_AT_PARA
)
||
(
m_
nAnchorId
==
FLY_AT_CHAR
))
&&
nSur
!=
SURROUND_NONE
);
}
ContourHdl
(
0
);
...
...
@@ -615,12 +615,12 @@ IMPL_LINK( SwWrapTabPage, RangeModifyHdl, MetricField *, pEdit )
IMPL_LINK
(
SwWrapTabPage
,
WrapTypeHdl
,
RadioButton
*
,
pBtn
)
{
bool
bWrapThrough
=
(
pBtn
==
m_pWrapThroughRB
);
m_pWrapTransparentCB
->
Enable
(
bWrapThrough
&&
!
bHtmlMode
);
bWrapThrough
|=
(
nAnchorId
==
FLY_AS_CHAR
);
m_pWrapTransparentCB
->
Enable
(
bWrapThrough
&&
!
m_
bHtmlMode
);
bWrapThrough
|=
(
m_
nAnchorId
==
FLY_AS_CHAR
);
m_pWrapOutlineCB
->
Enable
(
!
bWrapThrough
&&
pBtn
!=
m_pNoWrapRB
);
m_pWrapOutsideCB
->
Enable
(
!
bWrapThrough
&&
m_pWrapOutlineCB
->
IsChecked
()
);
m_pWrapAnchorOnlyCB
->
Enable
(
((
nAnchorId
==
FLY_AT_PARA
)
||
(
nAnchorId
==
FLY_AT_CHAR
))
&&
((
m_nAnchorId
==
FLY_AT_PARA
)
||
(
m_
nAnchorId
==
FLY_AT_CHAR
))
&&
(
pBtn
!=
m_pNoWrapRB
)
);
ContourHdl
(
0
);
...
...
@@ -634,9 +634,9 @@ IMPL_LINK_NOARG(SwWrapTabPage, ContourHdl)
m_pWrapOutsideCB
->
Enable
(
!
bEnable
);
bEnable
=
!
m_pWrapOutlineCB
->
IsChecked
();
if
(
bEnable
==
bContourImage
)
// so that it doesn't always flicker
if
(
bEnable
==
m_
bContourImage
)
// so that it doesn't always flicker
{
bContourImage
=
!
bEnable
;
m_
bContourImage
=
!
bEnable
;
ApplyImageList
();
}
...
...
sw/source/uibase/inc/wrap.hxx
Dosyayı görüntüle @
73116917
...
...
@@ -62,22 +62,22 @@ class SwWrapTabPage: public SfxTabPage
VclPtr
<
CheckBox
>
m_pWrapOutlineCB
;
VclPtr
<
CheckBox
>
m_pWrapOutsideCB
;
sal_uInt16
nOldLeftMargin
;
sal_uInt16
nOldRightMargin
;
sal_uInt16
nOldUpperMargin
;
sal_uInt16
nOldLowerMargin
;
sal_uInt16
m_
nOldLeftMargin
;
sal_uInt16
m_
nOldRightMargin
;
sal_uInt16
m_
nOldUpperMargin
;
sal_uInt16
m_
nOldLowerMargin
;
RndStdIds
nAnchorId
;
sal_uInt16
nHtmlMode
;
RndStdIds
m_
nAnchorId
;
sal_uInt16
m_
nHtmlMode
;
Size
aFrmSize
;
SwWrtShell
*
pWrtSh
;
Size
m_
aFrmSize
;
SwWrtShell
*
m_
pWrtSh
;
bool
bFormat
;
bool
bNew
;
bool
bHtmlMode
;
bool
bDrawMode
;
bool
bContourImage
;
bool
m_
bFormat
;
bool
m_
bNew
;
bool
m_
bHtmlMode
;
bool
m_
bDrawMode
;
bool
m_
bContourImage
;
virtual
~
SwWrapTabPage
();
virtual
void
dispose
()
SAL_OVERRIDE
;
...
...
@@ -95,7 +95,7 @@ class SwWrapTabPage: public SfxTabPage
using
SfxTabPage
::
ActivatePage
;
using
SfxTabPage
::
DeactivatePage
;
static
const
sal_uInt16
aWrapPageRg
[];
static
const
sal_uInt16
m_
aWrapPageRg
[];
public
:
SwWrapTabPage
(
vcl
::
Window
*
pParent
,
const
SfxItemSet
&
rSet
);
...
...
@@ -105,10 +105,10 @@ public:
virtual
bool
FillItemSet
(
SfxItemSet
*
rSet
)
SAL_OVERRIDE
;
virtual
void
Reset
(
const
SfxItemSet
*
rSet
)
SAL_OVERRIDE
;
static
const
sal_uInt16
*
GetRanges
()
{
return
aWrapPageRg
;
}
inline
void
SetNewFrame
(
bool
bNewFrame
)
{
bNew
=
bNewFrame
;
}
inline
void
SetFormatUsed
(
bool
bFormat
Used
,
bool
bDrw
)
{
bFormat
=
bFormatUsed
;
bDrawMode
=
bDrw
;
}
inline
void
SetShell
(
SwWrtShell
*
pSh
)
{
pWrtSh
=
pSh
;
}
static
const
sal_uInt16
*
GetRanges
()
{
return
m_
aWrapPageRg
;
}
inline
void
SetNewFrame
(
bool
bNewFrame
)
{
m_
bNew
=
bNewFrame
;
}
inline
void
SetFormatUsed
(
bool
bFormat
,
bool
bDrawMode
)
{
m_bFormat
=
bFormat
;
m_bDrawMode
=
bDrawMode
;
}
inline
void
SetShell
(
SwWrtShell
*
pSh
)
{
m_
pWrtSh
=
pSh
;
}
};
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment