LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwVbaRows Class Reference

#include <vbarows.hxx>

Inheritance diagram for SwVbaRows:
[legend]
Collaboration diagram for SwVbaRows:
[legend]

Public Member Functions

 SwVbaRows (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::text::XTextTable > &xTextTable, const css::uno::Reference< css::table::XTableRows > &xTableRows)
 
 SwVbaRows (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::text::XTextTable > &xTextTable, const css::uno::Reference< css::table::XTableRows > &xTableRows, sal_Int32 nStarIndex, sal_Int32 nEndIndex)
 
virtual ::sal_Int32 SAL_CALL getAlignment () override
 get the alignment of the rows: SO format com.sun.star.text.HoriOrientation is mapped to WdRowAlignment in Word More...
 
virtual void SAL_CALL setAlignment (::sal_Int32 _alignment) override
 
virtual css::uno::Any SAL_CALL getAllowBreakAcrossPages () override
 
virtual void SAL_CALL setAllowBreakAcrossPages (const css::uno::Any &_allowbreakacrosspages) override
 
virtual float SAL_CALL getSpaceBetweenColumns () override
 
virtual void SAL_CALL setSpaceBetweenColumns (float _spacebetweencolumns) override
 
virtual void SAL_CALL Delete () override
 
virtual void SAL_CALL SetLeftIndent (float LeftIndent,::sal_Int32 RulerStyle) override
 
virtual void SAL_CALL Select () override
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL Item (const css::uno::Any &Index1, const css::uno::Any &) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Any createCollectionObject (const css::uno::Any &aSource) override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from CollTestImplHelper< Ifc >
 CollTestImplHelper (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false)
 
- Public Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
 ScVbaCollectionBase (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false)
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
OUString SAL_CALL getDefaultMethodName () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< Ifc... >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual ::sal_Int32 SAL_CALL getCreator () override
 
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL getParent () override
 
virtual css::uno::Any SAL_CALL Application () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Member Functions

void setIndentWithAdjustNone (sal_Int32 indent)
 
void setIndentWithAdjustFirstColumn (const css::uno::Reference< ooo::vba::word::XColumns > &xColumns, sal_Int32 indent)
 
void setIndentWithAdjustProportional (const css::uno::Reference< ooo::vba::word::XColumns > &xColumns, sal_Int32 indent)
 
void setIndentWithAdjustSameWidth (const css::uno::Reference< ooo::vba::word::XColumns > &xColumns, sal_Int32 indent)
 

Private Attributes

css::uno::Reference< css::text::XTextTable > mxTextTable
 
css::uno::Reference< css::table::XTableRows > mxTableRows
 
sal_Int32 mnStartRowIndex
 
sal_Int32 mnEndRowIndex
 

Additional Inherited Members

- Protected Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
virtual css::uno::Any getItemByStringIndex (const OUString &sIndex)
 
virtual css::uno::Any getItemByIntIndex (const sal_Int32 nIndex)
 
void UpdateCollectionIndex (const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess)
 
- Protected Attributes inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
css::uno::Reference< css::container::XIndexAccess > m_xIndexAccess
 
css::uno::Reference< css::container::XNameAccess > m_xNameAccess
 
bool const mbIgnoreCase
 
- Protected Attributes inherited from InheritedHelperInterfaceImpl< Ifc... >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 30 of file vbarows.hxx.

Constructor & Destructor Documentation

SwVbaRows::SwVbaRows ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< css::text::XTextTable > &  xTextTable,
const css::uno::Reference< css::table::XTableRows > &  xTableRows 
)
Exceptions
css::uno::RuntimeException
SwVbaRows::SwVbaRows ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< css::text::XTextTable > &  xTextTable,
const css::uno::Reference< css::table::XTableRows > &  xTableRows,
sal_Int32  nStarIndex,
sal_Int32  nEndIndex 
)
Exceptions
css::uno::RuntimeException

Member Function Documentation

uno::Any SwVbaRows::createCollectionObject ( const css::uno::Any &  aSource)
overridevirtual
uno::Reference< container::XEnumeration > SwVbaRows::createEnumeration ( )
overridevirtual
void SAL_CALL SwVbaRows::Delete ( )
overridevirtual

Definition at line 192 of file vbarows.cxx.

References getCount(), mnStartRowIndex, and mxTableRows.

sal_Int32 SAL_CALL SwVbaRows::getAlignment ( )
override

get the alignment of the rows: SO format com.sun.star.text.HoriOrientation is mapped to WdRowAlignment in Word

Returns
the alignment

Definition at line 79 of file vbarows.cxx.

References LEFT, mxTextTable, and RIGHT.

uno::Any SAL_CALL SwVbaRows::getAllowBreakAcrossPages ( )
overridevirtual

Definition at line 129 of file vbarows.cxx.

References index, mnEndRowIndex, mnStartRowIndex, and mxTableRows.

sal_Int32 SAL_CALL SwVbaRows::getCount ( )
override

Definition at line 312 of file vbarows.cxx.

References mnEndRowIndex, and mnStartRowIndex.

Referenced by Delete(), and Item().

uno::Type SwVbaRows::getElementType ( )
overridevirtual
OUString SwVbaRows::getServiceImplName ( )
overridevirtual

Implements InheritedHelperInterfaceImpl< Ifc... >.

Definition at line 350 of file vbarows.cxx.

uno::Sequence< OUString > SwVbaRows::getServiceNames ( )
overridevirtual

Implements InheritedHelperInterfaceImpl< Ifc... >.

Definition at line 356 of file vbarows.cxx.

float SAL_CALL SwVbaRows::getSpaceBetweenColumns ( )
overridevirtual

Definition at line 162 of file vbarows.cxx.

References mnStartRowIndex, and mxTextTable.

uno::Any SAL_CALL SwVbaRows::Item ( const css::uno::Any &  Index1,
const css::uno::Any &   
)
overridevirtual
void SAL_CALL SwVbaRows::Select ( )
overridevirtual
void SAL_CALL SwVbaRows::setAlignment ( ::sal_Int32  _alignment)
overridevirtual

Definition at line 105 of file vbarows.cxx.

References LEFT, mxTextTable, and RIGHT.

void SAL_CALL SwVbaRows::setAllowBreakAcrossPages ( const css::uno::Any &  _allowbreakacrosspages)
overridevirtual

Definition at line 150 of file vbarows.cxx.

References index, mnEndRowIndex, mnStartRowIndex, and mxTableRows.

void SwVbaRows::setIndentWithAdjustFirstColumn ( const css::uno::Reference< ooo::vba::word::XColumns > &  xColumns,
sal_Int32  indent 
)
private
Exceptions
css::uno::RuntimeException

Definition at line 239 of file vbarows.cxx.

References setIndentWithAdjustNone().

Referenced by SetLeftIndent().

void SwVbaRows::setIndentWithAdjustNone ( sal_Int32  indent)
private
Exceptions
css::uno::RuntimeException

Definition at line 230 of file vbarows.cxx.

References mxTextTable.

Referenced by setIndentWithAdjustFirstColumn(), setIndentWithAdjustProportional(), setIndentWithAdjustSameWidth(), and SetLeftIndent().

void SwVbaRows::setIndentWithAdjustProportional ( const css::uno::Reference< ooo::vba::word::XColumns > &  xColumns,
sal_Int32  indent 
)
private
Exceptions
css::uno::RuntimeException

Definition at line 249 of file vbarows.cxx.

References i, mxTextTable, nColCount, and setIndentWithAdjustNone().

Referenced by SetLeftIndent().

void SwVbaRows::setIndentWithAdjustSameWidth ( const css::uno::Reference< ooo::vba::word::XColumns > &  xColumns,
sal_Int32  indent 
)
private
Exceptions
css::uno::RuntimeException

Definition at line 284 of file vbarows.cxx.

References i, mxTextTable, nColCount, and setIndentWithAdjustNone().

Referenced by SetLeftIndent().

void SAL_CALL SwVbaRows::SetLeftIndent ( float  LeftIndent,
::sal_Int32  RulerStyle 
)
overridevirtual
void SAL_CALL SwVbaRows::setSpaceBetweenColumns ( float  _spacebetweencolumns)
overridevirtual

Member Data Documentation

sal_Int32 SwVbaRows::mnEndRowIndex
private
sal_Int32 SwVbaRows::mnStartRowIndex
private
css::uno::Reference< css::table::XTableRows > SwVbaRows::mxTableRows
private

Definition at line 34 of file vbarows.hxx.

Referenced by Delete(), getAllowBreakAcrossPages(), and setAllowBreakAcrossPages().

css::uno::Reference< css::text::XTextTable > SwVbaRows::mxTextTable
private

The documentation for this class was generated from the following files: