/Users/ericb/Desktop/SRC680_m247/starmath/source/dialog.cxx File Reference

#include "precompiled_starmath.hxx"
#include "tools/rcid.h"
#include <svtools/eitem.hxx>
#include <svtools/intitem.hxx>
#include <svtools/stritem.hxx>
#include <sfx2/app.hxx>
#include <vcl/msgbox.hxx>
#include <svtools/ctrltool.hxx>
#include <sfx2/printer.hxx>
#include <vcl/sound.hxx>
#include <vcl/sndstyle.hxx>
#include <vcl/waitobj.hxx>
#include <vcl/settings.hxx>
#include <vcl/wall.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/sfx.hrc>
#include <tools/string.hxx>
#include <tools/debug.hxx>
#include <svx/ucsubset.hxx>
#include "config.hxx"
#include "dialog.hxx"
#include "starmath.hrc"
#include "dialog.hrc"
#include "smmod.hxx"
#include "symbol.hxx"
#include "view.hxx"
#include "document.hxx"

Include dependency graph for dialog.cxx:

Go to the source code of this file.

Classes

class  SmFontStyles
struct  FieldMinMax

Defines

#define SMDLL   1

Functions

const SmFontStylesGetFontStyles ()
void SetFontStyle (const XubString &rStyleName, Font &rFont)
 IMPL_LINK_INLINE_START (SmPrintOptionsTabPage, SizeButtonClickHdl, Button *, EMPTYARG)
 IMPL_LINK_INLINE_START (SmFontDialog, FontSelectHdl, ComboBox *, pComboBox)
 IMPL_LINK (SmFontDialog, FontModifyHdl, ComboBox *, pComboBox)
 IMPL_LINK (SmFontDialog, AttrChangeHdl, CheckBox *, EMPTYARG)
 IMPL_LINK (SmFontSizeDialog, DefaultButtonClickHdl, Button *, EMPTYARG)
 IMPL_LINK (SmFontTypeDialog, MenuSelectHdl, Menu *, pMenu)
 IMPL_LINK_INLINE_START (SmFontTypeDialog, DefaultButtonClickHdl, Button *, EMPTYARG)
 IMPL_LINK (SmDistanceDialog, GetFocusHdl, Control *, pControl)
 IMPL_LINK (SmDistanceDialog, MenuSelectHdl, Menu *, pMenu)
 IMPL_LINK (SmDistanceDialog, DefaultButtonClickHdl, Button *, EMPTYARG)
 IMPL_LINK (SmDistanceDialog, CheckBoxClickHdl, CheckBox *, pCheckBox)
 IMPL_LINK (SmAlignDialog, DefaultButtonClickHdl, Button *, EMPTYARG)
 IMPL_LINK (SmShowSymbolSet, ScrollHdl, ScrollBar *, EMPTYARG)
 IMPL_LINK (SmSymbolDialog, SymbolSetChangeHdl, ListBox *, EMPTYARG pListBox)
 IMPL_LINK (SmSymbolDialog, SymbolChangeHdl, SmShowSymbolSet *, EMPTYARG pShowSymbolSet)
 IMPL_LINK (SmSymbolDialog, EditClickHdl, Button *, EMPTYARG pButton)
 IMPL_LINK (SmSymbolDialog, SymbolDblClickHdl, SmShowSymbolSet *, EMPTYARG pShowSymbolSet)
 IMPL_LINK (SmSymbolDialog, GetClickHdl, Button *, EMPTYARG pButton)
 IMPL_LINK_INLINE_START (SmSymbolDialog, CloseClickHdl, Button *, EMPTYARG pButton)
 IMPL_LINK (SmSymDefineDialog, OldSymbolChangeHdl, ComboBox *, EMPTYARG pComboBox)
 IMPL_LINK (SmSymDefineDialog, OldSymbolSetChangeHdl, ComboBox *, EMPTYARG pComboBox)
 IMPL_LINK (SmSymDefineDialog, ModifyHdl, ComboBox *, pComboBox)
 IMPL_LINK (SmSymDefineDialog, FontChangeHdl, ListBox *, EMPTYARG pListBox)
 IMPL_LINK (SmSymDefineDialog, SubsetChangeHdl, ListBox *, EMPTYARG pListBox)
 IMPL_LINK (SmSymDefineDialog, StyleChangeHdl, ComboBox *, EMPTYARG pComboBox)
 IMPL_LINK (SmSymDefineDialog, CharHighlightHdl, Control *, EMPTYARG)
 IMPL_LINK (SmSymDefineDialog, AddClickHdl, Button *, EMPTYARG pButton)
 IMPL_LINK (SmSymDefineDialog, ChangeClickHdl, Button *, EMPTYARG pButton)
 IMPL_LINK (SmSymDefineDialog, DeleteClickHdl, Button *, EMPTYARG pButton)

Variables

static const FieldMinMax pMinMaxData [10][4]


Define Documentation

#define SMDLL   1

Definition at line 40 of file dialog.cxx.


Function Documentation

const SmFontStyles& GetFontStyles (  ) 

Definition at line 197 of file dialog.cxx.

Referenced by SmSymDefineDialog::FillStyles(), SmSymDefineDialog::SelectSymbol(), SetFontStyle(), and SmSymDefineDialog::UpdateButtons().

IMPL_LINK ( SmSymDefineDialog  ,
DeleteClickHdl  ,
Button *  ,
EMPTYARG  pButton 
)

Definition at line 2064 of file dialog.cxx.

References SmSymSet::DeleteSymbol(), SmSymSet::GetSymbolPos(), and SYMBOL_NONE.

IMPL_LINK ( SmSymDefineDialog  ,
ChangeClickHdl  ,
Button *  ,
EMPTYARG  pButton 
)

Definition at line 1994 of file dialog.cxx.

References SmSymSet::AddSymbol(), SmSym::SetCharacter(), SmSym::SetFace(), SmSym::SetName(), and SYMBOL_NONE.

IMPL_LINK ( SmSymDefineDialog  ,
AddClickHdl  ,
Button *  ,
EMPTYARG  pButton 
)

Definition at line 1951 of file dialog.cxx.

IMPL_LINK ( SmSymDefineDialog  ,
CharHighlightHdl  ,
Control *  ,
EMPTYARG   
)

Definition at line 1928 of file dialog.cxx.

IMPL_LINK ( SmSymDefineDialog  ,
StyleChangeHdl  ,
ComboBox *  ,
EMPTYARG  pComboBox 
)

Definition at line 1916 of file dialog.cxx.

IMPL_LINK ( SmSymDefineDialog  ,
SubsetChangeHdl  ,
ListBox *  ,
EMPTYARG  pListBox 
)

Definition at line 1900 of file dialog.cxx.

IMPL_LINK ( SmSymDefineDialog  ,
FontChangeHdl  ,
ListBox *  ,
EMPTYARG  pListBox 
)

Definition at line 1888 of file dialog.cxx.

IMPL_LINK ( SmSymDefineDialog  ,
ModifyHdl  ,
ComboBox *  ,
pComboBox   
)

Definition at line 1855 of file dialog.cxx.

IMPL_LINK ( SmSymDefineDialog  ,
OldSymbolSetChangeHdl  ,
ComboBox *  ,
EMPTYARG  pComboBox 
)

Definition at line 1844 of file dialog.cxx.

IMPL_LINK ( SmSymDefineDialog  ,
OldSymbolChangeHdl  ,
ComboBox *  ,
EMPTYARG  pComboBox 
)

Definition at line 1833 of file dialog.cxx.

IMPL_LINK ( SmSymbolDialog  ,
GetClickHdl  ,
Button *  ,
EMPTYARG  pButton 
)

Definition at line 1525 of file dialog.cxx.

References SmSym::GetName().

IMPL_LINK ( SmSymbolDialog  ,
SymbolDblClickHdl  ,
SmShowSymbolSet ,
EMPTYARG  pShowSymbolSet 
)

Definition at line 1512 of file dialog.cxx.

IMPL_LINK ( SmSymbolDialog  ,
EditClickHdl  ,
Button *  ,
EMPTYARG  pButton 
)

Definition at line 1471 of file dialog.cxx.

References SmSymDefineDialog::Execute(), SmSymDefineDialog::SelectOldSymbol(), SmSymDefineDialog::SelectOldSymbolSet(), SmSymDefineDialog::SelectSymbol(), and SmSymDefineDialog::SelectSymbolSet().

IMPL_LINK ( SmSymbolDialog  ,
SymbolChangeHdl  ,
SmShowSymbolSet ,
EMPTYARG  pShowSymbolSet 
)

Definition at line 1460 of file dialog.cxx.

IMPL_LINK ( SmSymbolDialog  ,
SymbolSetChangeHdl  ,
ListBox *  ,
EMPTYARG  pListBox 
)

Definition at line 1448 of file dialog.cxx.

IMPL_LINK ( SmShowSymbolSet  ,
ScrollHdl  ,
ScrollBar *  ,
EMPTYARG   
)

Definition at line 1379 of file dialog.cxx.

IMPL_LINK ( SmAlignDialog  ,
DefaultButtonClickHdl  ,
Button *  ,
EMPTYARG   
)

Definition at line 1119 of file dialog.cxx.

References SM_MOD1.

IMPL_LINK ( SmDistanceDialog  ,
CheckBoxClickHdl  ,
CheckBox *  ,
pCheckBox   
)

Definition at line 812 of file dialog.cxx.

IMPL_LINK ( SmDistanceDialog  ,
DefaultButtonClickHdl  ,
Button *  ,
EMPTYARG   
)

Definition at line 796 of file dialog.cxx.

References SM_MOD1.

IMPL_LINK ( SmDistanceDialog  ,
MenuSelectHdl  ,
Menu *  ,
pMenu   
)

Definition at line 789 of file dialog.cxx.

IMPL_LINK ( SmDistanceDialog  ,
GetFocusHdl  ,
Control *  ,
pControl   
)

Definition at line 768 of file dialog.cxx.

IMPL_LINK ( SmFontTypeDialog  ,
MenuSelectHdl  ,
Menu *  ,
pMenu   
)

Definition at line 560 of file dialog.cxx.

References SmFontPickList::ReadFrom(), and SmFontPickList::WriteTo().

IMPL_LINK ( SmFontSizeDialog  ,
DefaultButtonClickHdl  ,
Button *  ,
EMPTYARG   
)

Definition at line 482 of file dialog.cxx.

References SM_MOD1.

IMPL_LINK ( SmFontDialog  ,
AttrChangeHdl  ,
CheckBox *  ,
EMPTYARG   
)

Definition at line 358 of file dialog.cxx.

IMPL_LINK ( SmFontDialog  ,
FontModifyHdl  ,
ComboBox *  ,
pComboBox   
)

Definition at line 346 of file dialog.cxx.

IMPL_LINK_INLINE_START ( SmSymbolDialog  ,
CloseClickHdl  ,
Button *  ,
EMPTYARG  pButton 
)

Definition at line 1547 of file dialog.cxx.

IMPL_LINK_INLINE_START ( SmFontTypeDialog  ,
DefaultButtonClickHdl  ,
Button *  ,
EMPTYARG   
)

Definition at line 590 of file dialog.cxx.

References SM_MOD1.

IMPL_LINK_INLINE_START ( SmFontDialog  ,
FontSelectHdl  ,
ComboBox *  ,
pComboBox   
)

Definition at line 337 of file dialog.cxx.

IMPL_LINK_INLINE_START ( SmPrintOptionsTabPage  ,
SizeButtonClickHdl  ,
Button *  ,
EMPTYARG   
)

Definition at line 230 of file dialog.cxx.

void SetFontStyle ( const XubString &  rStyleName,
Font &  rFont 
)

Definition at line 205 of file dialog.cxx.

References SmFontStyles::GetCount(), GetFontStyles(), and SmFontStyles::GetStyleName().

Referenced by SmSymDefineDialog::SetFont().


Variable Documentation

const FieldMinMax pMinMaxData[10][4] [static]

Initial value:

{
        
        {{ 0, 200 },    { 0, 200 },             { 0, 100 },             { 0, 0 }},
        
        {{ 0, 100 },    { 0, 100 },             { 0, 0 },               { 0, 0 }},
        
        {{ 0, 100 },    { 0, 100 },             { 0, 0 },               { 0, 0 }},
        
        {{ 0, 100 },    { 1, 100 },             { 0, 0 },               { 0, 0 }},
        
        {{ 0, 100 },    { 0, 100 },             { 0, 0 },               { 0, 0 }},
        
        {{ 0, 100 },    { 0, 100 },             { 0, 0 },               { 0, 100 }},
        
        {{ 0, 300 },    { 0, 300 },             { 0, 0 },               { 0, 0 }},
        
        {{ 0, 100 },    { 0, 100 },             { 0, 0 },               { 0, 0 }},
        
        {{ 0, 100 },    { 0, 100 },             { 0, 0 },               { 0, 0 }},
        
        {{ 0, 10000 },  { 0, 10000 },   { 0, 10000 },   { 0, 10000 }}
}

Definition at line 693 of file dialog.cxx.

Referenced by SmCategoryDesc::SmCategoryDesc().


Generated on Wed Feb 20 17:22:19 2008 for maths by  doxygen 1.5.1