LibreOffice Module sw (master)  1
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwMultiTOXTabDialog Class Reference

#include <swuicnttab.hxx>

Inheritance diagram for SwMultiTOXTabDialog:
[legend]
Collaboration diagram for SwMultiTOXTabDialog:
[legend]

Classes

struct  TypeData
 

Public Member Functions

 SwMultiTOXTabDialog (vcl::Window *pParent, const SfxItemSet &rSet, SwWrtShell &rShell, SwTOXBase *pCurTOX, sal_uInt16 nToxType, bool bGlobal)
 
virtual ~SwMultiTOXTabDialog () override
 
virtual void dispose () override
 
virtual void PageCreated (sal_uInt16 nId, SfxTabPage &rPage) override
 
SwFormGetForm (CurTOXType eType)
 
const CurTOXTypeGetCurrentTOXType () const
 
void SetCurrentTOXType (const CurTOXType &eSet)
 
bool IsTOXEditMode () const
 
SwWrtShellGetWrtShell ()
 
SwTOXDescriptionGetTOXDescription (CurTOXType eTOXTypes)
 
void CreateOrUpdateExample (TOXTypes nTOXIndex, sal_uInt16 nPage=0, sal_uInt16 nCurLevel=USHRT_MAX)
 
- Public Member Functions inherited from SfxTabDialog
 SfxTabDialog (vcl::Window *pParent, const OUString &rID, const OUString &rUIXMLDescription, const SfxItemSet *=nullptr)
 
virtual ~SfxTabDialog () override
 
sal_uInt16 AddTabPage (const OString &rName, CreateTabPage pCreateFunc)
 
void AddTabPage (sal_uInt16 nId, const OUString &rRiderText, CreateTabPage pCreateFunc, sal_uInt16 nPos=TAB_APPEND)
 
void SetCurPageId (sal_uInt16 nId)
 
sal_uInt16 GetCurPageId () const
 
SfxTabPageGetCurTabPage () const
 
virtual OString GetScreenshotId () const override
 
OUString const & GetPageText (sal_uInt16 nPageId) const
 
void ShowPage (sal_uInt16 nId)
 
const sal_uInt16 * GetInputRanges (const SfxItemPool &)
 
const SfxItemSetGetOutputItemSet () const
 
short Execute () override
 
bool StartExecuteAsync (VclAbstractDialog::AsyncContext &rCtx) override
 
const SfxItemSetGetExampleSet () const
 
SAL_DLLPRIVATE void Start_Impl ()
 
virtual FactoryFunction GetUITestFactory () const override
 
virtual std::vector< OString > getAllPageUIXMLDescriptions () const override
 
virtual bool selectPageByUIXMLDescription (const OString &rUIXMLDescription) override
 

Static Public Member Functions

static bool IsNoNum (SwWrtShell &rSh, const OUString &rName)
 

Private Member Functions

virtual short Ok () override
 
std::unique_ptr< SwTOXDescriptionCreateTOXDescFromTOXBase (const SwTOXBase *pCurTOX)
 
 DECL_LINK (CreateExample_Hdl, SwOneExampleFrame &, void)
 
 DECL_LINK (ShowPreviewHdl, Button *, void)
 

Private Attributes

VclPtr< vcl::Windowm_pExampleContainerWIN
 
VclPtr< CheckBoxm_pShowExampleCB
 
std::unique_ptr< SwTOXMgrm_pMgr
 
SwWrtShellm_rWrtShell
 
sal_uInt16 m_nSelectId
 
sal_uInt16 m_nColumnId
 
sal_uInt16 m_nBackGroundId
 
sal_uInt16 m_nEntriesId
 
std::unique_ptr< SwOneExampleFramem_pExampleFrame
 
std::vector< TypeDatam_vTypeData
 
SwTOXBasem_pParamTOXBase
 
CurTOXType m_eCurrentTOXType
 
OUString const m_sUserDefinedIndex
 
sal_uInt16 const m_nInitialTOXType
 
bool m_bEditTOX
 
bool m_bExampleCreated
 
bool const m_bGlobalFlag
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabDialog
SfxItemSetGetInputSetImpl ()
 
SfxTabPageGetTabPage (sal_uInt16 nPageId) const
 
bool PrepareLeaveCurrentPage ()
 
void SavePosAndId ()
 
void SetPageName (sal_uInt16 nPageId, const OString &rName) const
 
- Static Protected Member Functions inherited from SfxTabDialog
static SfxItemSetCreateInputItemSet (sal_uInt16 nId)
 
- Protected Attributes inherited from SfxTabDialog
VclPtr< VclButtonBoxm_pActionArea
 
SfxItemSetm_pExampleSet
 

Detailed Description

Definition at line 62 of file swuicnttab.hxx.

Constructor & Destructor Documentation

SwMultiTOXTabDialog::SwMultiTOXTabDialog ( vcl::Window pParent,
const SfxItemSet rSet,
SwWrtShell rShell,
SwTOXBase pCurTOX,
sal_uInt16  nToxType,
bool  bGlobal 
)
SwMultiTOXTabDialog::~SwMultiTOXTabDialog ( )
overridevirtual

Definition at line 309 of file cnttab.cxx.

Member Function Documentation

void SwMultiTOXTabDialog::CreateOrUpdateExample ( TOXTypes  nTOXIndex,
sal_uInt16  nPage = 0,
sal_uInt16  nCurLevel = USHRT_MAX 
)

Definition at line 138 of file cntex.cxx.

References AlphaDelimiter, Calc, CAPTION_COMPLETE, CAPTION_NUMBER, CAPTION_TEXT, CaseSensitive, Chart, convertTwipToMm100(), Dash, DrawImpress, Exception, FF, Frame, cppu::UnoType< class >::get(), SwTOXDescription::GetCaptionDisplay(), SwTOXDescription::GetContentOptions(), SwForm::GetFormMax(), SwTOXDescription::GetIndexOptions(), SwTOXDescription::GetLevel(), SwTOXDescription::GetOLEOptions(), SwForm::GetPattern(), SwTOXDescription::GetSequenceName(), SwStyleNameMapper::GetSpecialExtraProgName(), SwTOXDescription::GetStyleNames(), SwForm::GetTemplate(), SwTOXDescription::GetTitle(), comphelper::string::getTokenCount(), Graphic, i, InitialCaps, SwForm::IsCommaSeparated(), SwTOXDescription::IsCreateFromObjectNames(), SwTOXDescription::IsFromChapter(), SwTOXDescription::IsReadonly(), KeyAsEntry, lcl_SetBOOLProp(), lcl_SetProp(), makeAny(), Mark, Math, MAXLEVEL, NAME, Newline, nPos, Ole, Other, OutlineLevel, ParagraphOutlineLevel, SameEntry, Sequence, Table, TableInToc, TableLeader, Template, TOKEN_AUTHORITY, TOKEN_CHAPTER_INFO, TOKEN_ENTRY, TOKEN_ENTRY_NO, TOKEN_ENTRY_TEXT, TOKEN_LINK_END, TOKEN_LINK_START, TOKEN_PAGE_NUMS, TOKEN_TAB_STOP, TOKEN_TEXT, TOX_AUTHORITIES, TOX_CONTENT, TOX_INDEX, TOX_PAGE_ENTRY, TOX_PAGE_SELECT, TOX_PAGE_STYLES, TOX_STYLE_DELIMITER, TOX_USER, UNO_NAME_CREATE_FROM_CHAPTER, UNO_NAME_CREATE_FROM_EMBEDDED_OBJECTS, UNO_NAME_CREATE_FROM_GRAPHIC_OBJECTS, UNO_NAME_CREATE_FROM_LABELS, UNO_NAME_CREATE_FROM_MARKS, UNO_NAME_CREATE_FROM_OTHER_EMBEDDED_OBJECTS, UNO_NAME_CREATE_FROM_OUTLINE, UNO_NAME_CREATE_FROM_STAR_CALC, UNO_NAME_CREATE_FROM_STAR_CHART, UNO_NAME_CREATE_FROM_STAR_DRAW, UNO_NAME_CREATE_FROM_STAR_MATH, UNO_NAME_CREATE_FROM_TABLES, UNO_NAME_CREATE_FROM_TEXT_FRAMES, UNO_NAME_HIDE_TAB_LEADER_AND_PAGE_NUMBERS, UNO_NAME_IS_CASE_SENSITIVE, UNO_NAME_IS_COMMA_SEPARATED, UNO_NAME_IS_PROTECTED, UNO_NAME_IS_VISIBLE, UNO_NAME_LABEL_CATEGORY, UNO_NAME_LABEL_DISPLAY_TYPE, UNO_NAME_LEVEL, UNO_NAME_LEVEL_FORMAT, UNO_NAME_LEVEL_PARAGRAPH_STYLES, UNO_NAME_TAB_IN_TOC, UNO_NAME_TITLE, UNO_NAME_TOC_NEWLINE, UNO_NAME_TOC_PARAGRAPH_OUTLINE_LEVEL, UNO_NAME_USE_ALPHABETICAL_SEPARATORS, UNO_NAME_USE_COMBINED_ENTRIES, UNO_NAME_USE_DASH, UNO_NAME_USE_KEY_AS_ENTRY, UNO_NAME_USE_P_P, UNO_NAME_USE_UPPER_CASE, and xModel.

Referenced by SwTOXStylesTabPage::Modify(), SwTOXSelectTabPage::ModifyHdl(), and SwTOXEntryTabPage::OnModify().

std::unique_ptr< SwTOXDescription > SwMultiTOXTabDialog::CreateTOXDescFromTOXBase ( const SwTOXBase pCurTOX)
private
SwMultiTOXTabDialog::DECL_LINK ( CreateExample_Hdl  ,
SwOneExampleFrame ,
void   
)
private
SwMultiTOXTabDialog::DECL_LINK ( ShowPreviewHdl  ,
Button ,
void   
)
private
void SwMultiTOXTabDialog::dispose ( void  )
overridevirtual
const CurTOXType& SwMultiTOXTabDialog::GetCurrentTOXType ( ) const
inline
SwForm * SwMultiTOXTabDialog::GetForm ( CurTOXType  eType)
SwTOXDescription & SwMultiTOXTabDialog::GetTOXDescription ( CurTOXType  eTOXTypes)
SwWrtShell& SwMultiTOXTabDialog::GetWrtShell ( )
inline

Definition at line 121 of file swuicnttab.hxx.

References m_rWrtShell.

Referenced by SwTOXEntryTabPage::ActivatePage(), and SwTOXSelectTabPage::Reset().

bool SwMultiTOXTabDialog::IsNoNum ( SwWrtShell rSh,
const OUString &  rName 
)
static
bool SwMultiTOXTabDialog::IsTOXEditMode ( ) const
inline

Definition at line 119 of file swuicnttab.hxx.

References m_bEditTOX.

Referenced by SwTOXSelectTabPage::Reset().

short SwMultiTOXTabDialog::Ok ( )
overrideprivatevirtual
void SwMultiTOXTabDialog::PageCreated ( sal_uInt16  nId,
SfxTabPage rPage 
)
overridevirtual
void SwMultiTOXTabDialog::SetCurrentTOXType ( const CurTOXType eSet)
inline

Definition at line 114 of file swuicnttab.hxx.

Referenced by IMPL_LINK().

Member Data Documentation

bool SwMultiTOXTabDialog::m_bEditTOX
private

Definition at line 91 of file swuicnttab.hxx.

Referenced by IsTOXEditMode(), Ok(), and SwMultiTOXTabDialog().

bool SwMultiTOXTabDialog::m_bExampleCreated
private

Definition at line 92 of file swuicnttab.hxx.

bool const SwMultiTOXTabDialog::m_bGlobalFlag
private

Definition at line 93 of file swuicnttab.hxx.

Referenced by Ok().

CurTOXType SwMultiTOXTabDialog::m_eCurrentTOXType
private

Definition at line 86 of file swuicnttab.hxx.

Referenced by GetCurrentTOXType(), Ok(), and SwMultiTOXTabDialog().

sal_uInt16 SwMultiTOXTabDialog::m_nBackGroundId
private

Definition at line 71 of file swuicnttab.hxx.

Referenced by PageCreated(), and SwMultiTOXTabDialog().

sal_uInt16 SwMultiTOXTabDialog::m_nColumnId
private

Definition at line 70 of file swuicnttab.hxx.

Referenced by PageCreated(), and SwMultiTOXTabDialog().

sal_uInt16 SwMultiTOXTabDialog::m_nEntriesId
private

Definition at line 72 of file swuicnttab.hxx.

Referenced by PageCreated(), and SwMultiTOXTabDialog().

sal_uInt16 const SwMultiTOXTabDialog::m_nInitialTOXType
private

Definition at line 89 of file swuicnttab.hxx.

Referenced by PageCreated().

sal_uInt16 SwMultiTOXTabDialog::m_nSelectId
private

Definition at line 69 of file swuicnttab.hxx.

Referenced by PageCreated(), and SwMultiTOXTabDialog().

VclPtr<vcl::Window> SwMultiTOXTabDialog::m_pExampleContainerWIN
private

Definition at line 64 of file swuicnttab.hxx.

Referenced by dispose(), and SwMultiTOXTabDialog().

std::unique_ptr<SwOneExampleFrame> SwMultiTOXTabDialog::m_pExampleFrame
private

Definition at line 74 of file swuicnttab.hxx.

Referenced by dispose().

std::unique_ptr<SwTOXMgr> SwMultiTOXTabDialog::m_pMgr
private

Definition at line 66 of file swuicnttab.hxx.

Referenced by dispose(), and Ok().

SwTOXBase* SwMultiTOXTabDialog::m_pParamTOXBase
private

Definition at line 84 of file swuicnttab.hxx.

Referenced by Ok().

VclPtr<CheckBox> SwMultiTOXTabDialog::m_pShowExampleCB
private

Definition at line 65 of file swuicnttab.hxx.

Referenced by dispose(), and SwMultiTOXTabDialog().

SwWrtShell& SwMultiTOXTabDialog::m_rWrtShell
private
OUString const SwMultiTOXTabDialog::m_sUserDefinedIndex
private

Definition at line 88 of file swuicnttab.hxx.

Referenced by GetTOXDescription().

std::vector<TypeData> SwMultiTOXTabDialog::m_vTypeData
private

Definition at line 82 of file swuicnttab.hxx.

Referenced by dispose(), GetForm(), GetTOXDescription(), Ok(), and SwMultiTOXTabDialog().


The documentation for this class was generated from the following files: