23#include <wv2/ustring.h>
43 inline TQConstString string( const wvWare::UString& str ) {
45 return TQConstString( reinterpret_cast<const TQChar* >( str.data() ), str.length() );
49 void encodeText(TQString &text);
52 TQColor color( int number, int defaultcolor, bool defaultWhite = false);
55 int fillPatternStyle( int ipat );
58 int ditheringToGray( int ipat, bool* ok );
61 TQString alignment( int jc );
64 TQString lineSpacing( const wvWare::Word97::LSPD& lspd );
67 int numberFormatCode( int nfc );
72 void setColorAttributes( TQDomElement& element, int ico, const TQString& prefix = TQString(), bool defaultWhite = false );
77 void setBorderAttributes( TQDomElement& borderElement, const wvWare::Word97::BRC& brc, const TQString& prefix = TQString() );
80 int headerTypeToFrameInfo( unsigned char type );
83 TQString headerTypeToFramesetName( unsigned char type );
86 int headerMaskToHType( unsigned char mask );
89 int headerMaskToFType( unsigned char mask );
92 int fldToFieldType( const wvWare::FLD* fld );
94 bool isHeader( unsigned char type );
|