Tag: cws_src680_dba24c User: fs Date: 2007-09-12 09:06:05+0000 Modified: dba/dbaccess/source/ui/inc/querycontroller.hxx
Log: #i77492# when designing an independent SQL command, also allow for direct SQL, and expose this setting as property EscapeProcessing File Changes: Directory: /dba/dbaccess/source/ui/inc/ ======================================= File [changed]: querycontroller.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/querycontroller.hxx?r1=1.36.40.1&r2=1.36.40.2 Delta lines: +9 -7 ------------------- --- querycontroller.hxx 2007-09-05 07:27:02+0000 1.36.40.1 +++ querycontroller.hxx 2007-09-12 09:06:02+0000 1.36.40.2 @@ -4,9 +4,9 @@ * * $RCSfile: querycontroller.hxx,v $ * - * $Revision: 1.36.40.1 $ + * $Revision: 1.36.40.2 $ * - * last change: $Author: fs $ $Date: 2007/09/05 07:27:02 $ + * last change: $Author: fs $ $Date: 2007/09/12 09:06:02 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -119,7 +119,7 @@ ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSQLQueryComposer > m_xComposer; - ::rtl::OUString m_sStatement; // contains the sql statement + ::rtl::OUString m_sStatement; // contains the current sql statement ::rtl::OUString m_sUpdateCatalogName; // catalog for update data ::rtl::OUString m_sUpdateSchemaName; // schema for update data ::rtl::OUString m_sUpdateTableName; // table for update data @@ -127,12 +127,12 @@ sal_Int32 m_nVisibleRows; // which rows the selection browse should show sal_Int32 m_nSplitPos; // the position of the splitter - sal_Bool m_bDesign; // if design is true then we show the complete design otherwise only the text format + sal_Bool m_bGraphicalDesign; // are we in the graphical design mode (TRUE) or in the text design (FALSE)? sal_Bool m_bDistinct; // true when you want "select distinct" otherwise false sal_Bool m_bViewAlias; // show the alias row in the design view sal_Bool m_bViewTable; // show the table row in the design view sal_Bool m_bViewFunction; // show the function row in the design view - sal_Bool m_bEsacpeProcessing;// is true when we shouldn't parse the statement + sal_Bool m_bEscapeProcessing;// is true when we shouldn't parse the statement sal_Bool m_bCreateView; // set to true when we should create a view otherwise we create a normal query sal_Bool m_bIndependent; // are we creating an "independent" SQL command (which does *not* belong to a data source)? @@ -175,8 +175,8 @@ virtual void setModified(sal_Bool _bModified=sal_True); // should the statement be parsed by our own sql parser - sal_Bool isEsacpeProcessing() const { return m_bEsacpeProcessing; } - sal_Bool isDesignMode() const { return m_bDesign; } + sal_Bool isEsacpeProcessing() const { return m_bEscapeProcessing; } + sal_Bool isGraphicalDesign() const { return m_bGraphicalDesign; } sal_Bool isDistinct() const { return m_bDistinct; } ::rtl::OUString getStatement() const { return m_sStatement; } @@ -232,6 +232,8 @@ /// sets m_sStatement, and notifies our respective property change listeners void setStatement_fireEvent( const ::rtl::OUString& _rNewStatement, bool _bFireStatementChange = true ); + /// sets the m_bEscapeProcessing member, and notifies our respective property change listeners + void setEscapeProcessing_fireEvent( const sal_Bool _bEscapeProcessing ); // OJoinController overridables virtual bool allowViews() const; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
