2 * GdiPlusStringFormat.h
6 * This file is part of the w32api package.
8 * THIS SOFTWARE IS NOT COPYRIGHTED
10 * This source code is offered for use in the public domain. You may
11 * use, modify or distribute it freely.
13 * This code is distributed in the hope that it will be useful but
14 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
15 * DISCLAIMED. This includes but is not limited to warranties of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19 #ifndef _GDIPLUSSTRINGFORMAT_H
20 #define _GDIPLUSSTRINGFORMAT_H
22 class StringFormat
: public GdiplusBase
25 StringFormat(INT formatFlags
, LANGID language
)
29 StringFormat(const StringFormat
*format
)
33 StringFormat
*Clone(VOID
)
38 static const StringFormat
*GenericDefault(VOID
)
43 static const StringFormat
*GenericTypographic(VOID
)
48 StringAlignment
GetAlignment(VOID
) const
50 return StringAlignmentNear
;
53 LANGID
GetDigitSubstitutionLanguage(VOID
) const
58 StringDigitSubstitute
GetDigitSubstitutionMethod(VOID
) const
60 return StringDigitSubstituteNone
;
63 INT
GetFormatFlags(VOID
) const
68 HotkeyPrefix
GetHotkeyPrefix(VOID
) const
70 return HotkeyPrefixNone
;
73 Status
GetLastStatus(VOID
) const
75 return NotImplemented
;
78 StringAlignment
GetLineAlignment(VOID
) const
80 return StringAlignmentNear
;
83 INT
GetMeasurableCharacterRangeCount(VOID
) const
88 INT
GetTabStopCount(VOID
) const
93 Status
GetTabStops(INT count
, REAL
*firstTabOffset
, REAL
*tabStops
) const
95 return NotImplemented
;
98 StringTrimming
GetTrimming(VOID
) const
100 return StringTrimmingNone
;
103 Status
SetAlignment(StringAlignment align
)
105 return NotImplemented
;
108 Status
SetDigitSubstitution(LANGID language
, StringDigitSubstitute substitute
)
110 return NotImplemented
;
113 Status
SetFormatFlags(INT flags
)
115 return NotImplemented
;
118 Status
SetHotkeyPrefix(HotkeyPrefix hotkeyPrefix
)
120 return NotImplemented
;
123 Status
SetLineAlignment(StringAlignment align
)
125 return NotImplemented
;
128 Status
SetMeasurableCharacterRanges(INT rangeCount
, const CharacterRange
*ranges
)
130 return NotImplemented
;
133 Status
SetTabStops(REAL firstTabOffset
, INT count
, const REAL
*tabStops
)
135 return NotImplemented
;
138 Status
SetTrimming(StringTrimming trimming
)
140 return NotImplemented
;
144 #endif /* _GDIPLUSSTRINGFORMAT_H */