24 #include <osl/diagnose.h>
41 #include <strings.hrc>
60 case SID_INSERT_SIGNATURELINE:
61 case SID_EDIT_SIGNATURELINE:
64 const uno::Reference<frame::XModel>
xModel(GetCurrentDocument());
70 case SID_INSERT_QRCODE:
74 const uno::Reference<frame::XModel>
xModel(GetCurrentDocument());
80 case SID_ADDITIONS_DIALOG:
82 OUString sAdditionsTag =
"";
86 sAdditionsTag = pStringArg->
GetValue();
94 case SID_SIGN_SIGNATURELINE:
97 const uno::Reference<frame::XModel>
xModel(GetCurrentDocument());
109 pDlg->SetHelpId(GetStaticInterface()->GetSlot(
FN_EDIT_FOOTNOTE)->GetCommand());
110 pDlg->SetText(
SwResId(STR_EDIT_FOOTNOTE) );
184 bool bWeb =
dynamic_cast<SwWebView*
>( this ) !=
nullptr;
205 if( USHRT_MAX != nPoolId )
229 if (!pFieldType && !rName.isEmpty() )
246 sal_uInt16 nID = USHRT_MAX;
249 if( !rName.isEmpty() )
251 for (
size_t i = 0;
i < nCount; ++
i)
254 OUString aTmpName( pType->
GetName() );
258 OSL_ENSURE(nID==
i,
"Downcasting to sal_uInt16 lost information!");
265 GetWrtShell().InsertLabel( eT,
283 GetEditWin().StopInsFrame();
292 else if( eType & SelectionType::Frame)
293 SetOldFrameCat(rName);
295 SetOldFrameCat(rName);
296 else if( eType & SelectionType::DrawObject)
SwFieldType * GetFieldType(SwFieldIds nResId, size_t nField=0) const
Instances of SwFields and those derived from it occur 0 to n times.
void SetDelimiter(const OUString &s)
const OUString & GetCategory() const
const OUString & GetCharacterStyle() const
Represents the style of a paragraph.
const OUString & GetNumSeparator() const
SwTextFormatColl * GetTextCollFromPool(sal_uInt16 nId)
void AutoCaption(const sal_uInt16 nType, const SvGlobalName *pOleId=nullptr)
css::drawing::BarCode * getQrCode() const
void SetOutlineLvl(sal_uInt8 n)
#define FN_INSERT_CAPTION
virtual short Execute()=0
bool isSignatureLineSigned() const
const InsCaptionOpt * GetCapOption(bool bHTML, const SwCapObjType eType, const SvGlobalName *pOleId)
Used by the UI to modify the document model.
OUString SwResId(TranslateId aId)
const OUString & GetCaption() const
size_t GetFieldTypeCount() const
static SW_DLLPUBLIC sal_uInt16 GetPoolIdFromUIName(const OUString &rName, SwGetPoolIdFromName)
bool isSignatureLine() const
bool IsInsWithCaption(bool bHTML) const
void InsertCaption(const InsCaptionOpt *pOpt)
weld::Window * GetFrameWeld(const SfxFrame *pFrame)
sal_uInt16 GetLevel() const
virtual VclPtr< AbstractQrCodeGenDialog > CreateQrCodeGenDialog(weld::Window *pParent, const css::uno::Reference< css::frame::XModel > xModel, bool bEditExisting)=0
size_t GetMarkedObjectCount() const
void ExecDlgExt(SfxRequest const &)
const OUString & GetValue() const
virtual VclPtr< VclAbstractDialog > CreateSwCaptionDialog(weld::Window *pParent, SwView &rV)=0
const T * GetArg(sal_uInt16 nSlotId) const
static SwAbstractDialogFactory * Create()
virtual VclPtr< AbstractSignatureLineDialog > CreateSignatureLineDialog(weld::Window *pParent, const css::uno::Reference< css::frame::XModel > xModel, bool bEditExisting)=0
sal_uInt16 GetPos() const
virtual VclPtr< AbstractSignSignatureLineDialog > CreateSignSignatureLineDialog(weld::Window *pParent, const css::uno::Reference< css::frame::XModel > xModel)=0
sal_uInt16 GetSlot() const
void UpdateExpFields(bool bCloseDB=false)
only every expression fields update
const SwGetSetExpType GSE_SEQ
Sequence.
virtual OUString GetName() const
Only in derived classes.
bool isSignatureLineSelected() const
SdrObject * GetMarkedObjectByIndex(size_t nNum) const
static VclAbstractDialogFactory * Create()
Reference< XModel > xModel
void EnterSelFrameMode(const Point *pStartDrag=nullptr)
sal_uInt16 GetNumType() const
SwTextFormatColl * MakeTextFormatColl(const OUString &rFormatCollName, SwTextFormatColl *pDerivedFrom=nullptr)
const OUString & GetSeparator() const
SelectionType GetSelectionType() const
void StartAllAction()
For all views of this document.
bool isSignatureLineSigned() const
virtual VclPtr< AbstractAdditionsDialog > CreateAdditionsDialog(weld::Window *pParent, const OUString &sAdditionsTag)=0
virtual VclPtr< AbstractInsFootNoteDlg > CreateInsFootNoteDlg(weld::Window *pParent, SwWrtShell &rSh, bool bEd=false)=0
bool IsFrameSelected() const
void InsertFieldType(SwFieldType const &rType)
bool isQRCodeSelected() const
SwTextFormatColl * GetParaStyle(const OUString &rCollName, GetStyle eCreate=GETSTYLE_NOCREATE)