LibreOffice Module sw (master) 1
|
#include <memory>
#include <unoidx.hxx>
#include <unoidxcoll.hxx>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/container/XIndexReplace.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/text/ChapterFormat.hpp>
#include <com/sun/star/text/ReferenceFieldPart.hpp>
#include <com/sun/star/text/BibliographyDataField.hpp>
#include <com/sun/star/text/XTextDocument.hpp>
#include <comphelper/interfacecontainer4.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <tools/UnitConversion.hxx>
#include <vcl/svapp.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <editeng/memberids.h>
#include <swtypes.hxx>
#include <shellres.hxx>
#include <viewsh.hxx>
#include <doc.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <docary.hxx>
#include <fmtcntnt.hxx>
#include <unomap.hxx>
#include <unotextrange.hxx>
#include <unotextcursor.hxx>
#include <unosection.hxx>
#include <doctxm.hxx>
#include <txttxmrk.hxx>
#include <ndtxt.hxx>
#include <docsh.hxx>
#include <chpfld.hxx>
#include <editsh.hxx>
#include <SwStyleNameMapper.hxx>
#include <strings.hrc>
#include <comphelper/servicehelper.hxx>
#include <comphelper/string.hxx>
#include <cppuhelper/implbase.hxx>
#include <svl/itemprop.hxx>
#include <svl/listener.hxx>
#include <mutex>
Go to the source code of this file.
Classes | |
class | SwXDocumentIndex::StyleAccess_Impl |
class | SwXDocumentIndex::TokenAccess_Impl |
class | SwXDocumentIndex::Impl |
class | SwXDocumentIndexMark::Impl |
Macros | |
#define | USER_LEN 12 |
#define | USER_AND_SUFFIXLEN 19 |
Typedefs | |
typedef ::cppu::WeakImplHelper< lang::XServiceInfo, container::XIndexReplace > | SwXDocumentIndexStyleAccess_Base |
typedef ::cppu::WeakImplHelper< lang::XServiceInfo, container::XIndexReplace > | SwXDocumentIndexTokenAccess_Base |
Functions | |
template<typename T > | |
static T | lcl_AnyToType (uno::Any const &rVal) |
template<typename T > | |
static void | lcl_AnyToBitMask (uno::Any const &rValue, T &rBitMask, const T nBit) |
template<typename T > | |
static void | lcl_BitMaskToAny (uno::Any &o_rValue, const T nBitMask, const T nBit) |
static void | lcl_ReAssignTOXType (SwDoc &rDoc, SwTOXBase &rTOXBase, const OUString &rNewName) |
static void | lcl_ConvertTOUNameToProgrammaticName (OUString &rTmp) |
static void | lcl_ConvertTOUNameToUserName (OUString &rTmp) |
static sal_uInt16 | lcl_TypeToPropertyMap_Index (const TOXTypes eType) |
static void | lcl_CalcLayout (SwDoc *pDoc) |
static sal_uInt16 | lcl_TypeToPropertyMap_Mark (const TOXTypes eType) |
Variables | |
constexpr OUStringLiteral | cUserDefined = u"User-Defined" |
const char | cUserSuffix [] = " (user)" |
const struct TokenType_ | g_TokenTypes [] |
#define USER_AND_SUFFIXLEN 19 |
Definition at line 124 of file unoidx.cxx.
#define USER_LEN 12 |
Definition at line 123 of file unoidx.cxx.
typedef ::cppu::WeakImplHelper< lang::XServiceInfo, container::XIndexReplace> SwXDocumentIndexStyleAccess_Base |
Definition at line 165 of file unoidx.cxx.
typedef ::cppu::WeakImplHelper< lang::XServiceInfo, container::XIndexReplace> SwXDocumentIndexTokenAccess_Base |
Definition at line 204 of file unoidx.cxx.
|
static |
lang::IllegalArgumentException |
Definition at line 82 of file unoidx.cxx.
References nBit.
Referenced by SwXDocumentIndex::setPropertyValue().
|
static |
lang::IllegalArgumentException |
Definition at line 70 of file unoidx.cxx.
|
static |
Definition at line 91 of file unoidx.cxx.
References nBit.
Referenced by SwXDocumentIndex::getPropertyValue().
|
static |
Definition at line 1241 of file unoidx.cxx.
References SwViewShell::CalcLayout(), SwEditShell::CalcLayout(), IDocumentLayoutAccess::GetCurrentViewShell(), SwDoc::GetEditShell(), and SwDoc::getIDocumentLayoutAccess().
Referenced by SwXDocumentIndex::refresh().
|
static |
Definition at line 126 of file unoidx.cxx.
References ShellResource::aTOXUserName, cUserDefined, cUserSuffix, and SwViewShell::GetShellRes().
Referenced by SwXDocumentIndex::getPropertyValue(), and SwXDocumentIndexMark::getPropertyValue().
|
static |
Definition at line 143 of file unoidx.cxx.
References ShellResource::aTOXUserName, cUserDefined, cUserSuffix, SwViewShell::GetShellRes(), USER_AND_SUFFIXLEN, and USER_LEN.
Referenced by SwXDocumentIndex::setPropertyValue(), and SwXDocumentIndexMark::setPropertyValue().
|
static |
Definition at line 99 of file unoidx.cxx.
References SwDoc::GetTOXType(), SwDoc::GetTOXTypeCount(), SwTOXType::GetTypeName(), SwDoc::InsertTOXType(), SwTOXBase::RegisterToTOXType(), and TOX_USER.
Referenced by SwXDocumentIndex::attach(), and SwXDocumentIndex::setPropertyValue().
|
static |
Definition at line 273 of file unoidx.cxx.
References eType, PROPERTY_MAP_BIBLIOGRAPHY, PROPERTY_MAP_INDEX_CNTNT, PROPERTY_MAP_INDEX_IDX, PROPERTY_MAP_INDEX_ILLUSTRATIONS, PROPERTY_MAP_INDEX_OBJECTS, PROPERTY_MAP_INDEX_TABLES, PROPERTY_MAP_INDEX_USER, TOX_AUTHORITIES, TOX_CONTENT, TOX_ILLUSTRATIONS, TOX_INDEX, TOX_OBJECTS, and TOX_TABLES.
|
static |
Definition at line 1488 of file unoidx.cxx.
References eType, PROPERTY_MAP_CNTIDX_MARK, PROPERTY_MAP_FLDTYP_BIBLIOGRAPHY, PROPERTY_MAP_INDEX_MARK, PROPERTY_MAP_USER_MARK, TOX_CITATION, TOX_CONTENT, and TOX_INDEX.
|
constexpr |
Definition at line 121 of file unoidx.cxx.
Referenced by lcl_ConvertTOUNameToProgrammaticName(), and lcl_ConvertTOUNameToUserName().
const char cUserSuffix[] = " (user)" |
Definition at line 122 of file unoidx.cxx.
Referenced by lcl_ConvertTOUNameToProgrammaticName(), and lcl_ConvertTOUNameToUserName().
const struct TokenType_ g_TokenTypes[] |
Definition at line 2638 of file unoidx.cxx.
Referenced by SwXDocumentIndex::TokenAccess_Impl::replaceByIndex().