LibreOffice Module sc (master) 1
|
#include <memory>
#include <scitems.hxx>
#include <editeng/eeitem.hxx>
#include <svtools/colorcfg.hxx>
#include <editeng/colritem.hxx>
#include <editeng/editview.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/brushitem.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/printer.hxx>
#include <vcl/cursor.hxx>
#include <vcl/settings.hxx>
#include <o3tl/unit_conversion.hxx>
#include <osl/diagnose.h>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
#include <comphelper/lok.hxx>
#include <comphelper/scopeguard.hxx>
#include <sfx2/lokhelper.hxx>
#include <sfx2/lokcomponenthelpers.hxx>
#include <svx/svdview.hxx>
#include <svx/svdpagv.hxx>
#include <svx/sdrpagewindow.hxx>
#include <svx/sdr/contact/objectcontactofpageview.hxx>
#include <svx/sdr/contact/viewobjectcontact.hxx>
#include <svx/sdr/contact/viewcontact.hxx>
#include <tabvwsh.hxx>
#include <vcl/lineinfo.hxx>
#include <vcl/sysdata.hxx>
#include <gridwin.hxx>
#include <viewdata.hxx>
#include <output.hxx>
#include <document.hxx>
#include <attrib.hxx>
#include <patattr.hxx>
#include <dbdata.hxx>
#include <docoptio.hxx>
#include <notemark.hxx>
#include <dbfunc.hxx>
#include <scmod.hxx>
#include <inputhdl.hxx>
#include <rfindlst.hxx>
#include <hiranges.hxx>
#include <pagedata.hxx>
#include <docpool.hxx>
#include <globstr.hrc>
#include <scresid.hxx>
#include <docsh.hxx>
#include <cbutton.hxx>
#include <invmerge.hxx>
#include <editutil.hxx>
#include <inputopt.hxx>
#include <fillinfo.hxx>
#include <dpcontrol.hxx>
#include <queryparam.hxx>
#include <queryentry.hxx>
#include <markdata.hxx>
#include <sc.hrc>
#include <vcl/virdev.hxx>
#include <svx/sdrpaintwindow.hxx>
#include <drwlayer.hxx>
Go to the source code of this file.
Classes | |
class | ScLokRTLContext |
Used to store the necessary information about the (combined-)tile area relevant to coordinate transformations in RTL mode. More... | |
Functions | |
static void | lcl_LimitRect (tools::Rectangle &rRect, const tools::Rectangle &rVisible) |
static void | lcl_DrawOneFrame (vcl::RenderContext *pDev, const tools::Rectangle &rInnerPixel, const OUString &rTitle, const Color &rColor, bool bTextBelow, double nPPTX, double nPPTY, const Fraction &rZoomY, ScDocument &rDoc, ScViewData &rButtonViewData, bool bLayoutRTL) |
static void | lcl_DrawScenarioFrames (OutputDevice *pDev, ScViewData &rViewData, ScSplitPos eWhich, SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2) |
static void | lcl_DrawHighlight (ScOutputData &rOutputData, const ScViewData &rViewData, const std::vector< ScHighlightEntry > &rHighlightRanges) |
static void | lcl_GetEditAreaTLOffset (tools::Long &nOffsetX, tools::Long &nOffsetY, const ScAddress &rAddr, const ScViewData &rViewData, ScDocument &rDoc) |
IMPL_LINK (ScGridWindow, InitiatePageBreaksTimer, Timer *, pTimer, void) | |
IMPL_LINK | ( | ScGridWindow | , |
InitiatePageBreaksTimer | , | ||
Timer * | , | ||
pTimer | , | ||
void | |||
) |
Definition at line 2644 of file gridwin4.cxx.
References ScViewOptions::GetOption(), ScDocument::GetPageSize(), Grid, Size::IsEmpty(), SfxObjectShell::IsModified(), ScDocument::MaxCol(), ScDocument::MaxRow(), ScDocShell::PostPaint(), ScDocShell::SetModified(), ScDocument::SetPageSize(), ScDocument::UpdatePageBreaks(), and VOPT_PAGEBREAKS.
|
static |
Definition at line 267 of file gridwin4.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScOutputData::DrawRefMark(), ScViewData::GetTabNo(), ScAddress::Row(), and ScAddress::Tab().
Referenced by ScGridWindow::DrawContent().
|
static |
Definition at line 95 of file gridwin4.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), ALIGN_TOP, ATTR_PATTERN(), tools::Rectangle::Bottom(), COL_BLACK(), ScDDComboBoxButton::Draw(), OutputDevice::DrawRect(), OutputDevice::DrawText(), OutputDevice::GetActiveClipRegion(), StyleSettings::GetAppFont(), SfxItemPool::GetDefaultItem(), vcl::Font::GetFontSize(), OutputDevice::GetOutputSizePixel(), ScDocument::GetPool(), OutputDevice::GetSettings(), ScDDComboBoxButton::GetSizePixel(), AllSettings::GetStyleSettings(), OutputDevice::GetTextHeight(), OutputDevice::GetTextWidth(), Size::Height(), OutputDevice::IsClipRegion(), lcl_LimitRect(), tools::Rectangle::Left(), nPPTX, nPPTY, tools::Rectangle::Right(), SC_SCENARIO_HSPACE, SC_SCENARIO_VSPACE, vcl::Font::SetAlignment(), OutputDevice::SetClipRegion(), OutputDevice::SetFillColor(), OutputDevice::SetFont(), vcl::Font::SetFontSize(), tools::Rectangle::SetLeft(), OutputDevice::SetLineColor(), ScDDComboBoxButton::SetOptSizePixel(), tools::Rectangle::SetRight(), ScViewData::SetScenButSize(), tools::Rectangle::Top(), and Size::Width().
Referenced by lcl_DrawScenarioFrames().
|
static |
cache the ranges in table!!!!
-> Extend repaint when merging !!!
Space for Text/Button?
Own text "(None)" instead of "(Empty)" ???
Definition at line 192 of file gridwin4.cxx.
References Point::AdjustX(), Point::AdjustY(), ScRange::aEnd, ScRange::aStart, ScAddress::Col(), COL_LIGHTGRAY(), ScDocument::ExtendTotalMerge(), ScMarkData::FillRangeListWithMarks(), tools::SvRef< typename T >::get(), ScViewData::GetDocument(), ScDocument::GetName(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScDocument::GetScenarioData(), ScViewData::GetScrPos(), ScDocument::GetSheetLimits(), ScDocument::GetTableCount(), ScViewData::GetTabNo(), ScViewData::GetZoomY(), ScDocument::HasScenarioRange(), i, ScRange::Intersects(), ScDocument::IsActiveScenario(), ScDocument::IsLayoutRTL(), ScDocument::IsScenario(), lcl_DrawOneFrame(), ScDocument::MarkScenario(), ScDocument::MaxCol(), ScDocument::MaxRow(), n, ScAddress::Row(), ScResId(), and ShowFrame.
Referenced by ScGridWindow::DrawContent().
|
static |
Definition at line 285 of file gridwin4.cxx.
References ScAddress::Col(), ScEditUtil::GetIndent(), ScEditUtil::GetMargins(), ScDocument::GetPattern(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScDocument::IsLayoutRTL(), nLeftMargin, nTopMargin, ScAddress::Row(), and ScAddress::Tab().
Referenced by ScGridWindow::DrawContent().
|
static |
Definition at line 85 of file gridwin4.cxx.
References tools::Rectangle::Bottom(), tools::Rectangle::SetBottom(), tools::Rectangle::SetTop(), and tools::Rectangle::Top().
Referenced by lcl_DrawOneFrame().