summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-18 20:36:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-19 09:30:43 +0100
commit7502d401de8a74b05ac7bcf0abab73ed87b53be6 (patch)
tree0b1ee96c3ac4b0c3e0cb7e2537a85716919b8724 /lotuswordpro
parent0c4c19aca64887e538229a712864ae1225b7efda (diff)
regenerate list
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/bencont.cxx6
-rw-r--r--lotuswordpro/source/filter/bento.hxx1
-rw-r--r--lotuswordpro/source/filter/lwpgrfobj.cxx37
-rw-r--r--lotuswordpro/source/filter/lwpgrfobj.hxx1
-rw-r--r--lotuswordpro/source/filter/lwpnumberingoverride.cxx30
-rw-r--r--lotuswordpro/source/filter/lwpnumberingoverride.hxx3
6 files changed, 0 insertions, 78 deletions
diff --git a/lotuswordpro/source/filter/bencont.cxx b/lotuswordpro/source/filter/bencont.cxx
index f19535b361ca..e074e11e4200 100644
--- a/lotuswordpro/source/filter/bencont.cxx
+++ b/lotuswordpro/source/filter/bencont.cxx
@@ -171,12 +171,6 @@ LtcBenContainer::FindNextObjectWithProperty(pCBenObject pCurrObject,
return NULL;
}
-pCBenObject
-LtcBenContainer::FindObject(BenObjectID ObjectID)
-{
- return (pCBenObject) FindID(&cObjects, ObjectID, NULL);
-}
-
/**
* Construction
* @param Bento file stream pointer
diff --git a/lotuswordpro/source/filter/bento.hxx b/lotuswordpro/source/filter/bento.hxx
index f9715bf9628a..6f534d03051c 100644
--- a/lotuswordpro/source/filter/bento.hxx
+++ b/lotuswordpro/source/filter/bento.hxx
@@ -267,7 +267,6 @@ public:
// Pass NULL to begin iteration. Done when returns NULL.
// Objects are returned in order of increasing ID
pCBenObject GetNextObject(pCBenObject pCurrObject);
- pCBenObject FindObject(BenObjectID ObjectID);
pCBenObject FindNextObjectWithProperty(pCBenObject pCurrObject,
BenObjectID PropertyID);
BenError BEN_EXPORT NewObject(pCBenObject * ppBenObject);
diff --git a/lotuswordpro/source/filter/lwpgrfobj.cxx b/lotuswordpro/source/filter/lwpgrfobj.cxx
index 6998e69e22ce..1c46c2ea9952 100644
--- a/lotuswordpro/source/filter/lwpgrfobj.cxx
+++ b/lotuswordpro/source/filter/lwpgrfobj.cxx
@@ -252,44 +252,7 @@ void LwpGraphicObject::XFConvert (XFContentContainer* pCont)
}
}
-/**
-* @short Get the rectangle of a chart
-* @descr
-* @param nLeft
-* @param nTop
-* @param nRight
-* @param nBottom
-*/
#include "lwpframelayout.hxx"
-void LwpGraphicObject::GetRect(sal_Int32& nLeft, sal_Int32& nTop, sal_Int32& nRight, sal_Int32& nBottom)
-{
- nLeft = nTop = nRight = nBottom = 0;
-
- LwpObjectID* pObjID = GetLayoutsWithMe()->GetOnlyLayout();
- if (pObjID)
- {
- LwpFrameLayout* pLayout = (LwpFrameLayout*)pObjID->obj();
- if (pLayout)
- {
- LwpLayoutGeometry* pGeometry =(LwpLayoutGeometry*) pLayout->GetGeometry();
-
- if (pGeometry)
- {
- double fWidth =0;
- double fHeight = 0;
- GetGrafScaledSize(fWidth, fHeight);
-
- sal_Int32 nWidth = static_cast<sal_Int32>(fWidth * UNITS_PER_INCH /CM_PER_INCH);
- sal_Int32 nHeight = static_cast<sal_Int32>(fHeight * UNITS_PER_INCH /CM_PER_INCH);
-
- nLeft = static_cast<sal_Int32>(pLayout->GetMarginsValue(MARGIN_LEFT) * UNITS_PER_INCH /CM_PER_INCH);
- nTop = static_cast<sal_Int32>(pLayout->GetMarginsValue(MARGIN_TOP) * UNITS_PER_INCH /CM_PER_INCH);
- nRight = nLeft+nWidth;
- nBottom = nTop+nHeight;
- }
- }
- }
-}
/**
* @descr judge if the graphic format is what we can support: bmp, jpg, wmf, gif, tgf(tif). other format will be filtered to
diff --git a/lotuswordpro/source/filter/lwpgrfobj.hxx b/lotuswordpro/source/filter/lwpgrfobj.hxx
index a0dc6347e8bf..59e912d7c353 100644
--- a/lotuswordpro/source/filter/lwpgrfobj.hxx
+++ b/lotuswordpro/source/filter/lwpgrfobj.hxx
@@ -104,7 +104,6 @@ private:
ImageProcessingData m_aIPData;
- void GetRect(sal_Int32& nLeft, sal_Int32& nTop, sal_Int32& nRight, sal_Int32& nBottom);
void XFConvertEquation(XFContentContainer* pCont);
void ParseChart(IXFStream* pOutputStream);
diff --git a/lotuswordpro/source/filter/lwpnumberingoverride.cxx b/lotuswordpro/source/filter/lwpnumberingoverride.cxx
index a87ee781aeb7..78ae51d85057 100644
--- a/lotuswordpro/source/filter/lwpnumberingoverride.cxx
+++ b/lotuswordpro/source/filter/lwpnumberingoverride.cxx
@@ -98,34 +98,4 @@ void LwpNumberingOverride::OverrideLevel(sal_uInt16 nNewLv)
LwpOverride::Override(NO_LEVEL, STATE_ON);
}
-void LwpNumberingOverride::OverridePosition(sal_uInt16 nNewPos)
-{
- m_nPosition = nNewPos;
- LwpOverride::Override(NO_POSITION, STATE_ON);
-}
-
-void LwpNumberingOverride::OverrideHeading(sal_Bool bVal)
-{
- if (bVal)
- {
- LwpOverride::Override(HEADING, STATE_ON);
- }
- else
- {
- LwpOverride::Override(HEADING, STATE_OFF);
- }
-}
-void LwpNumberingOverride::OverrideSmartLevel(sal_Bool bVal)
-{
- if (bVal)
- {
- LwpOverride::Override(SMARTLEVEL, STATE_ON);
- }
- else
- {
- LwpOverride::Override(SMARTLEVEL, STATE_OFF);
- }
-}
-//end add
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/lotuswordpro/source/filter/lwpnumberingoverride.hxx b/lotuswordpro/source/filter/lwpnumberingoverride.hxx
index 4cb443f326f0..ee316e020f4e 100644
--- a/lotuswordpro/source/filter/lwpnumberingoverride.hxx
+++ b/lotuswordpro/source/filter/lwpnumberingoverride.hxx
@@ -92,9 +92,6 @@ public:
inline sal_Bool IsSmartLevel();
void OverrideLevel(sal_uInt16 nNewLv);
- void OverridePosition(sal_uInt16 nNewPos);
- void OverrideHeading(sal_Bool bVal);
- void OverrideSmartLevel(sal_Bool bVal);
inline void RevertLevel();
inline void RevertPosition();