LibreOffice Module sw (master) 1
|
#include <tablepg.hxx>
Public Member Functions | |
SwTableColumnPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SwTableColumnPage () override |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
Public Member Functions inherited from SfxTabPage | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
virtual bool | FillItemSet (SfxItemSet *) |
virtual void | Reset (const SfxItemSet *) |
virtual bool | DeferResetToFirstActivation () |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
virtual void | ActivatePage (const SfxItemSet &) |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) |
void | SetUserData (const OUString &rString) |
const OUString & | GetUserData () const |
virtual void | FillUserData () |
virtual bool | IsReadOnly () const |
virtual void | PageCreated (const SfxAllItemSet &aSet) |
virtual void | ChangesApplied () |
void | SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) |
css::uno::Reference< css::frame::XFrame > | GetFrame () const |
const SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
Private Member Functions | |
void | Init (bool bWeb) |
DECL_LINK (AutoClickHdl, weld::Button &, void) | |
void | ModifyHdl (const weld::MetricSpinButton *pEdit) |
DECL_LINK (ValueChangedHdl, weld::MetricSpinButton &, void) | |
DECL_LINK (ModeHdl, weld::Toggleable &, void) | |
void | UpdateCols (sal_uInt16 nCurrentPos) |
SwTwips | GetVisibleWidth (sal_uInt16 nPos) |
void | SetVisibleWidth (sal_uInt16 nPos, SwTwips nNewWidth) |
DECL_LINK (SizeHdl, void *, void) | |
Private Attributes | |
SwTableRep * | m_pTableData |
std::unique_ptr< SwTableRep > | m_xOrigTableData |
ImplSVEvent * | m_pSizeHdlEvent |
SwTwips | m_nTableWidth |
SwTwips | m_nMinWidth |
sal_uInt16 | m_nMetFields |
sal_uInt16 | m_nNoOfCols |
sal_uInt16 | m_nNoOfVisibleCols |
sal_uInt16 | m_aValueTable [MET_FIELDS] |
bool | m_bModified:1 |
bool | m_bModifyTable:1 |
bool | m_bPercentMode:1 |
SwPercentField | m_aFieldArr [MET_FIELDS] |
std::unique_ptr< weld::Label > | m_aTextArr [MET_FIELDS] |
std::unique_ptr< weld::CheckButton > | m_xModifyTableCB |
std::unique_ptr< weld::CheckButton > | m_xProportionalCB |
std::unique_ptr< weld::Label > | m_xSpaceFT |
std::unique_ptr< weld::Label > | m_xSpaceSFT |
std::unique_ptr< weld::MetricSpinButton > | m_xSpaceED |
std::unique_ptr< weld::Button > | m_xUpBtn |
std::unique_ptr< weld::Button > | m_xDownBtn |
Additional Inherited Members | |
Protected Member Functions inherited from SfxTabPage | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
TypedWhichId< T > | GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const |
const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Definition at line 93 of file tablepg.hxx.
SwTableColumnPage::SwTableColumnPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 727 of file tabledlg.cxx.
References CM, SfxItemSet::GetItemIfSet(), SfxTabPage::GetItemSet(), CntUInt16Item::GetValue(), HTMLMODE_ON, Init(), LINK, m_pSizeHdlEvent, Application::PostUserEvent(), rSet, and SfxTabPage::SetExchangeSupport().
|
overridevirtual |
Definition at line 798 of file tabledlg.cxx.
References m_pSizeHdlEvent, and Application::RemoveUserEvent().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1078 of file tabledlg.cxx.
References SwTableRep::GetAlign(), SwTableRep::GetSpace(), SwTableRep::GetWidth(), SwTableRep::GetWidthPercent(), i, SwTableRep::IsLineSelected(), m_aFieldArr, m_bModifyTable, m_bPercentMode, m_nMetFields, m_nNoOfVisibleCols, m_nTableWidth, m_pTableData, m_xModifyTableCB, m_xProportionalCB, m_xSpaceED, m_xSpaceFT, m_xSpaceSFT, SwPercentField::SetRefValue(), SwPercentField::ShowPercent(), and UpdateCols().
Referenced by Reset().
|
static |
Definition at line 807 of file tabledlg.cxx.
Referenced by SwTableTabDlg::SwTableTabDlg().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1122 of file tabledlg.cxx.
References FillItemSet(), FN_TABLE_REP, SwTableRep::GetAlign(), SwTableRep::GetLeftSpace(), SwTableRep::GetRightSpace(), SwTableRep::GetSpace(), SwTableRep::GetWidth(), m_nTableWidth, m_pTableData, SwPostItHelper::NONE, SfxItemSet::Put(), SwTableRep::SetLeftSpace(), SwTableRep::SetRightSpace(), SwTableRep::SetWidth(), and SwTableRep::SetWidthChanged().
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 931 of file tabledlg.cxx.
References i, m_aFieldArr, m_bModified, m_pTableData, ModifyHdl(), and SwTableRep::SetColsChanged().
Referenced by DeactivatePage().
|
private |
Definition at line 1184 of file tabledlg.cxx.
References TColumn::bVisible, SwTableRep::GetColumns(), i, m_nNoOfCols, m_pTableData, nPos, and TColumn::nWidth.
Referenced by Reset(), and UpdateCols().
|
private |
Definition at line 861 of file tabledlg.cxx.
References SwPercentField::connect_value_changed(), GetDfltMetric(), i, LINK, m_aFieldArr, m_aValueTable, m_xDownBtn, m_xModifyTableCB, m_xProportionalCB, m_xSpaceED, m_xUpBtn, MET_FIELDS, SetFieldUnit(), and SwPercentField::SetMetric().
Referenced by SwTableColumnPage().
|
private |
Definition at line 949 of file tabledlg.cxx.
References SwPercentField::DenormalizePercent(), sw::proofreadingiterator::get(), SwPercentField::get_value(), i, m_aFieldArr, m_aValueTable, m_nMetFields, SetVisibleWidth(), and UpdateCols().
Referenced by FillItemSet().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 812 of file tabledlg.cxx.
References ActivatePage(), FN_TABLE_REP, SwTableRep::GetAlign(), SwTableRep::GetAllColCount(), SwTableRep::GetColCount(), SwTableRep::GetColumns(), SfxItemSet::GetItemIfSet(), SfxTabPage::GetItemSet(), SwTableRep::GetSpace(), GetVisibleWidth(), SwTableRep::GetWidth(), i, m_aFieldArr, m_aTextArr, m_nMetFields, m_nMinWidth, m_nNoOfCols, m_nNoOfVisibleCols, m_nTableWidth, m_pTableData, m_xOrigTableData, m_xUpBtn, SwPercentField::NormalizePercent(), TColumn::nWidth, rSet, SwPercentField::set_max(), SwPercentField::set_min(), SwPercentField::set_sensitive(), SwPercentField::set_text(), and SwPercentField::set_value().
|
private |
Definition at line 1202 of file tabledlg.cxx.
References TColumn::bVisible, SwTableRep::GetColumns(), i, m_nNoOfCols, m_pTableData, nPos, and TColumn::nWidth.
Referenced by ModifyHdl(), and UpdateCols().
|
private |
Definition at line 974 of file tabledlg.cxx.
References SwTableRep::GetColumns(), SwTableRep::GetSpace(), GetVisibleWidth(), i, m_aFieldArr, m_aValueTable, m_bPercentMode, m_nMetFields, m_nMinWidth, m_nNoOfCols, m_nNoOfVisibleCols, m_nTableWidth, m_pTableData, m_xModifyTableCB, m_xProportionalCB, m_xSpaceED, m_xSpaceSFT, min(), MINLAY, round, SwPercentField::set_value(), and SetVisibleWidth().
Referenced by ActivatePage(), and ModifyHdl().
|
private |
Definition at line 109 of file tablepg.hxx.
Referenced by ActivatePage(), FillItemSet(), Init(), ModifyHdl(), Reset(), and UpdateCols().
|
private |
Definition at line 110 of file tablepg.hxx.
Referenced by Reset().
|
private |
Definition at line 104 of file tablepg.hxx.
Referenced by Init(), ModifyHdl(), and UpdateCols().
|
private |
Definition at line 105 of file tablepg.hxx.
Referenced by FillItemSet().
|
private |
Definition at line 106 of file tablepg.hxx.
Referenced by ActivatePage().
|
private |
Definition at line 107 of file tablepg.hxx.
Referenced by ActivatePage(), and UpdateCols().
|
private |
Definition at line 100 of file tablepg.hxx.
Referenced by ActivatePage(), ModifyHdl(), Reset(), and UpdateCols().
|
private |
Definition at line 99 of file tablepg.hxx.
Referenced by Reset(), and UpdateCols().
|
private |
Definition at line 101 of file tablepg.hxx.
Referenced by GetVisibleWidth(), Reset(), SetVisibleWidth(), and UpdateCols().
|
private |
Definition at line 102 of file tablepg.hxx.
Referenced by ActivatePage(), Reset(), and UpdateCols().
|
private |
Definition at line 98 of file tablepg.hxx.
Referenced by ActivatePage(), DeactivatePage(), Reset(), and UpdateCols().
|
private |
Definition at line 97 of file tablepg.hxx.
Referenced by SwTableColumnPage(), and ~SwTableColumnPage().
|
private |
Definition at line 95 of file tablepg.hxx.
Referenced by ActivatePage(), DeactivatePage(), FillItemSet(), GetVisibleWidth(), Reset(), SetVisibleWidth(), and UpdateCols().
|
private |
Definition at line 117 of file tablepg.hxx.
Referenced by Init().
|
private |
Definition at line 111 of file tablepg.hxx.
Referenced by ActivatePage(), Init(), and UpdateCols().
|
private |
Definition at line 96 of file tablepg.hxx.
Referenced by Reset().
|
private |
Definition at line 112 of file tablepg.hxx.
Referenced by ActivatePage(), Init(), and UpdateCols().
|
private |
Definition at line 115 of file tablepg.hxx.
Referenced by ActivatePage(), Init(), and UpdateCols().
|
private |
Definition at line 113 of file tablepg.hxx.
Referenced by ActivatePage().
|
private |
Definition at line 114 of file tablepg.hxx.
Referenced by ActivatePage(), and UpdateCols().
|
private |
Definition at line 116 of file tablepg.hxx.