24#include <osl/diagnose.h>
58 pDialog->StartExecuteAsync([pDialog](sal_Int32) {
59 pDialog->disposeOnce();
63 case SID_INSERT_SIGNATURELINE:
64 case SID_EDIT_SIGNATURELINE:
73 case SID_INSERT_QRCODE:
83 case SID_ADDITIONS_DIALOG:
85 OUString sAdditionsTag =
"";
89 sAdditionsTag = pStringArg->
GetValue();
97 case SID_SIGN_SIGNATURELINE:
113 pDlg->SetText(
SwResId(STR_EDIT_FOOTNOTE) );
187 bool bWeb =
dynamic_cast<SwWebView*
>( this ) !=
nullptr;
208 if( USHRT_MAX != nPoolId )
232 if (!pFieldType && !rName.isEmpty() )
249 sal_uInt16 nID = USHRT_MAX;
252 if( !rName.isEmpty() )
257 OUString aTmpName( pType->
GetName() );
261 OSL_ENSURE(nID==
i,
"Downcasting to sal_uInt16 lost information!");
const OUString & GetValue() const
const OUString & GetCategory() const
const OUString & GetNumSeparator() const
sal_uInt16 GetPos() const
const OUString & GetCharacterStyle() const
sal_uInt16 GetNumType() const
const OUString & GetCaption() const
const OUString & GetSeparator() const
sal_uInt16 GetLevel() const
bool isSignatureLineSigned() const
bool isSignatureLine() const
css::drawing::BarCode * getQrCode() const
SdrObject * GetMarkedObjectByIndex(size_t nNum) const
size_t GetMarkedObjectCount() const
sal_uInt16 GetSlot() const
const T * GetArg(sal_uInt16 nSlotId) const
static SfxInterface * GetStaticInterface()
weld::Window * GetFrameWeld() const
virtual css::uno::Reference< css::frame::XModel > GetCurrentDocument() const
virtual VclPtr< AbstractInsFootNoteDlg > CreateInsFootNoteDlg(weld::Window *pParent, SwWrtShell &rSh, bool bEd=false)=0
virtual VclPtr< VclAbstractDialog > CreateSwCaptionDialog(weld::Window *pParent, SwView &rV)=0
static SwAbstractDialogFactory * Create()
void StartAllAction()
For all views of this document.
SwTextFormatColl * GetTextCollFromPool(sal_uInt16 nId)
void UpdateExpFields(bool bCloseDB=false)
only every expression fields update
SwTextFormatColl * MakeTextFormatColl(const OUString &rFormatCollName, SwTextFormatColl *pDerivedFrom=nullptr)
bool IsFrameSelected() const
void InsertLabel(const SwLabelType eType, const OUString &rText, const OUString &rSeparator, const OUString &rNumberSeparator, const bool bBefore, const sal_uInt16 nId, const OUString &rCharacterStyle, const bool bCpyBrd)
void InsertFieldType(SwFieldType const &rType)
SwFieldType * GetFieldType(SwFieldIds nResId, size_t nField=0) const
size_t GetFieldTypeCount() const
Instances of SwFields and those derived from it occur 0 to n times.
virtual OUString GetName() const
Only in derived classes.
const InsCaptionOpt * GetCapOption(bool bHTML, const SwCapObjType eType, const SvGlobalName *pOleId)
bool IsInsWithCaption(bool bHTML) const
void SetOutlineLvl(sal_uInt8 n)
void SetDelimiter(const OUString &s)
static SW_DLLPUBLIC sal_uInt16 GetPoolIdFromUIName(const OUString &rName, SwGetPoolIdFromName)
Represents the style of a paragraph.
void AutoCaption(const sal_uInt16 nType, const SvGlobalName *pOleId=nullptr)
SwWrtShell & GetWrtShell() const
std::unique_ptr< SwWrtShell > m_pWrtShell
void SetOldDrwCat(const OUString &sStr)
void SetOldFrameCat(const OUString &sStr)
bool isSignatureLineSigned() const
bool isSignatureLineSelected() const
void ExecDlgExt(SfxRequest const &)
bool isQRCodeSelected() const
void SetOldTabCat(const OUString &sStr)
void SetOldGrfCat(const OUString &sStr)
void InsertCaption(const InsCaptionOpt *pOpt)
Used by the UI to modify the document model.
void EnterSelFrameMode(const Point *pStartDrag=nullptr)
SelectionType GetSelectionType() const
SwTextFormatColl * GetParaStyle(const OUString &rCollName, GetStyle eCreate=GETSTYLE_NOCREATE)
virtual VclPtr< AbstractSignSignatureLineDialog > CreateSignSignatureLineDialog(weld::Window *pParent, const css::uno::Reference< css::frame::XModel > xModel)=0
virtual VclPtr< AbstractSignatureLineDialog > CreateSignatureLineDialog(weld::Window *pParent, const css::uno::Reference< css::frame::XModel > xModel, bool bEditExisting)=0
static VclAbstractDialogFactory * Create()
virtual VclPtr< AbstractAdditionsDialog > CreateAdditionsDialog(weld::Window *pParent, const OUString &sAdditionsTag)=0
virtual VclPtr< AbstractQrCodeGenDialog > CreateQrCodeGenDialog(weld::Window *pParent, const css::uno::Reference< css::frame::XModel > xModel, bool bEditExisting)=0
#define FN_INSERT_CAPTION
const SwGetSetExpType GSE_SEQ
Sequence.
@ RES_POOLCOLL_LABEL
Subgroup labels.
Reference< XModel > xModel
OUString SwResId(TranslateId aId)