LibreOffice Module scripting (master) 1
Classes | Namespaces | Functions | Variables
stringresource.cxx File Reference
#include <memory>
#include "stringresource.hxx"
#include <com/sun/star/io/TempFile.hpp>
#include <com/sun/star/io/TextInputStream.hpp>
#include <com/sun/star/io/TextOutputStream.hpp>
#include <com/sun/star/io/XStream.hpp>
#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/lang/NoSupportException.hpp>
#include <com/sun/star/resource/MissingResourceException.hpp>
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/ElementExistException.hpp>
#include <com/sun/star/ucb/SimpleFileAccess.hpp>
#include <osl/diagnose.h>
#include <o3tl/string_view.hxx>
#include <rtl/ref.hxx>
#include <rtl/tencinfo.h>
#include <rtl/ustrbuf.hxx>
#include <tools/urlobj.hxx>
#include <unotools/tempfile.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <sal/log.hxx>
Include dependency graph for stringresource.cxx:

Go to the source code of this file.

Classes

class  stringresource::BinaryOutput
 

Namespaces

namespace  stringresource
 

Functions

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * stringresource::scripting_StringResourcePersistenceImpl_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
static bool stringresource::checkNamingSceme (std::u16string_view aName, std::u16string_view aNameBase, Locale &aLocale)
 
static OUString stringresource::implGetNameScemeForLocaleItem (const LocaleItem *pLocaleItem)
 
static bool stringresource::isWhiteSpace (sal_Unicode c)
 
static void stringresource::skipWhites (const sal_Unicode *pBuf, sal_Int32 nLen, sal_Int32 &ri)
 
static bool stringresource::isHexDigit (sal_Unicode c, sal_uInt16 &nDigitVal)
 
static sal_Unicode stringresource::getEscapeChar (const sal_Unicode *pBuf, sal_Int32 nLen, sal_Int32 &ri)
 
static void stringresource::CheckContinueInNextLine (const Reference< io::XTextInputStream2 > &xTextInputStream, OUString &aLine, bool &bEscapePending, const sal_Unicode *&pBuf, sal_Int32 &nLen, sal_Int32 &i)
 
static sal_Unicode stringresource::getHexCharForDigit (sal_uInt16 nDigitVal)
 
static void stringresource::implWriteCharToBuffer (OUStringBuffer &aBuf, sal_Unicode cu, bool bKey)
 
static void stringresource::implWriteStringWithEncoding (const OUString &aStr, Reference< io::XTextOutputStream2 > const &xTextOutputStream, bool bKey)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * stringresource::scripting_StringResourceWithStorageImpl_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * stringresource::scripting_StringResourceWithLocationImpl_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 

Variables

constexpr OUStringLiteral stringresource::aNameBaseDefaultStr = u"strings"
 

Variable Documentation

◆ m_aData

Sequence< sal_Int8 > m_aData
private

Definition at line 1248 of file stringresource.cxx.

◆ m_nCurPos

sal_Int32 m_nCurPos
private

Definition at line 1251 of file stringresource.cxx.

◆ m_nSize

sal_Int32 m_nSize
private

Definition at line 1252 of file stringresource.cxx.

◆ m_pData

const sal_Int8* m_pData
private

Definition at line 1250 of file stringresource.cxx.