LibreOffice Module sc (master) 1
|
#include <vbaworkbook.hxx>
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 void SAL_CALL | ExportAsFixedFormat (const css::uno::Any &Type, const css::uno::Any &FileName, const css::uno::Any &Quality, const css::uno::Any &IncludeDocProperties, const css::uno::Any &IgnorePrintAreas, const css::uno::Any &From, const css::uno::Any &To, const css::uno::Any &OpenAfterPublish, const css::uno::Any &FixedFormatExtClassPtr) 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 |
Definition at line 28 of file vbaworkbook.hxx.
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 191 of file vbaworkbook.cxx.
ScVbaWorkbook::ScVbaWorkbook | ( | css::uno::Sequence< css::uno::Any > const & | aArgs, |
css::uno::Reference< css::uno::XComponentContext >const & | xContext | ||
) |
|
overridevirtual |
Definition at line 246 of file vbaworkbook.cxx.
References VbaDocumentBase::Activate().
|
overridevirtual |
Definition at line 67 of file vbaworkbook.cxx.
References ColorData, nIndex, and XLRGBToOORGB().
|
overridevirtual |
Definition at line 360 of file vbaworkbook.cxx.
References ooo::vba::excel::ExportAsFixedFormatHelper(), To, and xModel.
|
overridevirtual |
Definition at line 203 of file vbaworkbook.cxx.
References getCurrentExcelDoc(), ooo::vba::excel::getUnoSheetModuleObj(), mxContext, and xModel.
|
overridevirtual |
Definition at line 285 of file vbaworkbook.cxx.
|
overridevirtual |
Definition at line 412 of file vbaworkbook.cxx.
|
override |
Definition at line 122 of file vbaworkbook.cxx.
References Name, and SC_TEXT_CSV_FILTER_NAME.
|
overridevirtual |
Definition at line 264 of file vbaworkbook.cxx.
References ScDocument::GetDocOptions(), ooo::vba::excel::getDocShell(), and ScDocOptions::IsCalcAsShown().
|
overridevirtual |
Definition at line 258 of file vbaworkbook.cxx.
|
overridevirtual |
Definition at line 396 of file vbaworkbook.cxx.
|
overridevirtual |
Definition at line 402 of file vbaworkbook.cxx.
References aServiceNames.
|
override |
Definition at line 419 of file vbaworkbook.cxx.
References comphelper::getSomething_cast().
|
private |
Definition at line 183 of file vbaworkbook.cxx.
References ColorData, ooo::vba::excel::getDocShell(), and ResetColors().
Referenced by ScVbaWorkbook().
|
overridevirtual |
Definition at line 384 of file vbaworkbook.cxx.
|
overridevirtual |
Definition at line 252 of file vbaworkbook.cxx.
References VbaDocumentBase::Protect().
|
overridevirtual |
Definition at line 55 of file vbaworkbook.cxx.
References ColorData, ScVbaPalette::getDefaultPalette(), and index.
Referenced by init().
|
overridevirtual |
Definition at line 315 of file vbaworkbook.cxx.
References aURL, comphelper::makePropertyValue(), setFilterPropsFromFormat(), and INetURLObject::ToIUri.
|
overridevirtual |
Definition at line 304 of file vbaworkbook.cxx.
References aURL, and comphelper::makePropertyValue().
|
overridevirtual |
Definition at line 294 of file vbaworkbook.cxx.
|
staticprivate |
Definition at line 81 of file vbaworkbook.cxx.
References begin, end, and SC_TEXT_CSV_FILTER_NAME.
Referenced by SaveAs().
|
overridevirtual |
Definition at line 274 of file vbaworkbook.cxx.
References ScDocument::GetDocOptions(), ooo::vba::excel::getDocShell(), ScDocOptions::SetCalcAsShown(), and ScDocument::SetDocOptions().
|
overridevirtual |
Definition at line 216 of file vbaworkbook.cxx.
References aIndex, and Worksheets().
|
overridevirtual |
Definition at line 372 of file vbaworkbook.cxx.
References uno::Any::hasValue(), and mxContext.
|
overridevirtual |
Definition at line 236 of file vbaworkbook.cxx.
|
overridevirtual |
|
staticprivate |
Definition at line 30 of file vbaworkbook.hxx.
Referenced by Colors(), init(), and ResetColors().