#import <ap_CocoaDialog_Lists.h>
- AP_CocoaDialog_Lists: | (XAP_DialogFactory *) | pDlgFactory | ||
(XAP_Dialog_Id) | id | |||
References m_bDontUpdate, m_pAutoUpdateLists, and m_pPreviewWidget.
Referenced by static_constructor.
- AP_CocoaDialog_Lists: | (void) |
References DELETEP, and m_pPreviewWidget.
- (void) _fillBulletedStyleMenu | (NSMenu *) | listmenu |
References ARROWHEAD_LIST, BOX_LIST, BULLETED_LIST, DASHED_LIST, DIAMOND_LIST, XAP_App::getStringSet(), HAND_LIST, HEART_LIST, IMPLIES_LIST, LocalizedString(), XAP_Dialog::m_pApp, SQUARE_LIST, STAR_LIST, TICK_LIST, and TRIANGLE_LIST.
Referenced by AP_CocoaDialog_ListsController::windowDidLoad.
- (void) _fillFontMenu | (NSPopUpButton *) | menu |
References AppendLocalizedMenuItem(), XAP_App::getStringSet(), and XAP_Dialog::m_pApp.
Referenced by AP_CocoaDialog_ListsController::windowDidLoad.
- (void) _fillNoneStyleMenu | (NSMenu *) | listmenu |
References XAP_App::getStringSet(), LocalizedString(), XAP_Dialog::m_pApp, and NOT_A_LIST.
Referenced by AP_CocoaDialog_ListsController::windowDidLoad.
- (void) _fillNumberedStyleMenu | (NSMenu *) | listmenu |
References XAP_App::getStringSet(), HEBREW_LIST, LocalizedString(), LOWERCASE_LIST, LOWERROMAN_LIST, XAP_Dialog::m_pApp, NUMBERED_LIST, UPPERCASE_LIST, and UPPERROMAN_LIST.
Referenced by AP_CocoaDialog_ListsController::windowDidLoad.
- (void) _foldingChanged | (int) | i |
References AP_Dialog_Lists::setCurrentFold().
Referenced by AP_CocoaDialog_ListsController::foldingChanged:.
- (void) _gatherData | (void) |
This method reads the various elements in the Customize box and loads the XP member variables with them
References AP_CocoaDialog_ListsController::_fontPopup, AP_CocoaDialog_ListsController::_formatData, AP_CocoaDialog_ListsController::_labelAlignData, AP_CocoaDialog_ListsController::_levelDelimData, AP_CocoaDialog_ListsController::_startAtData, AP_CocoaDialog_ListsController::_textAlignData, AP_Dialog_Lists::copyCharToDecimal(), AP_Dialog_Lists::copyCharToDelim(), AP_Dialog_Lists::copyCharToFont(), AP_Dialog_Lists::getBlock(), fp_Container::getContainer(), fl_ContainerLayout::getFirstContainer(), fp_ContainerObject::getWidth(), and m_dlg.
Referenced by setXPFromLocal.
- (void) _setRadioButtonLabels | (void) |
References AP_Dialog_Lists::PopulateDialogData().
Referenced by updateFromDocument.
- (void) activate | (void) |
Implements XAP_Dialog_Modeless.
References AP_Dialog_Modeless::ConstructWindowName(), AP_Dialog_Lists::getWindowName(), m_bDontUpdate, m_dlg, and updateDialog.
- (void) applyClicked | (void) |
+ (void) autoupdateLists | (UT_Worker *) | pTimer |
References AP_Dialog_Lists::getAvView(), UT_Worker::getInstanceData(), AP_Dialog_Lists::getTick(), AV_View::getTick(), AP_Dialog_Lists::isDirty(), m_bAutoUpdate_happening_now, m_bDestroy_says_stopupdating, previewExposed, AP_Dialog_Lists::setTick(), updateDialog, and UT_ASSERT.
Referenced by runModeless.
- (void) customChanged | (void) |
References AP_Dialog_Lists::fillUncustomizedValues(), and loadXPDataIntoLocal.
Referenced by AP_CocoaDialog_ListsController::setDefaultAction:.
- (void) destroy | (void) |
Implements XAP_Dialog_Modeless.
References AP_Dialog_Lists::a_CLOSE, AP_Dialog_Lists::a_QUIT, DELETEP, AP_Dialog_Lists::isModal(), m_bDestroy_says_stopupdating, m_dlg, m_pAutoUpdateLists, m_pPreviewWidget, XAP_Dialog_Modeless::modeless_cleanup(), AP_Dialog_Lists::setAnswer(), and UT_Timer::stop().
Referenced by AP_CocoaDialog_ListsController::cancelAction:.
- (bool) dontUpdate | (void) |
References m_bDontUpdate.
Referenced by AP_CocoaDialog_ListsController::styleChangedAction:, typeChanged, and AP_CocoaDialog_ListsController::valueChangedAction:.
- (bool) isPageLists | (void) |
Implements AP_Dialog_Lists.
References AP_Dialog_Lists::isModal(), and m_dlg.
- (void) loadXPDataIntoLocal | (void) |
References AP_CocoaDialog_ListsController::_fontPopup, AP_CocoaDialog_ListsController::_formatData, AP_CocoaDialog_ListsController::_labelAlignData, AP_CocoaDialog_ListsController::_levelDelimData, AP_CocoaDialog_ListsController::_startAtData, AP_CocoaDialog_ListsController::_stylePopup, AP_CocoaDialog_ListsController::_textAlignData, AP_CocoaDialog_ListsController::_typePopup, AP_Dialog_Lists::getDecimal(), AP_Dialog_Lists::getDelim(), AP_Dialog_Lists::getFont(), GUI_LIST_BULLETED, GUI_LIST_NONE, GUI_LIST_NUMBERED, m_bDontUpdate, m_dlg, NOT_A_LIST, typeChanged, and UT_DEBUGMSG.
Referenced by customChanged, runModal, AP_CocoaDialog_ListsController::styleChangedAction:, typeChanged, and updateFromDocument.
- (void) notifyActiveFrame | (XAP_Frame *) | pFrame |
Reimplemented from XAP_Dialog_Modeless.
References AP_Dialog_Modeless::ConstructWindowName(), AP_Dialog_Lists::getWindowName(), m_bDontUpdate, m_dlg, previewExposed, and updateDialog.
- (void) previewExposed | (void) |
- (void) runModal | (XAP_Frame *) | pFrame |
Reimplemented from XAP_Dialog_Modeless.
References AP_Dialog_Lists::_createPreviewFromGC(), AP_Dialog_Lists::clearDirty(), DELETEP, XAP_App::getApp(), loadXPDataIntoLocal, m_bDontUpdate, m_dlg, m_pPreviewWidget, XAP_App::newGraphics(), previewExposed, AP_Dialog_Lists::setModal(), and UT_ASSERT.
- (void) runModeless | (XAP_Frame *) | pFrame |
Implements XAP_Dialog_Modeless.
References AP_Dialog_Lists::_createPreviewFromGC(), autoupdateLists, AP_Dialog_Lists::clearDirty(), XAP_Dialog::getApp(), XAP_Dialog::getDialogId(), m_bDestroy_says_stopupdating, m_bDontUpdate, m_dlg, XAP_Dialog::m_pApp, m_pAutoUpdateLists, XAP_Dialog_Modeless::m_pDialog, m_pPreviewWidget, XAP_App::newGraphics(), XAP_App::rememberModelessId(), UT_Timer::set(), static_constructor, updateDialog, and UT_ASSERT.
- (void) setAllSensitivity | (void) |
References AP_Dialog_Lists::PopulateDialogData().
- (void) setFoldLevelInGUI | (void) |
Implements AP_Dialog_Lists.
References AP_Dialog_Lists::getCurrentFold(), and m_dlg.
- (void) setListTypeFromWidget | (void) |
This method just sets the value of m_newListType. This is needed to make fillUncustomizedValues work.
References m_dlg.
Referenced by setXPFromLocal, and AP_CocoaDialog_ListsController::styleChangedAction:.
- (void) setXPFromLocal | (void) |
This method reads out all the elements of the GUI and sets the XP member variables from them
References _gatherData, GUI_LIST_BULLETED, GUI_LIST_NONE, GUI_LIST_NUMBERED, m_dlg, setListTypeFromWidget, and UT_ASSERT_NOT_REACHED.
Referenced by applyClicked, updateDialog, and AP_CocoaDialog_ListsController::valueChangedAction:.
+ (XAP_Dialog *) static_constructor | (XAP_DialogFactory *) | pFactory | ||
(XAP_Dialog_Id) | id | |||
References AP_CocoaDialog_Lists.
Referenced by runModeless.
- (void) typeChanged | (int) | type |
References BULLETED_LIST, dontUpdate, AP_Dialog_Lists::fillUncustomizedValues(), GUI_LIST_BULLETED, GUI_LIST_NONE, GUI_LIST_NUMBERED, loadXPDataIntoLocal, m_dlg, NOT_A_LIST, NUMBERED_LIST, previewExposed, and UT_ASSERT_NOT_REACHED.
Referenced by loadXPDataIntoLocal.
- (void) updateDialog | (void) |
References AP_Dialog_Lists::isDirty(), setXPFromLocal, and updateFromDocument.
Referenced by activate, autoupdateLists, notifyActiveFrame, runModeless, and AP_CocoaDialog_ListsController::windowDidBecomeKey:.
- (void) updateFromDocument | (void) |
References _setRadioButtonLabels, loadXPDataIntoLocal, and AP_Dialog_Lists::PopulateDialogData().
Referenced by updateDialog.
- (bool) m_bAutoUpdate_happening_now [private] |
Referenced by autoupdateLists.
- (bool) m_bDestroy_says_stopupdating [private] |
Referenced by autoupdateLists, destroy, and runModeless.
- (bool) m_bDontUpdate [private] |
Referenced by activate, AP_CocoaDialog_Lists, dontUpdate, loadXPDataIntoLocal, notifyActiveFrame, runModal, and runModeless.
- (AP_CocoaDialog_ListsController*) m_dlg [private] |
Referenced by _gatherData, activate, destroy, isPageLists, loadXPDataIntoLocal, notifyActiveFrame, runModal, runModeless, setFoldLevelInGUI, setListTypeFromWidget, setXPFromLocal, and typeChanged.
- (UT_Timer*) m_pAutoUpdateLists [private] |
Referenced by AP_CocoaDialog_Lists, destroy, and runModeless.
- (GR_CocoaCairoGraphics*) m_pPreviewWidget [private] |
Referenced by AP_CocoaDialog_Lists, destroy, previewExposed, runModal, runModeless, and ~AP_CocoaDialog_Lists.