LibreOffice Module sc (master) 1
|
#include <docuno.hxx>
Public Member Functions | |
ScTableColumnsObj (ScDocShell *pDocSh, SCTAB nT, SCCOL nSC, SCCOL nEC) | |
virtual | ~ScTableColumnsObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void SAL_CALL | insertByIndex (sal_Int32 nIndex, sal_Int32 nCount) override |
XTableColumns. More... | |
virtual void SAL_CALL | removeByIndex (sal_Int32 nIndex, sal_Int32 nCount) override |
virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override |
XNameAccess. More... | |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) override |
virtual sal_Int32 SAL_CALL | getCount () override |
XIndexAccess. More... | |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
XEnumerationAccess. More... | |
virtual css::uno::Type SAL_CALL | getElementType () override |
XElementAccess. More... | |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
XPropertySet. More... | |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual OUString SAL_CALL | getImplementationName () override |
XServiceInfo. More... | |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Private Member Functions | |
rtl::Reference< ScTableColumnObj > | GetObjectByIndex_Impl (sal_Int32 nIndex) const |
rtl::Reference< ScTableColumnObj > | GetObjectByName_Impl (std::u16string_view aName) const |
Private Attributes | |
ScDocShell * | pDocShell |
SCTAB | nTab |
SCCOL | nStartCol |
SCCOL | nEndCol |
Definition at line 516 of file docuno.hxx.
ScTableColumnsObj::ScTableColumnsObj | ( | ScDocShell * | pDocSh, |
SCTAB | nT, | ||
SCCOL | nSC, | ||
SCCOL | nEC | ||
) |
Definition at line 4090 of file docuno.cxx.
References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.
|
overridevirtual |
Definition at line 4099 of file docuno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
XEnumerationAccess.
Definition at line 4180 of file docuno.cxx.
|
overridevirtual |
Definition at line 4194 of file docuno.cxx.
References GetObjectByIndex_Impl(), nIndex, and xColumn.
|
overridevirtual |
XNameAccess.
Definition at line 4216 of file docuno.cxx.
References aName, GetObjectByName_Impl(), and xColumn.
|
overridevirtual |
XIndexAccess.
Definition at line 4188 of file docuno.cxx.
References nEndCol, and nStartCol.
Referenced by hasElements().
|
overridevirtual |
Definition at line 4226 of file docuno.cxx.
References aSeq, i, nCount, nEndCol, nStartCol, and ScColToAlpha().
|
overridevirtual |
XElementAccess.
Definition at line 4205 of file docuno.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
XServiceInfo.
|
private |
Definition at line 4121 of file docuno.cxx.
References nEndCol, nIndex, nStartCol, nTab, and pDocShell.
Referenced by getByIndex().
|
private |
Definition at line 4130 of file docuno.cxx.
References AlphaToCol(), aName, ScDocShell::GetDocument(), nEndCol, nStartCol, nTab, and pDocShell.
Referenced by getByName().
|
overridevirtual |
|
overridevirtual |
loop over all columns for current state?
Definition at line 4302 of file docuno.cxx.
References ScDocument::ColHidden(), convertTwipToMm100(), ScDocument::GetColFlags(), ScDocShell::GetDocument(), ScDocument::GetOriginalWidth(), ScDocument::HasColBreak(), Manual, ManualSize, NONE, nStartCol, nTab, pDocShell, SC_UNONAME_CELLVIS, SC_UNONAME_CELLWID, SC_UNONAME_MANPAGE, SC_UNONAME_NEWPAGE, and SC_UNONAME_OWIDTH.
|
overridevirtual |
|
overridevirtual |
Definition at line 4238 of file docuno.cxx.
References AlphaToCol(), aName, ScDocShell::GetDocument(), nEndCol, nStartCol, and pDocShell.
|
overridevirtual |
Definition at line 4210 of file docuno.cxx.
References getCount().
|
overridevirtual |
XTableColumns.
Definition at line 4140 of file docuno.cxx.
References ScDocShell::GetDocFunc(), ScDocShell::GetDocument(), INS_INSCOLS_BEFORE, ScDocFunc::InsertCells(), ScDocument::MaxCol(), ScDocument::MaxRow(), nCount, nEndCol, nStartCol, nTab, and pDocShell.
|
overridevirtual |
update of references for sheet and its start/end
Reimplemented from SfxListener.
Definition at line 4107 of file docuno.cxx.
References SfxHint::GetId(), and pDocShell.
|
overridevirtual |
Definition at line 4159 of file docuno.cxx.
References Cols, ScDocFunc::DeleteCells(), ScDocShell::GetDocFunc(), ScDocShell::GetDocument(), ScDocument::MaxRow(), nCount, nEndCol, nIndex, nStartCol, nTab, and pDocShell.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
single function to set/remove all breaks?
Definition at line 4258 of file docuno.cxx.
References eMode, ScUnoHelpFunctions::GetBoolFromAny(), ScDocShell::GetDocFunc(), ScDocFunc::InsertPageBreak(), o3tl::mm100, nEndCol, nStartCol, nTab, pDocShell, ScDocFunc::RemovePageBreak(), SC_SIZE_DIRECT, SC_SIZE_OPTIMAL, SC_SIZE_ORIGINAL, SC_SIZE_SHOW, SC_UNONAME_CELLVIS, SC_UNONAME_CELLWID, SC_UNONAME_MANPAGE, SC_UNONAME_NEWPAGE, SC_UNONAME_OWIDTH, ScDocFunc::SetWidthOrHeight(), STD_EXTRA_WIDTH, and o3tl::toTwips().
|
overridevirtual |
|
private |
Definition at line 528 of file docuno.hxx.
Referenced by getCount(), getElementNames(), GetObjectByIndex_Impl(), GetObjectByName_Impl(), hasByName(), insertByIndex(), removeByIndex(), and setPropertyValue().
|
private |
Definition at line 527 of file docuno.hxx.
Referenced by getCount(), getElementNames(), GetObjectByIndex_Impl(), GetObjectByName_Impl(), getPropertyValue(), hasByName(), insertByIndex(), removeByIndex(), and setPropertyValue().
|
private |
Definition at line 526 of file docuno.hxx.
Referenced by GetObjectByIndex_Impl(), GetObjectByName_Impl(), getPropertyValue(), insertByIndex(), removeByIndex(), and setPropertyValue().
|
private |
Definition at line 525 of file docuno.hxx.
Referenced by GetObjectByIndex_Impl(), GetObjectByName_Impl(), getPropertyValue(), hasByName(), insertByIndex(), Notify(), removeByIndex(), ScTableColumnsObj(), setPropertyValue(), and ~ScTableColumnsObj().