From cc93f170bc17288b792c20aab467c3f797d0ecda Mon Sep 17 00:00:00 2001 From: Daniel Mihalyi <amidabucu@gmail.com> Date: Wed, 15 Feb 2012 15:39:36 +0100 Subject: [PATCH] SwDocStub class now prints out arguments --- sw/Library_sw.mk | 1 + sw/inc/docStub.hxx | 633 +++++++++---------------- sw/source/core/doc/docStub.cxx | 1031 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 1262 insertions(+), 403 deletions(-) create mode 100644 sw/source/core/doc/docStub.cxx diff --git a/sw/Library_sw.mk b/sw/Library_sw.mk index 40e70f3..b7d7ba4 100644 --- a/sw/Library_sw.mk +++ b/sw/Library_sw.mk @@ -163,6 +163,7 @@ $(eval $(call gb_Library_add_exception_objects,sw,\ sw/source/core/doc/acmplwrd \ sw/source/core/doc/dbgoutsw \ sw/source/core/doc/doc \ + sw/source/core/doc/docStub \ sw/source/core/doc/docbasic \ sw/source/core/doc/docbm \ sw/source/core/doc/docchart \ diff --git a/sw/inc/docStub.hxx b/sw/inc/docStub.hxx index 1059765..d7fbacb 100644 --- a/sw/inc/docStub.hxx +++ b/sw/inc/docStub.hxx @@ -1,415 +1,242 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * Version: MPL 1.1 / GPLv3+ / LGPLv3+ + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License or as specified alternatively below. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * Major Contributor(s): + * [ Copyright (C) 2012 Daniel Mihalyi <amidabucu@gmail.com> (initial developer) ] + * + * All Rights Reserved. + * + * For minor contributions see the git repository. + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 3 or later (the "GPLv3+"), or + * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), + * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable + * instead of those above. + */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ + #ifndef docStub_HXX #define docStub_HXX #include "doc.hxx" -#include <iostream> class SwDocStub : public SwDoc { + //------ public: SwDocStub(); - public: ~SwDocStub(); - private: SwDocStub(const SwDoc&); - //------ -public: virtual sal_Int32 acquire() {return SwDoc::acquire();} - -public: virtual sal_Int32 release() {return SwDoc::release();} - -public: virtual sal_Int32 getReferenceCount()const {return SwDoc::getReferenceCount();} - -public: virtual bool get(DocumentSettingId id )const {return SwDoc::get(id);} - -public: virtual void set(DocumentSettingId id , bool value ) {return SwDoc::set(id, value);} - -public: virtual const com :: sun :: star :: i18n :: ForbiddenCharacters * getForbiddenCharacters(sal_uInt16 nLang , bool bLocaleData )const {return SwDoc::getForbiddenCharacters(nLang, bLocaleData);} - -public: virtual void setForbiddenCharacters(sal_uInt16 nLang , const com :: sun :: star :: i18n :: ForbiddenCharacters & rForbiddenCharacters ) {return SwDoc::setForbiddenCharacters(nLang, rForbiddenCharacters);} - -public: virtual rtl :: Reference < SvxForbiddenCharactersTable > & getForbiddenCharacterTable() {return SwDoc::getForbiddenCharacterTable();} - -public: virtual const rtl :: Reference < SvxForbiddenCharactersTable > & getForbiddenCharacterTable()const {return SwDoc::getForbiddenCharacterTable();} - -public: virtual sal_uInt16 getLinkUpdateMode(bool bGlobalSettings )const {return SwDoc::getLinkUpdateMode(bGlobalSettings);} - -public: virtual void setLinkUpdateMode(sal_uInt16 nMode ) {return SwDoc::setLinkUpdateMode(nMode);} - -public: virtual SwFldUpdateFlags getFieldUpdateFlags(bool bGlobalSettings )const {return SwDoc::getFieldUpdateFlags(bGlobalSettings);} - -public: virtual void setFieldUpdateFlags(SwFldUpdateFlags eMode ) {return SwDoc::setFieldUpdateFlags(eMode);} - -public: virtual SwCharCompressType getCharacterCompressionType()const {return SwDoc::getCharacterCompressionType();} - -public: virtual void setCharacterCompressionType(SwCharCompressType nType ) {return SwDoc::setCharacterCompressionType(nType);} - -public: virtual sal_uInt32 getRsid()const {return SwDoc::getRsid();} - -public: virtual void setRsid(sal_uInt32 nVal ) {return SwDoc::setRsid(nVal);} - -public: virtual sal_uInt32 getRsidRoot()const {return SwDoc::getRsidRoot();} - -public: virtual void setRsidRoot(sal_uInt32 nVal ) {return SwDoc::setRsidRoot(nVal);} - -public: virtual SfxPrinter * getPrinter(bool bCreate )const {return SwDoc::getPrinter(bCreate);} - -public: virtual void setPrinter(SfxPrinter * pP , bool bDeleteOld , bool bCallPrtDataChanged ) {return SwDoc::setPrinter(pP, bDeleteOld, bCallPrtDataChanged);} - -public: virtual VirtualDevice * getVirtualDevice(bool bCreate )const {return SwDoc::getVirtualDevice(bCreate);} - -public: virtual void setVirtualDevice(VirtualDevice * pVd , bool bDeleteOld , bool bCallVirDevDataChanged ) {return SwDoc::setVirtualDevice(pVd, bDeleteOld, bCallVirDevDataChanged);} - -public: virtual OutputDevice * getReferenceDevice(bool bCreate )const {return SwDoc::getReferenceDevice(bCreate);} - -public: virtual void setReferenceDeviceType(bool bNewVirtual , bool bNewHiRes ) {return SwDoc::setReferenceDeviceType(bNewVirtual, bNewHiRes);} - -public: virtual const JobSetup * getJobsetup()const {return SwDoc::getJobsetup();} - -public: virtual void setJobsetup(const JobSetup & rJobSetup ) {return SwDoc::setJobsetup(rJobSetup);} - -public: virtual const SwPrintData & getPrintData()const {return SwDoc::getPrintData();} - -public: virtual void setPrintData(const SwPrintData & rPrtData ) {return SwDoc::setPrintData(rPrtData);} - -public: virtual RedlineMode_t GetRedlineMode()const {return SwDoc::GetRedlineMode();} - -public: virtual void SetRedlineMode_intern(RedlineMode_t eMode ) {return SwDoc::SetRedlineMode_intern(eMode);} - -public: virtual void SetRedlineMode(RedlineMode_t eMode ) {return SwDoc::SetRedlineMode(eMode);} - -public: virtual bool IsRedlineOn()const {return SwDoc::IsRedlineOn();} - -public: virtual bool IsIgnoreRedline()const {return SwDoc::IsIgnoreRedline();} - -public: virtual bool IsInRedlines(const SwNode & rNode )const {return SwDoc::IsInRedlines(rNode);} - -public: virtual const SwRedlineTbl & GetRedlineTbl()const {return SwDoc::GetRedlineTbl();} - -public: virtual bool AppendRedline(SwRedline * pPtr , bool bCallDelete ) {return SwDoc::AppendRedline(pPtr, bCallDelete);} - -public: virtual bool SplitRedline(const SwPaM & rPam ) {return SwDoc::SplitRedline(rPam);} - -public: virtual bool DeleteRedline(const SwPaM & rPam , bool bSaveInUndo , sal_uInt16 nDelType ) {return SwDoc::DeleteRedline(rPam, bSaveInUndo, nDelType);} - -public: virtual bool DeleteRedline(const SwStartNode & rSection , bool bSaveInUndo , sal_uInt16 nDelType ) {return SwDoc::DeleteRedline(rSection, bSaveInUndo, nDelType);} - -public: virtual sal_uInt16 GetRedlinePos(const SwNode & rNode , sal_uInt16 nType )const {return SwDoc::GetRedlinePos(rNode, nType);} - -public: virtual void CompressRedlines() {return SwDoc::CompressRedlines();} - -public: virtual const SwRedline * GetRedline(const SwPosition & rPos , sal_uInt16 * pFndPos )const {return SwDoc::GetRedline(rPos, pFndPos);} - -public: virtual bool IsRedlineMove()const {return SwDoc::IsRedlineMove();} - -public: virtual void SetRedlineMove(bool bFlag ) {return SwDoc::SetRedlineMove(bFlag);} - -public: virtual bool AcceptRedline(sal_uInt16 nPos , bool bCallDelete ) {return SwDoc::AcceptRedline(nPos, bCallDelete);} - -public: virtual bool AcceptRedline(const SwPaM & rPam , bool bCallDelete ) {return SwDoc::AcceptRedline(rPam, bCallDelete);} - -public: virtual bool RejectRedline(sal_uInt16 nPos , bool bCallDelete ) {return SwDoc::RejectRedline(nPos, bCallDelete);} - -public: virtual bool RejectRedline(const SwPaM & rPam , bool bCallDelete ) {return SwDoc::RejectRedline(rPam, bCallDelete);} - -public: virtual const SwRedline * SelNextRedline(SwPaM & rPam )const {return SwDoc::SelNextRedline(rPam);} - -public: virtual const SwRedline * SelPrevRedline(SwPaM & rPam )const {return SwDoc::SelPrevRedline(rPam);} - -public: virtual void UpdateRedlineAttr() {return SwDoc::UpdateRedlineAttr();} - -public: virtual sal_uInt16 GetRedlineAuthor() {return SwDoc::GetRedlineAuthor();} - -public: virtual sal_uInt16 InsertRedlineAuthor(const String & rAuthor ) {return SwDoc::InsertRedlineAuthor(rAuthor);} - -public: virtual bool SetRedlineComment(const SwPaM & rPam , const String & rComment ) {return SwDoc::SetRedlineComment(rPam, rComment);} - -public: virtual const :: com :: sun :: star :: uno :: Sequence < sal_Int8 > & GetRedlinePassword()const {return SwDoc::GetRedlinePassword();} - -public: virtual void SetRedlinePassword(const :: com :: sun :: star :: uno :: Sequence < sal_Int8 > & rNewPassword ) {return SwDoc::SetRedlinePassword(rNewPassword);} - -public: virtual bool IsVisibleLinks()const {return SwDoc::IsVisibleLinks();} - -public: virtual void SetVisibleLinks(bool bFlag ) {return SwDoc::SetVisibleLinks(bFlag);} - -public: virtual sfx2 :: LinkManager & GetLinkManager() {return SwDoc::GetLinkManager();} - -public: virtual const sfx2 :: LinkManager & GetLinkManager()const {return SwDoc::GetLinkManager();} - -public: virtual void UpdateLinks(sal_Bool bUI ) {return SwDoc::UpdateLinks(bUI);} - -public: virtual bool GetData(const rtl :: OUString & rItem , const String & rMimeType , :: com :: sun :: star :: uno :: Any & rValue )const {return SwDoc::GetData(rItem, rMimeType, rValue);} - -public: virtual bool SetData(const rtl :: OUString & rItem , const String & rMimeType , const :: com :: sun :: star :: uno :: Any & rValue ) {return SwDoc::SetData(rItem, rMimeType, rValue);} - -public: virtual :: sfx2 :: SvLinkSource * CreateLinkSource(const rtl :: OUString & rItem ) {return SwDoc::CreateLinkSource(rItem);} - -public: virtual bool EmbedAllLinks() {return SwDoc::EmbedAllLinks();} - -public: virtual void SetLinksUpdated(const bool bNewLinksUpdated ) {return SwDoc::SetLinksUpdated(bNewLinksUpdated);} - -public: virtual bool LinksUpdated()const {return SwDoc::LinksUpdated();} - -public: virtual const SwFldTypes * GetFldTypes()const {return SwDoc::GetFldTypes();} - -public: virtual SwFieldType * InsertFldType(const SwFieldType & arg1 ) {return SwDoc::InsertFldType(arg1);} - -public: virtual SwFieldType * GetSysFldType(const sal_uInt16 eWhich )const {return SwDoc::GetSysFldType(eWhich);} - -public: virtual SwFieldType * GetFldType(sal_uInt16 nResId , const String & rName , bool bDbFieldMatching )const {return SwDoc::GetFldType(nResId, rName, bDbFieldMatching);} - -public: virtual void RemoveFldType(sal_uInt16 nFld ) {return SwDoc::RemoveFldType(nFld);} - -public: virtual void UpdateFlds(SfxPoolItem * pNewHt , bool bCloseDB ) {return SwDoc::UpdateFlds(pNewHt, bCloseDB);} - -public: virtual void InsDeletedFldType(SwFieldType & arg1 ) {return SwDoc::InsDeletedFldType(arg1);} - -public: virtual bool PutValueToField(const SwPosition & rPos , const com :: sun :: star :: uno :: Any & rVal , sal_uInt16 nWhich ) {return SwDoc::PutValueToField(rPos, rVal, nWhich);} - -public: virtual bool UpdateFld(SwTxtFld * rDstFmtFld , SwField & rSrcFld , SwMsgPoolItem * pMsgHnt , bool bUpdateTblFlds ) {return SwDoc::UpdateFld(rDstFmtFld, rSrcFld, pMsgHnt, bUpdateTblFlds);} - -public: virtual void UpdateRefFlds(SfxPoolItem * pHt ) {return SwDoc::UpdateRefFlds(pHt);} - -public: virtual void UpdateTblFlds(SfxPoolItem * pHt ) {return SwDoc::UpdateTblFlds(pHt);} - -public: virtual void UpdateExpFlds(SwTxtFld * pFld , bool bUpdateRefFlds ) {return SwDoc::UpdateExpFlds(pFld, bUpdateRefFlds);} - -public: virtual void UpdateUsrFlds() {return SwDoc::UpdateUsrFlds();} - -public: virtual void UpdatePageFlds(SfxPoolItem * arg1 ) {return SwDoc::UpdatePageFlds(arg1);} - -public: virtual void LockExpFlds() {return SwDoc::LockExpFlds();} - -public: virtual void UnlockExpFlds() {return SwDoc::UnlockExpFlds();} - -public: virtual bool IsExpFldsLocked()const {return SwDoc::IsExpFldsLocked();} - -public: virtual SwDocUpdtFld & GetUpdtFlds()const {return SwDoc::GetUpdtFlds();} - -public: virtual bool SetFieldsDirty(bool b , const SwNode * pChk , sal_uLong nLen ) {return SwDoc::SetFieldsDirty(b, pChk, nLen);} - -public: virtual void SetFixFields(bool bOnlyTimeDate , const DateTime * pNewDateTime ) {return SwDoc::SetFixFields(bOnlyTimeDate, pNewDateTime);} - -public: virtual void FldsToCalc(SwCalc & rCalc , sal_uLong nLastNd , sal_uInt16 nLastCnt ) {return SwDoc::FldsToCalc(rCalc, nLastNd, nLastCnt);} - -public: virtual void FldsToCalc(SwCalc & rCalc , const _SetGetExpFld & rToThisFld ) {return SwDoc::FldsToCalc(rCalc, rToThisFld);} - -public: virtual void FldsToExpand(SwHash * * & ppTbl , sal_uInt16 & rTblSize , const _SetGetExpFld & rToThisFld ) {return SwDoc::FldsToExpand(ppTbl, rTblSize, rToThisFld);} - -public: virtual bool IsNewFldLst()const {return SwDoc::IsNewFldLst();} - -public: virtual void SetNewFldLst(bool bFlag ) {return SwDoc::SetNewFldLst(bFlag);} - -public: virtual void InsDelFldInFldLst(bool bIns , const SwTxtFld & rFld ) {return SwDoc::InsDelFldInFldLst(bIns, rFld);} - -public: virtual bool CopyRange(SwPaM & arg1 , SwPosition & arg2 , const bool bCopyAll )const {return SwDoc::CopyRange(arg1, arg2, bCopyAll);} - -public: virtual void DeleteSection(SwNode * pNode ) {return SwDoc::DeleteSection(pNode);} - -public: virtual bool DeleteRange(SwPaM & arg1 ) {return SwDoc::DeleteRange(arg1);} - -public: virtual bool DelFullPara(SwPaM & arg1 ) {return SwDoc::DelFullPara(arg1);} - -public: virtual bool DeleteAndJoin(SwPaM & arg1 , const bool bForceJoinNext = false ) {return SwDoc::DeleteAndJoin(arg1, bForceJoinNext);} - -public: virtual bool MoveRange(SwPaM & arg1 , SwPosition & arg2 , SwMoveFlags arg3 ) {return SwDoc::MoveRange(arg1, arg2, arg3);} - -public: virtual bool MoveNodeRange(SwNodeRange & arg1 , SwNodeIndex & arg2 , SwMoveFlags arg3 ) {return SwDoc::MoveNodeRange(arg1, arg2, arg3);} - -public: virtual bool MoveAndJoin(SwPaM & arg1 , SwPosition & arg2 , SwMoveFlags arg3 ) {return SwDoc::MoveAndJoin(arg1, arg2, arg3);} - -public: virtual bool Overwrite(const SwPaM & rRg , const String & rStr ) {return SwDoc::Overwrite(rRg, rStr);} - -public: virtual bool InsertString(const SwPaM & rRg , const String & arg1 , const enum InsertFlags nInsertMode = INS_EMPTYEXPAND ) {return SwDoc::InsertString(rRg, arg1, nInsertMode);} - -public: virtual bool UpdateRsid(SwTxtNode * pTxtNode , xub_StrLen nStt , xub_StrLen nEnd ) {return SwDoc::UpdateRsid(pTxtNode, nStt, nEnd);} - -public: virtual bool UpdateParRsid(SwTxtNode * pTxtNode , sal_uInt32 nVal = 0 ) {return SwDoc::UpdateParRsid(pTxtNode, nVal);} - -public: virtual bool UpdateRsid(const SwPaM & rRg , xub_StrLen nLen ) {return SwDoc::UpdateRsid(rRg, nLen);} - -public: virtual SwFlyFrmFmt * Insert(const SwPaM & rRg , const String & rGrfName , const String & rFltName , const Graphic * pGraphic , const SfxItemSet * pFlyAttrSet , const SfxItemSet * pGrfAttrSet , SwFrmFmt * arg1 ) {return SwDoc::Insert(rRg, rGrfName, rFltName, pGraphic, pFlyAttrSet, pGrfAttrSet, arg1);} - -public: virtual SwFlyFrmFmt * Insert(const SwPaM & rRg , const GraphicObject & rGrfObj , const SfxItemSet * pFlyAttrSet , const SfxItemSet * pGrfAttrSet , SwFrmFmt * arg1 ) {return SwDoc::Insert(rRg, rGrfObj, pFlyAttrSet, pGrfAttrSet, arg1);} - -public: virtual SwDrawFrmFmt * Insert(const SwPaM & rRg , SdrObject & rDrawObj , const SfxItemSet * pFlyAttrSet , SwFrmFmt * arg1 ) {return SwDoc::Insert(rRg, rDrawObj, pFlyAttrSet, arg1);} - -public: virtual SwFlyFrmFmt * Insert(const SwPaM & rRg , const svt :: EmbeddedObjectRef & xObj , const SfxItemSet * pFlyAttrSet , const SfxItemSet * pGrfAttrSet , SwFrmFmt * arg1 ) {return SwDoc::Insert(rRg, xObj, pFlyAttrSet, pGrfAttrSet, arg1);} - -public: virtual bool InsertPoolItem(const SwPaM & rRg , const SfxPoolItem & arg1 , const SetAttrMode nFlags ) {return SwDoc::InsertPoolItem(rRg, arg1, nFlags);} - -public: virtual bool InsertItemSet(const SwPaM & rRg , const SfxItemSet & arg1 , const SetAttrMode nFlags ) {return SwDoc::InsertItemSet(rRg, arg1, nFlags);} - -public: virtual void ReRead(SwPaM & arg1 , const String & rGrfName , const String & rFltName , const Graphic * pGraphic , const GraphicObject * pGrfObj ) {return SwDoc::ReRead(arg1, rGrfName, rFltName, pGraphic, pGrfObj);} - -public: virtual void TransliterateText(const SwPaM & rPaM , utl :: TransliterationWrapper & arg1 ) {return SwDoc::TransliterateText(rPaM, arg1);} - -public: virtual SwFlyFrmFmt * InsertOLE(const SwPaM & rRg , const String & rObjName , sal_Int64 nAspect , const SfxItemSet * pFlyAttrSet , const SfxItemSet * pGrfAttrSet , SwFrmFmt * arg1 ) {return SwDoc::InsertOLE(rRg, rObjName, nAspect, pFlyAttrSet, pGrfAttrSet, arg1);} - -public: virtual bool SplitNode(const SwPosition & rPos , bool bChkTableStart ) {return SwDoc::SplitNode(rPos, bChkTableStart);} - -public: virtual bool AppendTxtNode(SwPosition & rPos ) {return SwDoc::AppendTxtNode(rPos);} - -public: virtual void SetModified(SwPaM & rPaM ) {return SwDoc::SetModified(rPaM);} - -public: virtual bool ReplaceRange(SwPaM & rPam , const String & rNewStr , const bool bRegExReplace ) {return SwDoc::ReplaceRange(rPam, rNewStr, bRegExReplace);} - -public: virtual void RemoveLeadingWhiteSpace(const SwPosition & rPos ) {return SwDoc::RemoveLeadingWhiteSpace(rPos);} - -public: virtual SwTxtFmtColl * GetTxtCollFromPool(sal_uInt16 nId , bool bRegardLanguage = true ) {return SwDoc::GetTxtCollFromPool(nId, bRegardLanguage);} - -public: virtual SwFmt * GetFmtFromPool(sal_uInt16 nId ) {return SwDoc::GetFmtFromPool(nId);} - -public: virtual SwFrmFmt * GetFrmFmtFromPool(sal_uInt16 nId ) {return SwDoc::GetFrmFmtFromPool(nId);} - -public: virtual SwCharFmt * GetCharFmtFromPool(sal_uInt16 nId ) {return SwDoc::GetCharFmtFromPool(nId);} - -public: virtual SwPageDesc * GetPageDescFromPool(sal_uInt16 nId , bool bRegardLanguage = true ) {return SwDoc::GetPageDescFromPool(nId, bRegardLanguage);} - -public: virtual SwNumRule * GetNumRuleFromPool(sal_uInt16 nId ) {return SwDoc::GetNumRuleFromPool(nId);} - -public: virtual bool IsPoolTxtCollUsed(sal_uInt16 nId )const {return SwDoc::IsPoolTxtCollUsed(nId);} - -public: virtual bool IsPoolFmtUsed(sal_uInt16 nId )const {return SwDoc::IsPoolFmtUsed(nId);} - -public: virtual bool IsPoolPageDescUsed(sal_uInt16 nId )const {return SwDoc::IsPoolPageDescUsed(nId);} - -public: virtual const SwLineNumberInfo & GetLineNumberInfo()const {return SwDoc::GetLineNumberInfo();} - -public: virtual void SetLineNumberInfo(const SwLineNumberInfo & rInfo ) {return SwDoc::SetLineNumberInfo(rInfo);} - -public: virtual void DocInfoChgd() {return SwDoc::DocInfoChgd();} - -public: virtual const SwDocStat & GetDocStat()const {return SwDoc::GetDocStat();} - -public: virtual const SwDocStat & GetUpdatedDocStat() {return SwDoc::GetUpdatedDocStat();} - -public: virtual void SetDocStat(const SwDocStat & rStat ) {return SwDoc::SetDocStat(rStat);} - -public: virtual void UpdateDocStat() {return SwDoc::UpdateDocStat();} - -public: virtual void SetModified() {return SwDoc::SetModified();} - -public: virtual void ResetModified() {return SwDoc::ResetModified();} - -public: virtual bool IsModified()const {return SwDoc::IsModified();} - -public: virtual bool IsLoaded()const {return SwDoc::IsLoaded();} - -public: virtual bool IsUpdateExpFld()const {return SwDoc::IsUpdateExpFld();} - -public: virtual bool IsNewDoc()const {return SwDoc::IsNewDoc();} - -public: virtual bool IsPageNums()const {return SwDoc::IsPageNums();} - -public: virtual void SetPageNums(bool b ) {return SwDoc::SetPageNums(b);} - -public: virtual void SetNewDoc(bool b ) {return SwDoc::SetNewDoc(b);} - -public: virtual void SetUpdateExpFldStat(bool b ) {return SwDoc::SetUpdateExpFldStat(b);} - -public: virtual void SetLoaded(bool b ) {return SwDoc::SetLoaded(b);} - -public: virtual const SdrModel * GetDrawModel()const {return SwDoc::GetDrawModel();} - -public: virtual SdrModel * GetDrawModel() {return SwDoc::GetDrawModel();} - -public: virtual SdrLayerID GetHeavenId()const {return SwDoc::GetHeavenId();} - -public: virtual SdrLayerID GetHellId()const {return SwDoc::GetHellId();} - -public: virtual SdrLayerID GetControlsId()const {return SwDoc::GetControlsId();} - -public: virtual SdrLayerID GetInvisibleHeavenId()const {return SwDoc::GetInvisibleHeavenId();} - -public: virtual SdrLayerID GetInvisibleHellId()const {return SwDoc::GetInvisibleHellId();} - -public: virtual SdrLayerID GetInvisibleControlsId()const {return SwDoc::GetInvisibleControlsId();} - -public: virtual void NotifyInvisibleLayers(SdrPageView & _rSdrPageView ) {return SwDoc::NotifyInvisibleLayers(_rSdrPageView);} - -public: virtual bool IsVisibleLayerId(const SdrLayerID & _nLayerId )const {return SwDoc::IsVisibleLayerId(_nLayerId);} - -public: virtual SdrLayerID GetVisibleLayerIdByInvisibleOne(const SdrLayerID & _nInvisibleLayerId ) {return SwDoc::GetVisibleLayerIdByInvisibleOne(_nInvisibleLayerId);} - -public: virtual SdrLayerID GetInvisibleLayerIdByVisibleOne(const SdrLayerID & _nVisibleLayerId ) {return SwDoc::GetInvisibleLayerIdByVisibleOne(_nVisibleLayerId);} - -public: virtual SdrModel * _MakeDrawModel() {return SwDoc::_MakeDrawModel();} - -public: virtual SdrModel * GetOrCreateDrawModel() {return SwDoc::GetOrCreateDrawModel();} - -public: virtual void SetCurrentViewShell(ViewShell * pNew ) {return SwDoc::SetCurrentViewShell(pNew);} - -public: virtual SwLayouter * GetLayouter() {return NULL;} - -public: virtual const SwLayouter * GetLayouter()const {return NULL;} - -public: virtual void SetLayouter(SwLayouter * pNew ) {return;} - -public: virtual SwFrmFmt * MakeLayoutFmt(RndStdIds eRequest , const SfxItemSet * pSet ) {return SwDoc::MakeLayoutFmt(eRequest, pSet);} - -public: virtual void DelLayoutFmt(SwFrmFmt * pFmt ) {return SwDoc::DelLayoutFmt(pFmt);} - -public: virtual SwFrmFmt * CopyLayoutFmt(const SwFrmFmt & rSrc , const SwFmtAnchor & rNewAnchor , bool bSetTxtFlyAtt , bool bMakeFrms ) {return SwDoc::CopyLayoutFmt(rSrc, rNewAnchor, bSetTxtFlyAtt, bMakeFrms);} - -public: virtual const ViewShell * GetCurrentViewShell()const {return SwDoc::GetCurrentViewShell();} - -public: virtual ViewShell * GetCurrentViewShell() {return SwDoc::GetCurrentViewShell();} - -public: virtual const SwRootFrm * GetCurrentLayout()const {return SwDoc::GetCurrentLayout();} - -public: virtual SwRootFrm * GetCurrentLayout() {return SwDoc::GetCurrentLayout();} - -public: virtual bool HasLayout()const {return SwDoc::HasLayout();} - -public: virtual void StartIdling() {return SwDoc::StartIdling();} - -public: virtual void StopIdling() {return SwDoc::StopIdling();} - -public: virtual void BlockIdling() {return SwDoc::BlockIdling();} - -public: virtual void UnblockIdling() {return SwDoc::UnblockIdling();} - -public: virtual SwChartDataProvider * GetChartDataProvider(bool bCreate = false )const {return SwDoc::GetChartDataProvider(bCreate);} - -public: virtual void CreateChartInternalDataProviders(const SwTable * pTable ) {return SwDoc::CreateChartInternalDataProviders(pTable);} - -public: virtual SwChartLockController_Helper & GetChartControllerHelper() {return SwDoc::GetChartControllerHelper();} - -public: virtual void addListItem(const SwNodeNum & rNodeNum ) {return SwDoc::addListItem(rNodeNum);} - -public: virtual void removeListItem(const SwNodeNum & rNodeNum ) {return SwDoc::removeListItem(rNodeNum);} - -public: virtual String getListItemText(const SwNodeNum & rNodeNum , const bool bWithNumber = true , const bool bWithSpacesForLevel = false )const {return SwDoc::getListItemText(rNodeNum, bWithNumber, bWithSpacesForLevel);} - -public: virtual void getListItems(IDocumentListItems :: tSortedNodeNumList & orNodeNumList )const {return SwDoc::getListItems(orNodeNumList);} - -public: virtual void getNumItems(IDocumentListItems :: tSortedNodeNumList & orNodeNumList )const {return SwDoc::getNumItems(orNodeNumList);} - -public: virtual sal_Int32 getOutlineNodesCount()const {return SwDoc::getOutlineNodesCount();} - -public: virtual int getOutlineLevel(const sal_Int32 nIdx )const {return SwDoc::getOutlineLevel(nIdx);} - -public: virtual String getOutlineText(const sal_Int32 nIdx , const bool bWithNumber , const bool bWithSpacesForLevel )const {return SwDoc::getOutlineText(nIdx, bWithNumber, bWithSpacesForLevel);} - -public: virtual SwTxtNode * getOutlineNode(const sal_Int32 nIdx )const {return SwDoc::getOutlineNode(nIdx);} - -public: virtual void getOutlineNodes(IDocumentOutlineNodes :: tSortedOutlineNodeList & orOutlineNodeList )const {return SwDoc::getOutlineNodes(orOutlineNodeList);} - -public: virtual SwList * createList(String sListId , const String sDefaultListStyleName ) {return SwDoc::createList(sListId, sDefaultListStyleName);} - -public: virtual void deleteList(const String sListId ) {return SwDoc::deleteList(sListId);} - -public: virtual SwList * getListByName(const String sListId )const {return SwDoc::getListByName(sListId);} - -public: virtual SwList * createListForListStyle(const String sListStyleName ) {return SwDoc::createListForListStyle(sListStyleName);} - -public: virtual SwList * getListForListStyle(const String sListStyleName )const {return SwDoc::getListForListStyle(sListStyleName);} - -public: virtual void deleteListForListStyle(const String sListStyleName ) {return SwDoc::deleteListForListStyle(sListStyleName);} - -public: virtual void trackChangeOfListStyleName(const String sListStyleName , const String sNewListStyleName ) {return SwDoc::trackChangeOfListStyleName(sListStyleName, sNewListStyleName);} - -public: virtual void setExternalData(:: sw :: tExternalDataType eType , :: sw :: tExternalDataPointer pPayload ) {return SwDoc::setExternalData(eType, pPayload);} - -public: virtual :: sw :: tExternalDataPointer getExternalData(:: sw :: tExternalDataType eType ) {return SwDoc::getExternalData(eType);} +public: virtual sal_Int32 acquire(); +public: virtual sal_Int32 release(); +public: virtual sal_Int32 getReferenceCount()const ; +public: virtual bool get(DocumentSettingId id )const ; +public: virtual void set(DocumentSettingId id , bool value ); +public: virtual const com :: sun :: star :: i18n :: ForbiddenCharacters * getForbiddenCharacters(sal_uInt16 nLang , bool bLocaleData )const ; +public: virtual void setForbiddenCharacters(sal_uInt16 nLang , const com :: sun :: star :: i18n :: ForbiddenCharacters & rForbiddenCharacters ); +public: virtual rtl :: Reference < SvxForbiddenCharactersTable > & getForbiddenCharacterTable(); +public: virtual const rtl :: Reference < SvxForbiddenCharactersTable > & getForbiddenCharacterTable()const ; +public: virtual sal_uInt16 getLinkUpdateMode(bool bGlobalSettings )const ; +public: virtual void setLinkUpdateMode(sal_uInt16 nMode ); +public: virtual SwFldUpdateFlags getFieldUpdateFlags(bool bGlobalSettings )const ; +public: virtual void setFieldUpdateFlags(SwFldUpdateFlags eMode ); +public: virtual SwCharCompressType getCharacterCompressionType()const ; +public: virtual void setCharacterCompressionType(SwCharCompressType nType ); +public: virtual sal_uInt32 getRsid()const ; +public: virtual void setRsid(sal_uInt32 nVal ); +public: virtual sal_uInt32 getRsidRoot()const ; +public: virtual void setRsidRoot(sal_uInt32 nVal ); +public: virtual SfxPrinter * getPrinter(bool bCreate )const ; +public: virtual void setPrinter(SfxPrinter * pP , bool bDeleteOld , bool bCallPrtDataChanged ); +public: virtual VirtualDevice * getVirtualDevice(bool bCreate )const ; +public: virtual void setVirtualDevice(VirtualDevice * pVd , bool bDeleteOld , bool bCallVirDevDataChanged ); +public: virtual OutputDevice * getReferenceDevice(bool bCreate )const ; +public: virtual void setReferenceDeviceType(bool bNewVirtual , bool bNewHiRes ); +public: virtual const JobSetup * getJobsetup()const ; +public: virtual void setJobsetup(const JobSetup & rJobSetup ); +public: virtual const SwPrintData & getPrintData()const ; +public: virtual void setPrintData(const SwPrintData & rPrtData ); +public: virtual RedlineMode_t GetRedlineMode()const ; +public: virtual void SetRedlineMode_intern(RedlineMode_t eMode ); +public: virtual void SetRedlineMode(RedlineMode_t eMode ); +public: virtual bool IsRedlineOn()const ; +public: virtual bool IsIgnoreRedline()const ; +public: virtual bool IsInRedlines(const SwNode & rNode )const ; +public: virtual const SwRedlineTbl & GetRedlineTbl()const ; +public: virtual bool AppendRedline(SwRedline * pPtr , bool bCallDelete ); +public: virtual bool SplitRedline(const SwPaM & rPam ); +public: virtual bool DeleteRedline(const SwPaM & rPam , bool bSaveInUndo , sal_uInt16 nDelType ); +public: virtual bool DeleteRedline(const SwStartNode & rSection , bool bSaveInUndo , sal_uInt16 nDelType ); +public: virtual sal_uInt16 GetRedlinePos(const SwNode & rNode , sal_uInt16 nType )const ; +public: virtual void CompressRedlines(); +public: virtual const SwRedline * GetRedline(const SwPosition & rPos , sal_uInt16 * pFndPos )const ; +public: virtual bool IsRedlineMove()const ; +public: virtual void SetRedlineMove(bool bFlag ); +public: virtual bool AcceptRedline(sal_uInt16 nPos , bool bCallDelete ); +public: virtual bool AcceptRedline(const SwPaM & rPam , bool bCallDelete ); +public: virtual bool RejectRedline(sal_uInt16 nPos , bool bCallDelete ); +public: virtual bool RejectRedline(const SwPaM & rPam , bool bCallDelete ); +public: virtual const SwRedline * SelNextRedline(SwPaM & rPam )const ; +public: virtual const SwRedline * SelPrevRedline(SwPaM & rPam )const ; +public: virtual void UpdateRedlineAttr(); +public: virtual sal_uInt16 GetRedlineAuthor(); +public: virtual sal_uInt16 InsertRedlineAuthor(const String & rAuthor ); +public: virtual bool SetRedlineComment(const SwPaM & rPam , const String & rComment ); +public: virtual const :: com :: sun :: star :: uno :: Sequence < sal_Int8 > & GetRedlinePassword()const ; +public: virtual void SetRedlinePassword(const :: com :: sun :: star :: uno :: Sequence < sal_Int8 > & rNewPassword ); +public: virtual bool IsVisibleLinks()const ; +public: virtual void SetVisibleLinks(bool bFlag ); +public: virtual sfx2 :: LinkManager & GetLinkManager(); +public: virtual const sfx2 :: LinkManager & GetLinkManager()const ; +public: virtual void UpdateLinks(sal_Bool bUI ); +public: virtual bool GetData(const rtl :: OUString & rItem , const String & rMimeType , :: com :: sun :: star :: uno :: Any & rValue )const ; +public: virtual bool SetData(const rtl :: OUString & rItem , const String & rMimeType , const :: com :: sun :: star :: uno :: Any & rValue ); +public: virtual :: sfx2 :: SvLinkSource * CreateLinkSource(const rtl :: OUString & rItem ); +public: virtual bool EmbedAllLinks(); +public: virtual void SetLinksUpdated(const bool bNewLinksUpdated ); +public: virtual bool LinksUpdated()const ; +public: virtual const SwFldTypes * GetFldTypes()const ; +public: virtual SwFieldType * InsertFldType(const SwFieldType & arg1 ); +public: virtual SwFieldType * GetSysFldType(const sal_uInt16 eWhich )const ; +public: virtual SwFieldType * GetFldType(sal_uInt16 nResId , const String & rName , bool bDbFieldMatching )const ; +public: virtual void RemoveFldType(sal_uInt16 nFld ); +public: virtual void UpdateFlds(SfxPoolItem * pNewHt , bool bCloseDB ); +public: virtual void InsDeletedFldType(SwFieldType & arg1 ); +public: virtual bool PutValueToField(const SwPosition & rPos , const com :: sun :: star :: uno :: Any & rVal , sal_uInt16 nWhich ); +public: virtual bool UpdateFld(SwTxtFld * rDstFmtFld , SwField & rSrcFld , SwMsgPoolItem * pMsgHnt , bool bUpdateTblFlds ); +public: virtual void UpdateRefFlds(SfxPoolItem * pHt ); +public: virtual void UpdateTblFlds(SfxPoolItem * pHt ); +public: virtual void UpdateExpFlds(SwTxtFld * pFld , bool bUpdateRefFlds ); +public: virtual void UpdateUsrFlds(); +public: virtual void UpdatePageFlds(SfxPoolItem * arg1 ); +public: virtual void LockExpFlds(); +public: virtual void UnlockExpFlds(); +public: virtual bool IsExpFldsLocked()const ; +public: virtual SwDocUpdtFld & GetUpdtFlds()const ; +public: virtual bool SetFieldsDirty(bool b , const SwNode * pChk , sal_uLong nLen ); +public: virtual void SetFixFields(bool bOnlyTimeDate , const DateTime * pNewDateTime ); +public: virtual void FldsToCalc(SwCalc & rCalc , sal_uLong nLastNd , sal_uInt16 nLastCnt ); +public: virtual void FldsToCalc(SwCalc & rCalc , const _SetGetExpFld & rToThisFld ); +public: virtual void FldsToExpand(SwHash * * & ppTbl , sal_uInt16 & rTblSize , const _SetGetExpFld & rToThisFld ); +public: virtual bool IsNewFldLst()const ; +public: virtual void SetNewFldLst(bool bFlag ); +public: virtual void InsDelFldInFldLst(bool bIns , const SwTxtFld & rFld ); +public: virtual bool CopyRange(SwPaM & arg1 , SwPosition & arg2 , const bool bCopyAll )const ; +public: virtual void DeleteSection(SwNode * pNode ); +public: virtual bool DeleteRange(SwPaM & arg1 ); +public: virtual bool DelFullPara(SwPaM & arg1 ); +public: virtual bool DeleteAndJoin(SwPaM & arg1 , const bool bForceJoinNext = false ); +public: virtual bool MoveRange(SwPaM & arg1 , SwPosition & arg2 , SwMoveFlags arg3 ); +public: virtual bool MoveNodeRange(SwNodeRange & arg1 , SwNodeIndex & arg2 , SwMoveFlags arg3 ); +public: virtual bool MoveAndJoin(SwPaM & arg1 , SwPosition & arg2 , SwMoveFlags arg3 ); +public: virtual bool Overwrite(const SwPaM & rRg , const String & rStr ); +public: virtual bool InsertString(const SwPaM & rRg , const String & arg1 , const enum InsertFlags nInsertMode = INS_EMPTYEXPAND ); +public: virtual bool UpdateRsid(SwTxtNode * pTxtNode , xub_StrLen nStt , xub_StrLen nEnd ); +public: virtual bool UpdateParRsid(SwTxtNode * pTxtNode , sal_uInt32 nVal = 0 ); +public: virtual bool UpdateRsid(const SwPaM & rRg , xub_StrLen nLen ); +public: virtual SwFlyFrmFmt * Insert(const SwPaM & rRg , const String & rGrfName , const String & rFltName , const Graphic * pGraphic , const SfxItemSet * pFlyAttrSet , const SfxItemSet * pGrfAttrSet , SwFrmFmt * arg1 ); +public: virtual SwFlyFrmFmt * Insert(const SwPaM & rRg , const GraphicObject & rGrfObj , const SfxItemSet * pFlyAttrSet , const SfxItemSet * pGrfAttrSet , SwFrmFmt * arg1 ); +public: virtual SwDrawFrmFmt * Insert(const SwPaM & rRg , SdrObject & rDrawObj , const SfxItemSet * pFlyAttrSet , SwFrmFmt * arg1 ); +public: virtual SwFlyFrmFmt * Insert(const SwPaM & rRg , const svt :: EmbeddedObjectRef & xObj , const SfxItemSet * pFlyAttrSet , const SfxItemSet * pGrfAttrSet , SwFrmFmt * arg1 ); +public: virtual bool InsertPoolItem(const SwPaM & rRg , const SfxPoolItem & arg1 , const SetAttrMode nFlags ); +public: virtual bool InsertItemSet(const SwPaM & rRg , const SfxItemSet & arg1 , const SetAttrMode nFlags ); +public: virtual void ReRead(SwPaM & arg1 , const String & rGrfName , const String & rFltName , const Graphic * pGraphic , const GraphicObject * pGrfObj ); +public: virtual void TransliterateText(const SwPaM & rPaM , utl :: TransliterationWrapper & arg1 ); +public: virtual SwFlyFrmFmt * InsertOLE(const SwPaM & rRg , const String & rObjName , sal_Int64 nAspect , const SfxItemSet * pFlyAttrSet , const SfxItemSet * pGrfAttrSet , SwFrmFmt * arg1 ); +public: virtual bool SplitNode(const SwPosition & rPos , bool bChkTableStart ); +public: virtual bool AppendTxtNode(SwPosition & rPos ); +public: virtual void SetModified(SwPaM & rPaM ); +public: virtual bool ReplaceRange(SwPaM & rPam , const String & rNewStr , const bool bRegExReplace ); +public: virtual void RemoveLeadingWhiteSpace(const SwPosition & rPos ); +public: virtual SwTxtFmtColl * GetTxtCollFromPool(sal_uInt16 nId , bool bRegardLanguage = true ); +public: virtual SwFmt * GetFmtFromPool(sal_uInt16 nId ); +public: virtual SwFrmFmt * GetFrmFmtFromPool(sal_uInt16 nId ); +public: virtual SwCharFmt * GetCharFmtFromPool(sal_uInt16 nId ); +public: virtual SwPageDesc * GetPageDescFromPool(sal_uInt16 nId , bool bRegardLanguage = true ); +public: virtual SwNumRule * GetNumRuleFromPool(sal_uInt16 nId ); +public: virtual bool IsPoolTxtCollUsed(sal_uInt16 nId )const ; +public: virtual bool IsPoolFmtUsed(sal_uInt16 nId )const ; +public: virtual bool IsPoolPageDescUsed(sal_uInt16 nId )const ; +public: virtual const SwLineNumberInfo & GetLineNumberInfo()const ; +public: virtual void SetLineNumberInfo(const SwLineNumberInfo & rInfo ); +public: virtual void DocInfoChgd(); +public: virtual const SwDocStat & GetDocStat()const ; +public: virtual const SwDocStat & GetUpdatedDocStat(); +public: virtual void SetDocStat(const SwDocStat & rStat ); +public: virtual void UpdateDocStat(); +public: virtual void SetModified(); +public: virtual void ResetModified(); +public: virtual bool IsModified()const ; +public: virtual bool IsLoaded()const ; +public: virtual bool IsUpdateExpFld()const ; +public: virtual bool IsNewDoc()const ; +public: virtual bool IsPageNums()const ; +public: virtual void SetPageNums(bool b ); +public: virtual void SetNewDoc(bool b ); +public: virtual void SetUpdateExpFldStat(bool b ); +public: virtual void SetLoaded(bool b ); +public: virtual const SdrModel * GetDrawModel()const ; +public: virtual SdrModel * GetDrawModel(); +public: virtual SdrLayerID GetHeavenId()const ; +public: virtual SdrLayerID GetHellId()const ; +public: virtual SdrLayerID GetControlsId()const ; +public: virtual SdrLayerID GetInvisibleHeavenId()const ; +public: virtual SdrLayerID GetInvisibleHellId()const ; +public: virtual SdrLayerID GetInvisibleControlsId()const ; +public: virtual void NotifyInvisibleLayers(SdrPageView & _rSdrPageView ); +public: virtual bool IsVisibleLayerId(const SdrLayerID & _nLayerId )const ; +public: virtual SdrLayerID GetVisibleLayerIdByInvisibleOne(const SdrLayerID & _nInvisibleLayerId ); +public: virtual SdrLayerID GetInvisibleLayerIdByVisibleOne(const SdrLayerID & _nVisibleLayerId ); +public: virtual SdrModel * _MakeDrawModel(); +public: virtual SdrModel * GetOrCreateDrawModel(); +public: virtual void SetCurrentViewShell(ViewShell * pNew ); +public: virtual SwLayouter * GetLayouter(); +public: virtual const SwLayouter * GetLayouter()const ; +public: virtual void SetLayouter(SwLayouter * pNew ); +public: virtual SwFrmFmt * MakeLayoutFmt(RndStdIds eRequest , const SfxItemSet * pSet ); +public: virtual void DelLayoutFmt(SwFrmFmt * pFmt ); +public: virtual SwFrmFmt * CopyLayoutFmt(const SwFrmFmt & rSrc , const SwFmtAnchor & rNewAnchor , bool bSetTxtFlyAtt , bool bMakeFrms ); +public: virtual const ViewShell * GetCurrentViewShell()const ; +public: virtual ViewShell * GetCurrentViewShell(); +public: virtual const SwRootFrm * GetCurrentLayout()const ; +public: virtual SwRootFrm * GetCurrentLayout(); +public: virtual bool HasLayout()const ; +public: virtual void StartIdling(); +public: virtual void StopIdling(); +public: virtual void BlockIdling(); +public: virtual void UnblockIdling(); +public: virtual SwChartDataProvider * GetChartDataProvider(bool bCreate = false )const ; +public: virtual void CreateChartInternalDataProviders(const SwTable * pTable ); +public: virtual SwChartLockController_Helper & GetChartControllerHelper(); +public: virtual void addListItem(const SwNodeNum & rNodeNum ); +public: virtual void removeListItem(const SwNodeNum & rNodeNum ); +public: virtual String getListItemText(const SwNodeNum & rNodeNum , const bool bWithNumber = true , const bool bWithSpacesForLevel = false )const ; +public: virtual void getListItems(IDocumentListItems :: tSortedNodeNumList & orNodeNumList )const ; +public: virtual void getNumItems(IDocumentListItems :: tSortedNodeNumList & orNodeNumList )const ; +public: virtual sal_Int32 getOutlineNodesCount()const ; +public: virtual int getOutlineLevel(const sal_Int32 nIdx )const ; +public: virtual String getOutlineText(const sal_Int32 nIdx , const bool bWithNumber , const bool bWithSpacesForLevel )const ; +public: virtual SwTxtNode * getOutlineNode(const sal_Int32 nIdx )const ; +public: virtual void getOutlineNodes(IDocumentOutlineNodes :: tSortedOutlineNodeList & orOutlineNodeList )const ; +public: virtual SwList * createList(String sListId , const String sDefaultListStyleName ); +public: virtual void deleteList(const String sListId ); +public: virtual SwList * getListByName(const String sListId )const ; +public: virtual SwList * createListForListStyle(const String sListStyleName ); +public: virtual SwList * getListForListStyle(const String sListStyleName )const ; +public: virtual void deleteListForListStyle(const String sListStyleName ); +public: virtual void trackChangeOfListStyleName(const String sListStyleName , const String sNewListStyleName ); +public: virtual void setExternalData(:: sw :: tExternalDataType eType , :: sw :: tExternalDataPointer pPayload ); +public: virtual :: sw :: tExternalDataPointer getExternalData(:: sw :: tExternalDataType eType ); }; #endif diff --git a/sw/source/core/doc/docStub.cxx b/sw/source/core/doc/docStub.cxx new file mode 100644 index 0000000..5428de1 --- /dev/null +++ b/sw/source/core/doc/docStub.cxx @@ -0,0 +1,1031 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * Version: MPL 1.1 / GPLv3+ / LGPLv3+ + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License or as specified alternatively below. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * Major Contributor(s): + * [ Copyright (C) 2012 Daniel Mihalyi <amidabucu@gmail.com> (initial developer) ] + * + * All Rights Reserved. + * + * For minor contributions see the git repository. + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 3 or later (the "GPLv3+"), or + * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), + * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable + * instead of those above. + */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ + +#include <docStub.hxx> +#include <iostream> +sal_Int32 SwDocStub::acquire() { +std::cout << "acquire" << "(" << ")\n"; +return SwDoc::acquire(); +} + +sal_Int32 SwDocStub::release() { +std::cout << "release" << "(" << ")\n"; +return SwDoc::release(); +} + +sal_Int32 SwDocStub::getReferenceCount()const { +std::cout << "getReferenceCount" << "(" << ")\n"; +return SwDoc::getReferenceCount(); +} + +bool SwDocStub::get(DocumentSettingId id )const { +std::cout << "get" << "("<< "id" << ")\n"; +return SwDoc::get(id); +} + +void SwDocStub::set(DocumentSettingId id , bool value ) { +std::cout << "set" << "("<< "id" << "," << value << ")\n"; +return SwDoc::set(id, value); +} + +const com :: sun :: star :: i18n :: ForbiddenCharacters * SwDocStub::getForbiddenCharacters(sal_uInt16 nLang , bool bLocaleData )const { +std::cout << "getForbiddenCharacters" << "(" << nLang << "," << bLocaleData << ")\n"; +return SwDoc::getForbiddenCharacters(nLang, bLocaleData); +} + +void SwDocStub::setForbiddenCharacters(sal_uInt16 nLang , const com :: sun :: star :: i18n :: ForbiddenCharacters & rForbiddenCharacters ) { +std::cout << "setForbiddenCharacters" << "(" << nLang << ","<< "rForbiddenCharacters" << ")\n"; +return SwDoc::setForbiddenCharacters(nLang, rForbiddenCharacters); +} + +rtl :: Reference < SvxForbiddenCharactersTable > & SwDocStub::getForbiddenCharacterTable() { +std::cout << "getForbiddenCharacterTable" << "(" << ")\n"; +return SwDoc::getForbiddenCharacterTable(); +} + +const rtl :: Reference < SvxForbiddenCharactersTable > & SwDocStub::getForbiddenCharacterTable()const { +std::cout << "getForbiddenCharacterTable" << "(" << ")\n"; +return SwDoc::getForbiddenCharacterTable(); +} + +sal_uInt16 SwDocStub::getLinkUpdateMode(bool bGlobalSettings )const { +std::cout << "getLinkUpdateMode" << "(" << bGlobalSettings << ")\n"; +return SwDoc::getLinkUpdateMode(bGlobalSettings); +} + +void SwDocStub::setLinkUpdateMode(sal_uInt16 nMode ) { +std::cout << "setLinkUpdateMode" << "(" << nMode << ")\n"; +return SwDoc::setLinkUpdateMode(nMode); +} + +SwFldUpdateFlags SwDocStub::getFieldUpdateFlags(bool bGlobalSettings )const { +std::cout << "getFieldUpdateFlags" << "(" << bGlobalSettings << ")\n"; +return SwDoc::getFieldUpdateFlags(bGlobalSettings); +} + +void SwDocStub::setFieldUpdateFlags(SwFldUpdateFlags eMode ) { +std::cout << "setFieldUpdateFlags" << "("<< "eMode" << ")\n"; +return SwDoc::setFieldUpdateFlags(eMode); +} + +SwCharCompressType SwDocStub::getCharacterCompressionType()const { +std::cout << "getCharacterCompressionType" << "(" << ")\n"; +return SwDoc::getCharacterCompressionType(); +} + +void SwDocStub::setCharacterCompressionType(SwCharCompressType nType ) { +std::cout << "setCharacterCompressionType" << "("<< "nType" << ")\n"; +return SwDoc::setCharacterCompressionType(nType); +} + +sal_uInt32 SwDocStub::getRsid()const { +std::cout << "getRsid" << "(" << ")\n"; +return SwDoc::getRsid(); +} + +void SwDocStub::setRsid(sal_uInt32 nVal ) { +std::cout << "setRsid" << "(" << nVal << ")\n"; +return SwDoc::setRsid(nVal); +} + +sal_uInt32 SwDocStub::getRsidRoot()const { +std::cout << "getRsidRoot" << "(" << ")\n"; +return SwDoc::getRsidRoot(); +} + +void SwDocStub::setRsidRoot(sal_uInt32 nVal ) { +std::cout << "setRsidRoot" << "(" << nVal << ")\n"; +return SwDoc::setRsidRoot(nVal); +} + +SfxPrinter * SwDocStub::getPrinter(bool bCreate )const { +std::cout << "getPrinter" << "(" << bCreate << ")\n"; +return SwDoc::getPrinter(bCreate); +} + +void SwDocStub::setPrinter(SfxPrinter * pP , bool bDeleteOld , bool bCallPrtDataChanged ) { +std::cout << "setPrinter" << "(" << pP << "," << bDeleteOld << "," << bCallPrtDataChanged << ")\n"; +return SwDoc::setPrinter(pP, bDeleteOld, bCallPrtDataChanged); +} + +VirtualDevice * SwDocStub::getVirtualDevice(bool bCreate )const { +std::cout << "getVirtualDevice" << "(" << bCreate << ")\n"; +return SwDoc::getVirtualDevice(bCreate); +} + +void SwDocStub::setVirtualDevice(VirtualDevice * pVd , bool bDeleteOld , bool bCallVirDevDataChanged ) { +std::cout << "setVirtualDevice" << "(" << pVd << "," << bDeleteOld << "," << bCallVirDevDataChanged << ")\n"; +return SwDoc::setVirtualDevice(pVd, bDeleteOld, bCallVirDevDataChanged); +} + +OutputDevice * SwDocStub::getReferenceDevice(bool bCreate )const { +std::cout << "getReferenceDevice" << "(" << bCreate << ")\n"; +return SwDoc::getReferenceDevice(bCreate); +} + +void SwDocStub::setReferenceDeviceType(bool bNewVirtual , bool bNewHiRes ) { +std::cout << "setReferenceDeviceType" << "(" << bNewVirtual << "," << bNewHiRes << ")\n"; +return SwDoc::setReferenceDeviceType(bNewVirtual, bNewHiRes); +} + +const JobSetup * SwDocStub::getJobsetup()const { +std::cout << "getJobsetup" << "(" << ")\n"; +return SwDoc::getJobsetup(); +} + +void SwDocStub::setJobsetup(const JobSetup & rJobSetup ) { +std::cout << "setJobsetup" << "("<< "rJobSetup" << ")\n"; +return SwDoc::setJobsetup(rJobSetup); +} + +const SwPrintData & SwDocStub::getPrintData()const { +std::cout << "getPrintData" << "(" << ")\n"; +return SwDoc::getPrintData(); +} + +void SwDocStub::setPrintData(const SwPrintData & rPrtData ) { +std::cout << "setPrintData" << "("<< "rPrtData" << ")\n"; +return SwDoc::setPrintData(rPrtData); +} + +RedlineMode_t SwDocStub::GetRedlineMode()const { +std::cout << "GetRedlineMode" << "(" << ")\n"; +return SwDoc::GetRedlineMode(); +} + +void SwDocStub::SetRedlineMode_intern(RedlineMode_t eMode ) { +std::cout << "SetRedlineMode_intern" << "("<< "eMode" << ")\n"; +return SwDoc::SetRedlineMode_intern(eMode); +} + +void SwDocStub::SetRedlineMode(RedlineMode_t eMode ) { +std::cout << "SetRedlineMode" << "("<< "eMode" << ")\n"; +return SwDoc::SetRedlineMode(eMode); +} + +bool SwDocStub::IsRedlineOn()const { +std::cout << "IsRedlineOn" << "(" << ")\n"; +return SwDoc::IsRedlineOn(); +} + +bool SwDocStub::IsIgnoreRedline()const { +std::cout << "IsIgnoreRedline" << "(" << ")\n"; +return SwDoc::IsIgnoreRedline(); +} + +bool SwDocStub::IsInRedlines(const SwNode & rNode )const { +std::cout << "IsInRedlines" << "("<< "rNode" << ")\n"; +return SwDoc::IsInRedlines(rNode); +} + +const SwRedlineTbl & SwDocStub::GetRedlineTbl()const { +std::cout << "GetRedlineTbl" << "(" << ")\n"; +return SwDoc::GetRedlineTbl(); +} + +bool SwDocStub::AppendRedline(SwRedline * pPtr , bool bCallDelete ) { +std::cout << "AppendRedline" << "(" << pPtr << "," << bCallDelete << ")\n"; +return SwDoc::AppendRedline(pPtr, bCallDelete); +} + +bool SwDocStub::SplitRedline(const SwPaM & rPam ) { +std::cout << "SplitRedline" << "("<< "rPam" << ")\n"; +return SwDoc::SplitRedline(rPam); +} + +bool SwDocStub::DeleteRedline(const SwPaM & rPam , bool bSaveInUndo , sal_uInt16 nDelType ) { +std::cout << "DeleteRedline" << "("<< "rPam" << "," << bSaveInUndo << "," << nDelType << ")\n"; +return SwDoc::DeleteRedline(rPam, bSaveInUndo, nDelType); +} + +bool SwDocStub::DeleteRedline(const SwStartNode & rSection , bool bSaveInUndo , sal_uInt16 nDelType ) { +std::cout << "DeleteRedline" << "("<< "rSection" << "," << bSaveInUndo << "," << nDelType << ")\n"; +return SwDoc::DeleteRedline(rSection, bSaveInUndo, nDelType); +} + +sal_uInt16 SwDocStub::GetRedlinePos(const SwNode & rNode , sal_uInt16 nType )const { +std::cout << "GetRedlinePos" << "("<< "rNode" << "," << nType << ")\n"; +return SwDoc::GetRedlinePos(rNode, nType); +} + +void SwDocStub::CompressRedlines() { +std::cout << "CompressRedlines" << "(" << ")\n"; +return SwDoc::CompressRedlines(); +} + +const SwRedline * SwDocStub::GetRedline(const SwPosition & rPos , sal_uInt16 * pFndPos )const { +std::cout << "GetRedline" << "("<< "rPos" << "," << pFndPos << ")\n"; +return SwDoc::GetRedline(rPos, pFndPos); +} + +bool SwDocStub::IsRedlineMove()const { +std::cout << "IsRedlineMove" << "(" << ")\n"; +return SwDoc::IsRedlineMove(); +} + +void SwDocStub::SetRedlineMove(bool bFlag ) { +std::cout << "SetRedlineMove" << "(" << bFlag << ")\n"; +return SwDoc::SetRedlineMove(bFlag); +} + +bool SwDocStub::AcceptRedline(sal_uInt16 nPos , bool bCallDelete ) { +std::cout << "AcceptRedline" << "(" << nPos << "," << bCallDelete << ")\n"; +return SwDoc::AcceptRedline(nPos, bCallDelete); +} + +bool SwDocStub::AcceptRedline(const SwPaM & rPam , bool bCallDelete ) { +std::cout << "AcceptRedline" << "("<< "rPam" << "," << bCallDelete << ")\n"; +return SwDoc::AcceptRedline(rPam, bCallDelete); +} + +bool SwDocStub::RejectRedline(sal_uInt16 nPos , bool bCallDelete ) { +std::cout << "RejectRedline" << "(" << nPos << "," << bCallDelete << ")\n"; +return SwDoc::RejectRedline(nPos, bCallDelete); +} + +bool SwDocStub::RejectRedline(const SwPaM & rPam , bool bCallDelete ) { +std::cout << "RejectRedline" << "("<< "rPam" << "," << bCallDelete << ")\n"; +return SwDoc::RejectRedline(rPam, bCallDelete); +} + +const SwRedline * SwDocStub::SelNextRedline(SwPaM & rPam )const { +std::cout << "SelNextRedline" << "("<< "rPam" << ")\n"; +return SwDoc::SelNextRedline(rPam); +} + +const SwRedline * SwDocStub::SelPrevRedline(SwPaM & rPam )const { +std::cout << "SelPrevRedline" << "("<< "rPam" << ")\n"; +return SwDoc::SelPrevRedline(rPam); +} + +void SwDocStub::UpdateRedlineAttr() { +std::cout << "UpdateRedlineAttr" << "(" << ")\n"; +return SwDoc::UpdateRedlineAttr(); +} + +sal_uInt16 SwDocStub::GetRedlineAuthor() { +std::cout << "GetRedlineAuthor" << "(" << ")\n"; +return SwDoc::GetRedlineAuthor(); +} + +sal_uInt16 SwDocStub::InsertRedlineAuthor(const String & rAuthor ) { +std::cout << "InsertRedlineAuthor" << "("<< "rAuthor" << ")\n"; +return SwDoc::InsertRedlineAuthor(rAuthor); +} + +bool SwDocStub::SetRedlineComment(const SwPaM & rPam , const String & rComment ) { +std::cout << "SetRedlineComment" << "("<< "rPam" << ","<< "rComment" << ")\n"; +return SwDoc::SetRedlineComment(rPam, rComment); +} + +const :: com :: sun :: star :: uno :: Sequence < sal_Int8 > & SwDocStub::GetRedlinePassword()const { +std::cout << "GetRedlinePassword" << "(" << ")\n"; +return SwDoc::GetRedlinePassword(); +} + +void SwDocStub::SetRedlinePassword(const :: com :: sun :: star :: uno :: Sequence < sal_Int8 > & rNewPassword ) { +std::cout << "SetRedlinePassword" << "("<< "rNewPassword" << ")\n"; +return SwDoc::SetRedlinePassword(rNewPassword); +} + +bool SwDocStub::IsVisibleLinks()const { +std::cout << "IsVisibleLinks" << "(" << ")\n"; +return SwDoc::IsVisibleLinks(); +} + +void SwDocStub::SetVisibleLinks(bool bFlag ) { +std::cout << "SetVisibleLinks" << "(" << bFlag << ")\n"; +return SwDoc::SetVisibleLinks(bFlag); +} + +sfx2 :: LinkManager & SwDocStub::GetLinkManager() { +std::cout << "GetLinkManager" << "(" << ")\n"; +return SwDoc::GetLinkManager(); +} + +const sfx2 :: LinkManager & SwDocStub::GetLinkManager()const { +std::cout << "GetLinkManager" << "(" << ")\n"; +return SwDoc::GetLinkManager(); +} + +void SwDocStub::UpdateLinks(sal_Bool bUI ) { +std::cout << "UpdateLinks" << "(" << bUI << ")\n"; +return SwDoc::UpdateLinks(bUI); +} + +bool SwDocStub::GetData(const rtl :: OUString & rItem , const String & rMimeType , :: com :: sun :: star :: uno :: Any & rValue )const { +std::cout << "GetData" << "("<< "rItem" << ","<< "rMimeType" << ","<< "rValue" << ")\n"; +return SwDoc::GetData(rItem, rMimeType, rValue); +} + +bool SwDocStub::SetData(const rtl :: OUString & rItem , const String & rMimeType , const :: com :: sun :: star :: uno :: Any & rValue ) { +std::cout << "SetData" << "("<< "rItem" << ","<< "rMimeType" << ","<< "rValue" << ")\n"; +return SwDoc::SetData(rItem, rMimeType, rValue); +} + +:: sfx2 :: SvLinkSource * SwDocStub::CreateLinkSource(const rtl :: OUString & rItem ) { +std::cout << "CreateLinkSource" << "("<< "rItem" << ")\n"; +return SwDoc::CreateLinkSource(rItem); +} + +bool SwDocStub::EmbedAllLinks() { +std::cout << "EmbedAllLinks" << "(" << ")\n"; +return SwDoc::EmbedAllLinks(); +} + +void SwDocStub::SetLinksUpdated(const bool bNewLinksUpdated ) { +std::cout << "SetLinksUpdated" << "(" << bNewLinksUpdated << ")\n"; +return SwDoc::SetLinksUpdated(bNewLinksUpdated); +} + +bool SwDocStub::LinksUpdated()const { +std::cout << "LinksUpdated" << "(" << ")\n"; +return SwDoc::LinksUpdated(); +} + +const SwFldTypes * SwDocStub::GetFldTypes()const { +std::cout << "GetFldTypes" << "(" << ")\n"; +return SwDoc::GetFldTypes(); +} + +SwFieldType * SwDocStub::InsertFldType(const SwFieldType & arg1 ) { +std::cout << "InsertFldType" << "("<< "arg1" << ")\n"; +return SwDoc::InsertFldType(arg1); +} + +SwFieldType * SwDocStub::GetSysFldType(const sal_uInt16 eWhich )const { +std::cout << "GetSysFldType" << "(" << eWhich << ")\n"; +return SwDoc::GetSysFldType(eWhich); +} + +SwFieldType * SwDocStub::GetFldType(sal_uInt16 nResId , const String & rName , bool bDbFieldMatching )const { +std::cout << "GetFldType" << "(" << nResId << ","<< "rName" << "," << bDbFieldMatching << ")\n"; +return SwDoc::GetFldType(nResId, rName, bDbFieldMatching); +} + +void SwDocStub::RemoveFldType(sal_uInt16 nFld ) { +std::cout << "RemoveFldType" << "(" << nFld << ")\n"; +return SwDoc::RemoveFldType(nFld); +} + +void SwDocStub::UpdateFlds(SfxPoolItem * pNewHt , bool bCloseDB ) { +std::cout << "UpdateFlds" << "(" << pNewHt << "," << bCloseDB << ")\n"; +return SwDoc::UpdateFlds(pNewHt, bCloseDB); +} + +void SwDocStub::InsDeletedFldType(SwFieldType & arg1 ) { +std::cout << "InsDeletedFldType" << "("<< "arg1" << ")\n"; +return SwDoc::InsDeletedFldType(arg1); +} + +bool SwDocStub::PutValueToField(const SwPosition & rPos , const com :: sun :: star :: uno :: Any & rVal , sal_uInt16 nWhich ) { +std::cout << "PutValueToField" << "("<< "rPos" << ","<< "rVal" << "," << nWhich << ")\n"; +return SwDoc::PutValueToField(rPos, rVal, nWhich); +} + +bool SwDocStub::UpdateFld(SwTxtFld * rDstFmtFld , SwField & rSrcFld , SwMsgPoolItem * pMsgHnt , bool bUpdateTblFlds ) { +std::cout << "UpdateFld" << "(" << rDstFmtFld << ","<< "rSrcFld" << "," << pMsgHnt << "," << bUpdateTblFlds << ")\n"; +return SwDoc::UpdateFld(rDstFmtFld, rSrcFld, pMsgHnt, bUpdateTblFlds); +} + +void SwDocStub::UpdateRefFlds(SfxPoolItem * pHt ) { +std::cout << "UpdateRefFlds" << "(" << pHt << ")\n"; +return SwDoc::UpdateRefFlds(pHt); +} + +void SwDocStub::UpdateTblFlds(SfxPoolItem * pHt ) { +std::cout << "UpdateTblFlds" << "(" << pHt << ")\n"; +return SwDoc::UpdateTblFlds(pHt); +} + +void SwDocStub::UpdateExpFlds(SwTxtFld * pFld , bool bUpdateRefFlds ) { +std::cout << "UpdateExpFlds" << "(" << pFld << "," << bUpdateRefFlds << ")\n"; +return SwDoc::UpdateExpFlds(pFld, bUpdateRefFlds); +} + +void SwDocStub::UpdateUsrFlds() { +std::cout << "UpdateUsrFlds" << "(" << ")\n"; +return SwDoc::UpdateUsrFlds(); +} + +void SwDocStub::UpdatePageFlds(SfxPoolItem * arg1 ) { +std::cout << "UpdatePageFlds" << "(" << arg1 << ")\n"; +return SwDoc::UpdatePageFlds(arg1); +} + +void SwDocStub::LockExpFlds() { +std::cout << "LockExpFlds" << "(" << ")\n"; +return SwDoc::LockExpFlds(); +} + +void SwDocStub::UnlockExpFlds() { +std::cout << "UnlockExpFlds" << "(" << ")\n"; +return SwDoc::UnlockExpFlds(); +} + +bool SwDocStub::IsExpFldsLocked()const { +std::cout << "IsExpFldsLocked" << "(" << ")\n"; +return SwDoc::IsExpFldsLocked(); +} + +SwDocUpdtFld & SwDocStub::GetUpdtFlds()const { +std::cout << "GetUpdtFlds" << "(" << ")\n"; +return SwDoc::GetUpdtFlds(); +} + +bool SwDocStub::SetFieldsDirty(bool b , const SwNode * pChk , sal_uLong nLen ) { +std::cout << "SetFieldsDirty" << "(" << b << "," << pChk << ","<< "nLen" << ")\n"; +return SwDoc::SetFieldsDirty(b, pChk, nLen); +} + +void SwDocStub::SetFixFields(bool bOnlyTimeDate , const DateTime * pNewDateTime ) { +std::cout << "SetFixFields" << "(" << bOnlyTimeDate << "," << pNewDateTime << ")\n"; +return SwDoc::SetFixFields(bOnlyTimeDate, pNewDateTime); +} + +void SwDocStub::FldsToCalc(SwCalc & rCalc , sal_uLong nLastNd , sal_uInt16 nLastCnt ) { +std::cout << "FldsToCalc" << "("<< "rCalc" << ","<< "nLastNd" << "," << nLastCnt << ")\n"; +return SwDoc::FldsToCalc(rCalc, nLastNd, nLastCnt); +} + +void SwDocStub::FldsToCalc(SwCalc & rCalc , const _SetGetExpFld & rToThisFld ) { +std::cout << "FldsToCalc" << "("<< "rCalc" << ","<< "rToThisFld" << ")\n"; +return SwDoc::FldsToCalc(rCalc, rToThisFld); +} + +void SwDocStub::FldsToExpand(SwHash * * & ppTbl , sal_uInt16 & rTblSize , const _SetGetExpFld & rToThisFld ) { +std::cout << "FldsToExpand" << "("<< "ppTbl" << "," << rTblSize << ","<< "rToThisFld" << ")\n"; +return SwDoc::FldsToExpand(ppTbl, rTblSize, rToThisFld); +} + +bool SwDocStub::IsNewFldLst()const { +std::cout << "IsNewFldLst" << "(" << ")\n"; +return SwDoc::IsNewFldLst(); +} + +void SwDocStub::SetNewFldLst(bool bFlag ) { +std::cout << "SetNewFldLst" << "(" << bFlag << ")\n"; +return SwDoc::SetNewFldLst(bFlag); +} + +void SwDocStub::InsDelFldInFldLst(bool bIns , const SwTxtFld & rFld ) { +std::cout << "InsDelFldInFldLst" << "(" << bIns << ","<< "rFld" << ")\n"; +return SwDoc::InsDelFldInFldLst(bIns, rFld); +} + +bool SwDocStub::CopyRange(SwPaM & arg1 , SwPosition & arg2 , const bool bCopyAll )const { +std::cout << "CopyRange" << "("<< "arg1" << ","<< "arg2" << "," << bCopyAll << ")\n"; +return SwDoc::CopyRange(arg1, arg2, bCopyAll); +} + +void SwDocStub::DeleteSection(SwNode * pNode ) { +std::cout << "DeleteSection" << "(" << pNode << ")\n"; +return SwDoc::DeleteSection(pNode); +} + +bool SwDocStub::DeleteRange(SwPaM & arg1 ) { +std::cout << "DeleteRange" << "("<< "arg1" << ")\n"; +return SwDoc::DeleteRange(arg1); +} + +bool SwDocStub::DelFullPara(SwPaM & arg1 ) { +std::cout << "DelFullPara" << "("<< "arg1" << ")\n"; +return SwDoc::DelFullPara(arg1); +} + +bool SwDocStub::DeleteAndJoin(SwPaM & arg1 , const bool bForceJoinNext ) { +std::cout << "DeleteAndJoin" << "("<< "arg1" << "," << bForceJoinNext << ")\n"; +return SwDoc::DeleteAndJoin(arg1, bForceJoinNext); +} + +bool SwDocStub::MoveRange(SwPaM & arg1 , SwPosition & arg2 , SwMoveFlags arg3 ) { +std::cout << "MoveRange" << "("<< "arg1" << ","<< "arg2" << ","<< "arg3" << ")\n"; +return SwDoc::MoveRange(arg1, arg2, arg3); +} + +bool SwDocStub::MoveNodeRange(SwNodeRange & arg1 , SwNodeIndex & arg2 , SwMoveFlags arg3 ) { +std::cout << "MoveNodeRange" << "("<< "arg1" << ","<< "arg2" << ","<< "arg3" << ")\n"; +return SwDoc::MoveNodeRange(arg1, arg2, arg3); +} + +bool SwDocStub::MoveAndJoin(SwPaM & arg1 , SwPosition & arg2 , SwMoveFlags arg3 ) { +std::cout << "MoveAndJoin" << "("<< "arg1" << ","<< "arg2" << ","<< "arg3" << ")\n"; +return SwDoc::MoveAndJoin(arg1, arg2, arg3); +} + +bool SwDocStub::Overwrite(const SwPaM & rRg , const String & rStr ) { +std::cout << "Overwrite" << "("<< "rRg" << ","<< "rStr" << ")\n"; +return SwDoc::Overwrite(rRg, rStr); +} + +bool SwDocStub::InsertString(const SwPaM & rRg , const String & arg1 , const enum InsertFlags nInsertMode ) { +std::cout << "InsertString" << "("<< "rRg" << ","<< "arg1" << ","<< "nInsertMode" << ")\n"; +return SwDoc::InsertString(rRg, arg1, nInsertMode); +} + +bool SwDocStub::UpdateRsid(SwTxtNode * pTxtNode , xub_StrLen nStt , xub_StrLen nEnd ) { +std::cout << "UpdateRsid" << "(" << pTxtNode << ","<< "nStt" << ","<< "nEnd" << ")\n"; +return SwDoc::UpdateRsid(pTxtNode, nStt, nEnd); +} + +bool SwDocStub::UpdateParRsid(SwTxtNode * pTxtNode , sal_uInt32 nVal ) { +std::cout << "UpdateParRsid" << "(" << pTxtNode << "," << nVal << ")\n"; +return SwDoc::UpdateParRsid(pTxtNode, nVal); +} + +bool SwDocStub::UpdateRsid(const SwPaM & rRg , xub_StrLen nLen ) { +std::cout << "UpdateRsid" << "("<< "rRg" << ","<< "nLen" << ")\n"; +return SwDoc::UpdateRsid(rRg, nLen); +} + +SwFlyFrmFmt * SwDocStub::Insert(const SwPaM & rRg , const String & rGrfName , const String & rFltName , const Graphic * pGraphic , const SfxItemSet * pFlyAttrSet , const SfxItemSet * pGrfAttrSet , SwFrmFmt * arg1 ) { +std::cout << "Insert" << "("<< "rRg" << ","<< "rGrfName" << ","<< "rFltName" << "," << pGraphic << "," << pFlyAttrSet << "," << pGrfAttrSet << "," << arg1 << ")\n"; +return SwDoc::Insert(rRg, rGrfName, rFltName, pGraphic, pFlyAttrSet, pGrfAttrSet, arg1); +} + +SwFlyFrmFmt * SwDocStub::Insert(const SwPaM & rRg , const GraphicObject & rGrfObj , const SfxItemSet * pFlyAttrSet , const SfxItemSet * pGrfAttrSet , SwFrmFmt * arg1 ) { +std::cout << "Insert" << "("<< "rRg" << ","<< "rGrfObj" << "," << pFlyAttrSet << "," << pGrfAttrSet << "," << arg1 << ")\n"; +return SwDoc::Insert(rRg, rGrfObj, pFlyAttrSet, pGrfAttrSet, arg1); +} + +SwDrawFrmFmt * SwDocStub::Insert(const SwPaM & rRg , SdrObject & rDrawObj , const SfxItemSet * pFlyAttrSet , SwFrmFmt * arg1 ) { +std::cout << "Insert" << "("<< "rRg" << ","<< "rDrawObj" << "," << pFlyAttrSet << "," << arg1 << ")\n"; +return SwDoc::Insert(rRg, rDrawObj, pFlyAttrSet, arg1); +} + +SwFlyFrmFmt * SwDocStub::Insert(const SwPaM & rRg , const svt :: EmbeddedObjectRef & xObj , const SfxItemSet * pFlyAttrSet , const SfxItemSet * pGrfAttrSet , SwFrmFmt * arg1 ) { +std::cout << "Insert" << "("<< "rRg" << ","<< "xObj" << "," << pFlyAttrSet << "," << pGrfAttrSet << "," << arg1 << ")\n"; +return SwDoc::Insert(rRg, xObj, pFlyAttrSet, pGrfAttrSet, arg1); +} + +bool SwDocStub::InsertPoolItem(const SwPaM & rRg , const SfxPoolItem & arg1 , const SetAttrMode nFlags ) { +std::cout << "InsertPoolItem" << "("<< "rRg" << ","<< "arg1" << ","<< "nFlags" << ")\n"; +return SwDoc::InsertPoolItem(rRg, arg1, nFlags); +} + +bool SwDocStub::InsertItemSet(const SwPaM & rRg , const SfxItemSet & arg1 , const SetAttrMode nFlags ) { +std::cout << "InsertItemSet" << "("<< "rRg" << ","<< "arg1" << ","<< "nFlags" << ")\n"; +return SwDoc::InsertItemSet(rRg, arg1, nFlags); +} + +void SwDocStub::ReRead(SwPaM & arg1 , const String & rGrfName , const String & rFltName , const Graphic * pGraphic , const GraphicObject * pGrfObj ) { +std::cout << "ReRead" << "("<< "arg1" << ","<< "rGrfName" << ","<< "rFltName" << "," << pGraphic << "," << pGrfObj << ")\n"; +return SwDoc::ReRead(arg1, rGrfName, rFltName, pGraphic, pGrfObj); +} + +void SwDocStub::TransliterateText(const SwPaM & rPaM , utl :: TransliterationWrapper & arg1 ) { +std::cout << "TransliterateText" << "("<< "rPaM" << ","<< "arg1" << ")\n"; +return SwDoc::TransliterateText(rPaM, arg1); +} + +SwFlyFrmFmt * SwDocStub::InsertOLE(const SwPaM & rRg , const String & rObjName , sal_Int64 nAspect , const SfxItemSet * pFlyAttrSet , const SfxItemSet * pGrfAttrSet , SwFrmFmt * arg1 ) { +std::cout << "InsertOLE" << "("<< "rRg" << ","<< "rObjName" << ","<< "nAspect" << "," << pFlyAttrSet << "," << pGrfAttrSet << "," << arg1 << ")\n"; +return SwDoc::InsertOLE(rRg, rObjName, nAspect, pFlyAttrSet, pGrfAttrSet, arg1); +} + +bool SwDocStub::SplitNode(const SwPosition & rPos , bool bChkTableStart ) { +std::cout << "SplitNode" << "("<< "rPos" << "," << bChkTableStart << ")\n"; +return SwDoc::SplitNode(rPos, bChkTableStart); +} + +bool SwDocStub::AppendTxtNode(SwPosition & rPos ) { +std::cout << "AppendTxtNode" << "("<< "rPos" << ")\n"; +return SwDoc::AppendTxtNode(rPos); +} + +void SwDocStub::SetModified(SwPaM & rPaM ) { +std::cout << "SetModified" << "("<< "rPaM" << ")\n"; +return SwDoc::SetModified(rPaM); +} + +bool SwDocStub::ReplaceRange(SwPaM & rPam , const String & rNewStr , const bool bRegExReplace ) { +std::cout << "ReplaceRange" << "("<< "rPam" << ","<< "rNewStr" << "," << bRegExReplace << ")\n"; +return SwDoc::ReplaceRange(rPam, rNewStr, bRegExReplace); +} + +void SwDocStub::RemoveLeadingWhiteSpace(const SwPosition & rPos ) { +std::cout << "RemoveLeadingWhiteSpace" << "("<< "rPos" << ")\n"; +return SwDoc::RemoveLeadingWhiteSpace(rPos); +} + +SwTxtFmtColl * SwDocStub::GetTxtCollFromPool(sal_uInt16 nId , bool bRegardLanguage ) { +std::cout << "GetTxtCollFromPool" << "(" << nId << "," << bRegardLanguage << ")\n"; +return SwDoc::GetTxtCollFromPool(nId, bRegardLanguage); +} + +SwFmt * SwDocStub::GetFmtFromPool(sal_uInt16 nId ) { +std::cout << "GetFmtFromPool" << "(" << nId << ")\n"; +return SwDoc::GetFmtFromPool(nId); +} + +SwFrmFmt * SwDocStub::GetFrmFmtFromPool(sal_uInt16 nId ) { +std::cout << "GetFrmFmtFromPool" << "(" << nId << ")\n"; +return SwDoc::GetFrmFmtFromPool(nId); +} + +SwCharFmt * SwDocStub::GetCharFmtFromPool(sal_uInt16 nId ) { +std::cout << "GetCharFmtFromPool" << "(" << nId << ")\n"; +return SwDoc::GetCharFmtFromPool(nId); +} + +SwPageDesc * SwDocStub::GetPageDescFromPool(sal_uInt16 nId , bool bRegardLanguage ) { +std::cout << "GetPageDescFromPool" << "(" << nId << "," << bRegardLanguage << ")\n"; +return SwDoc::GetPageDescFromPool(nId, bRegardLanguage); +} + +SwNumRule * SwDocStub::GetNumRuleFromPool(sal_uInt16 nId ) { +std::cout << "GetNumRuleFromPool" << "(" << nId << ")\n"; +return SwDoc::GetNumRuleFromPool(nId); +} + +bool SwDocStub::IsPoolTxtCollUsed(sal_uInt16 nId )const { +std::cout << "IsPoolTxtCollUsed" << "(" << nId << ")\n"; +return SwDoc::IsPoolTxtCollUsed(nId); +} + +bool SwDocStub::IsPoolFmtUsed(sal_uInt16 nId )const { +std::cout << "IsPoolFmtUsed" << "(" << nId << ")\n"; +return SwDoc::IsPoolFmtUsed(nId); +} + +bool SwDocStub::IsPoolPageDescUsed(sal_uInt16 nId )const { +std::cout << "IsPoolPageDescUsed" << "(" << nId << ")\n"; +return SwDoc::IsPoolPageDescUsed(nId); +} + +const SwLineNumberInfo & SwDocStub::GetLineNumberInfo()const { +std::cout << "GetLineNumberInfo" << "(" << ")\n"; +return SwDoc::GetLineNumberInfo(); +} + +void SwDocStub::SetLineNumberInfo(const SwLineNumberInfo & rInfo ) { +std::cout << "SetLineNumberInfo" << "("<< "rInfo" << ")\n"; +return SwDoc::SetLineNumberInfo(rInfo); +} + +void SwDocStub::DocInfoChgd() { +std::cout << "DocInfoChgd" << "(" << ")\n"; +return SwDoc::DocInfoChgd(); +} + +const SwDocStat & SwDocStub::GetDocStat()const { +std::cout << "GetDocStat" << "(" << ")\n"; +return SwDoc::GetDocStat(); +} + +const SwDocStat & SwDocStub::GetUpdatedDocStat() { +std::cout << "GetUpdatedDocStat" << "(" << ")\n"; +return SwDoc::GetUpdatedDocStat(); +} + +void SwDocStub::SetDocStat(const SwDocStat & rStat ) { +std::cout << "SetDocStat" << "("<< "rStat" << ")\n"; +return SwDoc::SetDocStat(rStat); +} + +void SwDocStub::UpdateDocStat() { +std::cout << "UpdateDocStat" << "(" << ")\n"; +return SwDoc::UpdateDocStat(); +} + +void SwDocStub::SetModified() { +std::cout << "SetModified" << "(" << ")\n"; +return SwDoc::SetModified(); +} + +void SwDocStub::ResetModified() { +std::cout << "ResetModified" << "(" << ")\n"; +return SwDoc::ResetModified(); +} + +bool SwDocStub::IsModified()const { +std::cout << "IsModified" << "(" << ")\n"; +return SwDoc::IsModified(); +} + +bool SwDocStub::IsLoaded()const { +std::cout << "IsLoaded" << "(" << ")\n"; +return SwDoc::IsLoaded(); +} + +bool SwDocStub::IsUpdateExpFld()const { +std::cout << "IsUpdateExpFld" << "(" << ")\n"; +return SwDoc::IsUpdateExpFld(); +} + +bool SwDocStub::IsNewDoc()const { +std::cout << "IsNewDoc" << "(" << ")\n"; +return SwDoc::IsNewDoc(); +} + +bool SwDocStub::IsPageNums()const { +std::cout << "IsPageNums" << "(" << ")\n"; +return SwDoc::IsPageNums(); +} + +void SwDocStub::SetPageNums(bool b ) { +std::cout << "SetPageNums" << "(" << b << ")\n"; +return SwDoc::SetPageNums(b); +} + +void SwDocStub::SetNewDoc(bool b ) { +std::cout << "SetNewDoc" << "(" << b << ")\n"; +return SwDoc::SetNewDoc(b); +} + +void SwDocStub::SetUpdateExpFldStat(bool b ) { +std::cout << "SetUpdateExpFldStat" << "(" << b << ")\n"; +return SwDoc::SetUpdateExpFldStat(b); +} + +void SwDocStub::SetLoaded(bool b ) { +std::cout << "SetLoaded" << "(" << b << ")\n"; +return SwDoc::SetLoaded(b); +} + +const SdrModel * SwDocStub::GetDrawModel()const { +std::cout << "GetDrawModel" << "(" << ")\n"; +return SwDoc::GetDrawModel(); +} + +SdrModel * SwDocStub::GetDrawModel() { +std::cout << "GetDrawModel" << "(" << ")\n"; +return SwDoc::GetDrawModel(); +} + +SdrLayerID SwDocStub::GetHeavenId()const { +std::cout << "GetHeavenId" << "(" << ")\n"; +return SwDoc::GetHeavenId(); +} + +SdrLayerID SwDocStub::GetHellId()const { +std::cout << "GetHellId" << "(" << ")\n"; +return SwDoc::GetHellId(); +} + +SdrLayerID SwDocStub::GetControlsId()const { +std::cout << "GetControlsId" << "(" << ")\n"; +return SwDoc::GetControlsId(); +} + +SdrLayerID SwDocStub::GetInvisibleHeavenId()const { +std::cout << "GetInvisibleHeavenId" << "(" << ")\n"; +return SwDoc::GetInvisibleHeavenId(); +} + +SdrLayerID SwDocStub::GetInvisibleHellId()const { +std::cout << "GetInvisibleHellId" << "(" << ")\n"; +return SwDoc::GetInvisibleHellId(); +} + +SdrLayerID SwDocStub::GetInvisibleControlsId()const { +std::cout << "GetInvisibleControlsId" << "(" << ")\n"; +return SwDoc::GetInvisibleControlsId(); +} + +void SwDocStub::NotifyInvisibleLayers(SdrPageView & _rSdrPageView ) { +std::cout << "NotifyInvisibleLayers" << "("<< "_rSdrPageView" << ")\n"; +return SwDoc::NotifyInvisibleLayers(_rSdrPageView); +} + +bool SwDocStub::IsVisibleLayerId(const SdrLayerID & _nLayerId )const { +std::cout << "IsVisibleLayerId" << "("<< "_nLayerId" << ")\n"; +return SwDoc::IsVisibleLayerId(_nLayerId); +} + +SdrLayerID SwDocStub::GetVisibleLayerIdByInvisibleOne(const SdrLayerID & _nInvisibleLayerId ) { +std::cout << "GetVisibleLayerIdByInvisibleOne" << "("<< "_nInvisibleLayerId" << ")\n"; +return SwDoc::GetVisibleLayerIdByInvisibleOne(_nInvisibleLayerId); +} + +SdrLayerID SwDocStub::GetInvisibleLayerIdByVisibleOne(const SdrLayerID & _nVisibleLayerId ) { +std::cout << "GetInvisibleLayerIdByVisibleOne" << "("<< "_nVisibleLayerId" << ")\n"; +return SwDoc::GetInvisibleLayerIdByVisibleOne(_nVisibleLayerId); +} + +SdrModel * SwDocStub::_MakeDrawModel() { +std::cout << "_MakeDrawModel" << "(" << ")\n"; +return SwDoc::_MakeDrawModel(); +} + +SdrModel * SwDocStub::GetOrCreateDrawModel() { +std::cout << "GetOrCreateDrawModel" << "(" << ")\n"; +return SwDoc::GetOrCreateDrawModel(); +} + +void SwDocStub::SetCurrentViewShell(ViewShell * pNew ) { +std::cout << "SetCurrentViewShell" << "(" << pNew << ")\n"; +return SwDoc::SetCurrentViewShell(pNew); +} + +SwLayouter * SwDocStub::GetLayouter() { +std::cout << "GetLayouter" << "(" << ")\n"; +return NULL; +} + +const SwLayouter * SwDocStub::GetLayouter()const { +std::cout << "GetLayouter" << "(" << ")\n"; +return NULL; +} + +void SwDocStub::SetLayouter(SwLayouter * pNew ) { +std::cout << "SetLayouter" << "(" << pNew << ")\n"; +return; +} + +SwFrmFmt * SwDocStub::MakeLayoutFmt(RndStdIds eRequest , const SfxItemSet * pSet ) { +std::cout << "MakeLayoutFmt" << "("<< "eRequest" << "," << pSet << ")\n"; +return SwDoc::MakeLayoutFmt(eRequest, pSet); +} + +void SwDocStub::DelLayoutFmt(SwFrmFmt * pFmt ) { +std::cout << "DelLayoutFmt" << "(" << pFmt << ")\n"; +return SwDoc::DelLayoutFmt(pFmt); +} + +SwFrmFmt * SwDocStub::CopyLayoutFmt(const SwFrmFmt & rSrc , const SwFmtAnchor & rNewAnchor , bool bSetTxtFlyAtt , bool bMakeFrms ) { +std::cout << "CopyLayoutFmt" << "("<< "rSrc" << ","<< "rNewAnchor" << "," << bSetTxtFlyAtt << "," << bMakeFrms << ")\n"; +return SwDoc::CopyLayoutFmt(rSrc, rNewAnchor, bSetTxtFlyAtt, bMakeFrms); +} + +const ViewShell * SwDocStub::GetCurrentViewShell()const { +std::cout << "GetCurrentViewShell" << "(" << ")\n"; +return SwDoc::GetCurrentViewShell(); +} + +ViewShell * SwDocStub::GetCurrentViewShell() { +std::cout << "GetCurrentViewShell" << "(" << ")\n"; +return SwDoc::GetCurrentViewShell(); +} + +const SwRootFrm * SwDocStub::GetCurrentLayout()const { +std::cout << "GetCurrentLayout" << "(" << ")\n"; +return SwDoc::GetCurrentLayout(); +} + +SwRootFrm * SwDocStub::GetCurrentLayout() { +std::cout << "GetCurrentLayout" << "(" << ")\n"; +return SwDoc::GetCurrentLayout(); +} + +bool SwDocStub::HasLayout()const { +std::cout << "HasLayout" << "(" << ")\n"; +return SwDoc::HasLayout(); +} + +void SwDocStub::StartIdling() { +std::cout << "StartIdling" << "(" << ")\n"; +return SwDoc::StartIdling(); +} + +void SwDocStub::StopIdling() { +std::cout << "StopIdling" << "(" << ")\n"; +return SwDoc::StopIdling(); +} + +void SwDocStub::BlockIdling() { +std::cout << "BlockIdling" << "(" << ")\n"; +return SwDoc::BlockIdling(); +} + +void SwDocStub::UnblockIdling() { +std::cout << "UnblockIdling" << "(" << ")\n"; +return SwDoc::UnblockIdling(); +} + +SwChartDataProvider * SwDocStub::GetChartDataProvider(bool bCreate )const { +std::cout << "GetChartDataProvider" << "(" << bCreate << ")\n"; +return SwDoc::GetChartDataProvider(bCreate); +} + +void SwDocStub::CreateChartInternalDataProviders(const SwTable * pTable ) { +std::cout << "CreateChartInternalDataProviders" << "(" << pTable << ")\n"; +return SwDoc::CreateChartInternalDataProviders(pTable); +} + +SwChartLockController_Helper & SwDocStub::GetChartControllerHelper() { +std::cout << "GetChartControllerHelper" << "(" << ")\n"; +return SwDoc::GetChartControllerHelper(); +} + +void SwDocStub::addListItem(const SwNodeNum & rNodeNum ) { +std::cout << "addListItem" << "("<< "rNodeNum" << ")\n"; +return SwDoc::addListItem(rNodeNum); +} + +void SwDocStub::removeListItem(const SwNodeNum & rNodeNum ) { +std::cout << "removeListItem" << "("<< "rNodeNum" << ")\n"; +return SwDoc::removeListItem(rNodeNum); +} + +String SwDocStub::getListItemText(const SwNodeNum & rNodeNum , const bool bWithNumber , const bool bWithSpacesForLevel )const { +std::cout << "getListItemText" << "("<< "rNodeNum" << "," << bWithNumber << "," << bWithSpacesForLevel << ")\n"; +return SwDoc::getListItemText(rNodeNum, bWithNumber, bWithSpacesForLevel); +} + +void SwDocStub::getListItems(IDocumentListItems :: tSortedNodeNumList & orNodeNumList )const { +std::cout << "getListItems" << "("<< "orNodeNumList" << ")\n"; +return SwDoc::getListItems(orNodeNumList); +} + +void SwDocStub::getNumItems(IDocumentListItems :: tSortedNodeNumList & orNodeNumList )const { +std::cout << "getNumItems" << "("<< "orNodeNumList" << ")\n"; +return SwDoc::getNumItems(orNodeNumList); +} + +sal_Int32 SwDocStub::getOutlineNodesCount()const { +std::cout << "getOutlineNodesCount" << "(" << ")\n"; +return SwDoc::getOutlineNodesCount(); +} + +int SwDocStub::getOutlineLevel(const sal_Int32 nIdx )const { +std::cout << "getOutlineLevel" << "(" << nIdx << ")\n"; +return SwDoc::getOutlineLevel(nIdx); +} + +String SwDocStub::getOutlineText(const sal_Int32 nIdx , const bool bWithNumber , const bool bWithSpacesForLevel )const { +std::cout << "getOutlineText" << "(" << nIdx << "," << bWithNumber << "," << bWithSpacesForLevel << ")\n"; +return SwDoc::getOutlineText(nIdx, bWithNumber, bWithSpacesForLevel); +} + +SwTxtNode * SwDocStub::getOutlineNode(const sal_Int32 nIdx )const { +std::cout << "getOutlineNode" << "(" << nIdx << ")\n"; +return SwDoc::getOutlineNode(nIdx); +} + +void SwDocStub::getOutlineNodes(IDocumentOutlineNodes :: tSortedOutlineNodeList & orOutlineNodeList )const { +std::cout << "getOutlineNodes" << "("<< "orOutlineNodeList" << ")\n"; +return SwDoc::getOutlineNodes(orOutlineNodeList); +} + +SwList * SwDocStub::createList(String sListId , const String sDefaultListStyleName ) { +std::cout << "createList" << "("<< "sListId" << ","<< "sDefaultListStyleName" << ")\n"; +return SwDoc::createList(sListId, sDefaultListStyleName); +} + +void SwDocStub::deleteList(const String sListId ) { +std::cout << "deleteList" << "("<< "sListId" << ")\n"; +return SwDoc::deleteList(sListId); +} + +SwList * SwDocStub::getListByName(const String sListId )const { +std::cout << "getListByName" << "("<< "sListId" << ")\n"; +return SwDoc::getListByName(sListId); +} + +SwList * SwDocStub::createListForListStyle(const String sListStyleName ) { +std::cout << "createListForListStyle" << "("<< "sListStyleName" << ")\n"; +return SwDoc::createListForListStyle(sListStyleName); +} + +SwList * SwDocStub::getListForListStyle(const String sListStyleName )const { +std::cout << "getListForListStyle" << "("<< "sListStyleName" << ")\n"; +return SwDoc::getListForListStyle(sListStyleName); +} + +void SwDocStub::deleteListForListStyle(const String sListStyleName ) { +std::cout << "deleteListForListStyle" << "("<< "sListStyleName" << ")\n"; +return SwDoc::deleteListForListStyle(sListStyleName); +} + +void SwDocStub::trackChangeOfListStyleName(const String sListStyleName , const String sNewListStyleName ) { +std::cout << "trackChangeOfListStyleName" << "("<< "sListStyleName" << ","<< "sNewListStyleName" << ")\n"; +return SwDoc::trackChangeOfListStyleName(sListStyleName, sNewListStyleName); +} + +void SwDocStub::setExternalData(:: sw :: tExternalDataType eType , :: sw :: tExternalDataPointer pPayload ) { +std::cout << "setExternalData" << "("<< "eType" << ","<< "pPayload" << ")\n"; +return SwDoc::setExternalData(eType, pPayload); +} + +:: sw :: tExternalDataPointer SwDocStub::getExternalData(:: sw :: tExternalDataType eType ) { +std::cout << "getExternalData" << "("<< "eType" << ")\n"; +return SwDoc::getExternalData(eType); +} + -- 1.7.9
Attachment:
StubberMan.tar.gz
Description: GNU Zip compressed data