LibreOffice Module sw (master)  1
Functions
viscrs.cxx File Reference
#include <config_features.h>
#include <vcl/weld.hxx>
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.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 <docary.hxx>
#include <extinput.hxx>
#include <ndtxt.hxx>
#include <txtfld.hxx>
#include <scriptinfo.hxx>
#include <mdiexp.hxx>
#include <wrtsh.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 <boost/property_tree/json_parser.hpp>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
#include <comphelper/lok.hxx>
#include <sfx2/lokhelper.hxx>
#include <comphelper/string.hxx>
#include <paintfrm.hxx>
#include <PostItMgr.hxx>
#include <cellfrm.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

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 291 of file viscrs.cxx.

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

Referenced by SwShellCursor::FillStartEnd().