#include <ap_Dialog_Styles.h>
Public Types | |
enum | tAnswer { a_OK, a_CANCEL } |
typedef std::map< std::string, std::string > | PropMap |
Public Member Functions | |
AP_Dialog_Styles (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id) | |
virtual | ~AP_Dialog_Styles (void) |
virtual void | runModal (XAP_Frame *pFrame)=0 |
AP_Dialog_Styles::tAnswer | getAnswer (void) const |
void | _tabCallback (const char *, const char *) |
Protected Member Functions | |
void | event_paraPreviewUpdated (const gchar *pageLeftMargin, const gchar *pageRightMargin, const gchar *align, const gchar *firstLineIndent, const gchar *leftIndent, const gchar *rightIndent, const gchar *beforeSpacing, const gchar *afterSpacing, const gchar *lineSpacing) const |
virtual void | event_charPreviewUpdated (void) const |
virtual const char * | getCurrentStyle (void) const =0 |
virtual void | setDescription (const char *desc) const =0 |
virtual void | setModifyDescription (const char *desc)=0 |
virtual void | _populatePreviews (bool isModify) |
FV_View * | getLView (void) const |
PD_Document * | getLDoc (void) const |
void | drawLocal (void) |
void | destroyAbiPreview (void) |
void | fillVecWithProps (const gchar *szStyle, bool bReplaceAttributes) |
void | fillVecFromCurrentPoint (void) |
const gchar * | getVecVal (const UT_Vector *v, const gchar *szProp) const |
void | ModifyLists (void) |
void | ModifyFont (void) |
void | ModifyParagraph (void) |
void | ModifyTabs (void) |
void | ModifyLang (void) |
void | updateCurrentStyle (void) |
bool | createNewStyle (const gchar *szName) |
bool | applyModifiedStyleToDoc (void) |
void | setDoc (PD_Document *pDoc) |
void | setFrame (XAP_Frame *pFrame) |
void | setView (FV_View *pView) |
FV_View * | getView (void) const |
PD_Document * | getDoc (void) const |
XAP_Frame * | getFrame (void) const |
void | _createParaPreviewFromGC (GR_Graphics *gc, UT_uint32 width, UT_uint32 height) |
void | _createCharPreviewFromGC (GR_Graphics *gc, UT_uint32 width, UT_uint32 height) |
void | _createAbiPreviewFromGC (GR_Graphics *gc, UT_uint32 width, UT_uint32 height) |
void | _populateAbiPreview (bool isNew) |
Protected Attributes | |
AP_Dialog_Styles::tAnswer | m_answer |
PD_Style * | m_pCurStyle |
char * | m_pszCurStyleName |
std::string | m_curStyleDesc |
AP_Preview_Paragraph * | m_pParaPreview |
XAP_Preview_FontPreview * | m_pCharPreview |
AP_Preview_Abi * | m_pAbiPreview |
PP_PropertyVector | m_vecAllProps |
PP_PropertyVector | m_vecAllAttribs |
Private Attributes | |
XAP_Frame * | m_pFrame |
FV_View * | m_pView |
PD_Document * | m_pDoc |
PT_DocPosition | m_posBefore |
PT_DocPosition | m_posFocus |
PT_DocPosition | m_posAfter |
PropMap | m_mapCharProps |
std::string | m_ListProps [8] |
typedef std::map<std::string,std::string> AP_Dialog_Styles::PropMap |
AP_Dialog_Styles::AP_Dialog_Styles | ( | XAP_DialogFactory * | pDlgFactory, | |
XAP_Dialog_Id | id | |||
) |
References m_answer, m_pAbiPreview, m_pCharPreview, and m_pParaPreview.
AP_Dialog_Styles::~AP_Dialog_Styles | ( | void | ) | [virtual] |
References DELETEP, m_pAbiPreview, m_pCharPreview, and m_pParaPreview.
void AP_Dialog_Styles::_createAbiPreviewFromGC | ( | GR_Graphics * | gc, | |
UT_uint32 | width, | |||
UT_uint32 | height | |||
) | [protected] |
This is the preview for the second dialog pane. It puts a complete mini-abiword in a graphics context so all the results of any style change is immediately obvious.
References DELETEP, getFrame(), m_pAbiPreview, PREVIEW_ZOOMED, and UT_return_if_fail.
Referenced by AP_Win32Dialog_Styles::_onInitDialog(), and AP_UnixDialog_Styles::modifyRunModal().
void AP_Dialog_Styles::_createCharPreviewFromGC | ( | GR_Graphics * | gc, | |
UT_uint32 | width, | |||
UT_uint32 | height | |||
) | [protected] |
References gchar, fg_FillType::getColor(), FV_View::getCurrentPage(), fp_Page::getFillType(), XAP_App::getStringSet(), XAP_StringSet::getValue(), getView(), UT_RGBColor::m_blu, UT_RGBColor::m_grn, m_mapCharProps, XAP_Dialog::m_pApp, m_pCharPreview, UT_RGBColor::m_red, XAP_Preview_FontPreview::setDrawString(), XAP_Preview_FontPreview::setVecProperties(), XAP_Preview::setWindowSize(), UT_return_if_fail, and UT_UCS4_strcpy_utf8_char().
Referenced by AP_Win32Dialog_Styles::_onInitDialog(), and AP_UnixDialog_Styles::runModal().
void AP_Dialog_Styles::_createParaPreviewFromGC | ( | GR_Graphics * | gc, | |
UT_uint32 | width, | |||
UT_uint32 | height | |||
) | [protected] |
Create the preview for the Paragraph preview for styles.
References XAP_App::getStringSet(), XAP_StringSet::getValue(), XAP_Dialog::m_pApp, m_pParaPreview, and UT_return_if_fail.
Referenced by AP_Win32Dialog_Styles::_onInitDialog(), and AP_UnixDialog_Styles::runModal().
void AP_Dialog_Styles::_populateAbiPreview | ( | bool | isNew | ) | [protected] |
This puts some tet in the second pane preview so we can see the effect of the Styles.
References PD_Document::addStyleAttributes(), PD_Document::addStyleProperties(), PD_Document::appendStyle(), PD_Document::changeSpanFmt(), FV_View::cmdCharInsert(), FV_View::getCharFormat(), fg_FillType::getColor(), FV_View::getCurrentPage(), fp_Page::getFillType(), getLDoc(), getLView(), FV_View::getPoint(), XAP_App::getStringSet(), PD_Document::getStyle(), XAP_StringSet::getValue(), FV_View::insertParagraphBreak(), UT_RGBColor::m_blu, m_curStyleDesc, UT_RGBColor::m_grn, XAP_Dialog::m_pApp, m_posAfter, m_posBefore, m_posFocus, UT_RGBColor::m_red, m_vecAllAttribs, m_vecAllProps, PP_getAttribute(), PP_makePropString(), PT_TYPE_ATTRIBUTE_NAME, PTC_AddFmt, FV_View::setCharFormat(), setModifyDescription(), FV_View::setSectionFormat(), FV_View::setStyle(), UT_parseColor(), UT_std_string_sprintf(), UT_UCS4_strcpy_char(), UT_UCS4_strcpy_utf8_char(), UT_UCS4_strlen(), and xxx_UT_DEBUGMSG.
Referenced by AP_Win32Dialog_Styles::_onInitDialog(), and AP_UnixDialog_Styles::modifyRunModal().
void AP_Dialog_Styles::_populatePreviews | ( | bool | isModify | ) | [protected, virtual] |
Fill both the paragraph and character previews in the front pane with some Text so we can see the text of the chosen style.
References event_charPreviewUpdated(), event_paraPreviewUpdated(), fillVecWithProps(), gchar, getCurrentStyle(), getDoc(), PD_Style::getProperty(), PD_Style::getPropertyExpand(), FV_View::getSectionFormat(), getView(), m_curStyleDesc, m_mapCharProps, PP_getAttribute(), setDescription(), setModifyDescription(), and szName.
Referenced by AP_Win32Dialog_Styles::_onCommand(), AP_Win32Dialog_Styles::_onInitDialog(), AP_Win32Dialog_Styles::_populateWindowData(), AP_UnixDialog_Styles::_populateWindowData(), and AP_UnixDialog_Styles::event_SelectionChanged().
void AP_Dialog_Styles::_tabCallback | ( | const char * | szTabStops, | |
const char * | szDflTabStop | |||
) |
Used for the Tabs dialog to extract info from the tabs dialog.
References m_vecAllProps, and PP_addOrSetAttribute().
Referenced by s_TabSaveCallBack().
bool AP_Dialog_Styles::applyModifiedStyleToDoc | ( | void | ) | [protected] |
Take the current style description and modify the description of the style in the main document.
References gchar, getCurrentStyle(), getDoc(), m_curStyleDesc, m_vecAllAttribs, m_vecAllProps, PP_makePropString(), PD_Document::setAllStyleAttributes(), and setDescription().
Referenced by AP_Win32Dialog_Styles::_onCommand(), and AP_UnixDialog_Styles::event_ModifyClicked().
bool AP_Dialog_Styles::createNewStyle | ( | const gchar * | szName | ) | [protected] |
Take the current style description and use it to define a new style in the main document.
References PD_Document::appendStyle(), getDoc(), PD_Document::getStyle(), m_curStyleDesc, m_vecAllAttribs, m_vecAllProps, PP_getAttribute(), PP_makePropString(), setDescription(), UT_DEBUGMSG, and UT_return_val_if_fail.
Referenced by AP_Win32Dialog_Styles::_onCommand(), and AP_UnixDialog_Styles::event_NewClicked().
void AP_Dialog_Styles::destroyAbiPreview | ( | void | ) | [protected] |
remove the mini-Abi preview in the second pane.
References DELETEP, and m_pAbiPreview.
Referenced by AP_Win32Dialog_Styles::_onCommand(), and AP_UnixDialog_Styles::modifyRunModal().
void AP_Dialog_Styles::drawLocal | ( | void | ) | [protected] |
This updates the mini-Abi in the second pane preview.
References AP_Preview_Abi::draw(), and m_pAbiPreview.
Referenced by AP_UnixDialog_Styles::event_ModifyPreviewExposed(), and updateCurrentStyle().
void AP_Dialog_Styles::event_charPreviewUpdated | ( | void | ) | const [protected, virtual] |
Update the character preview in the front pane.
References XAP_Preview_FontPreview::draw(), m_mapCharProps, m_pCharPreview, XAP_Preview_FontPreview::setVecProperties(), and UT_return_if_fail.
Referenced by _populatePreviews(), and AP_UnixDialog_Styles::event_charPreviewExposed().
void AP_Dialog_Styles::event_paraPreviewUpdated | ( | const gchar * | pageLeftMargin, | |
const gchar * | pageRightMargin, | |||
const gchar * | align, | |||
const gchar * | firstLineIndent, | |||
const gchar * | leftIndent, | |||
const gchar * | rightIndent, | |||
const gchar * | beforeSpacing, | |||
const gchar * | afterSpacing, | |||
const gchar * | lineSpacing | |||
) | const [protected] |
References AP_Preview_Paragraph::draw(), m_pParaPreview, AP_Preview_Paragraph::setFormat(), UT_convertDimensionless(), UT_hasDimensionComponent(), and UT_return_if_fail.
Referenced by _populatePreviews().
void AP_Dialog_Styles::fillVecFromCurrentPoint | ( | void | ) | [protected] |
This method extracts the properties defined at the current point in the active document and places them in a vectore where they can be easily displayed in previews and the display area.
References FV_View::getBlockFormat(), FV_View::getCharFormat(), getView(), m_vecAllProps, and szName.
Referenced by AP_Win32Dialog_Styles::_onInitDialog(), and AP_UnixDialog_Styles::_populateModify().
void AP_Dialog_Styles::fillVecWithProps | ( | const gchar * | szStyle, | |
bool | bReplaceAttributes = true | |||
) | [protected] |
This method takes a style and extracts all the properties associated with it and place them in a properties and attributes vector for easy modification by the code.
References gchar, PD_Style::getAttributeExpand(), getDoc(), PD_Style::getProperty(), m_vecAllAttribs, m_vecAllProps, PP_addOrSetAttribute(), PT_TYPE_ATTRIBUTE_NAME, szName, UT_DEBUGMSG, and xxx_UT_DEBUGMSG.
Referenced by AP_Win32Dialog_Styles::_onInitDialog(), AP_UnixDialog_Styles::_populateModify(), _populatePreviews(), and AP_Win32Dialog_Styles::eventBasedOn().
AP_Dialog_Styles::tAnswer AP_Dialog_Styles::getAnswer | ( | void | ) | const |
References m_answer.
virtual const char* AP_Dialog_Styles::getCurrentStyle | ( | void | ) | const [protected, pure virtual] |
Implemented in AP_UnixDialog_Styles.
Referenced by _populatePreviews(), and applyModifiedStyleToDoc().
PD_Document * AP_Dialog_Styles::getDoc | ( | void | ) | const [protected] |
Pointer to current the PD_Document for real document we're working with.
References m_pDoc.
Referenced by AP_Win32Dialog_Styles::_onCommand(), AP_Win32Dialog_Styles::_onInitDialog(), AP_Win32Dialog_Styles::_populateCList(), AP_UnixDialog_Styles::_populateCList(), AP_UnixDialog_Styles::_populateModify(), _populatePreviews(), applyModifiedStyleToDoc(), createNewStyle(), AP_UnixDialog_Styles::event_DeleteClicked(), AP_UnixDialog_Styles::event_ModifyClicked(), AP_Win32Dialog_Styles::eventBasedOn(), AP_Win32Dialog_Styles::eventFollowedBy(), fillVecWithProps(), AP_Win32Dialog_Styles::runModal(), and AP_UnixDialog_Styles::runModal().
XAP_Frame * AP_Dialog_Styles::getFrame | ( | void | ) | const [protected] |
Pointer to the frame of the real document we're working with.
References m_pFrame.
Referenced by _createAbiPreviewFromGC(), AP_Win32Dialog_Styles::_onCommand(), AP_Win32Dialog_Styles::_onInitDialog(), AP_UnixDialog_Styles::event_DeleteClicked(), AP_UnixDialog_Styles::event_Modify_OK(), AP_UnixDialog_Styles::event_ModifyClicked(), ModifyFont(), ModifyLang(), ModifyLists(), ModifyParagraph(), AP_UnixDialog_Styles::modifyRunModal(), and ModifyTabs().
PD_Document * AP_Dialog_Styles::getLDoc | ( | void | ) | const [protected] |
This is the pd_Document pointer for our mini-Abi in the second pane preview.
References AP_Preview_Abi::getDoc(), and m_pAbiPreview.
Referenced by _populateAbiPreview(), and updateCurrentStyle().
FV_View * AP_Dialog_Styles::getLView | ( | void | ) | const [protected] |
This is the FV_View pointer for our mini-abi in the second pane preview.
References AP_Preview_Abi::getView(), and m_pAbiPreview.
Referenced by _populateAbiPreview(), and updateCurrentStyle().
const gchar * AP_Dialog_Styles::getVecVal | ( | const UT_Vector * | v, | |
const gchar * | szProp | |||
) | const [protected] |
This method returns a pointer to the const char * value associated with the the attribute szProp. This version will extract properties from any vector with name:values set as: It assumes properties and values are stored the array like this: vecProp(n) : vecProp(n+1) "attribute" : "value"
References gchar, UT_GenericVector< T >::getItemCount(), and UT_GenericVector< T >::getNthItem().
Referenced by ModifyLists().
FV_View * AP_Dialog_Styles::getView | ( | void | ) | const [protected] |
Pointer to the current FV_View of the document we're working with.
References m_pView.
Referenced by _createCharPreviewFromGC(), AP_Win32Dialog_Styles::_onCommand(), _populatePreviews(), AP_UnixDialog_Styles::event_Apply(), fillVecFromCurrentPoint(), ModifyFont(), ModifyLang(), ModifyParagraph(), AP_Win32Dialog_Styles::runModal(), and AP_UnixDialog_Styles::runModal().
void AP_Dialog_Styles::ModifyFont | ( | void | ) | [protected] |
This method runs the tabs dialog to allow the user to edit the character properties of their style.
References gchar, XAP_Dialog_FontChooser::getAnswer(), XAP_Dialog_FontChooser::getChangedBGColor(), XAP_Dialog_FontChooser::getChangedBottomline(), XAP_Dialog_FontChooser::getChangedColor(), XAP_Dialog_FontChooser::getChangedFontFamily(), XAP_Dialog_FontChooser::getChangedFontSize(), XAP_Dialog_FontChooser::getChangedFontStyle(), XAP_Dialog_FontChooser::getChangedFontWeight(), XAP_Dialog_FontChooser::getChangedOverline(), XAP_Dialog_FontChooser::getChangedStrikeOut(), XAP_Dialog_FontChooser::getChangedTopline(), XAP_Dialog_FontChooser::getChangedUnderline(), fg_FillType::getColor(), FV_View::getCurrentPage(), XAP_Frame::getDialogFactory(), fp_Page::getFillType(), getFrame(), getView(), UT_RGBColor::m_blu, UT_RGBColor::m_grn, UT_RGBColor::m_red, m_vecAllProps, PP_addOrSetAttribute(), PP_getAttribute(), XAP_DialogFactory::releaseDialog(), XAP_DialogFactory::requestDialog(), XAP_Dialog_FontChooser::runModal(), XAP_Dialog_FontChooser::setBackGroundColor(), XAP_Dialog_FontChooser::setBGColor(), XAP_Dialog_FontChooser::setColor(), XAP_Dialog_FontChooser::setFontDecoration(), XAP_Dialog_FontChooser::setFontFamily(), XAP_Dialog_FontChooser::setFontSize(), XAP_Dialog_FontChooser::setFontStyle(), XAP_Dialog_FontChooser::setFontWeight(), XAP_Dialog_FontChooser::setGraphicsContext(), and UT_return_if_fail.
Referenced by AP_Win32Dialog_Styles::_onCommand(), and AP_UnixDialog_Styles::event_ModifyFont().
void AP_Dialog_Styles::ModifyLang | ( | void | ) | [protected] |
This method runs the language dialog to allow the user to set the language property of their style.
References gchar, XAP_Dialog_Language::getAnswer(), XAP_Dialog_Language::getChangedLangProperty(), XAP_Frame::getDialogFactory(), getFrame(), getView(), m_vecAllProps, PP_addOrSetAttribute(), PP_getAttribute(), XAP_DialogFactory::releaseDialog(), XAP_DialogFactory::requestDialog(), XAP_Dialog_Language::runModal(), s, XAP_Dialog_Language::setLanguageProperty(), UT_DEBUGMSG, and UT_return_if_fail.
Referenced by AP_Win32Dialog_Styles::_onCommand(), and AP_UnixDialog_Styles::event_ModifyLanguage().
void AP_Dialog_Styles::ModifyLists | ( | void | ) | [protected] |
This method runs the Lists dialog in amodal way so the user easily edit numbering properties.
References UT_GenericVector< T >::addItem(), AP_DIALOG_ID_LISTS, AP_Dialog_Lists::fillDialogFromVector(), AP_Dialog_Lists::getAnswer(), XAP_Frame::getDialogFactory(), getFrame(), AP_Dialog_Lists::getOutProps(), getVecVal(), XAP_DialogFactory::justMakeTheDialog(), m_ListProps, m_vecAllProps, PP_addOrSetAttribute(), PP_getAttribute(), XAP_Dialog_Modeless::runModal(), UT_DEBUGMSG, and UT_return_if_fail.
Referenced by AP_Win32Dialog_Styles::_onCommand(), and AP_UnixDialog_Styles::event_ModifyNumbering().
void AP_Dialog_Styles::ModifyParagraph | ( | void | ) | [protected] |
Fire up the Paragraph dialog so we can modify the paragraph properties
References AP_Dialog_Paragraph::a_OK, AP_DIALOG_ID_PARAGRAPH, AP_TopRulerInfo::_u::c, gchar, AP_Dialog_Paragraph::getAnswer(), AP_Dialog_Paragraph::getDialogData(), XAP_Frame::getDialogFactory(), getFrame(), FV_View::getTopRulerInfo(), getView(), m_vecAllProps, AP_TopRulerInfo::_u::_c::m_xColumnWidth, PP_addOrSetAttribute(), PP_getAttribute(), XAP_DialogFactory::releaseDialog(), XAP_DialogFactory::requestDialog(), AP_Dialog_Paragraph::runModal(), AP_Dialog_Paragraph::setDialogData(), AP_Dialog_Paragraph::setMaxWidth(), AP_TopRulerInfo::u, and UT_return_if_fail.
Referenced by AP_Win32Dialog_Styles::_onCommand(), and AP_UnixDialog_Styles::event_ModifyParagraph().
void AP_Dialog_Styles::ModifyTabs | ( | void | ) | [protected] |
This method fires up the Tabs dialog to allow the user to edit the properties associated with Tabs for their style.
References XAP_Frame::getDialogFactory(), getFrame(), XAP_DialogFactory::releaseDialog(), XAP_DialogFactory::requestDialog(), AP_Dialog_Tab::runModal(), s_TabSaveCallBack(), AP_Dialog_Tab::setSaveCallback(), and UT_return_if_fail.
Referenced by AP_Win32Dialog_Styles::_onCommand(), and AP_UnixDialog_Styles::event_ModifyTabs().
virtual void AP_Dialog_Styles::runModal | ( | XAP_Frame * | pFrame | ) | [pure virtual] |
Implements XAP_Dialog_NonPersistent.
Implemented in AP_UnixDialog_Styles.
Referenced by s_doStylesDlg().
virtual void AP_Dialog_Styles::setDescription | ( | const char * | desc | ) | const [protected, pure virtual] |
Implemented in AP_UnixDialog_Styles.
Referenced by _populatePreviews(), applyModifiedStyleToDoc(), and createNewStyle().
void AP_Dialog_Styles::setDoc | ( | PD_Document * | pDoc | ) | [protected] |
Pointer to current the PD_Document for real document we're working with.
References m_pDoc.
Referenced by AP_Win32Dialog_Styles::runModal(), and AP_UnixDialog_Styles::runModal().
void AP_Dialog_Styles::setFrame | ( | XAP_Frame * | pFrame | ) | [protected] |
Pointer to the frame of the real document we're working with.
References m_pFrame.
Referenced by AP_Win32Dialog_Styles::runModal(), and AP_UnixDialog_Styles::runModal().
virtual void AP_Dialog_Styles::setModifyDescription | ( | const char * | desc | ) | [protected, pure virtual] |
Implemented in AP_UnixDialog_Styles.
Referenced by _populateAbiPreview(), _populatePreviews(), and updateCurrentStyle().
void AP_Dialog_Styles::setView | ( | FV_View * | pView | ) | [protected] |
Pointer to the current FV_View of the document we're working with.
References m_pView.
Referenced by AP_Win32Dialog_Styles::runModal(), and AP_UnixDialog_Styles::runModal().
void AP_Dialog_Styles::updateCurrentStyle | ( | void | ) | [protected] |
Extract all the props from the vector and apply them to the abi preview. We use the style "tmp" to display the current style in the preview.
References PD_Document::addStyleAttributes(), PD_Document::appendStyle(), drawLocal(), PD_Style::getAllProperties(), UT_GenericVector< T >::getItemCount(), getLDoc(), getLView(), UT_GenericVector< T >::getNthItem(), PD_Document::getStyle(), m_curStyleDesc, m_pAbiPreview, m_pDoc, m_posFocus, m_vecAllAttribs, m_vecAllProps, PP_getAttribute(), PP_makePropString(), setModifyDescription(), FV_View::setPoint(), FV_View::setStyle(), PD_Document::updateDocForStyleChange(), UT_std_string_addPropertyString(), UT_std_string_setProperty(), and xxx_UT_DEBUGMSG.
Referenced by AP_Win32Dialog_Styles::_onCommand(), AP_UnixDialog_Styles::event_basedOn(), AP_UnixDialog_Styles::event_ModifyFont(), AP_UnixDialog_Styles::event_ModifyLanguage(), AP_UnixDialog_Styles::event_ModifyNumbering(), AP_UnixDialog_Styles::event_ModifyParagraph(), AP_UnixDialog_Styles::event_ModifyTabs(), AP_UnixDialog_Styles::event_RemoveProperty(), and AP_Win32Dialog_Styles::eventBasedOn().
AP_Dialog_Styles::tAnswer AP_Dialog_Styles::m_answer [protected] |
Referenced by AP_Win32Dialog_Styles::_onCommand(), AP_Win32Dialog_Styles::_onInitDialog(), AP_UnixDialog_Styles::_populateModify(), AP_Dialog_Styles(), AP_UnixDialog_Styles::event_Apply(), AP_UnixDialog_Styles::event_Close(), AP_UnixDialog_Styles::event_Modify_Cancel(), AP_UnixDialog_Styles::event_Modify_OK(), AP_UnixDialog_Styles::event_ModifyClicked(), AP_UnixDialog_Styles::event_ModifyDelete(), AP_UnixDialog_Styles::event_NewClicked(), AP_UnixDialog_Styles::event_WindowDelete(), getAnswer(), and AP_Win32Dialog_Styles::runModal().
std::string AP_Dialog_Styles::m_curStyleDesc [protected] |
std::string AP_Dialog_Styles::m_ListProps[8] [private] |
Referenced by ModifyLists().
PropMap AP_Dialog_Styles::m_mapCharProps [private] |
Referenced by _createCharPreviewFromGC(), _populatePreviews(), and event_charPreviewUpdated().
AP_Preview_Abi* AP_Dialog_Styles::m_pAbiPreview [protected] |
XAP_Preview_FontPreview* AP_Dialog_Styles::m_pCharPreview [protected] |
PD_Style* AP_Dialog_Styles::m_pCurStyle [protected] |
PD_Document* AP_Dialog_Styles::m_pDoc [private] |
Referenced by getDoc(), setDoc(), and updateCurrentStyle().
XAP_Frame* AP_Dialog_Styles::m_pFrame [private] |
Referenced by getFrame(), and setFrame().
PT_DocPosition AP_Dialog_Styles::m_posAfter [private] |
Referenced by _populateAbiPreview().
PT_DocPosition AP_Dialog_Styles::m_posBefore [private] |
Referenced by _populateAbiPreview().
PT_DocPosition AP_Dialog_Styles::m_posFocus [private] |
Referenced by _populateAbiPreview(), and updateCurrentStyle().
AP_Preview_Paragraph* AP_Dialog_Styles::m_pParaPreview [protected] |
char* AP_Dialog_Styles::m_pszCurStyleName [protected] |
FV_View* AP_Dialog_Styles::m_pView [private] |
PP_PropertyVector AP_Dialog_Styles::m_vecAllAttribs [protected] |
Referenced by AP_Win32Dialog_Styles::_onInitDialog(), _populateAbiPreview(), AP_UnixDialog_Styles::_populateModify(), applyModifiedStyleToDoc(), createNewStyle(), AP_UnixDialog_Styles::event_basedOn(), AP_UnixDialog_Styles::event_followedBy(), AP_UnixDialog_Styles::event_styleType(), fillVecWithProps(), AP_UnixDialog_Styles::new_styleName(), and updateCurrentStyle().
PP_PropertyVector AP_Dialog_Styles::m_vecAllProps [protected] |
Referenced by AP_Win32Dialog_Styles::_onCommand(), _populateAbiPreview(), _tabCallback(), applyModifiedStyleToDoc(), createNewStyle(), AP_UnixDialog_Styles::event_RemoveProperty(), AP_Win32Dialog_Styles::eventBasedOn(), AP_Win32Dialog_Styles::eventFollowedBy(), AP_Win32Dialog_Styles::eventStyleType(), fillVecFromCurrentPoint(), fillVecWithProps(), ModifyFont(), ModifyLang(), ModifyLists(), ModifyParagraph(), AP_Win32Dialog_Styles::rebuildDeleteProps(), AP_UnixDialog_Styles::rebuildDeleteProps(), and updateCurrentStyle().