#import <ap_CocoaDialog_Paragraph.h>
Public Member Functions | |
() | - AP_CocoaDialog_Paragraph |
(virtual) | - ~AP_CocoaDialog_Paragraph |
(virtual void) | - runModal |
(virtual void) | - event_OK |
(virtual void) | - event_Cancel |
(virtual void) | - event_Tabs |
(virtual void) | - event_MenuChanged |
(virtual void) | - event_EditChanged |
(virtual void) | - event_CheckToggled |
(virtual void) | - event_PreviewAreaExposed |
(void) | - _createGC |
(void) | - _deleteGC |
Static Public Member Functions | |
(static XAP_Dialog *) | + static_constructor |
Protected Member Functions | |
(void) | - _populateWindowData |
(virtual void) | - _syncControls |
Protected Attributes | |
GR_CocoaCairoGraphics * | m_pGraphics |
Private Member Functions | |
(int) | - _tCheckStateToNS |
(id) | - _getWidget |
Private Attributes | |
AP_CocoaDialog_ParagraphController * | m_dlg |
- AP_CocoaDialog_Paragraph: | (XAP_DialogFactory *) | pDlgFactory | ||
(XAP_Dialog_Id) | id | |||
Referenced by static_constructor.
- AP_CocoaDialog_Paragraph: | (void) |
References DELETEP, and m_pGraphics.
- (void) _createGC | (XAP_CocoaNSView *) | owner |
References AP_Dialog_Paragraph::_createPreviewFromGC(), XAP_App::getApp(), m_pGraphics, XAP_App::newGraphics(), and size.
Referenced by runModal.
- (void) _deleteGC | (void) |
References DELETEP, and m_pGraphics.
- (id) _getWidget | (AP_Dialog_Paragraph::tControl) | widget |
References AP_CocoaDialog_ParagraphController::_getWidget:, and m_dlg.
Referenced by _populateWindowData, and _syncControls.
- (void) _populateWindowData | (void) |
References AP_Dialog_Paragraph::_getCheckItemValue(), AP_Dialog_Paragraph::_getMenuItemValue(), AP_Dialog_Paragraph::_getSpinItemValue(), _getWidget, _tCheckStateToNS, AP_Dialog_Paragraph::id_CHECK_DOMDIRECTION, AP_Dialog_Paragraph::id_CHECK_KEEP_LINES, AP_Dialog_Paragraph::id_CHECK_KEEP_NEXT, AP_Dialog_Paragraph::id_CHECK_NO_HYPHENATE, AP_Dialog_Paragraph::id_CHECK_PAGE_BREAK, AP_Dialog_Paragraph::id_CHECK_SUPPRESS, AP_Dialog_Paragraph::id_CHECK_WIDOW_ORPHAN, AP_Dialog_Paragraph::id_MENU_ALIGNMENT, AP_Dialog_Paragraph::id_MENU_SPECIAL_INDENT, AP_Dialog_Paragraph::id_MENU_SPECIAL_SPACING, AP_Dialog_Paragraph::id_SPIN_AFTER_SPACING, AP_Dialog_Paragraph::id_SPIN_BEFORE_SPACING, AP_Dialog_Paragraph::id_SPIN_LEFT_INDENT, AP_Dialog_Paragraph::id_SPIN_RIGHT_INDENT, AP_Dialog_Paragraph::id_SPIN_SPECIAL_INDENT, and AP_Dialog_Paragraph::id_SPIN_SPECIAL_SPACING.
Referenced by runModal.
- (void) _syncControls | (tControl) | changed | ||
(bool) | bAll = false | |||
Reimplemented from AP_Dialog_Paragraph.
References AP_Dialog_Paragraph::_getMenuItemValue(), AP_Dialog_Paragraph::_getSpinItemValue(), _getWidget, AP_Dialog_Paragraph::id_MENU_SPECIAL_INDENT, AP_Dialog_Paragraph::id_MENU_SPECIAL_SPACING, AP_Dialog_Paragraph::id_SPIN_AFTER_SPACING, AP_Dialog_Paragraph::id_SPIN_BEFORE_SPACING, AP_Dialog_Paragraph::id_SPIN_LEFT_INDENT, AP_Dialog_Paragraph::id_SPIN_RIGHT_INDENT, AP_Dialog_Paragraph::id_SPIN_SPECIAL_INDENT, AP_Dialog_Paragraph::id_SPIN_SPECIAL_SPACING, AP_Dialog_Paragraph::indent_FIRSTLINE, AP_Dialog_Paragraph::indent_NONE, AP_Dialog_Paragraph::spacing_DOUBLE, AP_Dialog_Paragraph::spacing_MULTIPLE, AP_Dialog_Paragraph::spacing_ONEANDHALF, AP_Dialog_Paragraph::spacing_SINGLE, and UT_ASSERT.
Referenced by event_EditChanged, and runModal.
- (int) _tCheckStateToNS | (AP_CocoaDialog_Paragraph::tCheckState) | x |
References AP_Dialog_Paragraph::check_FALSE, AP_Dialog_Paragraph::check_INDETERMINATE, AP_Dialog_Paragraph::check_TRUE, UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.
Referenced by _populateWindowData.
- (void) event_Cancel | (void) |
References AP_Dialog_Paragraph::m_answer.
Referenced by AP_CocoaDialog_ParagraphController::cancelAction:.
- (void) event_CheckToggled | (id) | sender |
References AP_Dialog_Paragraph::_setCheckItemValue(), UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.
Referenced by AP_CocoaDialog_ParagraphController::checkBoxAction:.
- (void) event_EditChanged | (id) | sender |
References AP_Dialog_Paragraph::_setSpinItemValue(), _syncControls, gchar, and UT_ASSERT.
Referenced by AP_CocoaDialog_ParagraphController::editAction:.
- (void) event_MenuChanged | (id) | sender |
References AP_Dialog_Paragraph::_setMenuItemValue(), and m_dlg.
Referenced by AP_CocoaDialog_ParagraphController::menuAction:.
- (void) event_OK | (void) |
References AP_Dialog_Paragraph::m_answer.
Referenced by AP_CocoaDialog_ParagraphController::okAction:.
- (void) event_PreviewAreaExposed | (void) |
References AP_Preview_Paragraph::draw(), and AP_Dialog_Paragraph::m_paragraphPreview.
Referenced by runModal.
- (void) event_Tabs | (void) |
References AP_Dialog_Paragraph::m_answer.
Referenced by AP_CocoaDialog_ParagraphController::tabAction:.
- (void) runModal | (XAP_Frame *) | pFrame |
Implements AP_Dialog_Paragraph.
References _createGC, _populateWindowData, _syncControls, event_PreviewAreaExposed, AP_Dialog_Paragraph::id_MENU_ALIGNMENT, m_dlg, and AP_Dialog_Paragraph::m_pFrame.
+ (XAP_Dialog *) static_constructor | (XAP_DialogFactory *) | pFactory | ||
(XAP_Dialog_Id) | id | |||
References AP_CocoaDialog_Paragraph.
- (AP_CocoaDialog_ParagraphController*) m_dlg [private] |
Referenced by _getWidget, event_MenuChanged, and runModal.
- (GR_CocoaCairoGraphics*) m_pGraphics [protected] |
Referenced by _createGC, _deleteGC, and ~AP_CocoaDialog_Paragraph.