regenerate list
This commit is contained in:
parent
8fef2fef03
commit
1a777329e8
@ -169,22 +169,6 @@ void XFCell::SetValue(rtl::OUString value)
|
||||
{
|
||||
m_eValueType = enumXFValueTypeFloat;
|
||||
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()
|
||||
|
@ -110,11 +110,6 @@ public:
|
||||
*/
|
||||
void SetValue(rtl::OUString value);
|
||||
|
||||
/**
|
||||
* @descr Set cell as a percent value with value percent.
|
||||
*/
|
||||
void SetPercent(rtl::OUString percent);
|
||||
|
||||
/**
|
||||
* @descr Set cell formula.
|
||||
*/
|
||||
|
@ -73,14 +73,6 @@ XFList::~XFList()
|
||||
{
|
||||
}
|
||||
|
||||
void XFList::AddItem(XFListItem *pItem)
|
||||
{
|
||||
assert(pItem);
|
||||
assert(pItem->GetContentType()!=enumXFContentUnknown);
|
||||
|
||||
Add(pItem);
|
||||
}
|
||||
|
||||
void XFList::ToXml(IXFStream *pStrm)
|
||||
{
|
||||
IXFAttrList *pAttrList = pStrm->GetAttrList();
|
||||
|
@ -87,11 +87,6 @@ public:
|
||||
*/
|
||||
void SetContinueNumber(sal_Bool bContinueNumber=sal_False);
|
||||
|
||||
/**
|
||||
* @descr Add a list item.
|
||||
*/
|
||||
void AddItem(XFListItem *pItem);
|
||||
|
||||
/**
|
||||
* @descr Output list obejct.
|
||||
*/
|
||||
|
@ -78,11 +78,6 @@ void XFTextContent::SetText(const rtl::OUString& text)
|
||||
m_strText = text;
|
||||
}
|
||||
|
||||
rtl::OUString XFTextContent::GetText()
|
||||
{
|
||||
return m_strText;
|
||||
}
|
||||
|
||||
void XFTextContent::ToXml(IXFStream *pStrm)
|
||||
{
|
||||
// pStrm->Characters(m_strText);
|
||||
|
@ -84,12 +84,6 @@ public:
|
||||
*/
|
||||
void SetText(const rtl::OUString& text);
|
||||
|
||||
/**
|
||||
* @descr return the content.
|
||||
* @return text content.
|
||||
*/
|
||||
rtl::OUString GetText();
|
||||
|
||||
virtual enumXFContent GetContentType();
|
||||
|
||||
virtual void ToXml(IXFStream *pStrm);
|
||||
|
@ -300,7 +300,7 @@ void SAL_CALL
|
||||
AccessibleDocumentViewBase::propertyChange (rEventObject);
|
||||
|
||||
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");
|
||||
|
||||
@ -335,7 +335,7 @@ void SAL_CALL
|
||||
else
|
||||
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");
|
||||
if (mpChildrenManager != NULL)
|
||||
@ -399,10 +399,10 @@ void SAL_CALL
|
||||
{
|
||||
uno::Sequence< ::rtl::OUString > aServices( xInfo->getSupportedServiceNames() );
|
||||
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 &&
|
||||
aServices[1] == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.PresentationView")))
|
||||
aServices[1].equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.presentation.PresentationView")))
|
||||
{
|
||||
SolarMutexGuard aGuard;
|
||||
|
||||
@ -415,13 +415,13 @@ void SAL_CALL
|
||||
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;
|
||||
|
||||
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;
|
||||
|
||||
@ -456,10 +456,10 @@ void SAL_CALL
|
||||
{
|
||||
uno::Sequence< ::rtl::OUString > aServices( xInfo->getSupportedServiceNames() );
|
||||
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 &&
|
||||
aServices[1] == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.PresentationView")))
|
||||
aServices[1].equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.presentation.PresentationView")))
|
||||
{
|
||||
SolarMutexGuard aGuard;
|
||||
|
||||
@ -472,13 +472,13 @@ void SAL_CALL
|
||||
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;
|
||||
|
||||
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;
|
||||
|
||||
@ -732,9 +732,6 @@ void AccessibleDrawDocumentView::UpdateAccessibleName (void)
|
||||
SetAccessibleName (sNewName, AutomaticallyCreated);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
} // end of namespace accessibility
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -227,14 +227,14 @@ void SAL_CALL
|
||||
AccessibleDocumentViewBase::propertyChange (rEventObject);
|
||||
|
||||
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");
|
||||
|
||||
// The current page changed. Update the children accordingly.
|
||||
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");
|
||||
|
||||
|
@ -567,9 +567,6 @@ sal_Bool AccessibleSlideSorterObject::IsDisposed (void)
|
||||
return (rBHelper.bDisposed || rBHelper.bInDispose);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
SdPage* AccessibleSlideSorterObject::GetPage (void) const
|
||||
{
|
||||
::sd::slidesorter::model::SharedPageDescriptor pDescriptor(
|
||||
@ -580,7 +577,6 @@ SdPage* AccessibleSlideSorterObject::GetPage (void) const
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
} // end of namespace ::accessibility
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -1144,9 +1144,6 @@ IMPL_LINK(AccessibleSlideSorterView::Implementation, VisibilityChangeListener, v
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
} // end of namespace ::accessibility
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -151,9 +151,6 @@ Point AccessibleViewForwarder::PixelToLogic (const Point& rPoint) const
|
||||
return Point();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Size AccessibleViewForwarder::PixelToLogic (const Size& rSize) const
|
||||
{
|
||||
OSL_ASSERT (mpView != NULL);
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "AccessiblePresentationShape.hxx"
|
||||
#include "AccessiblePresentationGraphicShape.hxx"
|
||||
#include "AccessiblePresentationOLEShape.hxx"
|
||||
#include <rtl/ustring.h>
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
namespace accessibility {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user