LibreOffice Module editeng (master) 1
|
#include "impedit.hxx"
#include <sal/log.hxx>
#include <editeng/editeng.hxx>
#include <editeng/editview.hxx>
#include <editeng/outliner.hxx>
#include <editeng/urlfieldhelper.hxx>
#include <tools/poly.hxx>
#include <editeng/unolingu.hxx>
#include <com/sun/star/linguistic2/XDictionary.hpp>
#include <com/sun/star/datatransfer/dnd/DNDConstants.hpp>
#include <com/sun/star/datatransfer/dnd/XDragGestureRecognizer.hpp>
#include <com/sun/star/datatransfer/dnd/XDropTarget.hpp>
#include <com/sun/star/datatransfer/clipboard/XFlushableClipboard.hpp>
#include <comphelper/lok.hxx>
#include <editeng/flditem.hxx>
#include <svl/intitem.hxx>
#include <vcl/inputctx.hxx>
#include <vcl/transfer.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weldutils.hxx>
#include <vcl/window.hxx>
#include <sot/exchange.hxx>
#include <sot/formats.hxx>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
#include <comphelper/string.hxx>
#include <sfx2/viewsh.hxx>
#include <sfx2/lokhelper.hxx>
#include <boost/property_tree/ptree.hpp>
Go to the source code of this file.
Macros | |
#define | SCRLRANGE 20 |
Functions | |
static void | lcl_AlignToPixel (Point &rPoint, const OutputDevice &rOutDev, short nDiffX, short nDiffY) |
static void | lcl_translateTwips (const OutputDevice &rParent, OutputDevice &rChild) |
Translate absolute <-> relative twips: LOK wants absolute coordinates as output and gives absolute coordinates as input. More... | |
#define SCRLRANGE 20 |
Definition at line 53 of file impedit.cxx.
|
static |
Definition at line 55 of file impedit.cxx.
References Point::AdjustX(), Point::AdjustY(), OutputDevice::LogicToPixel(), and OutputDevice::PixelToLogic().
Referenced by ImpEditView::ImplDrawHighlightRect().
|
static |
Translate absolute <-> relative twips: LOK wants absolute coordinates as output and gives absolute coordinates as input.
Definition at line 282 of file impedit.cxx.
References OutputDevice::EnableMapMode(), OutputDevice::GetMapMode(), MapMode::GetMapUnit(), MapMode::GetOrigin(), OutputDevice::GetOutOffXPixel(), OutputDevice::GetOutOffYPixel(), MapMode::GetScaleX(), MapMode::GetScaleY(), Point::getX(), Point::getY(), OutputDevice::IsMapModeEnabled(), OutputDevice::PixelToLogic(), OutputDevice::SetMapMode(), MapMode::SetMapUnit(), MapMode::SetOrigin(), MapMode::SetScaleX(), and MapMode::SetScaleY().
Referenced by ImpEditView::lokSelectionCallback().