summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwplayout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/lwplayout.cxx')
-rw-r--r--lotuswordpro/source/filter/lwplayout.cxx36
1 files changed, 0 insertions, 36 deletions
diff --git a/lotuswordpro/source/filter/lwplayout.cxx b/lotuswordpro/source/filter/lwplayout.cxx
index 2bb90d7cccb2..4a4ebe9a5bcd 100644
--- a/lotuswordpro/source/filter/lwplayout.cxx
+++ b/lotuswordpro/source/filter/lwplayout.cxx
@@ -955,15 +955,6 @@ sal_uInt16 LwpMiddleLayout::GetScaleTile(void)
return 0;
}
-void LwpMiddleLayout::SetScaleTile(sal_uInt16 nVal)
-{
- m_nOverrideFlag |= OVER_SCALING;
- if (nVal)
- GetLayoutScale()->SetPlacement(GetLayoutScale()->GetPlacement() | LwpLayoutScale::TILED);
- else
- GetLayoutScale()->SetPlacement(GetLayoutScale()->GetPlacement() & ~LwpLayoutScale::TILED);
-}
-
sal_uInt16 LwpMiddleLayout::GetScaleCenter(void)
{
if ((m_nOverrideFlag & OVER_SCALING) && m_LayScale.obj())
@@ -975,15 +966,6 @@ sal_uInt16 LwpMiddleLayout::GetScaleCenter(void)
return 0;
}
-void LwpMiddleLayout::SetScaleCenter(sal_uInt16 nVal)
-{
- m_nOverrideFlag |= OVER_SCALING;
- if (nVal)
- GetLayoutScale()->SetPlacement(GetLayoutScale()->GetPlacement() | LwpLayoutScale::CENTERED);
- else
- GetLayoutScale()->SetPlacement(GetLayoutScale()->GetPlacement() & ~LwpLayoutScale::CENTERED);
-}
-
sal_uInt32 LwpMiddleLayout::GetScalePercentage(void)
{
if ((m_nOverrideFlag & OVER_SCALING) && m_LayScale.obj())
@@ -994,12 +976,6 @@ sal_uInt32 LwpMiddleLayout::GetScalePercentage(void)
return 100;
}
-void LwpMiddleLayout::SetScalePercentage(sal_uInt32 nVal)
-{
- m_nOverrideFlag |= OVER_SCALING;
- GetLayoutScale()->SetScalePercentage(nVal*10);
-}
-
double LwpMiddleLayout::GetScaleWidth(void)
{
if ((m_nOverrideFlag & OVER_SCALING) && m_LayScale.obj())
@@ -1010,12 +986,6 @@ double LwpMiddleLayout::GetScaleWidth(void)
return 0;
}
-void LwpMiddleLayout::SetScaleWidth(double fVal)
-{
- m_nOverrideFlag |= OVER_SCALING;
- GetLayoutScale()->SetScaleWidth(LwpTools::ConvertToUnits(fVal));
-}
-
double LwpMiddleLayout::GetScaleHeight(void)
{
if ((m_nOverrideFlag & OVER_SCALING) && m_LayScale.obj())
@@ -1144,12 +1114,6 @@ LwpPoint LwpMiddleLayout::GetOrigin()
return LwpPoint();
}
-void LwpMiddleLayout::SetScaleHeight(double fVal)
-{
- m_nOverrideFlag |= OVER_SCALING;
- GetLayoutScale()->SetScaleHeight(LwpTools::ConvertToUnits(fVal));
-}
-
/**
* @descr: Whether the fill is pattern fill or not
* @return: True if yes, false if not.