#include <svtools/smplhint.hxx>
#include <svtools/brdcst.hxx>
#include "utility.hxx"
#include <types.hxx>
Include dependency graph for format.hxx:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | SmFormat |
Defines | |
#define | SM_FMT_VERSION_51 ((BYTE) 0x01) |
#define | SM_FMT_VERSION_NOW SM_FMT_VERSION_51 |
#define | FNTNAME_TIMES "Times New Roman" |
#define | FNTNAME_HELV "Helvetica" |
#define | FNTNAME_COUR "Courier" |
#define | FNTNAME_MATH FONTNAME_MATH |
#define | SIZ_BEGIN 0 |
#define | SIZ_TEXT 0 |
#define | SIZ_INDEX 1 |
#define | SIZ_FUNCTION 2 |
#define | SIZ_OPERATOR 3 |
#define | SIZ_LIMITS 4 |
#define | SIZ_END 4 |
#define | FNT_BEGIN 0 |
#define | FNT_VARIABLE 0 |
#define | FNT_FUNCTION 1 |
#define | FNT_NUMBER 2 |
#define | FNT_TEXT 3 |
#define | FNT_SERIF 4 |
#define | FNT_SANS 5 |
#define | FNT_FIXED 6 |
#define | FNT_MATH 7 |
#define | FNT_END 7 |
#define | DIS_BEGIN 0 |
#define | DIS_HORIZONTAL 0 |
#define | DIS_VERTICAL 1 |
#define | DIS_ROOT 2 |
#define | DIS_SUPERSCRIPT 3 |
#define | DIS_SUBSCRIPT 4 |
#define | DIS_NUMERATOR 5 |
#define | DIS_DENOMINATOR 6 |
#define | DIS_FRACTION 7 |
#define | DIS_STROKEWIDTH 8 |
#define | DIS_UPPERLIMIT 9 |
#define | DIS_LOWERLIMIT 10 |
#define | DIS_BRACKETSIZE 11 |
#define | DIS_BRACKETSPACE 12 |
#define | DIS_MATRIXROW 13 |
#define | DIS_MATRIXCOL 14 |
#define | DIS_ORNAMENTSIZE 15 |
#define | DIS_ORNAMENTSPACE 16 |
#define | DIS_OPERATORSIZE 17 |
#define | DIS_OPERATORSPACE 18 |
#define | DIS_LEFTSPACE 19 |
#define | DIS_RIGHTSPACE 20 |
#define | DIS_TOPSPACE 21 |
#define | DIS_BOTTOMSPACE 22 |
#define | DIS_NORMALBRACKETSIZE 23 |
#define | DIS_END 23 |
#define | HINT_FORMATCHANGED 10003 |
Enumerations | |
enum | SmHorAlign { AlignLeft, AlignCenter, AlignRight } |
Functions | |
String | GetDefaultFontName (LanguageType nLang, USHORT nIdent) |
#define DIS_BEGIN 0 |
Definition at line 85 of file format.hxx.
Referenced by SmMathConfig::LoadFormat(), SmFormat::operator=(), and SmMathConfig::SaveFormat().
#define DIS_BOTTOMSPACE 22 |
Definition at line 108 of file format.hxx.
Referenced by SmDocShell::GetSize(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_BRACKETSIZE 11 |
Definition at line 97 of file format.hxx.
Referenced by SmBracebodyNode::Arrange(), SmBraceNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_BRACKETSPACE 12 |
Definition at line 98 of file format.hxx.
Referenced by SmBracebodyNode::Arrange(), SmBraceNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_DENOMINATOR 6 |
Definition at line 92 of file format.hxx.
Referenced by SmBinVerNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_END 23 |
Definition at line 110 of file format.hxx.
Referenced by SmMathConfig::LoadFormat(), SmFormat::operator=(), SmFormat::operator==(), and SmMathConfig::SaveFormat().
#define DIS_FRACTION 7 |
Definition at line 93 of file format.hxx.
Referenced by SmBinVerNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_HORIZONTAL 0 |
Definition at line 86 of file format.hxx.
Referenced by SmBinHorNode::Arrange(), SmLineNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_LEFTSPACE 19 |
Definition at line 105 of file format.hxx.
Referenced by SmDocShell::Draw(), SmDocShell::GetSize(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_LOWERLIMIT 10 |
Definition at line 96 of file format.hxx.
Referenced by SmVerticalBraceNode::Arrange(), SmSubSupNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_MATRIXCOL 14 |
Definition at line 100 of file format.hxx.
Referenced by SmMatrixNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_MATRIXROW 13 |
Definition at line 99 of file format.hxx.
Referenced by SmMatrixNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_NORMALBRACKETSIZE 23 |
Definition at line 109 of file format.hxx.
Referenced by SmBracebodyNode::Arrange(), SmBraceNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_NUMERATOR 5 |
Definition at line 91 of file format.hxx.
Referenced by SmBinVerNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_OPERATORSIZE 17 |
Definition at line 103 of file format.hxx.
Referenced by SmOperNode::CalcSymbolHeight(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_OPERATORSPACE 18 |
Definition at line 104 of file format.hxx.
Referenced by SmOperNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_ORNAMENTSIZE 15 |
Definition at line 101 of file format.hxx.
Referenced by SmVerticalBraceNode::Arrange(), SmRect::BuildRect(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_ORNAMENTSPACE 16 |
Definition at line 102 of file format.hxx.
Referenced by SmAttributNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_RIGHTSPACE 20 |
Definition at line 106 of file format.hxx.
Referenced by SmDocShell::GetSize(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_ROOT 2 |
Definition at line 88 of file format.hxx.
Referenced by SmRootNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_STROKEWIDTH 8 |
Definition at line 94 of file format.hxx.
Referenced by SmPolyLineNode::Arrange(), SmBinVerNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_SUBSCRIPT 4 |
Definition at line 90 of file format.hxx.
Referenced by SmSubSupNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_SUPERSCRIPT 3 |
Definition at line 89 of file format.hxx.
Referenced by SmSubSupNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_TOPSPACE 21 |
Definition at line 107 of file format.hxx.
Referenced by SmDocShell::Draw(), SmDocShell::GetSize(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_UPPERLIMIT 9 |
Definition at line 95 of file format.hxx.
Referenced by SmVerticalBraceNode::Arrange(), SmSubSupNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define DIS_VERTICAL 1 |
Definition at line 87 of file format.hxx.
Referenced by SmTableNode::Arrange(), lcl_createModelPropertyInfo(), SmDistanceDialog::ReadFrom(), SmFormat::SmFormat(), and SmDistanceDialog::WriteTo().
#define FNT_BEGIN 0 |
Definition at line 73 of file format.hxx.
Referenced by SmMathConfig::LoadFormat(), SmFormat::operator=(), SmMathConfig::SaveFormat(), SmFormat::SmFormat(), SmMathConfig::StripFontFormatList(), and SmFontSizeDialog::WriteTo().
#define FNT_END 7 |
Definition at line 82 of file format.hxx.
Referenced by GetDefaultFontName(), SmMathConfig::LoadFormat(), SmFormat::operator=(), SmFormat::operator==(), SmMathConfig::SaveFormat(), SmFormat::SmFormat(), SmMathConfig::StripFontFormatList(), and SmFontSizeDialog::WriteTo().
#define FNT_FIXED 6 |
Definition at line 80 of file format.hxx.
Referenced by SmXMLStringContext_Impl::EndElement(), lcl_createModelPropertyInfo(), SmFontNode::Prepare(), SmFontTypeDialog::ReadFrom(), SmFormat::SmFormat(), and SmFontTypeDialog::WriteTo().
#define FNT_FUNCTION 1 |
Definition at line 75 of file format.hxx.
Referenced by SmTextNode::Arrange(), SmTextNode::CreateTextFromNode(), SmXMLIdentifierContext_Impl::EndElement(), SmParser::Function(), lcl_createModelPropertyInfo(), SmFontTypeDialog::ReadFrom(), SmFormat::SmFormat(), and SmFontTypeDialog::WriteTo().
#define FNT_MATH 7 |
Definition at line 81 of file format.hxx.
Referenced by GetDefaultFontName(), SmNode::Prepare(), and SmFormat::SmFormat().
#define FNT_NUMBER 2 |
Definition at line 76 of file format.hxx.
Referenced by SmXMLNumberContext_Impl::EndElement(), lcl_createModelPropertyInfo(), SmFontTypeDialog::ReadFrom(), SmFormat::SmFormat(), SmParser::Term(), and SmFontTypeDialog::WriteTo().
#define FNT_SANS 5 |
Definition at line 79 of file format.hxx.
Referenced by lcl_createModelPropertyInfo(), SmFontNode::Prepare(), SmFontTypeDialog::ReadFrom(), SmFormat::SmFormat(), and SmFontTypeDialog::WriteTo().
#define FNT_SERIF 4 |
Definition at line 78 of file format.hxx.
Referenced by lcl_createModelPropertyInfo(), SmFontNode::Prepare(), SmFontTypeDialog::ReadFrom(), SmFormat::SmFormat(), and SmFontTypeDialog::WriteTo().
#define FNT_TEXT 3 |
Definition at line 77 of file format.hxx.
Referenced by SmXMLTextContext_Impl::EndElement(), lcl_createModelPropertyInfo(), SmParser::Oper(), SmFontTypeDialog::ReadFrom(), SmFormat::SmFormat(), SmParser::Term(), and SmFontTypeDialog::WriteTo().
#define FNT_VARIABLE 0 |
Definition at line 74 of file format.hxx.
Referenced by SmXMLNoneContext_Impl::EndElement(), SmXMLIdentifierContext_Impl::EndElement(), lcl_createModelPropertyInfo(), SmBlankNode::Prepare(), SmSpecialNode::Prepare(), SmLineNode::Prepare(), SmFontTypeDialog::ReadFrom(), SmFormat::SmFormat(), SmParser::Term(), and SmFontTypeDialog::WriteTo().
#define FNTNAME_COUR "Courier" |
#define FNTNAME_HELV "Helvetica" |
#define FNTNAME_MATH FONTNAME_MATH |
Definition at line 60 of file format.hxx.
Referenced by GetDefaultFontName(), and SmFormat::SmFormat().
#define FNTNAME_TIMES "Times New Roman" |
#define HINT_FORMATCHANGED 10003 |
Definition at line 114 of file format.hxx.
Referenced by SmConfig::ItemSetToConfig(), SmFormat::RequestApplyChanges(), and SFX_IMPL_OBJECTFACTORY().
#define SIZ_BEGIN 0 |
Definition at line 64 of file format.hxx.
Referenced by SmMathConfig::LoadFormat(), SmFormat::operator=(), and SmMathConfig::SaveFormat().
#define SIZ_END 4 |
Definition at line 70 of file format.hxx.
Referenced by SmMathConfig::LoadFormat(), SmFormat::operator=(), SmFormat::operator==(), and SmMathConfig::SaveFormat().
#define SIZ_FUNCTION 2 |
Definition at line 67 of file format.hxx.
Referenced by SmTextNode::Arrange(), lcl_createModelPropertyInfo(), SmFontSizeDialog::ReadFrom(), SmFormat::SmFormat(), and SmFontSizeDialog::WriteTo().
#define SIZ_INDEX 1 |
Definition at line 66 of file format.hxx.
Referenced by SmSubSupNode::Arrange(), SmBinVerNode::Arrange(), SmRootNode::Arrange(), lcl_createModelPropertyInfo(), SmFontSizeDialog::ReadFrom(), SmFormat::SmFormat(), and SmFontSizeDialog::WriteTo().
#define SIZ_LIMITS 4 |
Definition at line 69 of file format.hxx.
Referenced by SmVerticalBraceNode::Arrange(), SmSubSupNode::Arrange(), lcl_createModelPropertyInfo(), SmFontSizeDialog::ReadFrom(), SmFormat::SmFormat(), and SmFontSizeDialog::WriteTo().
#define SIZ_OPERATOR 3 |
Definition at line 68 of file format.hxx.
Referenced by SmBinHorNode::Arrange(), SmUnHorNode::Arrange(), lcl_createModelPropertyInfo(), SmFontSizeDialog::ReadFrom(), SmFormat::SmFormat(), and SmFontSizeDialog::WriteTo().
#define SIZ_TEXT 0 |
Definition at line 65 of file format.hxx.
Referenced by SmMathSymbolNode::Arrange(), SmTextNode::Arrange(), lcl_createModelPropertyInfo(), SmFontSizeDialog::ReadFrom(), SmFormat::SmFormat(), and SmFontSizeDialog::WriteTo().
#define SM_FMT_VERSION_51 ((BYTE) 0x01) |
Definition at line 54 of file format.hxx.
#define SM_FMT_VERSION_NOW SM_FMT_VERSION_51 |
enum SmHorAlign |
String GetDefaultFontName | ( | LanguageType | nLang, | |
USHORT | nIdent | |||
) |
Definition at line 99 of file format.cxx.
References aCJKDefFnts, aCTLDefFnts, aLatinDefFnts, FNT_END, FNT_MATH, and FNTNAME_MATH.
Referenced by SmMathConfig::LoadFormat().