LibreOffice Module sw (master)  1
Classes | Macros | Functions
txtdrop.cxx File Reference
#include <hintids.hxx>
#include <vcl/metric.hxx>
#include <vcl/svapp.hxx>
#include <paratr.hxx>
#include <txtfrm.hxx>
#include <charfmt.hxx>
#include <viewopt.hxx>
#include <viewsh.hxx>
#include "pordrop.hxx"
#include "itrform2.hxx"
#include "txtpaint.hxx"
#include <blink.hxx>
#include <breakit.hxx>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/i18n/WordType.hpp>
#include <com/sun/star/i18n/XBreakIterator.hpp>
#include <editeng/langitem.hxx>
#include <charatr.hxx>
#include <editeng/fhgtitem.hxx>
#include <calbck.hxx>
#include <doc.hxx>
Include dependency graph for txtdrop.cxx:

Go to the source code of this file.

Classes

class  SwDropSave
 
class  SwDropCapCache
 

Macros

#define DROP_CACHE_SIZE   10
 

Functions

static bool lcl_IsDropFlyInter (const SwTextFormatInfo &rInf, sal_uInt16 nWidth, sal_uInt16 nHeight)
 Calculates if a drop caps portion intersects with a fly The width and height of the drop caps portion are passed as arguments, the position is calculated from the values in rInf. More...
 

Macro Definition Documentation

#define DROP_CACHE_SIZE   10

Definition at line 695 of file txtdrop.cxx.

Referenced by SwDropCapCache::CalcFontSize().

Function Documentation

static bool lcl_IsDropFlyInter ( const SwTextFormatInfo rInf,
sal_uInt16  nWidth,
sal_uInt16  nHeight 
)
static

Calculates if a drop caps portion intersects with a fly The width and height of the drop caps portion are passed as arguments, the position is calculated from the values in rInf.

Definition at line 50 of file txtdrop.cxx.

References SwTextFly::GetFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwTextPaintInfo::GetTextFly(), SwTextSizeInfo::GetTextFrame(), SwRect::HasArea(), SwTextFly::IsOn(), SwRect::Pos(), SwTextPaintInfo::X(), and SwTextPaintInfo::Y().

Referenced by SwDropPortion::Format().