44DockingAreaWindow::DockingAreaWindow(
vcl::Window* pParent ) :
52DockingAreaWindow::~DockingAreaWindow()
57void DockingAreaWindow::dispose()
65 Window::DataChanged( rDCEvt );
77 if(
ImplGetSVData()->maNWFData.mbMenuBarDockingAreaCommonBG &&
94 Window::StateChanged( nType );
100bool DockingAreaWindow::IsHorizontal()
const
105void DockingAreaWindow::SetAlign(
WindowAlign eNewAlign )
107 if( eNewAlign != mpImplData->meAlign )
109 mpImplData->meAlign = eNewAlign;
116 return mpImplData->meAlign;
159 EnableNativeWidget();
176 Erase(rRenderContext);
177 else if (!
ImplGetSVData()->maNWFData.mbDockingAreaSeparateTB)
183 aCtrlRegion, nState, aControlValue, OUString() );
188 sal_uInt16 nChildren = GetChildCount();
189 for (sal_uInt16 n = 0;
n < nChildren;
n++)
199 rRenderContext.
DrawLine(aRect.TopLeft(), aRect.TopRight());
200 rRenderContext.
DrawLine(aRect.TopLeft(), aRect.BottomLeft());
203 rRenderContext.
DrawLine(aRect.BottomLeft(), aRect.BottomRight());
204 rRenderContext.
DrawLine(aRect.TopRight(), aRect.BottomRight());
212 Size aOutSz(GetOutputSizePixel());
213 std::map<int, int> ranges;
214 sal_uInt16 nChildren = GetChildCount();
215 for (sal_uInt16 n = 0;
n < nChildren;
n++)
221 ranges[aPos.
Y()] = aSize.
Height();
223 ranges[aPos.
X()] = aSize.
Width();
227 for (
auto const& range : ranges)
233 aTBRect.
SetRight( aOutSz.Width() - 1 );
234 aTBRect.
SetTop( range.first );
235 aTBRect.
SetBottom( range.first + range.second - 1 );
239 aTBRect.
SetLeft( range.first );
240 aTBRect.
SetRight( range.first + range.second - 1 );
242 aTBRect.
SetBottom( aOutSz.Height() - 1 );
245 aTBRect, nState, aControlValue, OUString());
250void DockingAreaWindow::Resize()
const StyleSettings & GetStyleSettings() const
DataChangedEventType GetType() const
AllSettingsFlags GetFlags() const
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
tools::Long GetOutputWidthPixel() const
void DrawLine(const Point &rStartPt, const Point &rEndPt)
tools::Long GetOutputHeightPixel() const
bool DrawNativeControl(ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, const OUString &aCaption, const Color &rBackgroundColor=COL_AUTO)
Request rendering of a particular control and/or part.
const AllSettings & GetSettings() const
bool IsNativeControlSupported(ControlType nType, ControlPart nPart) const
Query the platform layer for control support.
constexpr tools::Long Y() const
constexpr tools::Long X() const
constexpr tools::Long Height() const
constexpr tools::Long Width() const
BitmapEx const & GetPersonaHeader() const
BitmapEx const & GetPersonaFooter() const
const Color & GetWorkspaceColor() const
Color GetSeparatorColor() const
const Color & GetLightColor() const
const Color & GetFaceColor() const
MenuBar * GetMenuBar() const
void SetStyle(WallpaperStyle eStyle)
virtual Point GetPosPixel() const
SystemWindow * GetSystemWindow() const
virtual Size GetSizePixel() const
void Invalidate(InvalidateFlags nFlags=InvalidateFlags::NONE)
static void ImplInvalidateMenubar(DockingAreaWindow const *pThis)
ImplSVData * ImplGetSVData()
WinBits const WB_CLIPCHILDREN