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
23 #pragma GCC system_header
26 class StringFormat
: public GdiplusBase
29 StringFormat(INT formatFlags
, LANGID language
)
33 StringFormat(const StringFormat
*format
)
37 StringFormat
*Clone(VOID
)
42 static const StringFormat
*GenericDefault(VOID
)
47 static const StringFormat
*GenericTypographic(VOID
)
52 StringAlignment
GetAlignment(VOID
) const
54 return StringAlignmentNear
;
57 LANGID
GetDigitSubstitutionLanguage(VOID
) const
62 StringDigitSubstitute
GetDigitSubstitutionMethod(VOID
) const
64 return StringDigitSubstituteNone
;
67 INT
GetFormatFlags(VOID
) const
72 HotkeyPrefix
GetHotkeyPrefix(VOID
) const
74 return HotkeyPrefixNone
;
77 Status
GetLastStatus(VOID
) const
79 return NotImplemented
;
82 StringAlignment
GetLineAlignment(VOID
) const
84 return StringAlignmentNear
;
87 INT
GetMeasurableCharacterRangeCount(VOID
) const
92 INT
GetTabStopCount(VOID
) const
97 Status
GetTabStops(INT count
, REAL
*firstTabOffset
, REAL
*tabStops
) const
99 return NotImplemented
;
102 StringTrimming
GetTrimming(VOID
) const
104 return StringTrimmingNone
;
107 Status
SetAlignment(StringAlignment align
)
109 return NotImplemented
;
112 Status
SetDigitSubstitution(LANGID language
, StringDigitSubstitute substitute
)
114 return NotImplemented
;
117 Status
SetFormatFlags(INT flags
)
119 return NotImplemented
;
122 Status
SetHotkeyPrefix(HotkeyPrefix hotkeyPrefix
)
124 return NotImplemented
;
127 Status
SetLineAlignment(StringAlignment align
)
129 return NotImplemented
;
132 Status
SetMeasurableCharacterRanges(INT rangeCount
, const CharacterRange
*ranges
)
134 return NotImplemented
;
137 Status
SetTabStops(REAL firstTabOffset
, INT count
, const REAL
*tabStops
)
139 return NotImplemented
;
142 Status
SetTrimming(StringTrimming trimming
)
144 return NotImplemented
;
148 #endif /* _GDIPLUSSTRINGFORMAT_H */