#include <xap_Dlg_HTMLOptions.h>
Public Member Functions | |
XAP_Dialog_HTMLOptions (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id) | |
virtual | ~XAP_Dialog_HTMLOptions (void) |
virtual void | runModal (XAP_Frame *pFrame)=0 |
bool | shouldSave () const |
void | setHTMLOptions (XAP_Exp_HTMLOptions *exp_opt, XAP_App *app) |
Static Public Member Functions | |
static void | getHTMLDefaults (XAP_Exp_HTMLOptions *exp_opt, XAP_App *app) |
Protected Member Functions | |
bool | get_HTML4 () const |
bool | get_PHTML () const |
bool | get_Declare_XML () const |
bool | get_Allow_AWML () const |
bool | get_Embed_CSS () const |
bool | get_Link_CSS () const |
bool | get_Class_Only () const |
bool | get_Embed_Images () const |
bool | get_Multipart () const |
bool | get_Abs_Units () const |
bool | get_Scale_Units () const |
bool | get_MathML_Render_PNG () const |
bool | get_Split_Document () const |
UT_uint32 | get_Compact () const |
UT_UTF8String & | get_Link_CSS_File () const |
bool | can_set_Declare_XML () const |
bool | can_set_Allow_AWML () const |
bool | can_set_Embed_CSS () const |
bool | can_set_Link_CSS () const |
bool | can_set_Class_Only () const |
bool | can_set_Abs_Units () const |
bool | can_set_Scale_Units () const |
bool | can_set_Embed_Images () const |
bool | can_set_MathML_Render_PNG () const |
bool | can_set_Split_Document () const |
void | set_HTML4 (bool enable) |
void | set_PHTML (bool enable) |
void | set_Declare_XML (bool enable) |
void | set_Allow_AWML (bool enable) |
void | set_Embed_CSS (bool enable) |
void | set_Link_CSS (bool enable) |
void | set_Class_Only (bool enable) |
void | set_Embed_Images (bool enable) |
void | set_MathML_Render_PNG (bool enable) |
void | set_Split_Document (bool enable) |
void | set_Link_CSS_File (const char *file) |
void | set_Abs_Units (bool enable) |
void | set_Scale_Units (bool enable) |
void | set_Compact (UT_uint32 i) |
void | saveDefaults () |
void | restoreDefaults () |
Protected Attributes | |
bool | m_bShouldSave |
Private Attributes | |
XAP_Exp_HTMLOptions * | m_exp_opt |
XAP_App * | m_app |
UT_UTF8String * | m_pLinkCSS |
XAP_Dialog_HTMLOptions::XAP_Dialog_HTMLOptions | ( | XAP_DialogFactory * | pDlgFactory, | |
XAP_Dialog_Id | id | |||
) |
References m_pLinkCSS.
XAP_Dialog_HTMLOptions::~XAP_Dialog_HTMLOptions | ( | void | ) | [virtual] |
References DELETEP, and m_pLinkCSS.
bool XAP_Dialog_HTMLOptions::can_set_Abs_Units | ( | ) | const [inline, protected] |
Referenced by set_Abs_Units().
bool XAP_Dialog_HTMLOptions::can_set_Allow_AWML | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::can_set_Class_Only | ( | ) | const [inline, protected] |
Referenced by set_Class_Only().
bool XAP_Dialog_HTMLOptions::can_set_Declare_XML | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::can_set_Embed_CSS | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::can_set_Embed_Images | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::can_set_Link_CSS | ( | ) | const [inline, protected] |
Referenced by set_Link_CSS(), and set_Link_CSS_File().
bool XAP_Dialog_HTMLOptions::can_set_MathML_Render_PNG | ( | ) | const [inline, protected] |
Referenced by XAP_UnixDialog_HTMLOptions::refreshStates(), and set_MathML_Render_PNG().
bool XAP_Dialog_HTMLOptions::can_set_Scale_Units | ( | ) | const [inline, protected] |
Referenced by set_Scale_Units().
bool XAP_Dialog_HTMLOptions::can_set_Split_Document | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::get_Abs_Units | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::get_Allow_AWML | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::get_Class_Only | ( | ) | const [inline, protected] |
UT_uint32 XAP_Dialog_HTMLOptions::get_Compact | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::get_Declare_XML | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::get_Embed_CSS | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::get_Embed_Images | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::get_HTML4 | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::get_Link_CSS | ( | ) | const [inline, protected] |
UT_UTF8String& XAP_Dialog_HTMLOptions::get_Link_CSS_File | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::get_MathML_Render_PNG | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::get_Multipart | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::get_PHTML | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::get_Scale_Units | ( | ) | const [inline, protected] |
bool XAP_Dialog_HTMLOptions::get_Split_Document | ( | ) | const [inline, protected] |
void XAP_Dialog_HTMLOptions::getHTMLDefaults | ( | XAP_Exp_HTMLOptions * | exp_opt, | |
XAP_App * | app | |||
) | [static] |
References XAP_Exp_HTMLOptions::bAbsUnits, XAP_Exp_HTMLOptions::bAllowAWML, XAP_Exp_HTMLOptions::bClassOnly, XAP_Exp_HTMLOptions::bDeclareXML, XAP_Exp_HTMLOptions::bEmbedCSS, XAP_Exp_HTMLOptions::bEmbedImages, XAP_Exp_HTMLOptions::bIs4, XAP_Exp_HTMLOptions::bIsAbiWebDoc, XAP_Exp_HTMLOptions::bLinkCSS, XAP_Exp_HTMLOptions::bMathMLRenderPNG, XAP_Exp_HTMLOptions::bScaleUnits, XAP_Exp_HTMLOptions::bSplitDocument, gchar, XAP_App::getPrefs(), XAP_Prefs::getPrefsValue(), XAP_Exp_HTMLOptions::iCompact, UT_ASSERT, and XAP_PREF_KEY_HTMLExportOptions.
Referenced by IE_Exp_HTML::IE_Exp_HTML(), and restoreDefaults().
void XAP_Dialog_HTMLOptions::restoreDefaults | ( | ) | [protected] |
References getHTMLDefaults(), m_app, and m_exp_opt.
Referenced by XAP_Win32Dialog_HTMLOptions::_onCommand(), XAP_UnixDialog_HTMLOptions::event_RestoreSettings(), and XAP_CocoaDialog_HTMLOptions::event_RestoreSettings.
virtual void XAP_Dialog_HTMLOptions::runModal | ( | XAP_Frame * | pFrame | ) | [pure virtual] |
Implements XAP_Dialog_NonPersistent.
Implemented in XAP_CocoaDialog_HTMLOptions, XAP_UnixDialog_HTMLOptions, and XAP_Win32Dialog_HTMLOptions.
Referenced by IE_Exp_HTML::_doOptions().
void XAP_Dialog_HTMLOptions::saveDefaults | ( | ) | [protected] |
References XAP_Exp_HTMLOptions::bAbsUnits, XAP_Exp_HTMLOptions::bAllowAWML, XAP_Exp_HTMLOptions::bClassOnly, XAP_Exp_HTMLOptions::bDeclareXML, XAP_Exp_HTMLOptions::bEmbedCSS, XAP_Exp_HTMLOptions::bEmbedImages, XAP_Exp_HTMLOptions::bIs4, XAP_Exp_HTMLOptions::bIsAbiWebDoc, XAP_Exp_HTMLOptions::bLinkCSS, XAP_Exp_HTMLOptions::bMathMLRenderPNG, XAP_Exp_HTMLOptions::bScaleUnits, XAP_Exp_HTMLOptions::bSplitDocument, UT_UTF8String::byteLength(), gchar, XAP_Prefs::getCurrentScheme(), XAP_App::getPrefs(), XAP_Exp_HTMLOptions::iCompact, m_app, m_exp_opt, XAP_PrefsScheme::setValue(), UT_ASSERT, UT_UTF8String_sprintf(), UT_UTF8String::utf8_str(), and XAP_PREF_KEY_HTMLExportOptions.
Referenced by XAP_Win32Dialog_HTMLOptions::_onCommand(), XAP_UnixDialog_HTMLOptions::event_SaveSettings(), and XAP_CocoaDialog_HTMLOptions::event_SaveSettings.
void XAP_Dialog_HTMLOptions::set_Abs_Units | ( | bool | enable | ) | [protected] |
References XAP_Exp_HTMLOptions::bAbsUnits, can_set_Abs_Units(), and m_exp_opt.
void XAP_Dialog_HTMLOptions::set_Allow_AWML | ( | bool | enable | ) | [protected] |
void XAP_Dialog_HTMLOptions::set_Class_Only | ( | bool | enable | ) | [protected] |
References XAP_Exp_HTMLOptions::bClassOnly, can_set_Class_Only(), and m_exp_opt.
void XAP_Dialog_HTMLOptions::set_Compact | ( | UT_uint32 | i | ) | [inline, protected] |
void XAP_Dialog_HTMLOptions::set_Declare_XML | ( | bool | enable | ) | [protected] |
void XAP_Dialog_HTMLOptions::set_Embed_CSS | ( | bool | enable | ) | [protected] |
void XAP_Dialog_HTMLOptions::set_Embed_Images | ( | bool | enable | ) | [protected] |
void XAP_Dialog_HTMLOptions::set_HTML4 | ( | bool | enable | ) | [protected] |
void XAP_Dialog_HTMLOptions::set_Link_CSS | ( | bool | enable | ) | [protected] |
References XAP_Exp_HTMLOptions::bEmbedCSS, XAP_Exp_HTMLOptions::bLinkCSS, can_set_Link_CSS(), and m_exp_opt.
void XAP_Dialog_HTMLOptions::set_Link_CSS_File | ( | const char * | file | ) | [protected] |
References can_set_Link_CSS(), and m_pLinkCSS.
void XAP_Dialog_HTMLOptions::set_MathML_Render_PNG | ( | bool | enable | ) | [protected] |
References XAP_Exp_HTMLOptions::bMathMLRenderPNG, can_set_MathML_Render_PNG(), and m_exp_opt.
Referenced by XAP_Win32Dialog_HTMLOptions::_onCommand(), and XAP_UnixDialog_HTMLOptions::toggle_MathMLRenderPNG().
void XAP_Dialog_HTMLOptions::set_PHTML | ( | bool | enable | ) | [protected] |
void XAP_Dialog_HTMLOptions::set_Scale_Units | ( | bool | enable | ) | [protected] |
References XAP_Exp_HTMLOptions::bScaleUnits, can_set_Scale_Units(), and m_exp_opt.
void XAP_Dialog_HTMLOptions::set_Split_Document | ( | bool | enable | ) | [protected] |
References XAP_Exp_HTMLOptions::bSplitDocument, can_set_Split_Document(), and m_exp_opt.
Referenced by XAP_Win32Dialog_HTMLOptions::_onCommand(), and XAP_UnixDialog_HTMLOptions::toggle_SplitDocument().
void XAP_Dialog_HTMLOptions::setHTMLOptions | ( | XAP_Exp_HTMLOptions * | exp_opt, | |
XAP_App * | app | |||
) |
References m_app, m_exp_opt, and UT_ASSERT.
Referenced by IE_Exp_HTML::_doOptions().
bool XAP_Dialog_HTMLOptions::shouldSave | ( | ) | const [inline] |
Referenced by IE_Exp_HTML::_doOptions().
XAP_App* XAP_Dialog_HTMLOptions::m_app [private] |
Referenced by restoreDefaults(), saveDefaults(), and setHTMLOptions().
bool XAP_Dialog_HTMLOptions::m_bShouldSave [protected] |
UT_UTF8String* XAP_Dialog_HTMLOptions::m_pLinkCSS [private] |
Referenced by set_Link_CSS_File(), XAP_Dialog_HTMLOptions(), and ~XAP_Dialog_HTMLOptions().