LibreOffice Module sw (master) 1
Functions
viscrs.cxx File Reference
#include <config_feature_desktop.h>
#include <vcl/weld.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <viewopt.hxx>
#include <frmtool.hxx>
#include <viscrs.hxx>
#include <crsrsh.hxx>
#include <doc.hxx>
#include <swtable.hxx>
#include <viewimp.hxx>
#include <dview.hxx>
#include <rootfrm.hxx>
#include <txtfrm.hxx>
#include <ndtxt.hxx>
#include <txtfld.hxx>
#include <scriptinfo.hxx>
#include <view.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <svx/sdr/overlay/overlaymanager.hxx>
#include <svx/sdrpaintwindow.hxx>
#include <svx/srchdlg.hxx>
#include <svx/sdr/overlay/overlayselection.hxx>
#include "overlayrangesoutline.hxx"
#include <memory>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
#include <comphelper/lok.hxx>
#include <sfx2/lokhelper.hxx>
#include <boost/property_tree/json_parser.hpp>
#include <comphelper/string.hxx>
#include <osl/diagnose.h>
#include <paintfrm.hxx>
#include <PostItMgr.hxx>
#include <SwGrammarMarkUp.hxx>
#include <docsh.hxx>
#include <svtools/optionsdrawinglayer.hxx>
#include <o3tl/string_view.hxx>
#include <tools/json_writer.hxx>
#include <cellfrm.hxx>
#include <wrtsh.hxx>
#include <textcontentcontrol.hxx>
#include <dropdowncontentcontrolbutton.hxx>
#include <datecontentcontrolbutton.hxx>
#include <FrameControlsManager.hxx>
Include dependency graph for viscrs.cxx:

Go to the source code of this file.

Functions

static SwRect lcl_getLayoutRect (const Point &rPoint, const SwPosition &rPosition)
 Return a layout rectangle (typically with minimal width) that represents a cursor at rPosition. More...
 

Function Documentation

◆ lcl_getLayoutRect()

static SwRect lcl_getLayoutRect ( const Point rPoint,
const SwPosition rPosition 
)
static

Return a layout rectangle (typically with minimal width) that represents a cursor at rPosition.

Parameters
rPointlayout position as a hint about what layout frame contains rPosition (there might be multiple frames for a single node)
rPositionthe doc model position (paragraph / character index)

Definition at line 403 of file viscrs.cxx.

References SwFrame::GetCharRect(), SwNode::GetContentNode(), IDocumentLayoutAccess::GetCurrentLayout(), SwNode::GetDoc(), SwDoc::getIDocumentLayoutAccess(), SwContentNode::getLayoutFrame(), and SwPosition::GetNode().

Referenced by SwShellCursor::FillStartEnd().