Kaydet (Commit) 1a777329 authored tarafından Caolán McNamara's avatar Caolán McNamara

regenerate list

üst 8fef2fef
...@@ -169,22 +169,6 @@ void XFCell::SetValue(rtl::OUString value) ...@@ -169,22 +169,6 @@ void XFCell::SetValue(rtl::OUString value)
{ {
m_eValueType = enumXFValueTypeFloat; m_eValueType = enumXFValueTypeFloat;
m_strValue = value; m_strValue = value;
//Reset();
//XFParagraph *pPara = new XFParagraph();
//pPara->Add(m_strValue);
//XFContentContainer::Add(pPara);
}
void XFCell::SetPercent(rtl::OUString percent)
{
m_eValueType = enumXFValueTypePercentage;
m_strValue = percent;
Reset();
XFParagraph *pPara = new XFParagraph();
pPara->Add(m_strValue);
XFContentContainer::Add(pPara);
} }
rtl::OUString XFCell::GetCellName() rtl::OUString XFCell::GetCellName()
......
...@@ -110,11 +110,6 @@ public: ...@@ -110,11 +110,6 @@ public:
*/ */
void SetValue(rtl::OUString value); void SetValue(rtl::OUString value);
/**
* @descr Set cell as a percent value with value percent.
*/
void SetPercent(rtl::OUString percent);
/** /**
* @descr Set cell formula. * @descr Set cell formula.
*/ */
......
...@@ -73,14 +73,6 @@ XFList::~XFList() ...@@ -73,14 +73,6 @@ XFList::~XFList()
{ {
} }
void XFList::AddItem(XFListItem *pItem)
{
assert(pItem);
assert(pItem->GetContentType()!=enumXFContentUnknown);
Add(pItem);
}
void XFList::ToXml(IXFStream *pStrm) void XFList::ToXml(IXFStream *pStrm)
{ {
IXFAttrList *pAttrList = pStrm->GetAttrList(); IXFAttrList *pAttrList = pStrm->GetAttrList();
......
...@@ -87,11 +87,6 @@ public: ...@@ -87,11 +87,6 @@ public:
*/ */
void SetContinueNumber(sal_Bool bContinueNumber=sal_False); void SetContinueNumber(sal_Bool bContinueNumber=sal_False);
/**
* @descr Add a list item.
*/
void AddItem(XFListItem *pItem);
/** /**
* @descr Output list obejct. * @descr Output list obejct.
*/ */
......
...@@ -78,11 +78,6 @@ void XFTextContent::SetText(const rtl::OUString& text) ...@@ -78,11 +78,6 @@ void XFTextContent::SetText(const rtl::OUString& text)
m_strText = text; m_strText = text;
} }
rtl::OUString XFTextContent::GetText()
{
return m_strText;
}
void XFTextContent::ToXml(IXFStream *pStrm) void XFTextContent::ToXml(IXFStream *pStrm)
{ {
// pStrm->Characters(m_strText); // pStrm->Characters(m_strText);
......
...@@ -84,12 +84,6 @@ public: ...@@ -84,12 +84,6 @@ public:
*/ */
void SetText(const rtl::OUString& text); void SetText(const rtl::OUString& text);
/**
* @descr return the content.
* @return text content.
*/
rtl::OUString GetText();
virtual enumXFContent GetContentType(); virtual enumXFContent GetContentType();
virtual void ToXml(IXFStream *pStrm); virtual void ToXml(IXFStream *pStrm);
......
...@@ -300,7 +300,7 @@ void SAL_CALL ...@@ -300,7 +300,7 @@ void SAL_CALL
AccessibleDocumentViewBase::propertyChange (rEventObject); AccessibleDocumentViewBase::propertyChange (rEventObject);
OSL_TRACE ("AccessibleDrawDocumentView::propertyChange"); OSL_TRACE ("AccessibleDrawDocumentView::propertyChange");
if (rEventObject.PropertyName == OUString (RTL_CONSTASCII_USTRINGPARAM("CurrentPage"))) if (rEventObject.PropertyName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("CurrentPage")))
{ {
OSL_TRACE (" current page changed"); OSL_TRACE (" current page changed");
...@@ -335,7 +335,7 @@ void SAL_CALL ...@@ -335,7 +335,7 @@ void SAL_CALL
else else
OSL_TRACE ("View invalid"); OSL_TRACE ("View invalid");
} }
else if (rEventObject.PropertyName == OUString (RTL_CONSTASCII_USTRINGPARAM("VisibleArea"))) else if (rEventObject.PropertyName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("VisibleArea")))
{ {
OSL_TRACE (" visible area changed"); OSL_TRACE (" visible area changed");
if (mpChildrenManager != NULL) if (mpChildrenManager != NULL)
...@@ -399,10 +399,10 @@ void SAL_CALL ...@@ -399,10 +399,10 @@ void SAL_CALL
{ {
uno::Sequence< ::rtl::OUString > aServices( xInfo->getSupportedServiceNames() ); uno::Sequence< ::rtl::OUString > aServices( xInfo->getSupportedServiceNames() );
OUString sFirstService = aServices[0]; OUString sFirstService = aServices[0];
if (sFirstService == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.DrawingDocumentDrawView"))) if (sFirstService.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.drawing.DrawingDocumentDrawView")))
{ {
if( aServices.getLength() >= 2 && if( aServices.getLength() >= 2 &&
aServices[1] == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.PresentationView"))) aServices[1].equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.presentation.PresentationView")))
{ {
SolarMutexGuard aGuard; SolarMutexGuard aGuard;
...@@ -415,13 +415,13 @@ void SAL_CALL ...@@ -415,13 +415,13 @@ void SAL_CALL
sName = String( SdResId(SID_SD_A11Y_D_DRAWVIEW_N) ); sName = String( SdResId(SID_SD_A11Y_D_DRAWVIEW_N) );
} }
} }
else if (sFirstService == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.NotesView"))) else if (sFirstService.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.presentation.NotesView")))
{ {
SolarMutexGuard aGuard; SolarMutexGuard aGuard;
sName = String( SdResId(SID_SD_A11Y_I_NOTESVIEW_N) ); sName = String( SdResId(SID_SD_A11Y_I_NOTESVIEW_N) );
} }
else if (sFirstService == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.HandoutView"))) else if (sFirstService.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.presentation.HandoutView")))
{ {
SolarMutexGuard aGuard; SolarMutexGuard aGuard;
...@@ -456,10 +456,10 @@ void SAL_CALL ...@@ -456,10 +456,10 @@ void SAL_CALL
{ {
uno::Sequence< ::rtl::OUString > aServices( xInfo->getSupportedServiceNames() ); uno::Sequence< ::rtl::OUString > aServices( xInfo->getSupportedServiceNames() );
OUString sFirstService = aServices[0]; OUString sFirstService = aServices[0];
if (sFirstService == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.DrawingDocumentDrawView"))) if (sFirstService.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.drawing.DrawingDocumentDrawView")))
{ {
if( aServices.getLength() >= 2 && if( aServices.getLength() >= 2 &&
aServices[1] == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.PresentationView"))) aServices[1].equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.presentation.PresentationView")))
{ {
SolarMutexGuard aGuard; SolarMutexGuard aGuard;
...@@ -472,13 +472,13 @@ void SAL_CALL ...@@ -472,13 +472,13 @@ void SAL_CALL
sDescription = String( SdResId(SID_SD_A11Y_D_DRAWVIEW_D) ); sDescription = String( SdResId(SID_SD_A11Y_D_DRAWVIEW_D) );
} }
} }
else if (sFirstService == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.NotesView"))) else if (sFirstService.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.presentation.NotesView")))
{ {
SolarMutexGuard aGuard; SolarMutexGuard aGuard;
sDescription = String( SdResId(SID_SD_A11Y_I_NOTESVIEW_D) ); sDescription = String( SdResId(SID_SD_A11Y_I_NOTESVIEW_D) );
} }
else if (sFirstService == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.HandoutView"))) else if (sFirstService.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.presentation.HandoutView")))
{ {
SolarMutexGuard aGuard; SolarMutexGuard aGuard;
...@@ -732,9 +732,6 @@ void AccessibleDrawDocumentView::UpdateAccessibleName (void) ...@@ -732,9 +732,6 @@ void AccessibleDrawDocumentView::UpdateAccessibleName (void)
SetAccessibleName (sNewName, AutomaticallyCreated); SetAccessibleName (sNewName, AutomaticallyCreated);
} }
} // end of namespace accessibility } // end of namespace accessibility
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -227,14 +227,14 @@ void SAL_CALL ...@@ -227,14 +227,14 @@ void SAL_CALL
AccessibleDocumentViewBase::propertyChange (rEventObject); AccessibleDocumentViewBase::propertyChange (rEventObject);
OSL_TRACE ("AccessibleOutlineView::propertyChange"); OSL_TRACE ("AccessibleOutlineView::propertyChange");
if (rEventObject.PropertyName == ::rtl::OUString (RTL_CONSTASCII_USTRINGPARAM("CurrentPage"))) if (rEventObject.PropertyName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("CurrentPage")))
{ {
OSL_TRACE (" current page changed"); OSL_TRACE (" current page changed");
// The current page changed. Update the children accordingly. // The current page changed. Update the children accordingly.
UpdateChildren(); UpdateChildren();
} }
else if (rEventObject.PropertyName == ::rtl::OUString (RTL_CONSTASCII_USTRINGPARAM("VisibleArea"))) else if (rEventObject.PropertyName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("VisibleArea")))
{ {
OSL_TRACE (" visible area changed"); OSL_TRACE (" visible area changed");
......
...@@ -567,9 +567,6 @@ sal_Bool AccessibleSlideSorterObject::IsDisposed (void) ...@@ -567,9 +567,6 @@ sal_Bool AccessibleSlideSorterObject::IsDisposed (void)
return (rBHelper.bDisposed || rBHelper.bInDispose); return (rBHelper.bDisposed || rBHelper.bInDispose);
} }
SdPage* AccessibleSlideSorterObject::GetPage (void) const SdPage* AccessibleSlideSorterObject::GetPage (void) const
{ {
::sd::slidesorter::model::SharedPageDescriptor pDescriptor( ::sd::slidesorter::model::SharedPageDescriptor pDescriptor(
...@@ -580,7 +577,6 @@ SdPage* AccessibleSlideSorterObject::GetPage (void) const ...@@ -580,7 +577,6 @@ SdPage* AccessibleSlideSorterObject::GetPage (void) const
return NULL; return NULL;
} }
} // end of namespace ::accessibility } // end of namespace ::accessibility
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -1144,9 +1144,6 @@ IMPL_LINK(AccessibleSlideSorterView::Implementation, VisibilityChangeListener, v ...@@ -1144,9 +1144,6 @@ IMPL_LINK(AccessibleSlideSorterView::Implementation, VisibilityChangeListener, v
return 1; return 1;
} }
} // end of namespace ::accessibility } // end of namespace ::accessibility
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -151,9 +151,6 @@ Point AccessibleViewForwarder::PixelToLogic (const Point& rPoint) const ...@@ -151,9 +151,6 @@ Point AccessibleViewForwarder::PixelToLogic (const Point& rPoint) const
return Point(); return Point();
} }
Size AccessibleViewForwarder::PixelToLogic (const Size& rSize) const Size AccessibleViewForwarder::PixelToLogic (const Size& rSize) const
{ {
OSL_ASSERT (mpView != NULL); OSL_ASSERT (mpView != NULL);
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#include "AccessiblePresentationShape.hxx" #include "AccessiblePresentationShape.hxx"
#include "AccessiblePresentationGraphicShape.hxx" #include "AccessiblePresentationGraphicShape.hxx"
#include "AccessiblePresentationOLEShape.hxx" #include "AccessiblePresentationOLEShape.hxx"
#include <rtl/ustring.h> #include <rtl/ustring.hxx>
namespace accessibility { namespace accessibility {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment