LibreOffice Module sw (master)  1
Classes | Namespaces | Macros | Functions
ww8par.cxx File Reference
#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/lang/XMultiServiceFactory.hpp>
#include <i18nlangtag/languagetag.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <rtl/random.h>
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
#include <sfx2/docinf.hxx>
#include <sfx2/request.hxx>
#include <sfx2/frame.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/unoapi.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 <viewsh.hxx>
#include <viewopt.hxx>
#include <shellres.hxx>
#include <mdiexp.hxx>
#include <swerror.h>
#include <swtable.hxx>
#include <fchrfmt.hxx>
#include <charfmt.hxx>
#include <unocrsr.hxx>
#include <IDocumentSettingAccess.hxx>
#include "sprmids.hxx"
#include <fltini.hxx>
#include "writerwordglue.hxx"
#include <ndgrf.hxx>
#include <editeng/editids.hrc>
#include <txtflcnt.hxx>
#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 <com/sun/star/document/IndexedPropertyValues.hpp>
#include <svl/itemiter.hxx>
#include <comphelper/processfactory.hxx>
#include <basic/basmgr.hxx>
#include "ww8toolbar.hxx"
#include <osl/file.hxx>
#include <breakit.hxx>
#include <iostream>
#include <dbgoutsw.hxx>
#include <svx/hlnkitem.hxx>
#include <sfx2/docfile.hxx>
#include <swdll.hxx>
#include "WW8Sttbf.hxx"
#include "WW8FibData.hxx"
#include <unordered_set>
#include <memory>
#include <com/sun/star/i18n/BreakIterator.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 <tools/diagnose_ex.h>
Include dependency graph for ww8par.cxx:

Go to the source code of this file.

Classes

class  BasicProjImportHelper
 
class  Sttb
 
struct  Sttb::SBBItem
 
class  WW8Customizations
 

Namespaces

 sw
 Dialog to specify the properties of date form field.
 
 sw::hack
 

Macros

#define MSASCII   SAL_MAX_INT16
 
#define WW_BLOCKSIZE   0x200
 

Functions

static SwMacroInfoGetMacroInfo (SdrObject *pObj)
 
static void lclGetAbsPath (OUString &rPath, sal_uInt16 nLevel, SwDocShell const *pDocShell)
 
long GetListFirstLineIndent (const SwNumFormat &rFormat)
 
static long lcl_GetTrueMargin (const SvxLRSpaceItem &rLR, const SwNumFormat &rFormat, long &rFirstLinePos)
 
void SyncIndentWithList (SvxLRSpaceItem &rLR, const SwNumFormat &rFormat, const bool bFirstLineOfstSet, const bool bLeftIndentSet)
 
static std::size_t Custom8BitToUnicode (rtl_TextToUnicodeConverter hConverter, sal_Char const *pIn, std::size_t nInLen, sal_Unicode *pOut, std::size_t nOutLen)
 
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 ReaderImportDOC ()
 
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)
 

Macro Definition Documentation

#define MSASCII   SAL_MAX_INT16

Definition at line 3194 of file ww8par.cxx.

Referenced by SwWW8ImplReader::emulateMSWordAddTextToParagraph().

#define WW_BLOCKSIZE   0x200

Definition at line 5506 of file ww8par.cxx.

Function Documentation

static std::size_t Custom8BitToUnicode ( rtl_TextToUnicodeConverter  hConverter,
sal_Char const *  pIn,
std::size_t  nInLen,
sal_Unicode pOut,
std::size_t  nOutLen 
)
static

Definition at line 2902 of file ww8par.cxx.

Referenced by SwWW8ImplReader::ReadPlainChars().

long GetListFirstLineIndent ( const SwNumFormat rFormat)
static SwMacroInfo* GetMacroInfo ( SdrObject pObj)
static
static void GiveNodePageDesc ( SwNodeIndex const &  rIdx,
const SwFormatPageDesc rPgDesc,
SwDoc rDoc 
)
static
SAL_DLLPUBLIC_EXPORT Reader* ImportDOC ( )

Definition at line 6211 of file ww8par.cxx.

Referenced by GetWW8Reader(), and TestImportDOC().

static void lcl_createTemplateToProjectEntry ( const uno::Reference< container::XNameContainer > &  xPrjNameCache,
const OUString &  sTemplatePathOrURL,
const OUString &  sVBAProjName 
)
static
static long lcl_GetTrueMargin ( const SvxLRSpaceItem rLR,
const SwNumFormat rFormat,
long &  rFirstLinePos 
)
static
static void lclGetAbsPath ( OUString &  rPath,
sal_uInt16  nLevel,
SwDocShell const *  pDocShell 
)
static
static bool lclReadCryptoAPIHeader ( msfilter::RC4EncryptionInfo info,
SvStream rStream 
)
static
void SyncIndentWithList ( SvxLRSpaceItem rLR,
const SwNumFormat rFormat,
const bool  bFirstLineOfstSet,
const bool  bLeftIndentSet 
)
bool TestImportDOC ( SvStream rStream,
const OUString &  rFltName 
)
SAL_DLLPUBLIC_EXPORT bool TestImportWW2 ( SvStream rStream)

Definition at line 6277 of file ww8par.cxx.

References TestImportDOC().

SAL_DLLPUBLIC_EXPORT bool TestImportWW6 ( SvStream rStream)

Definition at line 6272 of file ww8par.cxx.

References TestImportDOC().

SAL_DLLPUBLIC_EXPORT bool TestImportWW8 ( SvStream rStream)

Definition at line 6267 of file ww8par.cxx.

References TestImportDOC().