LibreOffice Module svx (master) 1
|
Classes | |
class | CellCursor |
struct | CellPos |
class | CellRange |
class | CellUndo |
struct | EdgeInfo |
class | FastPropertySet |
class | FastPropertySetInfo |
class | InsertColUndo |
class | InsertRowUndo |
class | RangeIterator |
class | RemoveColUndo |
class | RemoveRowUndo |
class | SdrTableObj |
class | SdrTableObjImpl |
class | SdrTableRtfExporter |
class | SdrTableRTFParser |
class | SvxTableController |
class | TableBorderHdl |
class | TableColumn |
class | TableColumns |
class | TableColumnUndo |
struct | TableEdge |
class | TableEdgeHdl |
class | TableLayouter |
class | TableModel |
class | TableModelNotifyGuard |
class | TableRow |
class | TableRows |
class | TableRowUndo |
struct | TableStyleSettings |
TableStyleSettings. More... | |
class | TableStyleUndo |
Typedefs | |
typedef rtl::Reference< Cell > | CellRef |
typedef rtl::Reference< TableModel > | TableModelRef |
typedef rtl::Reference< TableRow > | TableRowRef |
typedef rtl::Reference< TableColumn > | TableColumnRef |
typedef std::vector< CellRef > | CellVector |
typedef std::vector< TableRowRef > | RowVector |
typedef std::vector< TableColumnRef > | ColumnVector |
typedef ::cppu::WeakComponentImplHelper< css::table::XTable, css::util::XBroadcaster > | TableModelBase |
typedef ::cppu::ImplInheritanceHelper< CellRange, css::table::XCellCursor, css::table::XMergeableCellRange > | CellCursorBase |
typedef std::vector< css::beans::Property > | PropertyVector |
typedef std::unordered_map< OUString, ::sal_uInt32 > | PropertyMap |
typedef ::cppu::AggImplInheritanceHelper2< FastPropertySet, css::table::XCellRange, css::container::XNamed > | TableColumnBase |
typedef std::map< OUString, sal_Int32 > | CellStyleNameMap |
typedef ::comphelper::WeakComponentImplHelper< XStyle, XNameReplace, XServiceInfo, XIndexReplace, XModifiable, XModifyListener, XPropertySet > | TableDesignStyleBase |
typedef std::vector< Reference< XStyle > > | TableDesignStyleVector |
typedef std::vector< CellRef > | MergeableCellVector |
typedef std::vector< MergeableCellVector > | MergeVector |
typedef std::vector< editeng::SvxBorderLine * > | BorderLineVector |
typedef std::vector< BorderLineVector > | BorderLineMap |
typedef ::cppu::AggImplInheritanceHelper2< FastPropertySet, css::table::XCellRange, css::container::XNamed > | TableRowBase |
typedef std::vector< std::shared_ptr< RTFCellDefault > > | RTFCellDefaultVector |
typedef std::shared_ptr< RTFCellInfo > | RTFCellInfoPtr |
typedef std::vector< RTFCellInfoPtr > | RTFColumnVector |
typedef std::shared_ptr< RTFColumnVector > | RTFColumnVectorPtr |
Enumerations | |
enum | TableEdgeState { Empty , Invisible , Visible } |
enum class | TableHitKind { NONE , Cell , CellTextArea , HorizontalBorder , VerticallBorder } |
SdrTableHitKind. More... | |
Functions | |
class | SAL_LOPLUGIN_ANNOTATE ("crosscast") ICellRange |
base class for each object implementing an XCellRange More... | |
rtl::Reference< sdr::SelectionController > | CreateTableController (SdrView &rView, const SdrTableObj &rObj, const rtl::Reference< sdr::SelectionController > &xRefController) |
static void | ImplSetLinePreserveColor (SvxBoxItem &rNewFrame, const SvxBorderLine *pNew, SvxBoxItemLine nLine) |
static void | ImplApplyBoxItem (CellPosFlag nCellPosFlags, const SvxBoxItem *pBoxItem, const SvxBoxInfoItem *pBoxInfoItem, SvxBoxItem &rNewFrame) |
static void | ImplSetLineColor (SvxBoxItem &rNewFrame, SvxBoxItemLine nLine, const Color &rColor) |
static void | ImplApplyLineColorItem (CellPosFlag nCellPosFlags, const SvxColorItem *pLineColorItem, SvxBoxItem &rNewFrame) |
static void | ImplApplyBorderLineItem (CellPosFlag nCellPosFlags, const SvxBorderLine *pBorderLineItem, SvxBoxItem &rNewFrame) |
IMPL_LINK_NOARG (SvxTableController, UpdateHdl, void *, void) | |
Reference< XNameAccess > | CreateTableDesignFamily () |
constexpr OUStringLiteral | gsSize (u"Size") |
static bool | checkMergeOrigin (const TableModelRef &xTable, sal_Int32 nMergedX, sal_Int32 nMergedY, sal_Int32 nCellX, sal_Int32 nCellY, bool &bRunning) |
bool | findMergeOrigin (const TableModelRef &xTable, sal_Int32 nMergedX, sal_Int32 nMergedY, sal_Int32 &rOriginX, sal_Int32 &rOriginY) |
returns true if the cell(nMergedX,nMergedY) is merged with other cells. More... | |
template<class Vec , class Iter > | |
static void | remove_range (Vec &rVector, sal_Int32 nIndex, sal_Int32 nCount) |
template<class Vec , class Iter , class Entry > | |
static sal_Int32 | insert_range (Vec &rVector, sal_Int32 nIndex, sal_Int32 nCount) |
inserts a range into a vector More... | |
void | ExportAsRTF (SvStream &rStrm, SdrTableObj &rObj) |
Hack for clipboard with calc and writer, export and import table content as rtf table. More... | |
IMPL_LINK (SdrTableRTFParser, RTFImportHdl, RtfImportInfo &, rInfo, void) | |
void | ImportAsRTF (SvStream &rStream, SdrTableObj &rObj) |
static void | Dispose (RowVector &rRows) |
static void | Dispose (ColumnVector &rCols) |
static void | Dispose (CellVector &rCells) |
Variables | |
const sal_Int32 | Property_Width = 0 |
const sal_Int32 | Property_OptimalWidth = 1 |
const sal_Int32 | Property_IsVisible = 2 |
const sal_Int32 | Property_IsStartOfNewPage = 3 |
static SvxBorderLine | gEmptyBorder |
const sal_Int32 | Property_Height = 0 |
const sal_Int32 | Property_OptimalHeight = 1 |
const sal_Int32 | first_row_style = 0 |
const sal_Int32 | last_row_style = 1 |
const sal_Int32 | first_column_style = 2 |
const sal_Int32 | last_column_style = 3 |
const sal_Int32 | even_rows_style = 4 |
const sal_Int32 | odd_rows_style = 5 |
const sal_Int32 | even_columns_style = 6 |
const sal_Int32 | odd_columns_style = 7 |
const sal_Int32 | body_style = 8 |
const sal_Int32 | background_style = 9 |
const sal_Int32 | style_count = 10 |
typedef std::vector< BorderLineVector > sdr::table::BorderLineMap |
Definition at line 47 of file tablelayouter.hxx.
typedef std::vector< editeng::SvxBorderLine* > sdr::table::BorderLineVector |
Definition at line 46 of file tablelayouter.hxx.
typedef ::cppu::ImplInheritanceHelper< CellRange, css::table::XCellCursor, css::table::XMergeableCellRange > sdr::table::CellCursorBase |
Definition at line 33 of file cellcursor.hxx.
typedef rtl::Reference< Cell > sdr::table::CellRef |
Definition at line 34 of file celltypes.hxx.
typedef std::map< OUString, sal_Int32 > sdr::table::CellStyleNameMap |
Definition at line 61 of file tabledesign.cxx.
typedef std::vector<CellRef> sdr::table::CellVector |
Definition at line 38 of file celltypes.hxx.
typedef std::vector<TableColumnRef> sdr::table::ColumnVector |
Definition at line 40 of file celltypes.hxx.
typedef std::vector< CellRef > sdr::table::MergeableCellVector |
Definition at line 572 of file tablelayouter.cxx.
typedef std::vector< MergeableCellVector > sdr::table::MergeVector |
Definition at line 573 of file tablelayouter.cxx.
typedef std::unordered_map< OUString, ::sal_uInt32 > sdr::table::PropertyMap |
Definition at line 36 of file propertyset.hxx.
typedef std::vector< css::beans::Property > sdr::table::PropertyVector |
Definition at line 35 of file propertyset.hxx.
typedef std::vector<TableRowRef> sdr::table::RowVector |
Definition at line 39 of file celltypes.hxx.
typedef std::vector< std::shared_ptr< RTFCellDefault > > sdr::table::RTFCellDefaultVector |
Definition at line 67 of file tablertfimporter.cxx.
typedef std::shared_ptr< RTFCellInfo > sdr::table::RTFCellInfoPtr |
Definition at line 85 of file tablertfimporter.cxx.
typedef std::vector< RTFCellInfoPtr > sdr::table::RTFColumnVector |
Definition at line 86 of file tablertfimporter.cxx.
typedef std::shared_ptr< RTFColumnVector > sdr::table::RTFColumnVectorPtr |
Definition at line 88 of file tablertfimporter.cxx.
typedef ::cppu::AggImplInheritanceHelper2< FastPropertySet, css::table::XCellRange, css::container::XNamed > sdr::table::TableColumnBase |
Definition at line 33 of file tablecolumn.hxx.
Definition at line 37 of file celltypes.hxx.
typedef ::comphelper::WeakComponentImplHelper< XStyle, XNameReplace, XServiceInfo, XIndexReplace, XModifiable, XModifyListener, XPropertySet > sdr::table::TableDesignStyleBase |
Definition at line 63 of file tabledesign.cxx.
typedef std::vector< Reference< XStyle > > sdr::table::TableDesignStyleVector |
Definition at line 143 of file tabledesign.cxx.
typedef ::cppu::WeakComponentImplHelper< css::table::XTable, css::util::XBroadcaster > sdr::table::TableModelBase |
Definition at line 51 of file tablemodel.hxx.
Definition at line 35 of file celltypes.hxx.
typedef ::cppu::AggImplInheritanceHelper2< FastPropertySet, css::table::XCellRange, css::container::XNamed > sdr::table::TableRowBase |
Definition at line 33 of file tablerow.hxx.
Definition at line 36 of file celltypes.hxx.
Enumerator | |
---|---|
Empty | |
Invisible | |
Visible |
Definition at line 28 of file tablehandles.hxx.
|
strong |
SdrTableHitKind.
Enumerator | |
---|---|
NONE | |
Cell | |
CellTextArea | |
HorizontalBorder | |
VerticallBorder |
Definition at line 50 of file svdotable.hxx.
|
static |
Definition at line 366 of file tablelayouter.cxx.
Referenced by findMergeOrigin().
rtl::Reference< sdr::SelectionController > sdr::table::CreateTableController | ( | SdrView & | rView, |
const SdrTableObj & | rObj, | ||
const rtl::Reference< sdr::SelectionController > & | xRefController | ||
) |
Definition at line 152 of file tablecontroller.cxx.
References sdr::table::SvxTableController::create().
Referenced by SdrView::MarkAll(), and SdrObjEditView::MarkListHasChanged().
SVX_DLLPUBLIC css::uno::Reference< css::container::XNameAccess > sdr::table::CreateTableDesignFamily | ( | ) |
Definition at line 831 of file tabledesign.cxx.
|
static |
Definition at line 245 of file tableundo.cxx.
|
static |
Definition at line 238 of file tableundo.cxx.
|
static |
Definition at line 151 of file tableundo.cxx.
Referenced by sdr::table::InsertColUndo::~InsertColUndo(), sdr::table::InsertRowUndo::~InsertRowUndo(), sdr::table::RemoveColUndo::~RemoveColUndo(), and sdr::table::RemoveRowUndo::~RemoveRowUndo().
SVX_DLLPUBLIC void sdr::table::ExportAsRTF | ( | SvStream & | rStrm, |
SdrTableObj & | rObj | ||
) |
Hack for clipboard with calc and writer, export and import table content as rtf table.
Definition at line 65 of file tablertfexporter.cxx.
References rStrm, and sdr::table::SdrTableRtfExporter::Write().
bool sdr::table::findMergeOrigin | ( | const TableModelRef & | xTable, |
sal_Int32 | nMergedX, | ||
sal_Int32 | nMergedY, | ||
sal_Int32 & | rOriginX, | ||
sal_Int32 & | rOriginY | ||
) |
returns true if the cell(nMergedX,nMergedY) is merged with other cells.
returns true if the cell(nMergedCol,nMergedRow) is merged with other cells.
the returned cell( rOriginX, rOriginY ) is the origin( top left cell ) of the merge.
the returned cell( rOriginCol, rOriginRow ) is the origin( top left cell ) of the merge.
Definition at line 384 of file tablelayouter.cxx.
References checkMergeOrigin(), Exception, i, and TOOLS_WARN_EXCEPTION.
Referenced by sdr::table::SdrTableObj::CheckTableHit(), sdr::table::CellCursor::GetMergedSelection(), sdr::table::SdrTableObj::getNextCell(), sdr::table::SdrTableObj::getNextRow(), sdr::table::SdrTableObj::getPreviousCell(), sdr::table::SdrTableObj::getPreviousRow(), and sdr::table::SdrTableObj::setActiveCell().
|
constexpr |
sdr::table::IMPL_LINK | ( | SdrTableRTFParser | , |
RTFImportHdl | , | ||
RtfImportInfo & | , | ||
rInfo | , | ||
void | |||
) |
Definition at line 174 of file tablertfimporter.cxx.
References RTF_PAR, SAL_WARN, SDRATTR_TABLE_BORDER(), SvxRTFParser::SetAttrPool(), and SvxRTFParser::SetPardMap().
sdr::table::IMPL_LINK_NOARG | ( | SvxTableController | , |
UpdateHdl | , | ||
void * | , | ||
void | |||
) |
Definition at line 2975 of file tablecontroller.cxx.
|
static |
Definition at line 2556 of file tablecontroller.cxx.
References SvxBoxItem::GetBottom(), SvxBoxItem::GetLeft(), SvxBoxItem::GetRight(), SvxBoxItem::GetTop(), and ImplSetLinePreserveColor().
Referenced by sdr::table::SvxTableController::ApplyBorderAttr().
|
static |
Definition at line 2468 of file tablecontroller.cxx.
References SvxBoxItem::GetBottom(), SvxBoxItem::GetDistance(), SvxBoxInfoItem::GetHori(), SvxBoxItem::GetLeft(), SvxBoxItem::GetRight(), SvxBoxItem::GetTop(), SvxBoxInfoItem::GetVert(), SvxBoxInfoItem::IsValid(), SvxBoxItem::SetDistance(), and SvxBoxItem::SetLine().
Referenced by sdr::table::SvxTableController::ApplyBorderAttr().
|
static |
Definition at line 2538 of file tablecontroller.cxx.
References SvxColorItem::GetValue(), and ImplSetLineColor().
Referenced by sdr::table::SvxTableController::ApplyBorderAttr().
|
static |
Definition at line 2526 of file tablecontroller.cxx.
References SvxBoxItem::GetLine(), and SvxBoxItem::SetLine().
Referenced by ImplApplyLineColorItem().
|
static |
Definition at line 2451 of file tablecontroller.cxx.
References SvxBoxItem::GetLine(), and SvxBoxItem::SetLine().
Referenced by ImplApplyBorderLineItem().
SVX_DLLPUBLIC void sdr::table::ImportAsRTF | ( | SvStream & | rStream, |
SdrTableObj & | rObj | ||
) |
Definition at line 495 of file tablertfimporter.cxx.
References sdr::table::SdrTableRTFParser::Read().
|
static |
inserts a range into a vector
Definition at line 73 of file tablemodel.cxx.
|
static |
Definition at line 54 of file tablemodel.cxx.
class sdr::table::SAL_LOPLUGIN_ANNOTATE | ( | "crosscast" | ) |
base class for each object implementing an XCellRange
Definition at line 31 of file tablemodel.hxx.
References SAL_LOPLUGIN_ANNOTATE().
Referenced by SAL_LOPLUGIN_ANNOTATE().
const sal_Int32 sdr::table::background_style = 9 |
Definition at line 38 of file tabledesign.hxx.
const sal_Int32 sdr::table::body_style = 8 |
Definition at line 37 of file tabledesign.hxx.
Referenced by sdr::table::SdrTableObjImpl::ApplyCellStyles().
const sal_Int32 sdr::table::even_columns_style = 6 |
Definition at line 35 of file tabledesign.hxx.
Referenced by sdr::table::SdrTableObjImpl::ApplyCellStyles().
const sal_Int32 sdr::table::even_rows_style = 4 |
Definition at line 33 of file tabledesign.hxx.
Referenced by sdr::table::SdrTableObjImpl::ApplyCellStyles().
const sal_Int32 sdr::table::first_column_style = 2 |
Definition at line 31 of file tabledesign.hxx.
Referenced by sdr::table::SdrTableObjImpl::ApplyCellStyles().
const sal_Int32 sdr::table::first_row_style = 0 |
Definition at line 29 of file tabledesign.hxx.
Referenced by sdr::table::SdrTableObjImpl::ApplyCellStyles().
|
static |
Definition at line 49 of file tablelayouter.cxx.
Referenced by sdr::table::TableLayouter::ClearBorderLayout(), sdr::table::TableLayouter::getBorderLine(), sdr::table::TableLayouter::HasPriority(), and sdr::table::TableLayouter::SetBorder().
const sal_Int32 sdr::table::last_column_style = 3 |
Definition at line 32 of file tabledesign.hxx.
Referenced by sdr::table::SdrTableObjImpl::ApplyCellStyles().
const sal_Int32 sdr::table::last_row_style = 1 |
Definition at line 30 of file tabledesign.hxx.
Referenced by sdr::table::SdrTableObjImpl::ApplyCellStyles().
const sal_Int32 sdr::table::odd_columns_style = 7 |
Definition at line 36 of file tabledesign.hxx.
Referenced by sdr::table::SdrTableObjImpl::ApplyCellStyles().
const sal_Int32 sdr::table::odd_rows_style = 5 |
Definition at line 34 of file tabledesign.hxx.
Referenced by sdr::table::SdrTableObjImpl::ApplyCellStyles().
const sal_Int32 sdr::table::Property_Height = 0 |
Definition at line 42 of file tablerow.cxx.
Referenced by sdr::table::TableRow::getFastPropertyValue(), sdr::table::TableRow::getStaticPropertySetInfo(), and sdr::table::TableRow::setFastPropertyValue().
const sal_Int32 sdr::table::Property_IsStartOfNewPage = 3 |
Definition at line 45 of file tablecolumn.cxx.
Referenced by sdr::table::TableColumn::getFastPropertyValue(), sdr::table::TableRow::getFastPropertyValue(), sdr::table::TableColumn::getStaticPropertySetInfo(), sdr::table::TableRow::getStaticPropertySetInfo(), sdr::table::TableColumn::setFastPropertyValue(), and sdr::table::TableRow::setFastPropertyValue().
const sal_Int32 sdr::table::Property_IsVisible = 2 |
Definition at line 44 of file tablecolumn.cxx.
Referenced by sdr::table::TableColumn::getFastPropertyValue(), sdr::table::TableRow::getFastPropertyValue(), sdr::table::TableColumn::getStaticPropertySetInfo(), sdr::table::TableRow::getStaticPropertySetInfo(), sdr::table::TableColumn::setFastPropertyValue(), and sdr::table::TableRow::setFastPropertyValue().
const sal_Int32 sdr::table::Property_OptimalHeight = 1 |
Definition at line 43 of file tablerow.cxx.
Referenced by sdr::table::TableRow::getFastPropertyValue(), sdr::table::TableRow::getStaticPropertySetInfo(), and sdr::table::TableRow::setFastPropertyValue().
const sal_Int32 sdr::table::Property_OptimalWidth = 1 |
Definition at line 43 of file tablecolumn.cxx.
Referenced by sdr::table::TableColumn::getFastPropertyValue(), sdr::table::TableColumn::getStaticPropertySetInfo(), and sdr::table::TableColumn::setFastPropertyValue().
const sal_Int32 sdr::table::Property_Width = 0 |
Definition at line 42 of file tablecolumn.cxx.
Referenced by sdr::table::TableColumn::getFastPropertyValue(), sdr::table::TableColumn::getStaticPropertySetInfo(), and sdr::table::TableColumn::setFastPropertyValue().
const sal_Int32 sdr::table::style_count = 10 |
Definition at line 39 of file tabledesign.hxx.