LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
ScVbaWorkbook Class Reference

#include <vbaworkbook.hxx>

Inheritance diagram for ScVbaWorkbook:
Collaboration diagram for ScVbaWorkbook:

Public Member Functions

 ScVbaWorkbook (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::frame::XModel > const &xModel)
 ScVbaWorkbook (css::uno::Sequence< css::uno::Any > const &aArgs, css::uno::Reference< css::uno::XComponentContext >const &xContext)
virtual sal_Bool SAL_CALL getProtectStructure () override
virtual css::uno::Reference< ov::excel::XWorksheet > SAL_CALL getActiveSheet () override
virtual sal_Bool SAL_CALL getPrecisionAsDisplayed () override
virtual void SAL_CALL setPrecisionAsDisplayed (sal_Bool _precisionAsDisplayed) override
virtual OUString SAL_CALL getAuthor () override
virtual void SAL_CALL setAuthor (const OUString &_author) override
virtual css::uno::Any SAL_CALL Worksheets (const css::uno::Any &aIndex) override
virtual css::uno::Any SAL_CALL Sheets (const css::uno::Any &aIndex) override
virtual css::uno::Any SAL_CALL Windows (const css::uno::Any &aIndex) override
virtual void SAL_CALL Activate () override
virtual void SAL_CALL Protect (const css::uno::Any &aPassword) override
virtual void SAL_CALL SaveAs (const css::uno::Any &FileName, const css::uno::Any &FileFormat, const css::uno::Any &Password, const css::uno::Any &WriteResPassword, const css::uno::Any &ReadOnlyRecommended, const css::uno::Any &CreateBackup, const css::uno::Any &AccessMode, const css::uno::Any &ConflictResolution, const css::uno::Any &AddToMru, const css::uno::Any &TextCodepage, const css::uno::Any &TextVisualLayout, const css::uno::Any &Local) override
virtual css::uno::Any SAL_CALL Names (const css::uno::Any &aIndex) override
virtual css::uno::Any SAL_CALL Styles (const css::uno::Any &Item) override
virtual void SAL_CALL ResetColors () override
virtual css::uno::Any SAL_CALL Colors (const css::uno::Any &Index) override
virtual ::sal_Int32 SAL_CALL getFileFormat () override
virtual void SAL_CALL SaveCopyAs (const OUString &Filename) override
virtual OUString SAL_CALL getCodeName () override
virtual OUString getServiceImplName () override
virtual css::uno::Sequence< OUString > getServiceNames () override
virtual ::sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &rId) override

Private Member Functions

void init ()

Static Private Member Functions

static bool setFilterPropsFromFormat (sal_Int32 nFormat, css::uno::Sequence< css::beans::PropertyValue > &rProps)

Static Private Attributes

static css::uno::Sequence< sal_Int32 > ColorData

Detailed Description

Definition at line 28 of file vbaworkbook.hxx.

Constructor & Destructor Documentation

◆ ScVbaWorkbook() [1/2]

ScVbaWorkbook::ScVbaWorkbook ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
css::uno::Reference< css::frame::XModel > const &  xModel 

Definition at line 192 of file vbaworkbook.cxx.

References init(), and xModel.

◆ ScVbaWorkbook() [2/2]

ScVbaWorkbook::ScVbaWorkbook ( css::uno::Sequence< css::uno::Any > const &  aArgs,
css::uno::Reference< css::uno::XComponentContext >const &  xContext 

Member Function Documentation

◆ Activate()

void SAL_CALL ScVbaWorkbook::Activate ( )

Definition at line 247 of file vbaworkbook.cxx.

References VbaDocumentBase::Activate().

◆ Colors()

uno::Any SAL_CALL ScVbaWorkbook::Colors ( const css::uno::Any &  Index)

Definition at line 67 of file vbaworkbook.cxx.

References ColorData, nIndex, and XLRGBToOORGB().

◆ getActiveSheet()

uno::Reference< excel::XWorksheet > ScVbaWorkbook::getActiveSheet ( )

◆ getAuthor()

OUString SAL_CALL ScVbaWorkbook::getAuthor ( )

Definition at line 281 of file vbaworkbook.cxx.

◆ getCodeName()

OUString SAL_CALL ScVbaWorkbook::getCodeName ( )

Definition at line 396 of file vbaworkbook.cxx.

◆ getFileFormat()

sal_Int32 SAL_CALL ScVbaWorkbook::getFileFormat ( )

Definition at line 122 of file vbaworkbook.cxx.

References Name, and SC_TEXT_CSV_FILTER_NAME.

◆ getPrecisionAsDisplayed()

sal_Bool SAL_CALL ScVbaWorkbook::getPrecisionAsDisplayed ( )

◆ getProtectStructure()

sal_Bool ScVbaWorkbook::getProtectStructure ( )

Definition at line 259 of file vbaworkbook.cxx.

◆ getServiceImplName()

OUString ScVbaWorkbook::getServiceImplName ( )

Definition at line 380 of file vbaworkbook.cxx.

◆ getServiceNames()

uno::Sequence< OUString > ScVbaWorkbook::getServiceNames ( )

Definition at line 386 of file vbaworkbook.cxx.

References aServiceNames.

◆ getSomething()

sal_Int64 ScVbaWorkbook::getSomething ( const css::uno::Sequence< sal_Int8 > &  rId)

Definition at line 403 of file vbaworkbook.cxx.

References comphelper::getSomething_cast().

◆ init()

void ScVbaWorkbook::init ( )

◆ Names()

uno::Any SAL_CALL ScVbaWorkbook::Names ( const css::uno::Any &  aIndex)

Definition at line 368 of file vbaworkbook.cxx.

References aIndex, mxContext, and xModel.

◆ Protect()

void ScVbaWorkbook::Protect ( const css::uno::Any &  aPassword)

Definition at line 253 of file vbaworkbook.cxx.

References VbaDocumentBase::Protect().

◆ ResetColors()

void SAL_CALL ScVbaWorkbook::ResetColors ( )

Definition at line 55 of file vbaworkbook.cxx.

References ColorData, ScVbaPalette::getDefaultPalette(), and index.

Referenced by init().

◆ SaveAs()

void SAL_CALL ScVbaWorkbook::SaveAs ( const css::uno::Any &  FileName,
const css::uno::Any &  FileFormat,
const css::uno::Any &  Password,
const css::uno::Any &  WriteResPassword,
const css::uno::Any &  ReadOnlyRecommended,
const css::uno::Any &  CreateBackup,
const css::uno::Any &  AccessMode,
const css::uno::Any &  ConflictResolution,
const css::uno::Any &  AddToMru,
const css::uno::Any &  TextCodepage,
const css::uno::Any &  TextVisualLayout,
const css::uno::Any &  Local 

◆ SaveCopyAs()

void ScVbaWorkbook::SaveCopyAs ( const OUString &  Filename)

Definition at line 300 of file vbaworkbook.cxx.

References aURL, and comphelper::makePropertyValue().

◆ setAuthor()

void SAL_CALL ScVbaWorkbook::setAuthor ( const OUString &  _author)

Definition at line 290 of file vbaworkbook.cxx.

◆ setFilterPropsFromFormat()

bool ScVbaWorkbook::setFilterPropsFromFormat ( sal_Int32  nFormat,
css::uno::Sequence< css::beans::PropertyValue > &  rProps 

Definition at line 81 of file vbaworkbook.cxx.

References begin, end, and SC_TEXT_CSV_FILTER_NAME.

Referenced by SaveAs().

◆ setPrecisionAsDisplayed()

void SAL_CALL ScVbaWorkbook::setPrecisionAsDisplayed ( sal_Bool  _precisionAsDisplayed)

◆ Sheets()

uno::Any SAL_CALL ScVbaWorkbook::Sheets ( const css::uno::Any &  aIndex)

Definition at line 217 of file vbaworkbook.cxx.

References aIndex, and Worksheets().

◆ Styles()

css::uno::Any SAL_CALL ScVbaWorkbook::Styles ( const css::uno::Any &  Item)

Definition at line 356 of file vbaworkbook.cxx.

References uno::Any::hasValue(), and mxContext.

◆ Windows()

uno::Any SAL_CALL ScVbaWorkbook::Windows ( const css::uno::Any &  aIndex)

Definition at line 237 of file vbaworkbook.cxx.

References aIndex, and mxContext.

◆ Worksheets()

uno::Any SAL_CALL ScVbaWorkbook::Worksheets ( const css::uno::Any &  aIndex)

Definition at line 223 of file vbaworkbook.cxx.

References aIndex, mxContext, and xModel.

Referenced by Sheets().

Member Data Documentation

◆ ColorData

uno::Sequence< sal_Int32 > ScVbaWorkbook::ColorData

Definition at line 30 of file vbaworkbook.hxx.

Referenced by Colors(), init(), and ResetColors().

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