17 if( !field.theContent.template IsType<void>() && field.theContent.template IsType<
TString<TChar>>() )
18 theContent= field.theContent.template Unbox<TString<TChar>>();
21 noneStringArgBuf << field.theContent;
22 theContent= noneStringArgBuf;
25 integer padSize= field.fieldWidth
30 target.template _ <NC>( theContent );
31 if (padSize > 0 ) target.template InsertChars<NC>( field.padChar, padSize );
38 target.template InsertChars<NC>( field.padChar, padSize );
39 target.template Append<NC>( theContent );
44 integer leftPadding= padSize / 2;
46 target.template InsertChars<NC> ( field.padChar, leftPadding );
47 target.template Append<NC> ( theContent );
48 if( padSize > leftPadding ) target.template InsertChars<NC> ( field.padChar, padSize - leftPadding );