29 const TTableConnectionData::value_type& pTabConnData )
63 const std::vector<std::unique_ptr<OConnectionLine>>& rConnLineList =
GetConnLineList();
65 for (
auto const& elem : rConnLineList)
69 aBoundingRect = elem->GetBoundingRect();
70 nTemp = aBoundingRect.
Top();
74 pTopLine = elem.get();
89 switch (
pData->GetCardinality())
113 rRenderContext.
DrawText(aSourcePos, aSourceText, DrawTextFlags::Clip | DrawTextFlags::Center | DrawTextFlags::Bottom);
114 rRenderContext.
DrawText(aDestPos, aDestText, DrawTextFlags::Clip | DrawTextFlags::Center | DrawTextFlags::Bottom);
static const AllSettings & GetSettings()
void SetTextColor(const Color &rColor)
void DrawText(const Point &rStartPt, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, std::vector< tools::Rectangle > *pVector=nullptr, OUString *pDisplayText=nullptr, const SalLayoutGlyphs *pLayoutCache=nullptr)
tools::Rectangle GetDestTextPos() const
tools::Rectangle GetSourceTextPos() const
virtual void Draw(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
ORelationTableConnection & operator=(const ORelationTableConnection &rConn)
ORelationTableConnection(ORelationTableView *pContainer, const TTableConnectionData::value_type &pTabConnData)
const TTableConnectionData::value_type & GetData() const
OTableConnection & operator=(const OTableConnection &rConn)
tools::Rectangle GetBoundingRect() const
const std::vector< std::unique_ptr< OConnectionLine > > & GetConnLineList() const
virtual void Draw(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
std::unique_ptr< sal_Int32[]> pData