LibreOffice Module sc (master) 1
Macros | Functions | Variables
docsh.cxx File Reference
#include <sal/config.h>
#include <docsh.hxx>
#include <config_features.h>
#include <scitems.hxx>
#include <sc.hrc>
#include <vcl/errinf.hxx>
#include <editeng/justifyitem.hxx>
#include <comphelper/fileformat.h>
#include <comphelper/classids.hxx>
#include <comphelper/propertyvalue.hxx>
#include <formula/errorcodes.hxx>
#include <vcl/stdtext.hxx>
#include <vcl/syswin.hxx>
#include <vcl/svapp.hxx>
#include <vcl/virdev.hxx>
#include <vcl/weld.hxx>
#include <rtl/bootstrap.hxx>
#include <rtl/tencinfo.h>
#include <sal/log.hxx>
#include <svl/PasswordHelper.hxx>
#include <sfx2/app.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/dinfdlg.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/event.hxx>
#include <sfx2/docfilt.hxx>
#include <sfx2/lokhelper.hxx>
#include <sfx2/objface.hxx>
#include <sfx2/viewfrm.hxx>
#include <svl/documentlockfile.hxx>
#include <svl/fstathelper.hxx>
#include <svl/sharecontrolfile.hxx>
#include <svl/urihelper.hxx>
#include <osl/file.hxx>
#include <chgtrack.hxx>
#include <chgviset.hxx>
#include <com/sun/star/awt/Key.hpp>
#include <com/sun/star/awt/KeyModifier.hpp>
#include <com/sun/star/container/XContentEnumerationAccess.hpp>
#include <com/sun/star/document/UpdateDocMode.hpp>
#include <com/sun/star/script/vba/VBAEventId.hpp>
#include <com/sun/star/script/vba/VBAScriptEventId.hpp>
#include <com/sun/star/script/vba/XVBAEventProcessor.hpp>
#include <com/sun/star/script/vba/XVBAScriptListener.hpp>
#include <com/sun/star/script/vba/XVBACompatibility.hpp>
#include <com/sun/star/sheet/XSpreadsheetView.hpp>
#include <com/sun/star/task/XJob.hpp>
#include <com/sun/star/ui/theModuleUIConfigurationManagerSupplier.hpp>
#include <com/sun/star/ui/XAcceleratorConfiguration.hpp>
#include <com/sun/star/util/VetoException.hpp>
#include <com/sun/star/lang/XSingleComponentFactory.hpp>
#include <ooo/vba/excel/XWorkbook.hpp>
#include <comphelper/diagnose_ex.hxx>
#include <config_folders.h>
#include <scabstdlg.hxx>
#include <sot/formats.hxx>
#include <svx/compatflags.hxx>
#include <svx/dialogs.hrc>
#include <svx/svdpagv.hxx>
#include <svx/svdpage.hxx>
#include <docmodel/theme/Theme.hxx>
#include <formulacell.hxx>
#include <global.hxx>
#include <filter.hxx>
#include <scmod.hxx>
#include <tabvwsh.hxx>
#include <docfunc.hxx>
#include <imoptdlg.hxx>
#include <impex.hxx>
#include <scresid.hxx>
#include <strings.hrc>
#include <globstr.hrc>
#include <scerrors.hxx>
#include <brdcst.hxx>
#include <stlpool.hxx>
#include <autostyl.hxx>
#include <attrib.hxx>
#include <asciiopt.hxx>
#include <progress.hxx>
#include <pntlock.hxx>
#include <docuno.hxx>
#include <appoptio.hxx>
#include <formulaopt.hxx>
#include <scdll.hxx>
#include <detdata.hxx>
#include <printfun.hxx>
#include <dociter.hxx>
#include <cellform.hxx>
#include <chartlis.hxx>
#include <hints.hxx>
#include <xmlwrap.hxx>
#include <drwlayer.hxx>
#include <dbdata.hxx>
#include <scextopt.hxx>
#include <compiler.hxx>
#include <warnpassword.hxx>
#include <sheetdata.hxx>
#include <table.hxx>
#include <tabprotection.hxx>
#include <docparam.hxx>
#include "docshimp.hxx"
#include <sizedev.hxx>
#include <undomanager.hxx>
#include <refreshtimerprotector.hxx>
#include <officecfg/Office/Calc.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/mediadescriptor.hxx>
#include <unotools/tempfile.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <uiitems.hxx>
#include <dpobject.hxx>
#include <markdata.hxx>
#include <docoptio.hxx>
#include <orcusfilters.hxx>
#include <datastream.hxx>
#include <documentlinkmgr.hxx>
#include <refupdatecontext.hxx>
#include <memory>
#include <vector>
#include <comphelper/lok.hxx>
#include <svtools/sfxecode.hxx>
#include <unotools/pathoptions.hxx>
#include <scslots.hxx>
Include dependency graph for docsh.cxx:

Go to the source code of this file.

Macros

#define ShellClass_ScDocShell
 

Functions

static void lcl_parseHtmlFilterOption (const OUString &rOption, LanguageType &rLang, bool &rDateConvert, bool &rScientificConvert)
 
SAL_DLLPUBLIC_EXPORT bool TestImportSLK (SvStream &rStream)
 
SAL_DLLPUBLIC_EXPORT bool TestImportDBF (SvStream &rStream)
 

Variables

constexpr OUStringLiteral pFilterSc50 = u"StarCalc 5.0"
 
const char pFilterXML [] = "StarOffice XML (Calc)"
 
constexpr OUStringLiteral pFilterLotus = u"Lotus"
 
const char pFilterQPro6 [] = "Quattro Pro 6.0"
 
const char16_t pFilterExcel4 [] = u"MS Excel 4.0"
 
const char16_t pFilterEx4Temp [] = u"MS Excel 4.0 Vorlage/Template"
 
const char pFilterExcel5 [] = "MS Excel 5.0/95"
 
const char pFilterEx5Temp [] = "MS Excel 5.0/95 Vorlage/Template"
 
const char pFilterExcel95 [] = "MS Excel 95"
 
const char pFilterEx95Temp [] = "MS Excel 95 Vorlage/Template"
 
const char pFilterExcel97 [] = "MS Excel 97"
 
const char pFilterEx97Temp [] = "MS Excel 97 Vorlage/Template"
 
constexpr OUStringLiteral pFilterDBase = u"dBase"
 
constexpr OUStringLiteral pFilterDif = u"DIF"
 
const char16_t pFilterSylk [] = u"SYLK"
 
constexpr OUStringLiteral pFilterHtml = u"HTML (StarCalc)"
 
constexpr OUStringLiteral pFilterHtmlWebQ = u"calc_HTML_WebQuery"
 
const char16_t pFilterRtf [] = u"Rich Text Format (StarCalc)"
 

Macro Definition Documentation

◆ ShellClass_ScDocShell

#define ShellClass_ScDocShell

Definition at line 180 of file docsh.cxx.

Function Documentation

◆ lcl_parseHtmlFilterOption()

static void lcl_parseHtmlFilterOption ( const OUString &  rOption,
LanguageType rLang,
bool &  rDateConvert,
bool &  rScientificConvert 
)
static

Definition at line 1140 of file docsh.cxx.

References aBuf, i, n, p, and toInt32().

Referenced by ScDocShell::ConvertFrom().

◆ TestImportDBF()

SAL_DLLPUBLIC_EXPORT bool TestImportDBF ( SvStream rStream)

Definition at line 3439 of file docsh.cxx.

◆ TestImportSLK()

SAL_DLLPUBLIC_EXPORT bool TestImportSLK ( SvStream rStream)

Variable Documentation

◆ pFilterDBase

constexpr OUStringLiteral pFilterDBase = u"dBase"
constexpr

◆ pFilterDif

constexpr OUStringLiteral pFilterDif = u"DIF"
constexpr

◆ pFilterEx4Temp

const char16_t pFilterEx4Temp[] = u"MS Excel 4.0 Vorlage/Template"

Definition at line 166 of file docsh.cxx.

Referenced by ScDocShell::ConvertFrom(), and ScDocShell::HasAutomaticTableName().

◆ pFilterEx5Temp

const char pFilterEx5Temp[] = "MS Excel 5.0/95 Vorlage/Template"

Definition at line 168 of file docsh.cxx.

Referenced by ScDocShell::ConvertFrom(), and ScDocShell::ConvertTo().

◆ pFilterEx95Temp

const char pFilterEx95Temp[] = "MS Excel 95 Vorlage/Template"

Definition at line 170 of file docsh.cxx.

Referenced by ScDocShell::ConvertFrom(), and ScDocShell::ConvertTo().

◆ pFilterEx97Temp

const char pFilterEx97Temp[] = "MS Excel 97 Vorlage/Template"

Definition at line 172 of file docsh.cxx.

Referenced by ScDocShell::ConvertFrom(), and ScDocShell::ConvertTo().

◆ pFilterExcel4

const char16_t pFilterExcel4[] = u"MS Excel 4.0"

Definition at line 165 of file docsh.cxx.

Referenced by ScDocShell::ConvertFrom(), and ScDocShell::HasAutomaticTableName().

◆ pFilterExcel5

const char pFilterExcel5[] = "MS Excel 5.0/95"

Definition at line 167 of file docsh.cxx.

Referenced by ScDocShell::ConvertFrom(), and ScDocShell::ConvertTo().

◆ pFilterExcel95

const char pFilterExcel95[] = "MS Excel 95"

Definition at line 169 of file docsh.cxx.

Referenced by ScDocShell::ConvertFrom(), and ScDocShell::ConvertTo().

◆ pFilterExcel97

const char pFilterExcel97[] = "MS Excel 97"

Definition at line 171 of file docsh.cxx.

Referenced by ScDocShell::ConvertFrom(), and ScDocShell::ConvertTo().

◆ pFilterHtml

constexpr OUStringLiteral pFilterHtml = u"HTML (StarCalc)"
constexpr

◆ pFilterHtmlWebQ

constexpr OUStringLiteral pFilterHtmlWebQ = u"calc_HTML_WebQuery"
constexpr

Definition at line 177 of file docsh.cxx.

Referenced by ScDocShell::ConvertFrom(), and ScDocShell::GetWebQueryFilterName().

◆ pFilterLotus

constexpr OUStringLiteral pFilterLotus = u"Lotus"
constexpr

◆ pFilterQPro6

const char pFilterQPro6[] = "Quattro Pro 6.0"

Definition at line 164 of file docsh.cxx.

Referenced by ScDocShell::ConvertFrom().

◆ pFilterRtf

const char16_t pFilterRtf[] = u"Rich Text Format (StarCalc)"

Definition at line 178 of file docsh.cxx.

Referenced by ScDocShell::ConvertFrom(), and ScDocShell::HasAutomaticTableName().

◆ pFilterSc50

constexpr OUStringLiteral pFilterSc50 = u"StarCalc 5.0"
constexpr

Definition at line 161 of file docsh.cxx.

Referenced by ScDocShell::GetOwnFilterName().

◆ pFilterSylk

const char16_t pFilterSylk[] = u"SYLK"

◆ pFilterXML

const char pFilterXML[] = "StarOffice XML (Calc)"

Definition at line 162 of file docsh.cxx.

Referenced by ScDocShell::ConvertFrom(), and ScDocShell::ConvertTo().