#include <dialog.hxx>
Collaboration diagram for SmSymDefineDialog:

Public Member Functions | |
| SmSymDefineDialog (Window *pParent, OutputDevice *pFntListDevice, SmSymSetManager &rMgr, BOOL bFreeRes=TRUE) | |
| ~SmSymDefineDialog () | |
| virtual short | Execute () |
| BOOL | SelectOldSymbolSet (const XubString &rSymbolSetName) |
| BOOL | SelectOldSymbol (const XubString &rSymbolName) |
| BOOL | SelectSymbolSet (const XubString &rSymbolSetName) |
| BOOL | SelectSymbol (const XubString &rSymbolName) |
| BOOL | SelectFont (const XubString &rFontName) |
| BOOL | SelectStyle (const XubString &rStyleName) |
| void | SelectChar (xub_Unicode cChar) |
Private Member Functions | |
| DECL_LINK (OldSymbolChangeHdl, ComboBox *) | |
| DECL_LINK (OldSymbolSetChangeHdl, ComboBox *) | |
| DECL_LINK (ModifyHdl, ComboBox *) | |
| DECL_LINK (FontChangeHdl, ListBox *) | |
| DECL_LINK (SubsetChangeHdl, ListBox *) | |
| DECL_LINK (StyleChangeHdl, ComboBox *) | |
| DECL_LINK (CharHighlightHdl, Control *pControl) | |
| DECL_LINK (AddClickHdl, Button *) | |
| DECL_LINK (ChangeClickHdl, Button *) | |
| DECL_LINK (DeleteClickHdl, Button *) | |
| void | FillSymbols (ComboBox &rComboBox, BOOL bDeleteText=TRUE) |
| void | FillSymbolSets (ComboBox &rComboBox, BOOL bDeleteText=TRUE) |
| void | FillFonts (BOOL bDeleteText=TRUE) |
| void | FillStyles (BOOL bDeleteText=TRUE) |
| void | SetSymbolSetManager (const SmSymSetManager &rMgr) |
| void | SetFont (const XubString &rFontName, const XubString &rStyleName) |
| void | SetOrigSymbol (const SmSym *pSymbol, const XubString &rSymbolSetName) |
| void | UpdateButtons () |
| BOOL | SelectSymbolSet (ComboBox &rComboBox, const XubString &rSymbolSetName, BOOL bDeleteText) |
| BOOL | SelectSymbol (ComboBox &rComboBox, const XubString &rSymbolName, BOOL bDeleteText) |
| BOOL | SelectFont (const XubString &rFontName, BOOL bApplyFont) |
| BOOL | SelectStyle (const XubString &rStyleName, BOOL bApplyFont) |
| SmSymSet * | GetSymbolSet (const ComboBox &rComboBox) |
| const SmSymSet * | GetSymbolSet (const ComboBox &rComboBox) const |
| SmSym * | GetSymbol (const ComboBox &rComboBox) |
| const SmSym * | GetSymbol (const ComboBox &rComboBox) const |
| void | InitColor_Impl () |
| virtual void | DataChanged (const DataChangedEvent &rDCEvt) |
Private Attributes | |
| FixedText | aOldSymbolText |
| ComboBox | aOldSymbols |
| FixedText | aOldSymbolSetText |
| ComboBox | aOldSymbolSets |
| SvxShowCharSet | aCharsetDisplay |
| FixedText | aSymbolText |
| ComboBox | aSymbols |
| FixedText | aSymbolSetText |
| ComboBox | aSymbolSets |
| FixedText | aFontText |
| ListBox | aFonts |
| FixedText | aFontsSubsetFT |
| ListBox | aFontsSubsetLB |
| FixedText | aStyleText |
| FontStyleBox | aStyles |
| FixedText | aOldSymbolName |
| SmShowChar | aOldSymbolDisplay |
| FixedText | aOldSymbolSetName |
| FixedText | aSymbolName |
| SmShowChar | aSymbolDisplay |
| FixedText | aSymbolSetName |
| OKButton | aOkBtn |
| CancelButton | aCancelBtn |
| PushButton | aAddBtn |
| PushButton | aChangeBtn |
| PushButton | aDeleteBtn |
| FixedImage | aRightArrow |
| Image | aRigthArrow_Im |
| Image | aRigthArrow_Im_HC |
| SmSymSetManager | aSymSetMgrCopy |
| SmSymSetManager & | rSymSetMgr |
| const SmSym * | pOrigSymbol |
| const SubsetMap * | pSubsetMap |
| FontList * | pFontList |
Definition at line 456 of file dialog.hxx.
| SmSymDefineDialog::SmSymDefineDialog | ( | Window * | pParent, | |
| OutputDevice * | pFntListDevice, | |||
| SmSymSetManager & | rMgr, | |||
| BOOL | bFreeRes = TRUE | |||
| ) |
Definition at line 2150 of file dialog.cxx.
References aAddBtn, aChangeBtn, aCharsetDisplay, aDeleteBtn, aFonts, aFontsSubsetLB, aOldSymbolDisplay, aOldSymbols, aOldSymbolSets, aStyles, aSymbolDisplay, aSymbols, aSymbolSets, FillFonts(), InitColor_Impl(), pFontList, pOrigSymbol, rSymSetMgr, SelectFont(), and SetSymbolSetManager().
| SmSymDefineDialog::~SmSymDefineDialog | ( | ) |
| SmSymDefineDialog::DECL_LINK | ( | OldSymbolChangeHdl | , | |
| ComboBox * | ||||
| ) | [private] |
| SmSymDefineDialog::DECL_LINK | ( | OldSymbolSetChangeHdl | , | |
| ComboBox * | ||||
| ) | [private] |
| SmSymDefineDialog::DECL_LINK | ( | ModifyHdl | , | |
| ComboBox * | ||||
| ) | [private] |
| SmSymDefineDialog::DECL_LINK | ( | FontChangeHdl | , | |
| ListBox * | ||||
| ) | [private] |
| SmSymDefineDialog::DECL_LINK | ( | SubsetChangeHdl | , | |
| ListBox * | ||||
| ) | [private] |
| SmSymDefineDialog::DECL_LINK | ( | StyleChangeHdl | , | |
| ComboBox * | ||||
| ) | [private] |
| SmSymDefineDialog::DECL_LINK | ( | CharHighlightHdl | , | |
| Control * | pControl | |||
| ) | [private] |
| SmSymDefineDialog::DECL_LINK | ( | AddClickHdl | , | |
| Button * | ||||
| ) | [private] |
| SmSymDefineDialog::DECL_LINK | ( | ChangeClickHdl | , | |
| Button * | ||||
| ) | [private] |
| SmSymDefineDialog::DECL_LINK | ( | DeleteClickHdl | , | |
| Button * | ||||
| ) | [private] |
| void SmSymDefineDialog::FillSymbols | ( | ComboBox & | rComboBox, | |
| BOOL | bDeleteText = TRUE | |||
| ) | [private] |
Definition at line 1729 of file dialog.cxx.
References aOldSymbols, aOldSymbolSets, aSymbols, aSymbolSets, SmSymSet::GetCount(), SmSym::GetName(), SmSymSet::GetSymbol(), and GetSymbolSet().
Referenced by SelectSymbolSet(), and SetSymbolSetManager().
| void SmSymDefineDialog::FillSymbolSets | ( | ComboBox & | rComboBox, | |
| BOOL | bDeleteText = TRUE | |||
| ) | [private] |
Definition at line 1752 of file dialog.cxx.
References aOldSymbolSets, aSymbolSets, aSymSetMgrCopy, SmSymSet::GetName(), SmSymSetManager::GetSymbolSet(), and SmSymSetManager::GetSymbolSetCount().
Referenced by SetSymbolSetManager().
| void SmSymDefineDialog::FillFonts | ( | BOOL | bDeleteText = TRUE |
) | [private] |
Definition at line 1769 of file dialog.cxx.
References aFonts, and pFontList.
Referenced by SmSymDefineDialog().
| void SmSymDefineDialog::FillStyles | ( | BOOL | bDeleteText = TRUE |
) | [private] |
Definition at line 1787 of file dialog.cxx.
References aFonts, aStyles, and GetFontStyles().
Referenced by SelectFont().
| void SmSymDefineDialog::SetSymbolSetManager | ( | const SmSymSetManager & | rMgr | ) | [private] |
Definition at line 2302 of file dialog.cxx.
References aOldSymbols, aOldSymbolSets, aSymbols, aSymbolSets, aSymSetMgrCopy, FillSymbols(), FillSymbolSets(), SelectSymbol(), SelectSymbolSet(), SmSymSetManager::SetModified(), and UpdateButtons().
Referenced by SmSymDefineDialog().
| void SmSymDefineDialog::SetFont | ( | const XubString & | rFontName, | |
| const XubString & | rStyleName | |||
| ) | [private] |
Definition at line 2483 of file dialog.cxx.
References aCharsetDisplay, aFontsSubsetLB, aSymbolDisplay, pFontList, pSubsetMap, SmShowChar::SetFont(), and SetFontStyle().
Referenced by SelectFont(), and SelectStyle().
| void SmSymDefineDialog::SetOrigSymbol | ( | const SmSym * | pSymbol, | |
| const XubString & | rSymbolSetName | |||
| ) | [private] |
Definition at line 2383 of file dialog.cxx.
References aOldSymbolDisplay, aOldSymbolName, aOldSymbolSetName, SmSym::GetCharacter(), SmSym::GetFace(), SmSym::GetName(), pOrigSymbol, SmShowChar::SetChar(), and SmShowChar::SetFont().
Referenced by SelectSymbol().
| void SmSymDefineDialog::UpdateButtons | ( | ) | [private] |
Definition at line 2109 of file dialog.cxx.
References aAddBtn, aChangeBtn, aCharsetDisplay, aDeleteBtn, aFonts, aOldSymbolSetName, aStyles, aSymbols, aSymbolSets, aSymSetMgrCopy, SmSym::GetCharacter(), SmSym::GetFace(), GetFontStyles(), SmSym::GetName(), SmSymSetManager::GetSymbolByName(), and pOrigSymbol.
Referenced by SelectChar(), SelectFont(), SelectStyle(), SelectSymbol(), SelectSymbolSet(), and SetSymbolSetManager().
| BOOL SmSymDefineDialog::SelectSymbolSet | ( | ComboBox & | rComboBox, | |
| const XubString & | rSymbolSetName, | |||
| BOOL | bDeleteText | |||
| ) | [private] |
Definition at line 2330 of file dialog.cxx.
References aOldSymbols, aOldSymbolSetName, aOldSymbolSets, aSymbols, aSymbolSetName, aSymbolSets, FillSymbols(), SelectSymbol(), and UpdateButtons().
Referenced by IMPL_LINK(), SelectOldSymbolSet(), SelectSymbolSet(), and SetSymbolSetManager().
| BOOL SmSymDefineDialog::SelectSymbol | ( | ComboBox & | rComboBox, | |
| const XubString & | rSymbolName, | |||
| BOOL | bDeleteText | |||
| ) | [private] |
Definition at line 2412 of file dialog.cxx.
References aCharsetDisplay, aOldSymbols, aOldSymbolSets, aSymbolDisplay, aSymbolName, aSymbols, aSymSetMgrCopy, SmSym::GetCharacter(), SmSym::GetFace(), GetFontStyles(), GetSymbol(), SmSymSetManager::GetSymbolByName(), SelectChar(), SelectFont(), SelectStyle(), SmShowChar::SetFont(), SetOrigSymbol(), and UpdateButtons().
Referenced by IMPL_LINK(), SelectOldSymbol(), SelectSymbol(), SelectSymbolSet(), and SetSymbolSetManager().
| BOOL SmSymDefineDialog::SelectFont | ( | const XubString & | rFontName, | |
| BOOL | bApplyFont | |||
| ) | [private] |
Definition at line 2519 of file dialog.cxx.
References aFonts, aStyles, FillStyles(), SelectStyle(), SetFont(), and UpdateButtons().
Referenced by SelectFont(), SelectSymbol(), and SmSymDefineDialog().
| BOOL SmSymDefineDialog::SelectStyle | ( | const XubString & | rStyleName, | |
| BOOL | bApplyFont | |||
| ) | [private] |
Definition at line 2543 of file dialog.cxx.
References aFonts, aStyles, SetFont(), and UpdateButtons().
Referenced by SelectFont(), SelectStyle(), and SelectSymbol().
| SmSymSet * SmSymDefineDialog::GetSymbolSet | ( | const ComboBox & | rComboBox | ) | [private] |
Definition at line 1810 of file dialog.cxx.
References aOldSymbolSets, aSymbolSets, aSymSetMgrCopy, SmSymSetManager::GetSymbolSet(), SmSymSetManager::GetSymbolSetPos(), and SYMBOLSET_NONE.
Referenced by FillSymbols().
| const SmSymSet * SmSymDefineDialog::GetSymbolSet | ( | const ComboBox & | rComboBox | ) | const [inline, private] |
Definition at line 551 of file dialog.hxx.
| SmSym * SmSymDefineDialog::GetSymbol | ( | const ComboBox & | rComboBox | ) | [private] |
Definition at line 1823 of file dialog.cxx.
References aOldSymbols, aSymbols, aSymSetMgrCopy, and SmSymSetManager::GetSymbolByName().
Referenced by SelectSymbol().
| const SmSym * SmSymDefineDialog::GetSymbol | ( | const ComboBox & | rComboBox | ) | const [inline, private] |
Definition at line 556 of file dialog.hxx.
| void SmSymDefineDialog::InitColor_Impl | ( | ) | [private] |
Definition at line 2232 of file dialog.cxx.
References aCharsetDisplay, aOldSymbolDisplay, aRightArrow, aRigthArrow_Im, aRigthArrow_Im_HC, and aSymbolDisplay.
Referenced by DataChanged(), and SmSymDefineDialog().
| void SmSymDefineDialog::DataChanged | ( | const DataChangedEvent & | rDCEvt | ) | [private, virtual] |
| short SmSymDefineDialog::Execute | ( | ) | [virtual] |
Definition at line 2272 of file dialog.cxx.
References aSymSetMgrCopy, SmSymSetManager::DeleteSymbolSet(), SmSymSet::GetCount(), SmSymSetManager::GetSymbolSet(), SmSymSetManager::GetSymbolSetCount(), SmSymSetManager::IsModified(), and rSymSetMgr.
Referenced by IMPL_LINK().
| BOOL SmSymDefineDialog::SelectOldSymbolSet | ( | const XubString & | rSymbolSetName | ) | [inline] |
Definition at line 561 of file dialog.hxx.
References aOldSymbolSets, and SelectSymbolSet().
Referenced by IMPL_LINK().
| BOOL SmSymDefineDialog::SelectOldSymbol | ( | const XubString & | rSymbolName | ) | [inline] |
Definition at line 566 of file dialog.hxx.
References aOldSymbols, and SelectSymbol().
Referenced by IMPL_LINK().
| BOOL SmSymDefineDialog::SelectSymbolSet | ( | const XubString & | rSymbolSetName | ) | [inline] |
| BOOL SmSymDefineDialog::SelectSymbol | ( | const XubString & | rSymbolName | ) | [inline] |
| BOOL SmSymDefineDialog::SelectFont | ( | const XubString & | rFontName | ) | [inline] |
| BOOL SmSymDefineDialog::SelectStyle | ( | const XubString & | rStyleName | ) | [inline] |
| void SmSymDefineDialog::SelectChar | ( | xub_Unicode | cChar | ) |
Definition at line 2569 of file dialog.cxx.
References aCharsetDisplay, aSymbolDisplay, SmShowChar::SetChar(), and UpdateButtons().
Referenced by SelectSymbol().
FixedText SmSymDefineDialog::aOldSymbolText [private] |
Definition at line 458 of file dialog.hxx.
ComboBox SmSymDefineDialog::aOldSymbols [private] |
Definition at line 459 of file dialog.hxx.
Referenced by FillSymbols(), GetSymbol(), SelectOldSymbol(), SelectSymbol(), SelectSymbolSet(), SetSymbolSetManager(), and SmSymDefineDialog().
FixedText SmSymDefineDialog::aOldSymbolSetText [private] |
Definition at line 460 of file dialog.hxx.
ComboBox SmSymDefineDialog::aOldSymbolSets [private] |
Definition at line 461 of file dialog.hxx.
Referenced by FillSymbols(), FillSymbolSets(), GetSymbolSet(), SelectOldSymbolSet(), SelectSymbol(), SelectSymbolSet(), SetSymbolSetManager(), and SmSymDefineDialog().
SvxShowCharSet SmSymDefineDialog::aCharsetDisplay [private] |
Definition at line 462 of file dialog.hxx.
Referenced by InitColor_Impl(), SelectChar(), SelectSymbol(), SetFont(), SmSymDefineDialog(), and UpdateButtons().
FixedText SmSymDefineDialog::aSymbolText [private] |
Definition at line 463 of file dialog.hxx.
ComboBox SmSymDefineDialog::aSymbols [private] |
Definition at line 464 of file dialog.hxx.
Referenced by FillSymbols(), GetSymbol(), SelectSymbol(), SelectSymbolSet(), SetSymbolSetManager(), SmSymDefineDialog(), and UpdateButtons().
FixedText SmSymDefineDialog::aSymbolSetText [private] |
Definition at line 465 of file dialog.hxx.
ComboBox SmSymDefineDialog::aSymbolSets [private] |
Definition at line 466 of file dialog.hxx.
Referenced by FillSymbols(), FillSymbolSets(), GetSymbolSet(), SelectSymbolSet(), SetSymbolSetManager(), SmSymDefineDialog(), and UpdateButtons().
FixedText SmSymDefineDialog::aFontText [private] |
Definition at line 467 of file dialog.hxx.
ListBox SmSymDefineDialog::aFonts [private] |
Definition at line 468 of file dialog.hxx.
Referenced by FillFonts(), FillStyles(), SelectFont(), SelectStyle(), SmSymDefineDialog(), and UpdateButtons().
FixedText SmSymDefineDialog::aFontsSubsetFT [private] |
Definition at line 469 of file dialog.hxx.
ListBox SmSymDefineDialog::aFontsSubsetLB [private] |
FixedText SmSymDefineDialog::aStyleText [private] |
Definition at line 471 of file dialog.hxx.
FontStyleBox SmSymDefineDialog::aStyles [private] |
Definition at line 472 of file dialog.hxx.
Referenced by FillStyles(), SelectFont(), SelectStyle(), SmSymDefineDialog(), and UpdateButtons().
FixedText SmSymDefineDialog::aOldSymbolName [private] |
Definition at line 474 of file dialog.hxx.
Referenced by InitColor_Impl(), SetOrigSymbol(), and SmSymDefineDialog().
FixedText SmSymDefineDialog::aOldSymbolSetName [private] |
Definition at line 475 of file dialog.hxx.
Referenced by SelectSymbolSet(), SetOrigSymbol(), and UpdateButtons().
FixedText SmSymDefineDialog::aSymbolName [private] |
SmShowChar SmSymDefineDialog::aSymbolDisplay [private] |
Definition at line 477 of file dialog.hxx.
Referenced by InitColor_Impl(), SelectChar(), SelectSymbol(), SetFont(), and SmSymDefineDialog().
FixedText SmSymDefineDialog::aSymbolSetName [private] |
OKButton SmSymDefineDialog::aOkBtn [private] |
Definition at line 479 of file dialog.hxx.
CancelButton SmSymDefineDialog::aCancelBtn [private] |
Definition at line 480 of file dialog.hxx.
PushButton SmSymDefineDialog::aAddBtn [private] |
PushButton SmSymDefineDialog::aChangeBtn [private] |
PushButton SmSymDefineDialog::aDeleteBtn [private] |
FixedImage SmSymDefineDialog::aRightArrow [private] |
Image SmSymDefineDialog::aRigthArrow_Im [private] |
Image SmSymDefineDialog::aRigthArrow_Im_HC [private] |
Definition at line 488 of file dialog.hxx.
Referenced by Execute(), FillSymbolSets(), GetSymbol(), GetSymbolSet(), SelectSymbol(), SetSymbolSetManager(), and UpdateButtons().
SmSymSetManager & SmSymDefineDialog::rSymSetMgr [private] |
const SmSym* SmSymDefineDialog::pOrigSymbol [private] |
Definition at line 490 of file dialog.hxx.
Referenced by SetOrigSymbol(), SmSymDefineDialog(), UpdateButtons(), and ~SmSymDefineDialog().
const SubsetMap* SmSymDefineDialog::pSubsetMap [private] |
FontList* SmSymDefineDialog::pFontList [private] |
Definition at line 493 of file dialog.hxx.
Referenced by FillFonts(), SetFont(), and SmSymDefineDialog().
1.5.1