summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterHelpView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterHelpView.cxx')
-rw-r--r--sdext/source/presenter/PresenterHelpView.cxx91
1 files changed, 0 insertions, 91 deletions
diff --git a/sdext/source/presenter/PresenterHelpView.cxx b/sdext/source/presenter/PresenterHelpView.cxx
index 253f39a772f0..c7ca5c462cd5 100644
--- a/sdext/source/presenter/PresenterHelpView.cxx
+++ b/sdext/source/presenter/PresenterHelpView.cxx
@@ -26,7 +26,6 @@
*
************************************************************************/
-
#include "PresenterHelpView.hxx"
#include "PresenterButton.hxx"
#include "PresenterCanvasHelper.hxx"
@@ -52,7 +51,6 @@ using ::std::vector;
#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString)))
-
namespace sdext { namespace presenter {
namespace {
@@ -130,7 +128,6 @@ class PresenterHelpView::TextContainer : public vector<boost::shared_ptr<Block>
{
};
-
PresenterHelpView::PresenterHelpView (
const Reference<uno::XComponentContext>& rxContext,
const Reference<XResourceId>& rxViewId,
@@ -196,16 +193,10 @@ PresenterHelpView::PresenterHelpView (
}
}
-
-
-
PresenterHelpView::~PresenterHelpView (void)
{
}
-
-
-
void SAL_CALL PresenterHelpView::disposing (void)
{
mxViewId = NULL;
@@ -226,9 +217,6 @@ void SAL_CALL PresenterHelpView::disposing (void)
}
}
-
-
-
//----- lang::XEventListener --------------------------------------------------
void SAL_CALL PresenterHelpView::disposing (const lang::EventObject& rEventObject)
@@ -245,9 +233,6 @@ void SAL_CALL PresenterHelpView::disposing (const lang::EventObject& rEventObjec
}
}
-
-
-
//----- XWindowListener -------------------------------------------------------
void SAL_CALL PresenterHelpView::windowResized (const awt::WindowEvent& rEvent)
@@ -258,9 +243,6 @@ void SAL_CALL PresenterHelpView::windowResized (const awt::WindowEvent& rEvent)
Resize();
}
-
-
-
void SAL_CALL PresenterHelpView::windowMoved (const awt::WindowEvent& rEvent)
throw (uno::RuntimeException)
{
@@ -268,9 +250,6 @@ void SAL_CALL PresenterHelpView::windowMoved (const awt::WindowEvent& rEvent)
ThrowIfDisposed();
}
-
-
-
void SAL_CALL PresenterHelpView::windowShown (const lang::EventObject& rEvent)
throw (uno::RuntimeException)
{
@@ -279,9 +258,6 @@ void SAL_CALL PresenterHelpView::windowShown (const lang::EventObject& rEvent)
Resize();
}
-
-
-
void SAL_CALL PresenterHelpView::windowHidden (const lang::EventObject& rEvent)
throw (uno::RuntimeException)
{
@@ -289,9 +265,6 @@ void SAL_CALL PresenterHelpView::windowHidden (const lang::EventObject& rEvent)
ThrowIfDisposed();
}
-
-
-
//----- XPaintListener --------------------------------------------------------
void SAL_CALL PresenterHelpView::windowPaint (const css::awt::PaintEvent& rEvent)
@@ -300,9 +273,6 @@ void SAL_CALL PresenterHelpView::windowPaint (const css::awt::PaintEvent& rEvent
Paint(rEvent.UpdateRect);
}
-
-
-
void PresenterHelpView::Paint (const awt::Rectangle& rUpdateBox)
{
ProvideCanvas();
@@ -380,9 +350,6 @@ void PresenterHelpView::Paint (const awt::Rectangle& rUpdateBox)
xSpriteCanvas->updateScreen(sal_False);
}
-
-
-
void PresenterHelpView::ReadHelpStrings (void)
{
mpTextContainer.reset(new TextContainer());
@@ -398,9 +365,6 @@ void PresenterHelpView::ReadHelpStrings (void)
::boost::bind(&PresenterHelpView::ProcessString, this, _2));
}
-
-
-
void PresenterHelpView::ProcessString (
const Reference<beans::XPropertySet>& rsProperties)
{
@@ -418,9 +382,6 @@ void PresenterHelpView::ProcessString (
new Block(sLeftText, sRightText, mpFont->mxFont, mnMaximalWidth)));
}
-
-
-
void PresenterHelpView::CheckFontSize (void)
{
if (mpFont.get() == NULL)
@@ -491,9 +452,6 @@ void PresenterHelpView::CheckFontSize (void)
}
}
-
-
-
//----- XResourceId -----------------------------------------------------------
Reference<XResourceId> SAL_CALL PresenterHelpView::getResourceId (void)
@@ -503,18 +461,12 @@ Reference<XResourceId> SAL_CALL PresenterHelpView::getResourceId (void)
return mxViewId;
}
-
-
-
sal_Bool SAL_CALL PresenterHelpView::isAnchorOnly (void)
throw (RuntimeException)
{
return false;
}
-
-
-
//-----------------------------------------------------------------------------
void PresenterHelpView::ProvideCanvas (void)
@@ -533,9 +485,6 @@ void PresenterHelpView::ProvideCanvas (void)
}
}
-
-
-
void PresenterHelpView::Resize (void)
{
if (mpCloseButton.get() != NULL && mxWindow.is())
@@ -555,9 +504,6 @@ void PresenterHelpView::Resize (void)
}
}
-
-
-
void PresenterHelpView::ThrowIfDisposed (void)
throw (lang::DisposedException)
{
@@ -570,9 +516,6 @@ void PresenterHelpView::ThrowIfDisposed (void)
}
}
-
-
-
//===== LineDescritor =========================================================
namespace {
@@ -584,9 +527,6 @@ LineDescriptor::LineDescriptor (void)
{
}
-
-
-
void LineDescriptor::AddPart (
const OUString& rsLine,
const css::uno::Reference<css::rendering::XCanvasFont>& rxFont)
@@ -596,17 +536,11 @@ void LineDescriptor::AddPart (
CalculateSize(rxFont);
}
-
-
-
bool LineDescriptor::IsEmpty (void) const
{
return msLine.isEmpty();
}
-
-
-
void LineDescriptor::CalculateSize (
const css::uno::Reference<css::rendering::XCanvasFont>& rxFont)
{
@@ -622,9 +556,6 @@ void LineDescriptor::CalculateSize (
} // end of anonymous namespace
-
-
-
//===== LineDescriptorList ====================================================
namespace {
@@ -638,9 +569,6 @@ LineDescriptorList::LineDescriptorList (
Update(rxFont, nMaximalWidth);
}
-
-
-
double LineDescriptorList::Paint(
const Reference<rendering::XCanvas>& rxCanvas,
const geometry::RealRectangle2D& rBBox,
@@ -678,9 +606,6 @@ double LineDescriptorList::Paint(
return nY - rBBox.Y1;
}
-
-
-
double LineDescriptorList::GetHeight (void) const
{
double nHeight (0);
@@ -692,9 +617,6 @@ double LineDescriptorList::GetHeight (void) const
return nHeight;
}
-
-
-
void LineDescriptorList::Update (
const css::uno::Reference<css::rendering::XCanvasFont>& rxFont,
const sal_Int32 nMaximalWidth)
@@ -704,9 +626,6 @@ void LineDescriptorList::Update (
FormatText(aTextParts, rxFont, nMaximalWidth);
}
-
-
-
void LineDescriptorList::SplitText (
const OUString& rsText,
vector<OUString>& rTextParts)
@@ -745,9 +664,6 @@ void LineDescriptorList::SplitText (
rTextParts.push_back(rsText.copy(nStart, nLength-nStart));
}
-
-
-
void LineDescriptorList::FormatText (
const vector<OUString>& rTextParts,
const css::uno::Reference<css::rendering::XCanvasFont>& rxFont,
@@ -785,12 +701,8 @@ void LineDescriptorList::FormatText (
}
}
-
} // end of anonymous namespace
-
-
-
//===== Block =================================================================
namespace {
@@ -805,8 +717,6 @@ Block::Block (
{
}
-
-
void Block::Update (
const css::uno::Reference<css::rendering::XCanvasFont>& rxFont,
const sal_Int32 nMaximalWidth)
@@ -819,5 +729,4 @@ void Block::Update (
} } // end of namespace ::sdext::presenter
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */