20#include <rtl/bootstrap.hxx>
21#include <osl/file.hxx>
26#include <config_folders.h>
35#include <svx/svxids.hrc>
63 pStyleSheetPool->CreateStandardStyles();
68 OUString
aURL(
"$BRAND_BASE_DIR/" LIBO_SHARE_FOLDER
"/calc/styles.xml");
69 rtl::Bootstrap::expandMacros(
aURL);
72 osl::FileBase::getSystemPathFromFileURL(
aURL, aPath);
78 pStyleSheetPool->setAllParaStandard();
131 if (aLocales.hasElements())
133 std::shared_ptr<SvxForbiddenCharactersTable> xForbiddenTable(
136 for (
const lang::Locale& rLocale : aLocales)
138 i18n::ForbiddenCharacters aForbidden;
139 aAsian.
GetStartEndChars( rLocale, aForbidden.beginLine, aForbidden.endLine );
142 xForbiddenTable->SetForbiddenCharacters( eLang, aForbidden );
145 m_pDocument->SetForbiddenCharacters( xForbiddenTable );
177 Broadcast(
SfxHint( SfxHintId::ScDrawLayerNew ) );
static LanguageType convertToLanguageType(const css::lang::Locale &rLocale, bool bResolveSystem=true)
void NotifyDrawUndo(std::unique_ptr< SdrUndoAction >)
SAL_DLLPRIVATE void ResetDrawObjectShell()
sal_uInt16 m_nDocumentLock
std::unique_ptr< ScDocFunc > m_pDocFunc
virtual bool InitNew(const css::uno::Reference< css::embed::XStorage > &) override
SAL_DLLPRIVATE void InitItems()
std::shared_ptr< ScDocument > m_pDocument
ScDrawLayer * MakeDrawLayer()
SAL_DLLPRIVATE void InitOptions(bool bForLoading)
void SetVisAreaOrSize(const tools::Rectangle &rVisArea)
static SC_DLLPUBLIC sal_uInt16 nStdRowHeight
Collection of orcus filter wrappers.
virtual bool importODS_Styles(ScDocument &rDoc, OUString &aFileName) const =0
Used to import just the styles from an xml file.
XBitmapListRef GetBitmapList() const
void SetNotifyUndoActionHdl(const std::function< void(std::unique_ptr< SdrUndoAction >)> &rLink)
XDashListRef GetDashList() const
XGradientListRef GetGradientList() const
XPatternListRef GetPatternList() const
XLineEndListRef GetLineEndList() const
XColorListRef GetColorList() const
XHatchListRef GetHatchList() const
virtual bool InitNew(const css::uno::Reference< css::embed::XStorage > &xStorage)
void PutItem(const SfxPoolItem &rItem)
CharCompressType GetCharDistanceCompression() const
bool GetStartEndChars(css::lang::Locale const &locale, OUString &startChars, OUString &endChars) const
css::uno::Sequence< css::lang::Locale > GetStartEndCharLocales() const
bool IsKerningWesternTextOnly() const
static std::shared_ptr< SvxForbiddenCharactersTable > makeForbiddenCharactersTable(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
static XColorListRef GetStdColorList()
constexpr sal_Int32 STD_COL_WIDTH
Reference< XComponentContext > getProcessComponentContext()
constexpr Point convert(const Point &rPoint, o3tl::Length eFrom, o3tl::Length eTo)