LibreOffice Module sw (master) 1
|
#include <cption.hxx>
Public Member Functions | |
SwCaptionDialog (weld::Window *pParent, SwView &rV) | |
virtual short | run () override |
virtual | ~SwCaptionDialog () override |
Public Member Functions inherited from SfxDialogController | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
Private Member Functions | |
DECL_LINK (SelectListBoxHdl, weld::ComboBox &, void) | |
DECL_LINK (ModifyEntryHdl, weld::Entry &, void) | |
DECL_LINK (ModifyComboHdl, weld::ComboBox &, void) | |
DECL_LINK (OptionHdl, weld::Button &, void) | |
DECL_LINK (CaptionHdl, weld::Button &, void) | |
DECL_LINK (OKHdl, weld::Button &, void) | |
void | Apply () |
void | ModifyHdl () |
void | DrawSample () |
void | ApplyCaptionOrder () |
Private Attributes | |
OUString | m_sNone |
TextFilterAutoConvert | m_aTextFilter |
SwView & | m_rView |
std::unique_ptr< SwFieldMgr > | m_pMgr |
OUString | m_sCharacterStyle |
bool | m_bCopyAttributes |
bool | m_bOrderNumberingFirst |
css::uno::Reference< css::container::XNameAccess > | m_xNameAccess |
SwCaptionPreview | m_aPreview |
std::unique_ptr< weld::Entry > | m_xTextEdit |
std::unique_ptr< weld::ComboBox > | m_xCategoryBox |
std::unique_ptr< weld::Label > | m_xFormatText |
std::unique_ptr< weld::ComboBox > | m_xFormatBox |
std::unique_ptr< weld::Label > | m_xNumberingSeparatorFT |
std::unique_ptr< weld::Entry > | m_xNumberingSeparatorED |
std::unique_ptr< weld::Label > | m_xSepText |
std::unique_ptr< weld::Entry > | m_xSepEdit |
std::unique_ptr< weld::ComboBox > | m_xPosBox |
std::unique_ptr< weld::Button > | m_xOKButton |
std::unique_ptr< weld::Button > | m_xAutoCaptionButton |
std::unique_ptr< weld::Button > | m_xOptionButton |
std::unique_ptr< weld::CustomWeld > | m_xPreview |
Static Private Attributes | |
static OUString | s_aSepTextSave |
Definition at line 32 of file cption.hxx.
SwCaptionDialog::SwCaptionDialog | ( | weld::Window * | pParent, |
SwView & | rV | ||
) |
Definition at line 90 of file cption.cxx.
References ApplyCaptionOrder(), DrawObject, DrawSample(), eType, Frame, SfxObjectShell::GetBaseModel(), SwView::GetDocShell(), SwEditShell::GetFieldType(), SwFieldType::GetName(), SwView::GetOldDrwCat(), SwView::GetOldFrameCat(), SwView::GetOldGrfCat(), SwView::GetOldTabCat(), SwWrtShell::GetSelectionType(), SwSetExpFieldType::GetType(), SwStyleNameMapper::GetUIName(), SwView::GetWrtShell(), Graphic, nsSwGetSetExpType::GSE_SEQ, i, SwEditShell::IsUsed(), LINK, m_bCopyAttributes, m_pMgr, m_rView, m_sNone, m_xAutoCaptionButton, m_xCategoryBox, m_xFormatBox, m_xNameAccess, m_xNumberingSeparatorED, m_xOKButton, m_xOKButton, m_xOptionButton, m_xPosBox, m_xSepEdit, m_xTextEdit, ModifyHdl(), nCount, nIndex, NumberList, Ole, Ornament, RES_POOLCOLL_LABEL_ABB, RES_POOLCOLL_LABEL_DRAWING, RES_POOLCOLL_LABEL_FIGURE, RES_POOLCOLL_LABEL_FRAME, RES_POOLCOLL_LABEL_TABLE, s_aSepTextSave, Sequence, SetExp, SVX_NUM_ARABIC, SwResId(), Table, Text, Unknown, SwFieldType::Which(), and xModel.
|
overridevirtual |
Definition at line 443 of file cption.cxx.
|
private |
Definition at line 268 of file cption.cxx.
References aName, InsCaptionOpt::CopyAttributes(), InsCaptionOpt::IgnoreSeqOpts(), SwView::InsertCaption(), m_bCopyAttributes, m_rView, m_sCharacterStyle, m_sNone, m_xCategoryBox, m_xFormatBox, m_xNumberingSeparatorED, m_xPosBox, m_xSepEdit, m_xTextEdit, s_aSepTextSave, InsCaptionOpt::SetCaption(), InsCaptionOpt::SetCategory(), InsCaptionOpt::SetCharacterStyle(), InsCaptionOpt::SetNumSeparator(), InsCaptionOpt::SetNumType(), InsCaptionOpt::SetPos(), InsCaptionOpt::SetSeparator(), comphelper::string::strip(), and InsCaptionOpt::UseCaption().
Referenced by run().
|
private |
Definition at line 531 of file cption.cxx.
References m_bOrderNumberingFirst, m_xNumberingSeparatorED, and m_xNumberingSeparatorFT.
Referenced by SwCaptionDialog().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 380 of file cption.cxx.
References aStr, SwSetExpFieldType::GetDelimiter(), SwEditShell::GetFieldType(), SwSetExpFieldType::GetOutlineLvl(), SwEditShell::GetOutlineNumRule(), SwView::GetWrtShell(), m_aPreview, m_bOrderNumberingFirst, m_rView, m_sNone, m_xCategoryBox, m_xFormatBox, m_xNumberingSeparatorED, m_xSepEdit, m_xTextEdit, MAXLEVEL, SetExp, SwCaptionPreview::SetPreviewText(), SVX_NUM_CHARS_LOWER_LETTER, SVX_NUM_CHARS_LOWER_LETTER_N, SVX_NUM_CHARS_UPPER_LETTER, SVX_NUM_CHARS_UPPER_LETTER_N, SVX_NUM_NUMBER_NONE, SVX_NUM_ROMAN_LOWER, and SVX_NUM_ROMAN_UPPER.
Referenced by ModifyHdl(), and SwCaptionDialog().
|
private |
Definition at line 334 of file cption.cxx.
References DrawSample(), SwEditShell::GetFieldType(), SwView::GetWrtShell(), nsSwGetSetExpType::GSE_SEQ, m_bOrderNumberingFirst, m_rView, m_sNone, m_xCategoryBox, m_xFormatBox, m_xFormatText, m_xNumberingSeparatorED, m_xNumberingSeparatorFT, m_xOKButton, m_xOptionButton, m_xSepEdit, m_xSepText, and SetExp.
Referenced by SwCaptionDialog().
|
overridevirtual |
Definition at line 294 of file cption.cxx.
|
private |
Definition at line 45 of file cption.hxx.
Referenced by DrawSample().
|
private |
Definition at line 35 of file cption.hxx.
|
private |
Definition at line 40 of file cption.hxx.
Referenced by Apply(), and SwCaptionDialog().
|
private |
Definition at line 41 of file cption.hxx.
Referenced by ApplyCaptionOrder(), DrawSample(), and ModifyHdl().
|
private |
Definition at line 37 of file cption.hxx.
Referenced by SwCaptionDialog().
|
private |
Definition at line 36 of file cption.hxx.
Referenced by Apply(), DrawSample(), ModifyHdl(), and SwCaptionDialog().
|
private |
Definition at line 39 of file cption.hxx.
Referenced by Apply().
|
private |
Definition at line 34 of file cption.hxx.
Referenced by Apply(), DrawSample(), ModifyHdl(), and SwCaptionDialog().
|
private |
Definition at line 57 of file cption.hxx.
Referenced by SwCaptionDialog().
|
private |
Definition at line 47 of file cption.hxx.
Referenced by Apply(), DrawSample(), ModifyHdl(), and SwCaptionDialog().
|
private |
Definition at line 49 of file cption.hxx.
Referenced by Apply(), DrawSample(), ModifyHdl(), and SwCaptionDialog().
|
private |
Definition at line 48 of file cption.hxx.
Referenced by ModifyHdl().
|
private |
Definition at line 43 of file cption.hxx.
Referenced by SwCaptionDialog().
|
private |
Definition at line 52 of file cption.hxx.
Referenced by Apply(), ApplyCaptionOrder(), DrawSample(), ModifyHdl(), and SwCaptionDialog().
|
private |
Definition at line 51 of file cption.hxx.
Referenced by ApplyCaptionOrder(), and ModifyHdl().
|
private |
Definition at line 56 of file cption.hxx.
Referenced by ModifyHdl(), and SwCaptionDialog().
|
private |
Definition at line 58 of file cption.hxx.
Referenced by ModifyHdl(), and SwCaptionDialog().
|
private |
Definition at line 55 of file cption.hxx.
Referenced by Apply(), and SwCaptionDialog().
|
private |
Definition at line 59 of file cption.hxx.
|
private |
Definition at line 54 of file cption.hxx.
Referenced by Apply(), DrawSample(), ModifyHdl(), and SwCaptionDialog().
|
private |
Definition at line 53 of file cption.hxx.
Referenced by ModifyHdl().
|
private |
Definition at line 46 of file cption.hxx.
Referenced by Apply(), DrawSample(), and SwCaptionDialog().
|
staticprivate |
Definition at line 74 of file cption.hxx.
Referenced by Apply(), and SwCaptionDialog().