summaryrefslogtreecommitdiff
path: root/transex3
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-08-04 09:24:46 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-08-04 09:24:46 +0000
commit71131b77f696febf3e88d3c8318c34f2bf115a6f (patch)
treeef1ee6540cb247ba2d2b6df3d1a422642115b443 /transex3
parent04312873f19cf385efa02b3637d5515ae90c4a8d (diff)
INTEGRATION: CWS gh12b (1.4.12); FILE MERGED
2006/08/03 07:46:54 gh 1.4.12.1: #137575# #i66349#no KIDS and limited length for GID/LID
Diffstat (limited to 'transex3')
-rw-r--r--transex3/source/gsicheck.hxx15
1 files changed, 10 insertions, 5 deletions
diff --git a/transex3/source/gsicheck.hxx b/transex3/source/gsicheck.hxx
index 1f4a9bbccfaf..9b8c5ee9baa0 100644
--- a/transex3/source/gsicheck.hxx
+++ b/transex3/source/gsicheck.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: gsicheck.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 17:22:08 $
+ * last change: $Author: ihi $ $Date: 2006-08-04 10:24:46 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -75,6 +75,9 @@ public:
ByteString const GetTitle() const { return aTitle; }
void SetUText( String &aNew ) { aText = ByteString( aNew, RTL_TEXTENCODING_UTF8 ); ReassembleLine(); }
+ void SetText( ByteString &aNew ) { aText = aNew; ReassembleLine(); }
+ void SetQuickHelpText( ByteString &aNew ) { aQuickHelpText = aNew; ReassembleLine(); }
+ void SetTitle( ByteString &aNew ) { aTitle = aNew; ReassembleLine(); }
ParserMessageList* GetMessageList() { return &aMessages; };
BOOL HasMessages(){ return ( aMessages.Count() > 0 ); };
@@ -104,13 +107,15 @@ private:
BOOL bCheckSourceLang;
BOOL bCheckTranslationLang;
BOOL bReference;
+ BOOL bAllowKeyIDs;
+
BOOL bHasBlockError;
- BOOL IsUTF8( const ByteString &aTestee, USHORT &nErrorPos, ByteString &aErrorMsg ) const;
- BOOL TestUTF8( GSILine* pTestee );
+ BOOL IsUTF8( const ByteString &aTestee, BOOL bFixTags, USHORT &nErrorPos, ByteString &aErrorMsg, BOOL &bHasBeenFixed, ByteString &aFixed ) const;
+ BOOL TestUTF8( GSILine* pTestee, BOOL bFixTags );
public:
- GSIBlock( BOOL PbPrintContext, BOOL bSource, BOOL bTrans, BOOL bRef );
+ GSIBlock( BOOL PbPrintContext, BOOL bSource, BOOL bTrans, BOOL bRef, BOOL bAllowKID );
~GSIBlock();
void PrintMessage( ByteString aType, ByteString aMsg, ByteString aPrefix, ByteString aContext, ULONG nLine, ByteString aUniqueId = ByteString() );
void PrintError( ByteString aMsg, ByteString aPrefix, ByteString aContext, ULONG nLine, ByteString aUniqueId = ByteString() );