114 |
|
property DPB: IDPB read FDPB; |
115 |
|
public |
116 |
|
{Character Sets} |
117 |
+ |
function HasDefaultCharSet: boolean; |
118 |
+ |
function GetDefaultCharSetID: integer; |
119 |
|
function GetCharsetName(CharSetID: integer): AnsiString; |
120 |
|
function CharSetID2CodePage(CharSetID: integer; var CodePage: TSystemCodePage): boolean; |
121 |
|
function CodePage2CharSetID(CodePage: TSystemCodePage; var CharSetID: integer): boolean; |
123 |
|
function CharSetWidth(CharSetID: integer; var Width: integer): boolean; |
124 |
|
procedure RegisterCharSet(CharSetName: AnsiString; CodePage: TSystemCodePage; |
125 |
|
AllowReverseLookup:boolean; out CharSetID: integer); |
124 |
– |
property HasDefaultCharSet: boolean read FHasDefaultCharSet; |
126 |
|
property CharSetID: integer read FCharSetID; |
127 |
|
property CodePage: TSystemCodePage read FCodePage; |
128 |
|
end; |
478 |
|
Result := OpenBlob(Transaction,Field.GetBlobMetadata, Field.AsQuad,BPB); |
479 |
|
end; |
480 |
|
|
481 |
+ |
function TFBAttachment.HasDefaultCharSet: boolean; |
482 |
+ |
begin |
483 |
+ |
Result := FHasDefaultCharSet |
484 |
+ |
end; |
485 |
+ |
|
486 |
+ |
function TFBAttachment.GetDefaultCharSetID: integer; |
487 |
+ |
begin |
488 |
+ |
Result := FCharsetID; |
489 |
+ |
end; |
490 |
+ |
|
491 |
|
function TFBAttachment.GetCharsetName(CharSetID: integer): AnsiString; |
492 |
|
var i: integer; |
493 |
|
begin |