LibreOffice Module sw (master) 1
|
#include <hintids.hxx>
#include <comphelper/string.hxx>
#include <sfx2/request.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/printer.hxx>
#include <sfx2/viewfrm.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/pbinitem.hxx>
#include <editeng/paperinf.hxx>
#include <osl/diagnose.h>
#include <fmthdft.hxx>
#include <swwait.hxx>
#include <swmodule.hxx>
#include <wrtsh.hxx>
#include <view.hxx>
#include <docsh.hxx>
#include <frmatr.hxx>
#include <fldbas.hxx>
#include <swundo.hxx>
#include <IDocumentDeviceAccess.hxx>
#include <dialoghelp.hxx>
#include <fmtcol.hxx>
#include <frmmgr.hxx>
#include <fldmgr.hxx>
#include <pagedesc.hxx>
#include <poolfmt.hxx>
#include <expfld.hxx>
#include <SwStyleNameMapper.hxx>
#include <fmtpdsc.hxx>
#include <cmdid.h>
#include <strings.hrc>
#include <swabstdlg.hxx>
#include <envimg.hxx>
#include "appenv.hxx"
Go to the source code of this file.
Macros | |
#define | ENV_NEWDOC RET_OK |
#define | ENV_INSERT RET_USER |
Functions | |
OUString | InsertLabEnvText (SwWrtShell &rSh, SwFieldMgr &rFieldMgr, const OUString &rText) |
static void | lcl_CopyCollAttr (SwWrtShell const *pOldSh, SwWrtShell *pNewSh, sal_uInt16 nCollId) |
#define ENV_INSERT RET_USER |
Definition at line 61 of file appenv.cxx.
#define ENV_NEWDOC RET_OK |
Definition at line 60 of file appenv.cxx.
OUString InsertLabEnvText | ( | SwWrtShell & | rSh, |
SwFieldMgr & | rFieldMgr, | ||
const OUString & | rText | ||
) |
Definition at line 64 of file appenv.cxx.
References SL::aData, Database, SwWrtShell::DelLeft(), comphelper::string::getTokenCount(), SwWrtShell::Insert(), SwFieldMgr::InsertField(), nPos, ReplacePoint(), and SwWrtShell::SplitNode().
Referenced by SwModule::InsertEnv(), and lcl_InsertLabText().
|
static |
Definition at line 120 of file appenv.cxx.
References SwFormat::GetAttrSet(), SwFormat::GetPoolFormatId(), SwEditShell::GetTextCollFromPool(), SwEditShell::GetTextFormatColl(), SwEditShell::GetTextFormatCollCount(), and SwTextFormatColl::SetFormatAttr().
Referenced by SwModule::InsertEnv().