Tag: cws_src680_dba24b
User: fs      
Date: 2007-08-27 13:35:30+0000
Modified:
   dba/dbaccess/source/ui/dlg/advancedsettings.cxx
   dba/dbaccess/source/ui/dlg/advancedsettings.hrc
   dba/dbaccess/source/ui/dlg/advancedsettings.hxx
   dba/dbaccess/source/ui/dlg/advancedsettings.src

Log:
 #i80930#

File Changes:

Directory: /dba/dbaccess/source/ui/dlg/
=======================================

File [changed]: advancedsettings.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/advancedsettings.cxx?r1=1.1.2.1&r2=1.1.2.2
Delta lines:  +6 -3
-------------------
--- advancedsettings.cxx        2007-08-27 10:43:57+0000        1.1.2.1
+++ advancedsettings.cxx        2007-08-27 13:35:28+0000        1.1.2.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: advancedsettings.cxx,v $
  *
- *  $Revision: 1.1.2.1 $
+ *  $Revision: 1.1.2.2 $
  *
- *  last change: $Author: fs $ $Date: 2007/08/27 10:43:57 $
+ *  last change: $Author: fs $ $Date: 2007/08/27 13:35:28 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -100,6 +100,7 @@
         ,m_pSchema( NULL )
         ,m_pIndexAppendix( NULL )
         ,m_pDosLineEnds( NULL )
+        ,m_pCheckRequiredFields( NULL )
         ,m_pBooleanComparisonModeLabel( NULL )
         ,m_pBooleanComparisonMode( NULL )
         ,m_aControlDependencies()
@@ -181,6 +182,7 @@
         DELETEZ( m_pSchema );
         DELETEZ( m_pIndexAppendix );
         DELETEZ( m_pDosLineEnds );
+        DELETEZ( m_pCheckRequiredFields );
         DELETEZ( m_pBooleanComparisonModeLabel );
         DELETEZ( m_pBooleanComparisonMode );
     }
@@ -203,6 +205,7 @@
             { &m_aSupported.bUseSchemaInSelect,         &m_pSchema,            
     CB_SCHEMA,              DSID_SCHEMA,             false },
             { &m_aSupported.bUseIndexDirectionKeyword,  &m_pIndexAppendix,     
     CB_IGNOREINDEXAPPENDIX, DSID_INDEXAPPENDIX,      false },
             { &m_aSupported.bUseDOSLineEnds,            &m_pDosLineEnds,       
     CB_DOSLINEENDS,         DSID_DOSLINEENDS,        false },
+            { &m_aSupported.bFormsCheckRequiredFields,  
&m_pCheckRequiredFields,    CB_CHECK_REQUIRED,      DSID_CHECK_REQUIRED_FIELDS, 
false },
             { NULL,                                     NULL,                  
     0,                      0 }
         };
 

File [changed]: advancedsettings.hrc
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/advancedsettings.hrc?r1=1.1.2.1&r2=1.1.2.2
Delta lines:  +5 -4
-------------------
--- advancedsettings.hrc        2007-08-27 10:43:57+0000        1.1.2.1
+++ advancedsettings.hrc        2007-08-27 13:35:28+0000        1.1.2.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: advancedsettings.hrc,v $
  *
- *  $Revision: 1.1.2.1 $
+ *  $Revision: 1.1.2.2 $
  *
- *  last change: $Author: fs $ $Date: 2007/08/27 10:43:57 $
+ *  last change: $Author: fs $ $Date: 2007/08/27 13:35:28 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -36,7 +36,7 @@
 #ifndef DBAUI_ADVANCEDSETTINGS_HRC
 #define DBAUI_ADVANCEDSETTINGS_HRC
 
-#define ADVANCED_CHECKBOX_OPTIONS    11
+#define ADVANCED_CHECKBOX_OPTIONS    12
 #define ADVANCED_LISTBOX_OPTIONS      1
 
 #define ADVANCED_PAGE_X                200
@@ -66,6 +66,7 @@
 #define CB_IGNOREINDEXAPPENDIX 10
 #define CB_DOSLINEENDS                 11
 #define CB_AS_BEFORE_CORR_NAME  12
+#define CB_CHECK_REQUIRED       13
 
 #define ET_AUTOINCREMENTVALUE   1
 #define ET_RETRIEVE_AUTO           2

File [changed]: advancedsettings.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/advancedsettings.hxx?r1=1.1.2.1&r2=1.1.2.2
Delta lines:  +4 -3
-------------------
--- advancedsettings.hxx        2007-08-27 10:43:57+0000        1.1.2.1
+++ advancedsettings.hxx        2007-08-27 13:35:28+0000        1.1.2.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: advancedsettings.hxx,v $
  *
- *  $Revision: 1.1.2.1 $
+ *  $Revision: 1.1.2.2 $
  *
- *  last change: $Author: fs $ $Date: 2007/08/27 10:43:57 $
+ *  last change: $Author: fs $ $Date: 2007/08/27 13:35:28 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -76,6 +76,7 @@
         CheckBox*           m_pSchema;
         CheckBox*           m_pIndexAppendix;
         CheckBox*           m_pDosLineEnds;
+        CheckBox*           m_pCheckRequiredFields;
 
         FixedText*          m_pBooleanComparisonModeLabel;
         ListBox*            m_pBooleanComparisonMode;

File [changed]: advancedsettings.src
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/advancedsettings.src?r1=1.1.2.1&r2=1.1.2.2
Delta lines:  +17 -4
--------------------
--- advancedsettings.src        2007-08-27 10:43:57+0000        1.1.2.1
+++ advancedsettings.src        2007-08-27 13:35:28+0000        1.1.2.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: advancedsettings.src,v $
  *
- *  $Revision: 1.1.2.1 $
+ *  $Revision: 1.1.2.2 $
  *
- *  last change: $Author: fs $ $Date: 2007/08/27 10:43:57 $
+ *  last change: $Author: fs $ $Date: 2007/08/27 13:35:28 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -183,6 +183,18 @@
 
 //-------------------------------------------------------------------------
 
+#define AUTO_CHECKREQUIRED(AUTO_Y)                                             
     \
+    CheckBox CB_CHECK_REQUIRED                                                 
     \
+    {                                                                          
     \
+        Pos     = MAP_APPFONT ( 6 , AUTO_Y ) ;                                 
     \
+        Size    = MAP_APPFONT ( ADVANCED_PAGE_X -12 , CHECKBOX_HEIGHT ) ;      
     \
+        TabStop = TRUE ;                                                       
     \
+        HelpId = HID_DSADMIN_CHECK_REQUIRED_FIELDS;                            
     \
+        Text [ en-US ] = "Form data input checks for required fields";         
   \
+    };
+
+//-------------------------------------------------------------------------
+
 #define AUTO_BOOLEANCOMPARISON(AUTO_Y)                                         
     \
     FixedText FT_BOOLEANCOMPARISON                                             
     \
     {                                                                          
     \
@@ -286,7 +298,8 @@
     AUTO_SCHEMA(                9*RELATED_CONTROLS + FIXEDTEXT_HEIGHT +  
8*CHECKBOX_HEIGHT + RELATED_CONTROLS )
     AUTO_IGNOREINDEXAPPENDIX(  10*RELATED_CONTROLS + FIXEDTEXT_HEIGHT +  
9*CHECKBOX_HEIGHT + RELATED_CONTROLS )
     AUTO_DOSLINEENDS(          11*RELATED_CONTROLS + FIXEDTEXT_HEIGHT + 
10*CHECKBOX_HEIGHT + RELATED_CONTROLS )
-    AUTO_BOOLEANCOMPARISON(    12*RELATED_CONTROLS + FIXEDTEXT_HEIGHT + 
11*CHECKBOX_HEIGHT + RELATED_CONTROLS + ( LISTBOX_HEIGHT - CHECKBOX_HEIGHT ) / 
2 )
+    AUTO_CHECKREQUIRED(        12*RELATED_CONTROLS + FIXEDTEXT_HEIGHT + 
11*CHECKBOX_HEIGHT + RELATED_CONTROLS )
+    AUTO_BOOLEANCOMPARISON(    13*RELATED_CONTROLS + FIXEDTEXT_HEIGHT + 
12*CHECKBOX_HEIGHT + RELATED_CONTROLS + ( LISTBOX_HEIGHT - CHECKBOX_HEIGHT ) / 
2 )
 };
 
 //-------------------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to