LibreOffice Module sw (master)  1
Classes | Functions | Variables
dbinsdlg.cxx File Reference
#include <dbinsdlg.hxx>
#include <float.h>
#include <hintids.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/sdbc/XDataSource.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
#include <com/sun/star/sdbcx/XRowLocate.hpp>
#include <com/sun/star/sdb/XQueriesSupplier.hpp>
#include <com/sun/star/sdb/CommandType.hpp>
#include <com/sun/star/sdb/XColumn.hpp>
#include <com/sun/star/sdb/XDatabaseAccess.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/sdbc/ResultSetType.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/util/NumberFormatter.hpp>
#include <com/sun/star/util/XNumberFormatTypes.hpp>
#include <com/sun/star/sdbc/XRowSet.hpp>
#include <comphelper/processfactory.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/types.hxx>
#include <sal/log.hxx>
#include <editeng/langitem.hxx>
#include <svl/numuno.hxx>
#include <svl/stritem.hxx>
#include <tools/diagnose_ex.h>
#include <vcl/svapp.hxx>
#include <vcl/mnemonic.hxx>
#include <svl/style.hxx>
#include <svl/zformat.hxx>
#include <sfx2/htmlmode.hxx>
#include <editeng/unolingu.hxx>
#include <sfx2/app.hxx>
#include <svl/itemset.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/boxitem.hxx>
#include <svx/rulritem.hxx>
#include <svx/svxids.hrc>
#include <unotools/collatorwrapper.hxx>
#include <tabledlg.hxx>
#include <fmtclds.hxx>
#include <tabcol.hxx>
#include <uiitems.hxx>
#include <viewopt.hxx>
#include <uitool.hxx>
#include <wrtsh.hxx>
#include <wview.hxx>
#include <docsh.hxx>
#include <dbmgr.hxx>
#include <tblafmt.hxx>
#include <cellatr.hxx>
#include <swtable.hxx>
#include <swtablerep.hxx>
#include <dbfld.hxx>
#include <fmtcol.hxx>
#include <section.hxx>
#include <swwait.hxx>
#include <modcfg.hxx>
#include <swmodule.hxx>
#include <poolfmt.hxx>
#include <connectivity/dbtools.hxx>
#include <dbui.hrc>
#include <cmdid.h>
#include <SwStyleNameMapper.hxx>
#include <tabsh.hxx>
#include <swabstdlg.hxx>
#include <strings.hrc>
#include <unomid.h>
#include <IDocumentMarkAccess.hxx>
#include <o3tl/any.hxx>
#include <memory>
#include <swuiexp.hxx>
Include dependency graph for dbinsdlg.cxx:

Go to the source code of this file.

Classes

struct  DB_Column
 
struct  DB_ColumnConfigData
 

Functions

 IMPL_LINK (SwInsertDBColAutoPilot, PageHdl, weld::Button &, rButton, void)
 
 IMPL_LINK (SwInsertDBColAutoPilot, DBFormatHdl, weld::Button &, rButton, void)
 
 IMPL_LINK (SwInsertDBColAutoPilot, TableToFromHdl, weld::Button &, rButton, void)
 
 IMPL_LINK (SwInsertDBColAutoPilot, DblClickHdl, weld::TreeView &, rBox, void)
 
 IMPL_LINK_NOARG (SwInsertDBColAutoPilot, TableFormatHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwInsertDBColAutoPilot, AutoFormatHdl, weld::Button &, void)
 
 IMPL_LINK (SwInsertDBColAutoPilot, TVSelectHdl, weld::TreeView &, rBox, void)
 
 IMPL_LINK_NOARG (SwInsertDBColAutoPilot, CBSelectHdl, weld::ComboBox &, void)
 
 IMPL_LINK (SwInsertDBColAutoPilot, HeaderHdl, weld::Button &, rButton, void)
 
static void lcl_InsTextInArr (const OUString &rText, DB_Columns &rColArr)
 
static Sequence< OUString > lcl_createSourceNames (const OUString &rNodeName)
 
static Sequence< OUString > lcl_CreateSubNames (const OUString &rSubNodeName)
 
static OUString lcl_CreateUniqueName (const Sequence< OUString > &aNames)
 

Variables

const char cDBFieldStart = '<'
 
const char cDBFieldEnd = '>'
 

Function Documentation

IMPL_LINK ( SwInsertDBColAutoPilot  ,
PageHdl  ,
weld::Button ,
rButton  ,
void   
)

Definition at line 408 of file dbinsdlg.cxx.

References MnemonicGenerator::EraseAllMnemonicChars().

IMPL_LINK ( SwInsertDBColAutoPilot  ,
DBFormatHdl  ,
weld::Button ,
rButton  ,
void   
)
IMPL_LINK ( SwInsertDBColAutoPilot  ,
TableToFromHdl  ,
weld::Button ,
rButton  ,
void   
)

Definition at line 455 of file dbinsdlg.cxx.

References aStr, cDBFieldEnd, cDBFieldStart, and nPos.

IMPL_LINK ( SwInsertDBColAutoPilot  ,
DblClickHdl  ,
weld::TreeView ,
rBox  ,
void   
)

Definition at line 608 of file dbinsdlg.cxx.

IMPL_LINK ( SwInsertDBColAutoPilot  ,
TVSelectHdl  ,
weld::TreeView ,
rBox  ,
void   
)

Definition at line 748 of file dbinsdlg.cxx.

References SwInsDBColumn::bHasFormat, and weld::TreeView::get_selected_text().

IMPL_LINK ( SwInsertDBColAutoPilot  ,
HeaderHdl  ,
weld::Button ,
rButton  ,
void   
)

Definition at line 814 of file dbinsdlg.cxx.

IMPL_LINK_NOARG ( SwInsertDBColAutoPilot  ,
TableFormatHdl  ,
weld::Button ,
void   
)
IMPL_LINK_NOARG ( SwInsertDBColAutoPilot  ,
AutoFormatHdl  ,
weld::Button ,
void   
)
IMPL_LINK_NOARG ( SwInsertDBColAutoPilot  ,
CBSelectHdl  ,
weld::ComboBox ,
void   
)
static Sequence<OUString> lcl_createSourceNames ( const OUString &  rNodeName)
static
static Sequence<OUString> lcl_CreateSubNames ( const OUString &  rSubNodeName)
static
static OUString lcl_CreateUniqueName ( const Sequence< OUString > &  aNames)
static

Definition at line 1468 of file dbinsdlg.cxx.

References comphelper::findValue().

Referenced by SwInsertDBColAutoPilot::ImplCommit().

static void lcl_InsTextInArr ( const OUString &  rText,
DB_Columns rColArr 
)
static

Definition at line 825 of file dbinsdlg.cxx.

Referenced by SwInsertDBColAutoPilot::SplitTextToColArr().

Variable Documentation

const char cDBFieldEnd = '>'

Definition at line 112 of file dbinsdlg.cxx.

Referenced by IMPL_LINK(), and SwInsertDBColAutoPilot::SplitTextToColArr().

const char cDBFieldStart = '<'

Definition at line 111 of file dbinsdlg.cxx.

Referenced by IMPL_LINK(), and SwInsertDBColAutoPilot::SplitTextToColArr().