1 /* 2 * GdiPlusStringFormat.h 3 * 4 * Windows GDI+ 5 * 6 * This file is part of the w32api package. 7 * 8 * THIS SOFTWARE IS NOT COPYRIGHTED 9 * 10 * This source code is offered for use in the public domain. You may 11 * use, modify or distribute it freely. 12 * 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. 17 */ 18 19 #ifndef _GDIPLUSSTRINGFORMAT_H 20 #define _GDIPLUSSTRINGFORMAT_H 21 22 class StringFormat : public GdiplusBase 23 { 24 public: 25 StringFormat(INT formatFlags, LANGID language) 26 { 27 } 28 29 StringFormat(const StringFormat *format) 30 { 31 } 32 33 StringFormat *Clone(VOID) 34 { 35 return NULL; 36 } 37 38 static const StringFormat *GenericDefault(VOID) 39 { 40 return NULL; 41 } 42 43 static const StringFormat *GenericTypographic(VOID) 44 { 45 return NULL; 46 } 47 48 StringAlignment GetAlignment(VOID) const 49 { 50 return StringAlignmentNear; 51 } 52 53 LANGID GetDigitSubstitutionLanguage(VOID) const 54 { 55 return 0; 56 } 57 58 StringDigitSubstitute GetDigitSubstitutionMethod(VOID) const 59 { 60 return StringDigitSubstituteNone; 61 } 62 63 INT GetFormatFlags(VOID) const 64 { 65 return 0; 66 } 67 68 HotkeyPrefix GetHotkeyPrefix(VOID) const 69 { 70 return HotkeyPrefixNone; 71 } 72 73 Status GetLastStatus(VOID) const 74 { 75 return NotImplemented; 76 } 77 78 StringAlignment GetLineAlignment(VOID) const 79 { 80 return StringAlignmentNear; 81 } 82 83 INT GetMeasurableCharacterRangeCount(VOID) const 84 { 85 return 0; 86 } 87 88 INT GetTabStopCount(VOID) const 89 { 90 return 0; 91 } 92 93 Status GetTabStops(INT count, REAL *firstTabOffset, REAL *tabStops) const 94 { 95 return NotImplemented; 96 } 97 98 StringTrimming GetTrimming(VOID) const 99 { 100 return StringTrimmingNone; 101 } 102 103 Status SetAlignment(StringAlignment align) 104 { 105 return NotImplemented; 106 } 107 108 Status SetDigitSubstitution(LANGID language, StringDigitSubstitute substitute) 109 { 110 return NotImplemented; 111 } 112 113 Status SetFormatFlags(INT flags) 114 { 115 return NotImplemented; 116 } 117 118 Status SetHotkeyPrefix(HotkeyPrefix hotkeyPrefix) 119 { 120 return NotImplemented; 121 } 122 123 Status SetLineAlignment(StringAlignment align) 124 { 125 return NotImplemented; 126 } 127 128 Status SetMeasurableCharacterRanges(INT rangeCount, const CharacterRange *ranges) 129 { 130 return NotImplemented; 131 } 132 133 Status SetTabStops(REAL firstTabOffset, INT count, const REAL *tabStops) 134 { 135 return NotImplemented; 136 } 137 138 Status SetTrimming(StringTrimming trimming) 139 { 140 return NotImplemented; 141 } 142 }; 143 144 #endif /* _GDIPLUSSTRINGFORMAT_H */ 145