LibreOffice Module unotools (master) 1
Classes | Macros | Variables
moduleoptions.cxx File Reference
#include <sal/config.h>
#include <string_view>
#include <unotools/moduleoptions.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <unotools/configitem.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/sequence.hxx>
#include <osl/diagnose.h>
#include <o3tl/enumarray.hxx>
#include <o3tl/string_view.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/document/XTypeDetection.hpp>
#include <com/sun/star/util/PathSubstitution.hpp>
#include <com/sun/star/util/XStringSubstitution.hpp>
#include "itemholder1.hxx"
Include dependency graph for moduleoptions.cxx:

Go to the source code of this file.

Classes

class  SvtModuleOptions_Impl
 

Macros

#define PATHSEPARATOR   "/"
 
#define PROPERTYNAME_SHORTNAME   "ooSetupFactoryShortName"
 
#define PROPERTYNAME_TEMPLATEFILE   "ooSetupFactoryTemplateFile"
 
#define PROPERTYNAME_WINDOWATTRIBUTES   "ooSetupFactoryWindowAttributes"
 
#define PROPERTYNAME_EMPTYDOCUMENTURL   "ooSetupFactoryEmptyDocumentURL"
 
#define PROPERTYNAME_DEFAULTFILTER   "ooSetupFactoryDefaultFilter"
 
#define PROPERTYNAME_ICON   "ooSetupFactoryIcon"
 
#define PROPERTYHANDLE_SHORTNAME   0
 
#define PROPERTYHANDLE_TEMPLATEFILE   1
 
#define PROPERTYHANDLE_WINDOWATTRIBUTES   2
 
#define PROPERTYHANDLE_EMPTYDOCUMENTURL   3
 
#define PROPERTYHANDLE_DEFAULTFILTER   4
 
#define PROPERTYHANDLE_ICON   5
 
#define PROPERTYCOUNT   6
 
#define FACTORYCOUNT   11
 

Variables

constexpr OUStringLiteral ROOTNODE_FACTORIES = u"Setup/Office/Factories"
 
constexpr OUStringLiteral FACTORYNAME_WRITER = u"com.sun.star.text.TextDocument"
 
constexpr OUStringLiteral FACTORYNAME_WRITERWEB = u"com.sun.star.text.WebDocument"
 
constexpr OUStringLiteral FACTORYNAME_WRITERGLOBAL = u"com.sun.star.text.GlobalDocument"
 
constexpr OUStringLiteral FACTORYNAME_CALC = u"com.sun.star.sheet.SpreadsheetDocument"
 
constexpr OUStringLiteral FACTORYNAME_DRAW = u"com.sun.star.drawing.DrawingDocument"
 
constexpr OUStringLiteral FACTORYNAME_IMPRESS = u"com.sun.star.presentation.PresentationDocument"
 
constexpr OUStringLiteral FACTORYNAME_MATH = u"com.sun.star.formula.FormulaProperties"
 
constexpr OUStringLiteral FACTORYNAME_CHART = u"com.sun.star.chart2.ChartDocument"
 
constexpr OUStringLiteral FACTORYNAME_DATABASE = u"com.sun.star.sdb.OfficeDatabaseDocument"
 
constexpr OUStringLiteral FACTORYNAME_STARTMODULE = u"com.sun.star.frame.StartModule"
 
constexpr OUStringLiteral FACTORYNAME_BASIC = u"com.sun.star.script.BasicIDE"
 

Macro Definition Documentation

◆ FACTORYCOUNT

#define FACTORYCOUNT   11

Definition at line 88 of file moduleoptions.cxx.

◆ PATHSEPARATOR

#define PATHSEPARATOR   "/"

Definition at line 56 of file moduleoptions.cxx.

◆ PROPERTYCOUNT

#define PROPERTYCOUNT   6

Definition at line 74 of file moduleoptions.cxx.

◆ PROPERTYHANDLE_DEFAULTFILTER

#define PROPERTYHANDLE_DEFAULTFILTER   4

Definition at line 71 of file moduleoptions.cxx.

◆ PROPERTYHANDLE_EMPTYDOCUMENTURL

#define PROPERTYHANDLE_EMPTYDOCUMENTURL   3

Definition at line 70 of file moduleoptions.cxx.

◆ PROPERTYHANDLE_ICON

#define PROPERTYHANDLE_ICON   5

Definition at line 72 of file moduleoptions.cxx.

◆ PROPERTYHANDLE_SHORTNAME

#define PROPERTYHANDLE_SHORTNAME   0

Definition at line 67 of file moduleoptions.cxx.

◆ PROPERTYHANDLE_TEMPLATEFILE

#define PROPERTYHANDLE_TEMPLATEFILE   1

Definition at line 68 of file moduleoptions.cxx.

◆ PROPERTYHANDLE_WINDOWATTRIBUTES

#define PROPERTYHANDLE_WINDOWATTRIBUTES   2

Definition at line 69 of file moduleoptions.cxx.

◆ PROPERTYNAME_DEFAULTFILTER

#define PROPERTYNAME_DEFAULTFILTER   "ooSetupFactoryDefaultFilter"

Definition at line 64 of file moduleoptions.cxx.

◆ PROPERTYNAME_EMPTYDOCUMENTURL

#define PROPERTYNAME_EMPTYDOCUMENTURL   "ooSetupFactoryEmptyDocumentURL"

Definition at line 63 of file moduleoptions.cxx.

◆ PROPERTYNAME_ICON

#define PROPERTYNAME_ICON   "ooSetupFactoryIcon"

Definition at line 65 of file moduleoptions.cxx.

◆ PROPERTYNAME_SHORTNAME

#define PROPERTYNAME_SHORTNAME   "ooSetupFactoryShortName"

Definition at line 60 of file moduleoptions.cxx.

◆ PROPERTYNAME_TEMPLATEFILE

#define PROPERTYNAME_TEMPLATEFILE   "ooSetupFactoryTemplateFile"

Definition at line 61 of file moduleoptions.cxx.

◆ PROPERTYNAME_WINDOWATTRIBUTES

#define PROPERTYNAME_WINDOWATTRIBUTES   "ooSetupFactoryWindowAttributes"

Definition at line 62 of file moduleoptions.cxx.

Variable Documentation

◆ FACTORYNAME_BASIC

constexpr OUStringLiteral FACTORYNAME_BASIC = u"com.sun.star.script.BasicIDE"
constexpr

◆ FACTORYNAME_CALC

constexpr OUStringLiteral FACTORYNAME_CALC = u"com.sun.star.sheet.SpreadsheetDocument"
constexpr

◆ FACTORYNAME_CHART

constexpr OUStringLiteral FACTORYNAME_CHART = u"com.sun.star.chart2.ChartDocument"
constexpr

◆ FACTORYNAME_DATABASE

constexpr OUStringLiteral FACTORYNAME_DATABASE = u"com.sun.star.sdb.OfficeDatabaseDocument"
constexpr

◆ FACTORYNAME_DRAW

constexpr OUStringLiteral FACTORYNAME_DRAW = u"com.sun.star.drawing.DrawingDocument"
constexpr

◆ FACTORYNAME_IMPRESS

constexpr OUStringLiteral FACTORYNAME_IMPRESS = u"com.sun.star.presentation.PresentationDocument"
constexpr

◆ FACTORYNAME_MATH

constexpr OUStringLiteral FACTORYNAME_MATH = u"com.sun.star.formula.FormulaProperties"
constexpr

◆ FACTORYNAME_STARTMODULE

constexpr OUStringLiteral FACTORYNAME_STARTMODULE = u"com.sun.star.frame.StartModule"
constexpr

◆ FACTORYNAME_WRITER

constexpr OUStringLiteral FACTORYNAME_WRITER = u"com.sun.star.text.TextDocument"
constexpr

◆ FACTORYNAME_WRITERGLOBAL

constexpr OUStringLiteral FACTORYNAME_WRITERGLOBAL = u"com.sun.star.text.GlobalDocument"
constexpr

◆ FACTORYNAME_WRITERWEB

constexpr OUStringLiteral FACTORYNAME_WRITERWEB = u"com.sun.star.text.WebDocument"
constexpr

◆ ROOTNODE_FACTORIES

constexpr OUStringLiteral ROOTNODE_FACTORIES = u"Setup/Office/Factories"
constexpr

Definition at line 55 of file moduleoptions.cxx.