LibreOffice Module sc (master) 1
|
#include <invmerge.hxx>
Public Member Functions | |
ScInvertMerger (::std::vector< tools::Rectangle > *pRectangles) | |
~ScInvertMerger () | |
void | AddRect (const tools::Rectangle &rRect) |
void | Flush () |
Private Member Functions | |
void | FlushLine () |
void | FlushTotal () |
Private Attributes | |
::std::vector< tools::Rectangle > * | pRects |
tools::Rectangle | aTotalRect |
tools::Rectangle | aLineRect |
Definition at line 26 of file invmerge.hxx.
ScInvertMerger::ScInvertMerger | ( | ::std::vector< tools::Rectangle > * | pRectangles | ) |
Definition at line 24 of file invmerge.cxx.
ScInvertMerger::~ScInvertMerger | ( | ) |
Definition at line 30 of file invmerge.cxx.
References Flush().
void ScInvertMerger::AddRect | ( | const tools::Rectangle & | rRect | ) |
Definition at line 123 of file invmerge.cxx.
References aLineRect, tools::Rectangle::Bottom(), FlushLine(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), tools::Rectangle::Right(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), and tools::Rectangle::Top().
Referenced by ScGridWindow::GetRectsAnyFor().
void ScInvertMerger::Flush | ( | void | ) |
Definition at line 35 of file invmerge.cxx.
References aLineRect, aTotalRect, tools::Rectangle::Bottom(), FlushLine(), FlushTotal(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), pRects, tools::Rectangle::Right(), tools::Rectangle::SetBottom(), size, and tools::Rectangle::Top().
Referenced by ~ScInvertMerger().
|
private |
Definition at line 95 of file invmerge.cxx.
References aLineRect, aTotalRect, tools::Rectangle::Bottom(), FlushTotal(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), tools::Rectangle::Right(), tools::Rectangle::SetBottom(), tools::Rectangle::SetEmpty(), and tools::Rectangle::Top().
|
private |
Definition at line 84 of file invmerge.cxx.
References aTotalRect, tools::Rectangle::IsEmpty(), pRects, and tools::Rectangle::SetEmpty().
Referenced by Flush(), and FlushLine().
|
private |
Definition at line 31 of file invmerge.hxx.
Referenced by AddRect(), Flush(), and FlushLine().
|
private |
Definition at line 30 of file invmerge.hxx.
Referenced by Flush(), FlushLine(), and FlushTotal().
|
private |
Definition at line 29 of file invmerge.hxx.
Referenced by Flush(), and FlushTotal().