LibreOffice Module sc (master)  1
Macros | Functions | Variables
docsh.cxx File Reference
#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 <formula/errorcodes.hxx>
#include <vcl/stdtext.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/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 <tools/diagnose_ex.h>
#include <config_folders.h>
#include <scabstdlg.hxx>
#include <sot/formats.hxx>
#include <svx/dialogs.hrc>
#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 <optsolver.hxx>
#include <sheetdata.hxx>
#include <tabprotection.hxx>
#include <docparam.hxx>
#include "docshimp.hxx"
#include <sizedev.hxx>
#include <refreshtimerprotector.hxx>
#include <officecfg/Office/Calc.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <unotools/configmgr.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 <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)
 
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 pFilterAscii = u"" SC_TEXT_CSV_FILTER_NAME
 
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

#define ShellClass_ScDocShell

Definition at line 166 of file docsh.cxx.

Function Documentation

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

Definition at line 1093 of file docsh.cxx.

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

Referenced by ScDocShell::ConvertFrom().

SAL_DLLPUBLIC_EXPORT bool TestImportDBF ( SvStream rStream)
SAL_DLLPUBLIC_EXPORT bool TestImportSLK ( SvStream rStream)

Variable Documentation

constexpr OUStringLiteral pFilterAscii = u"" SC_TEXT_CSV_FILTER_NAME
constexpr OUStringLiteral pFilterDBase = u"dBase"
constexpr OUStringLiteral pFilterDif = u"DIF"
const char16_t pFilterEx4Temp[] = u"MS Excel 4.0 Vorlage/Template"

Definition at line 152 of file docsh.cxx.

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

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

Definition at line 154 of file docsh.cxx.

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

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

Definition at line 156 of file docsh.cxx.

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

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

Definition at line 158 of file docsh.cxx.

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

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

Definition at line 151 of file docsh.cxx.

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

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

Definition at line 153 of file docsh.cxx.

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

const char pFilterExcel95[] = "MS Excel 95"

Definition at line 155 of file docsh.cxx.

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

const char pFilterExcel97[] = "MS Excel 97"

Definition at line 157 of file docsh.cxx.

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

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

Definition at line 163 of file docsh.cxx.

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

constexpr OUStringLiteral pFilterLotus = u"Lotus"
const char pFilterQPro6[] = "Quattro Pro 6.0"

Definition at line 150 of file docsh.cxx.

Referenced by ScDocShell::ConvertFrom().

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

Definition at line 164 of file docsh.cxx.

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

constexpr OUStringLiteral pFilterSc50 = u"StarCalc 5.0"

Definition at line 146 of file docsh.cxx.

Referenced by ScDocShell::GetOwnFilterName().

const char16_t pFilterSylk[] = u"SYLK"
const char pFilterXML[] = "StarOffice XML (Calc)"

Definition at line 147 of file docsh.cxx.

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