|
LibreOffice Module sw (master) 1
|
#include <dbinsdlg.hxx>#include <float.h>#include <hintids.hxx>#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/XColumnsSupplier.hpp>#include <com/sun/star/sdbcx/XRowLocate.hpp>#include <com/sun/star/sdb/XQueriesSupplier.hpp>#include <com/sun/star/sdb/XColumn.hpp>#include <com/sun/star/sdbc/DataType.hpp>#include <com/sun/star/beans/XPropertySet.hpp>#include <com/sun/star/util/NumberFormatter.hpp>#include <com/sun/star/util/XNumberFormatTypes.hpp>#include <comphelper/processfactory.hxx>#include <comphelper/sequence.hxx>#include <comphelper/types.hxx>#include <svl/numuno.hxx>#include <svl/numformat.hxx>#include <svl/stritem.hxx>#include <comphelper/diagnose_ex.hxx>#include <utility>#include <vcl/mnemonic.hxx>#include <svl/style.hxx>#include <svl/zformat.hxx>#include <sfx2/htmlmode.hxx>#include <svl/itemset.hxx>#include <editeng/brushitem.hxx>#include <editeng/boxitem.hxx>#include <unotools/collatorwrapper.hxx>#include <fmtclds.hxx>#include <tabcol.hxx>#include <uiitems.hxx>#include <viewopt.hxx>#include <wrtsh.hxx>#include <view.hxx>#include <docsh.hxx>#include <dbmgr.hxx>#include <tblafmt.hxx>#include <cellatr.hxx>#include <swtablerep.hxx>#include <dbfld.hxx>#include <fmtcol.hxx>#include <swwait.hxx>#include <modcfg.hxx>#include <swmodule.hxx>#include <poolfmt.hxx>#include <connectivity/dbtools.hxx>#include <cmdid.h>#include <SwStyleNameMapper.hxx>#include <tabsh.hxx>#include <swabstdlg.hxx>#include <strings.hrc>#include <IDocumentMarkAccess.hxx>#include <o3tl/any.hxx>#include <memory>#include <string_view>#include <swuiexp.hxx>Go to the source code of this file.
Classes | |
| struct | DB_Column |
Functions | |
| IMPL_LINK (SwInsertDBColAutoPilot, PageHdl, weld::Toggleable &, rButton, void) | |
| IMPL_LINK (SwInsertDBColAutoPilot, DBFormatHdl, weld::Toggleable &, rButton, void) | |
| IMPL_LINK (SwInsertDBColAutoPilot, TableToFromHdl, weld::Button &, rButton, void) | |
| IMPL_LINK (SwInsertDBColAutoPilot, DblClickHdl, weld::TreeView &, rBox, bool) | |
| 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_NOARG (SwInsertDBColAutoPilot, HeaderHdl, weld::Toggleable &, void) | |
| static void | lcl_InsTextInArr (std::u16string_view aText, DB_Columns &rColArr) |
| static Sequence< OUString > | lcl_createSourceNames (std::u16string_view rNodeName) |
| static Sequence< OUString > | lcl_CreateSubNames (std::u16string_view rSubNodeName) |
| static OUString | lcl_CreateUniqueName (const Sequence< OUString > &aNames) |
Variables | |
| const char | cDBFieldStart = '<' |
| const char | cDBFieldEnd = '>' |
| IMPL_LINK | ( | SwInsertDBColAutoPilot | , |
| DBFormatHdl | , | ||
| weld::Toggleable & | , | ||
| rButton | , | ||
| void | |||
| ) |
Definition at line 427 of file dbinsdlg.cxx.
References weld::TreeView::get_selected_text().
| IMPL_LINK | ( | SwInsertDBColAutoPilot | , |
| DblClickHdl | , | ||
| weld::TreeView & | , | ||
| rBox | , | ||
| bool | |||
| ) |
Definition at line 599 of file dbinsdlg.cxx.
| IMPL_LINK | ( | SwInsertDBColAutoPilot | , |
| PageHdl | , | ||
| weld::Toggleable & | , | ||
| rButton | , | ||
| void | |||
| ) |
Definition at line 392 of file dbinsdlg.cxx.
References MnemonicGenerator::EraseAllMnemonicChars(), weld::CheckButton::get_label(), and weld::CheckButton::set_label().
| IMPL_LINK | ( | SwInsertDBColAutoPilot | , |
| TableToFromHdl | , | ||
| weld::Button & | , | ||
| rButton | , | ||
| void | |||
| ) |
Definition at line 446 of file dbinsdlg.cxx.
References aStr, cDBFieldEnd, cDBFieldStart, min(), n, nPos, SwInsDBColumn::sColumn, and u.
| IMPL_LINK | ( | SwInsertDBColAutoPilot | , |
| TVSelectHdl | , | ||
| weld::TreeView & | , | ||
| rBox | , | ||
| void | |||
| ) |
Definition at line 741 of file dbinsdlg.cxx.
References weld::TreeView::get_selected_text(), and SwInsDBColumn::sColumn.
| IMPL_LINK_NOARG | ( | SwInsertDBColAutoPilot | , |
| AutoFormatHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 732 of file dbinsdlg.cxx.
References SwAbstractDialogFactory::CreateSwAutoFormatDlg(), swui::GetFactory(), m_xDialog, and RET_OK.
| IMPL_LINK_NOARG | ( | SwInsertDBColAutoPilot | , |
| CBSelectHdl | , | ||
| weld::ComboBox & | , | ||
| void | |||
| ) |
Definition at line 789 of file dbinsdlg.cxx.
References weld::TreeView::get_selected_text(), and SwInsDBColumn::sColumn.
| IMPL_LINK_NOARG | ( | SwInsertDBColAutoPilot | , |
| HeaderHdl | , | ||
| weld::Toggleable & | , | ||
| void | |||
| ) |
Definition at line 807 of file dbinsdlg.cxx.
| IMPL_LINK_NOARG | ( | SwInsertDBColAutoPilot | , |
| TableFormatHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 615 of file dbinsdlg.cxx.
References SwFormatCol::CalcColWidth(), SwAbstractDialogFactory::CreateSwTableTabDlg(), FLY_ANY, FlyEmbeddedPrt, FN_PARAM_TABLE_HEADLINE, FN_PARAM_TABLE_NAME, FN_TABLE_REP, SwFEShell::GetAnyCurRect(), SwViewShell::GetAttrPool(), SwFormat::GetCol(), SwFormatCol::GetColumns(), SwFEShell::GetCurColNum(), swui::GetFactory(), SwFEShell::GetFrameType(), GetHtmlMode(), SwColumn::GetLeft(), SwColumn::GetRight(), SwViewOption::GetTableDest(), SwEditShell::GetUniqueTableName(), SwViewShell::GetViewOptions(), i, SwTabCols::Insert(), m_xDialog, MIN_BORDER_DIST, n, SwPostItHelper::NONE, PagePrt, SwGetCurColNumPara::pFrameFormat, SwGetCurColNumPara::pPrtRect, RES_BACKGROUND(), RET_OK, SvxBoxInfoItem::SetDefDist(), SvxBoxInfoItem::SetDist(), SvxBoxInfoItem::SetMinDist(), SwTabCols::SetRight(), SwTabCols::SetRightMax(), SvxBoxInfoItem::SetTable(), SvxBoxInfoItem::SetValid(), SwuiGetUITableAttrRange(), Width, and SwRect::Width().
|
static |
Definition at line 1426 of file dbinsdlg.cxx.
Referenced by SwInsertDBColAutoPilot::ImplCommit(), and SwInsertDBColAutoPilot::Load().
|
static |
Definition at line 1444 of file dbinsdlg.cxx.
Referenced by SwInsertDBColAutoPilot::ImplCommit(), and SwInsertDBColAutoPilot::Load().
|
static |
Definition at line 1457 of file dbinsdlg.cxx.
References comphelper::findValue().
Referenced by SwInsertDBColAutoPilot::ImplCommit().
|
static |
Definition at line 814 of file dbinsdlg.cxx.
Referenced by SwInsertDBColAutoPilot::SplitTextToColArr().
| const char cDBFieldEnd = '>' |
Definition at line 96 of file dbinsdlg.cxx.
Referenced by IMPL_LINK(), and SwInsertDBColAutoPilot::SplitTextToColArr().
| const char cDBFieldStart = '<' |
Definition at line 95 of file dbinsdlg.cxx.
Referenced by IMPL_LINK(), and SwInsertDBColAutoPilot::SplitTextToColArr().