LibreOffice Module sw (master) 1
|
#include <memory>
#include <iostream>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/embed/XStorage.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/packages/XPackageEncryption.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <unotools/ucbstreamhelper.hxx>
#include <unotools/streamwrap.hxx>
#include <algorithm>
#include <map>
#include <hintids.hxx>
#include <string.h>
#include <o3tl/safeint.hxx>
#include <osl/endian.h>
#include <sal/log.hxx>
#include <docsh.hxx>
#include <drawdoc.hxx>
#include <unotools/fltrcfg.hxx>
#include <sot/storage.hxx>
#include <sfx2/docinf.hxx>
#include <editeng/tstpitem.hxx>
#include <svx/svdpage.hxx>
#include <editeng/hyphenzoneitem.hxx>
#include <filter/msfilter/classids.hxx>
#include <filter/msfilter/msoleexp.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/brushitem.hxx>
#include <swtypes.hxx>
#include <swrect.hxx>
#include <swtblfmt.hxx>
#include <fmtcntnt.hxx>
#include <fmtpdsc.hxx>
#include <fmtrowsplt.hxx>
#include <frmatr.hxx>
#include <../../core/inc/rootfrm.hxx>
#include <doc.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <IDocumentStatistics.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <IDocumentExternalData.hxx>
#include <viewopt.hxx>
#include <docary.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
#include <shellio.hxx>
#include <docstat.hxx>
#include <pagedesc.hxx>
#include <poolfmt.hxx>
#include <IMark.hxx>
#include <swtable.hxx>
#include "wrtww8.hxx"
#include "ww8par.hxx"
#include <swmodule.hxx>
#include <section.hxx>
#include <fmtinfmt.hxx>
#include <txtinet.hxx>
#include <fmturl.hxx>
#include <vcl/imap.hxx>
#include <vcl/imapobj.hxx>
#include <mdiexp.hxx>
#include <strings.hrc>
#include <fmtline.hxx>
#include <fmtfsize.hxx>
#include <formatflysplit.hxx>
#include "sprmids.hxx"
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/processfactory.hxx>
#include "writerhelper.hxx"
#include "writerwordglue.hxx"
#include "ww8attributeoutput.hxx"
#include <xmloff/odffields.hxx>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <dbgoutsw.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/frame.hxx>
#include <svl/stritem.hxx>
#include <unotools/tempfile.hxx>
#include <filter/msfilter/mscodec.hxx>
#include <filter/msfilter/svxmsbas.hxx>
#include <rtl/random.h>
#include <vcl/svapp.hxx>
#include <sfx2/docfilt.hxx>
#include "WW8Sttbf.hxx"
#include <editeng/charrotateitem.hxx>
#include <svx/swframetypes.hxx>
#include "WW8FibData.hxx"
#include <numrule.hxx>
#include <fmtclds.hxx>
#include <rdfhelper.hxx>
#include <fmtclbl.hxx>
#include <iodetect.hxx>
Go to the source code of this file.
Classes | |
class | WW8_WrFkp |
FKP - Formatted disK Page. More... | |
class | WW8_WrPc |
class | WW8_WrtBookmarks |
class | WW8_WrtFactoids |
Handles export of smart tags. More... | |
Macros | |
#define | DEFAULT_STYLES_COUNT 16 |
Typedefs | |
typedef std::map< OUString, tools::Long > | BKMKNames |
typedef std::pair< bool, OUString > | BKMK |
typedef std::pair< tools::Long, BKMK > | BKMKCP |
typedef std::multimap< tools::Long, BKMKCP * > | BKMKCPs |
typedef BKMKCPs::iterator | CPItr |
typedef ww8::WW8Sttb< ww8::WW8Struct > | WW8SttbAssoc |
Functions | |
static void | WriteDop (WW8Export &rWrt) |
static int | lcl_CmpBeginEndChars (const OUString &rSWStr, const sal_Unicode *pMSStr, int nMSStrByteLen) |
static sal_uInt16 | lcl_TCFlags (SwDoc &rDoc, const SwTableBox *pBox, sal_Int32 nRowSpan) |
SAL_DLLPUBLIC_EXPORT sal_uInt32 | SaveOrDelMSVBAStorage_ww8 (SfxObjectShell &rDoc, SotStorage &rStor, sal_Bool bSaveInto, const OUString &rStorageName) |
SAL_DLLPUBLIC_EXPORT void | ExportDOC (std::u16string_view rFltName, const OUString &rBaseURL, WriterRef &xRet) |
SAL_DLLPUBLIC_EXPORT sal_uInt32 | GetSaveWarningOfMSVBAStorage_ww8 (SfxObjectShell &rDocS) |
Variables | |
constexpr OUStringLiteral | sMainStream = u"WordDocument" |
constexpr OUStringLiteral | sCompObj = u"\1CompObj" |
static sal_uInt8 | nAttrMagicIdx = 0 |
#define DEFAULT_STYLES_COUNT 16 |
Definition at line 446 of file wrtww8.cxx.
typedef std::pair<bool,OUString> BKMK |
Definition at line 184 of file wrtww8.cxx.
typedef std::pair<tools::Long,BKMK> BKMKCP |
Definition at line 185 of file wrtww8.cxx.
typedef std::multimap<tools::Long,BKMKCP*> BKMKCPs |
Definition at line 186 of file wrtww8.cxx.
typedef std::map<OUString,tools::Long> BKMKNames |
Definition at line 183 of file wrtww8.cxx.
typedef BKMKCPs::iterator CPItr |
Definition at line 187 of file wrtww8.cxx.
typedef ww8::WW8Sttb< ww8::WW8Struct > WW8SttbAssoc |
Definition at line 3096 of file wrtww8.cxx.
SAL_DLLPUBLIC_EXPORT void ExportDOC | ( | std::u16string_view | rFltName, |
const OUString & | rBaseURL, | ||
WriterRef & | xRet | ||
) |
Definition at line 4045 of file wrtww8.cxx.
Referenced by GetWW8Writer().
SAL_DLLPUBLIC_EXPORT sal_uInt32 GetSaveWarningOfMSVBAStorage_ww8 | ( | SfxObjectShell & | rDocS | ) |
Definition at line 4050 of file wrtww8.cxx.
References SvxImportMSVBasic::GetSaveWarningOfMSVBAStorage().
Referenced by GetSaveWarningOfMSVBAStorage().
|
static |
Definition at line 566 of file wrtww8.cxx.
Referenced by WW8Export::ExportDopTypography().
|
static |
Definition at line 2052 of file wrtww8.cxx.
References SwDoc::GetAttrPool(), SwTableBox::GetFrameFormat(), SfxItemSet::GetItemIfSet(), SwNode::GetNodes(), SwTableBox::GetSttNd(), SwTextNode::GetText(), SwFormatVertOrient::GetVertOrient(), SwFormat::GetVertOrient(), SwNodes::GoNext(), SwNode::IsTextNode(), and RES_CHRATR_ROTATE().
Referenced by WW8AttributeOutput::TableDefinition().
SAL_DLLPUBLIC_EXPORT sal_uInt32 SaveOrDelMSVBAStorage_ww8 | ( | SfxObjectShell & | rDoc, |
SotStorage & | rStor, | ||
sal_Bool | bSaveInto, | ||
const OUString & | rStorageName | ||
) |
Definition at line 4039 of file wrtww8.cxx.
References SvxImportMSVBasic::SaveOrDelMSVBAStorage().
Referenced by SaveOrDelMSVBAStorage().
|
static |
Definition at line 452 of file wrtww8.cxx.
References ADD_EXT_LEADING, WW8Dop::cCh, WW8Dop::cChFootnoteEdn, WW8Dop::cLines, WW8Dop::cLinesFootnoteEdn, WW8Dop::cParas, WW8Dop::cParasFootnoteEdn, WW8Dop::cPg, WW8Dop::cPgFootnoteEdn, WW8Dop::cWords, WW8Dop::cWordsFootnoteEnd, sw::ms::DateTime2DTTM(), DO_NOT_BREAK_WRAPPED_TABLES, DO_NOT_JUSTIFY_LINES_WITH_MANUAL_BREAK, WW8Dop::dttmCreated, WW8Dop::dttmLastPrint, WW8Dop::dttmRevised, WW8Dop::dxaTab, WW8Dop::fDontBreakWrappedTables, WW8Dop::fDontUseHTMLAutoSpacing, WW8Dop::fExpShRtn, WW8Dop::fNoLeading, WW8Dop::fProtEnabled, WW8Dop::fUsePrinterMetrics, WW8Dop::fWCFootnoteEdn, IDocumentSettingAccess::get(), SwDoc::GetAttrPool(), IDocumentLayoutAccess::GetCurrentViewShell(), SfxItemPool::GetDefaultItem(), SwDoc::GetDocShell(), IDocumentStatistics::GetDocStat(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentSettingAccess(), SwDoc::getIDocumentStatistics(), SfxObjectShell::GetModel(), SfxObjectShell::GetModifyPasswordHash(), IDocumentSettingAccess::Getn32DummyCompatibilityOptions1(), IDocumentSettingAccess::Getn32DummyCompatibilityOptions2(), comphelper::SequenceAsHashMap::getValue(), SwViewShell::GetViewOptions(), SwViewOption::GetZoom(), SwViewOption::GetZoomType(), GUTTER_AT_TOP, WW8Dop::iGutterPos, WW8Dop::lKeyProtDoc, WW8Export::m_pDop, WW8Export::m_pFib, WW8Export::m_pSepx, WW8Export::m_pTableStrm, MSWordExportBase::m_rDoc, SwDocStat::nChar, SwDocStat::nPage, SwDocStat::nPara, SwDocStat::nWord, PARA_SPACE_MAX, PROTECT_FORM, RES_PARATR_TABSTOP(), WW8Dop::SetCompatibilityOptions(), WW8Dop::SetCompatibilityOptions2(), USE_VIRTUAL_DEVICE, WW8Dop::Write(), WW8Dop::wScaleSaved, and WW8Dop::zkSaved.
Referenced by WW8Export::WriteFkpPlcUsw().
|
static |
Definition at line 1602 of file wrtww8.cxx.
Referenced by WW8Export::OutGrf(), and WW8Export::OutGrfBullets().
|
constexpr |
Definition at line 450 of file wrtww8.cxx.
Referenced by WW8Export::PrepareStorage().
|
constexpr |
Definition at line 449 of file wrtww8.cxx.