|
LibreOffice Module sw (master) 1
|
#include <config_features.h>#include <sal/config.h>#include <sal/log.hxx>#include <com/sun/star/embed/Aspects.hpp>#include <com/sun/star/embed/ElementModes.hpp>#include <com/sun/star/frame/XModel.hpp>#include <com/sun/star/packages/XPackageEncryption.hpp>#include <com/sun/star/lang/XMultiServiceFactory.hpp>#include <i18nlangtag/languagetag.hxx>#include <unotools/configmgr.hxx>#include <unotools/ucbstreamhelper.hxx>#include <unotools/streamwrap.hxx>#include <rtl/random.h>#include <rtl/ustring.hxx>#include <rtl/ustrbuf.hxx>#include <sfx2/docinf.hxx>#include <sfx2/frame.hxx>#include <sfx2/zoomitem.hxx>#include <tools/urlobj.hxx>#include <unotools/tempfile.hxx>#include <comphelper/docpasswordrequest.hxx>#include <comphelper/documentinfo.hxx>#include <comphelper/propertysequence.hxx>#include <editeng/outlobj.hxx>#include <editeng/brushitem.hxx>#include <editeng/formatbreakitem.hxx>#include <editeng/tstpitem.hxx>#include <editeng/ulspitem.hxx>#include <editeng/langitem.hxx>#include <editeng/opaqitem.hxx>#include <editeng/charhiddenitem.hxx>#include <editeng/fontitem.hxx>#include <editeng/editeng.hxx>#include <svx/svdoole2.hxx>#include <svx/svdoashp.hxx>#include <svx/svxerr.hxx>#include <filter/msfilter/mscodec.hxx>#include <svx/svdmodel.hxx>#include <svx/xflclit.hxx>#include <svx/sdasitm.hxx>#include <svx/sdtagitm.hxx>#include <svx/sdtcfitm.hxx>#include <svx/sdtditm.hxx>#include <svx/sdtmfitm.hxx>#include <unotools/fltrcfg.hxx>#include <fmtfld.hxx>#include <fmturl.hxx>#include <fmtinfmt.hxx>#include <reffld.hxx>#include <fmthdft.hxx>#include <fmtcntnt.hxx>#include <fmtcnct.hxx>#include <fmtanchr.hxx>#include <fmtpdsc.hxx>#include <ftninfo.hxx>#include <fmtftn.hxx>#include <txtftn.hxx>#include <ndtxt.hxx>#include <pagedesc.hxx>#include <paratr.hxx>#include <poolfmt.hxx>#include <fmtclbl.hxx>#include <section.hxx>#include <docsh.hxx>#include <IDocumentFieldsAccess.hxx>#include <IDocumentLayoutAccess.hxx>#include <IDocumentMarkAccess.hxx>#include <IDocumentStylePoolAccess.hxx>#include <IDocumentExternalData.hxx>#include <../../core/inc/DocumentRedlineManager.hxx>#include <docufld.hxx>#include <swfltopt.hxx>#include <utility>#include <viewsh.hxx>#include <shellres.hxx>#include <swerror.h>#include <swtable.hxx>#include <fchrfmt.hxx>#include <charfmt.hxx>#include <fmtautofmt.hxx>#include <IDocumentSettingAccess.hxx>#include "sprmids.hxx"#include "writerwordglue.hxx"#include <ndgrf.hxx>#include <editeng/editids.hrc>#include <fmtflcnt.hxx>#include <txatbase.hxx>#include "ww8par2.hxx"#include <com/sun/star/beans/PropertyAttribute.hpp>#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>#include <com/sun/star/document/XViewDataSupplier.hpp>#include <svl/lngmisc.hxx>#include <svl/itemiter.hxx>#include <svl/whiter.hxx>#include <comphelper/indexedpropertyvalues.hxx>#include <comphelper/processfactory.hxx>#include <basic/basmgr.hxx>#include "ww8toolbar.hxx"#include <o3tl/unit_conversion.hxx>#include <o3tl/safeint.hxx>#include <osl/file.hxx>#include <breakit.hxx>#include <sfx2/docfile.hxx>#include <swdll.hxx>#include "WW8Sttbf.hxx"#include "WW8FibData.hxx"#include <unordered_set>#include <memory>#include <com/sun/star/i18n/XBreakIterator.hpp>#include <com/sun/star/i18n/ScriptType.hpp>#include <unotools/pathoptions.hxx>#include <com/sun/star/ucb/SimpleFileAccess.hpp>#include <com/sun/star/script/vba/XVBACompatibility.hpp>#include <comphelper/sequenceashashmap.hxx>#include <oox/ole/vbaproject.hxx>#include <oox/ole/olestorage.hxx>#include <comphelper/storagehelper.hxx>#include <sfx2/DocumentMetadataAccess.hxx>#include <comphelper/diagnose_ex.hxx>Go to the source code of this file.
Namespaces | |
| namespace | sw |
| Dialog to specify the properties of date form field. | |
| namespace | sw::hack |
Macros | |
| #define | MSASCII SAL_MAX_INT16 |
| #define | WW_BLOCKSIZE 0x200 |
Functions | |
| static SwMacroInfo * | GetMacroInfo (SdrObject *pObj) |
| static void | lclGetAbsPath (OUString &rPath, sal_uInt16 nLevel, SwDocShell const *pDocShell) |
| tools::Long | GetListFirstLineIndent (const SwNumFormat &rFormat) |
| static tools::Long | lcl_GetTrueMargin (SvxFirstLineIndentItem const &rFirstLine, SvxTextLeftMarginItem const &rLeftMargin, const SwNumFormat &rFormat, tools::Long &rFirstLinePos) |
| void | SyncIndentWithList (SvxFirstLineIndentItem &rFirstLine, SvxTextLeftMarginItem &rLeftMargin, const SwNumFormat &rFormat, const bool bFirstLineOfstSet, const bool bLeftIndentSet) |
| static std::size_t | Custom8BitToUnicode (rtl_TextToUnicodeConverter hConverter, char const *pIn, std::size_t nInLen, sal_Unicode *pOut, std::size_t nOutLen) |
| auto | sw::FilterControlChars (std::u16string_view aString) -> OUString |
| static void | GiveNodePageDesc (SwNodeIndex const &rIdx, const SwFormatPageDesc &rPgDesc, SwDoc &rDoc) |
| Set the page descriptor on this node, handle the different cases for a text node or a table. More... | |
| static void | lcl_createTemplateToProjectEntry (const uno::Reference< container::XNameContainer > &xPrjNameCache, const OUString &sTemplatePathOrURL, const OUString &sVBAProjName) |
| static bool | lclReadCryptoAPIHeader (msfilter::RC4EncryptionInfo &info, SvStream &rStream) |
| SAL_DLLPUBLIC_EXPORT Reader * | ImportDOC () |
| bool | TestImportDOC (SvStream &rStream, const OUString &rFltName) |
| SAL_DLLPUBLIC_EXPORT bool | TestImportWW8 (SvStream &rStream) |
| SAL_DLLPUBLIC_EXPORT bool | TestImportWW6 (SvStream &rStream) |
| SAL_DLLPUBLIC_EXPORT bool | TestImportWW2 (SvStream &rStream) |
| static void | lcl_getListOfStreams (SotStorage *pStorage, comphelper::SequenceAsHashMap &aStreamsData, std::u16string_view sPrefix) |
| #define MSASCII SAL_MAX_INT16 |
Definition at line 3211 of file ww8par.cxx.
| #define WW_BLOCKSIZE 0x200 |
Definition at line 5565 of file ww8par.cxx.
|
static |
Definition at line 2914 of file ww8par.cxx.
References pOut.
Referenced by SwWW8ImplReader::ReadPlainChars().
| tools::Long GetListFirstLineIndent | ( | const SwNumFormat & | rFormat | ) |
Definition at line 1213 of file ww8par.cxx.
References SvxNumberFormat::GetCharTextDistance(), SvxNumberFormat::GetFirstLineOffset(), SvxNumberFormat::GetNumAdjust(), SvxNumberFormat::GetPositionAndSpaceMode(), and SvxNumberFormat::LABEL_WIDTH_AND_POSITION.
Referenced by lcl_GetTrueMargin(), and UseListIndent().
|
static |
Definition at line 163 of file ww8par.cxx.
References SdrObject::AppendUserData(), SdrObject::GetUserData(), SdrObject::GetUserDataCount(), i, nCount, pData, and SW_UD_IMAPDATA.
Referenced by SwMSDffManager::ProcessObj().
|
static |
Set the page descriptor on this node, handle the different cases for a text node or a table.
Definition at line 4441 of file ww8par.cxx.
References SwTable::GetFrameFormat(), SwDoc::getIDocumentContentOperations(), SwNodeIndex::GetNode(), SwTableNode::GetTable(), SwNode::GetTableNode(), IDocumentContentOperations::InsertPoolItem(), SwNode::IsTableNode(), and SwFormat::SetFormatAttr().
Referenced by wwSectionManager::InsertSegments().
| SAL_DLLPUBLIC_EXPORT Reader * ImportDOC | ( | ) |
Definition at line 6314 of file ww8par.cxx.
Referenced by GetWW8Reader().
|
static |
Definition at line 4886 of file ww8par.cxx.
References aURL, INetURLObject::GetLastName(), INetURLObject::GetProtocol(), nIndex, and INetURLObject::SetURL().
Referenced by SwWW8ImplReader::CoreLoad(), and SwWW8ImplReader::ReadGlobalTemplateSettings().
|
static |
Definition at line 6404 of file ww8par.cxx.
References SotStorage::FillInfoList(), tools::SvRef< typename T >::get(), tools::SvRef< typename T >::is(), lcl_getListOfStreams(), SotStorage::OpenSotStorage(), SotStorage::OpenSotStream(), and sPrefix.
Referenced by WW8Reader::DecryptDRMPackage(), and lcl_getListOfStreams().
|
static |
Definition at line 1229 of file ww8par.cxx.
References SvxNumberFormat::GetAbsLSpace(), GetListFirstLineIndent(), SvxNumberFormat::GetPositionAndSpaceMode(), SvxFirstLineIndentItem::GetTextFirstLineOffset(), SvxTextLeftMarginItem::GetTextLeft(), and SvxNumberFormat::LABEL_WIDTH_AND_POSITION.
Referenced by SyncIndentWithList().
|
static |
Definition at line 185 of file ww8par.cxx.
References INetURLObject::GetMainURL(), SfxObjectShell::GetMedium(), SfxMedium::GetURLObject(), INetURLObject::NONE, and INetURLObject::smartRel2Abs().
Referenced by SwWW8ImplReader::ReadEmbeddedData().
|
static |
Definition at line 5716 of file ww8par.cxx.
References msfilter::EncryptionStandardHeader::algId, msfilter::EncryptionStandardHeader::algIdHash, msfilter::ENCRYPT_ALGO_RC4, msfilter::ENCRYPT_HASH_SHA1, msfilter::EncryptionVerifierRC4::encryptedVerifier, msfilter::EncryptionVerifierRC4::encryptedVerifierHash, msfilter::EncryptionVerifierRC4::encryptedVerifierHashSize, msfilter::ENCRYPTINFO_AES, msfilter::ENCRYPTINFO_CRYPTOAPI, msfilter::ENCRYPTINFO_EXTERNAL, msfilter::EncryptionStandardHeader::flags, oox::getFlag(), msfilter::RC4EncryptionInfo::header, msfilter::EncryptionStandardHeader::keyBits, msfilter::EncryptionStandardHeader::providedType, SvStream::ReadBytes(), SvStream::ReadUInt32(), msfilter::EncryptionStandardHeader::reserved1, msfilter::EncryptionStandardHeader::reserved2, msfilter::EncryptionVerifierRC4::salt, msfilter::SALT_LENGTH, msfilter::EncryptionVerifierRC4::saltSize, SvStream::SeekRel(), msfilter::EncryptionStandardHeader::sizeExtra, and msfilter::RC4EncryptionInfo::verifier.
Referenced by SwWW8ImplReader::LoadThroughDecryption().
| void SyncIndentWithList | ( | SvxFirstLineIndentItem & | rFirstLine, |
| SvxTextLeftMarginItem & | rLeftMargin, | ||
| const SwNumFormat & | rFormat, | ||
| const bool | bFirstLineOfstSet, | ||
| const bool | bLeftIndentSet | ||
| ) |
Definition at line 1249 of file ww8par.cxx.
References SvxNumberFormat::GetFirstLineIndent(), SvxNumberFormat::GetIndentAt(), SvxNumberFormat::GetPositionAndSpaceMode(), SvxNumberFormat::LABEL_ALIGNMENT, SvxNumberFormat::LABEL_WIDTH_AND_POSITION, lcl_GetTrueMargin(), SvxFirstLineIndentItem::SetTextFirstLineOffset(), and SvxTextLeftMarginItem::SetTextLeft().
Referenced by SwWW8FltControlStack::SetAttrInDoc(), and SetStyleIndent().
| bool TestImportDOC | ( | SvStream & | rStream, |
| const OUString & | rFltName | ||
| ) |
Definition at line 6331 of file ww8par.cxx.
Referenced by TestImportWW2(), TestImportWW6(), and TestImportWW8().
| SAL_DLLPUBLIC_EXPORT bool TestImportWW2 | ( | SvStream & | rStream | ) |
Definition at line 6378 of file ww8par.cxx.
References TestImportDOC().
| SAL_DLLPUBLIC_EXPORT bool TestImportWW6 | ( | SvStream & | rStream | ) |
Definition at line 6373 of file ww8par.cxx.
References TestImportDOC().
| SAL_DLLPUBLIC_EXPORT bool TestImportWW8 | ( | SvStream & | rStream | ) |
Definition at line 6368 of file ww8par.cxx.
References TestImportDOC().