LibreOffice Module sw (master) 1
|
#include <sal/config.h>
#include "accportions.hxx"
#include <osl/diagnose.h>
#include <rtl/ustring.hxx>
#include <com/sun/star/i18n/Boundary.hpp>
#include <com/sun/star/i18n/XBreakIterator.hpp>
#include <txttypes.hxx>
#include <viewopt.hxx>
#include <breakit.hxx>
#include <txtfrm.hxx>
#include <crstate.hxx>
Go to the source code of this file.
Macros | |
#define | POR_TERMINATE PortionType::NONE |
#define | PORATTR_SPECIAL 1 |
#define | PORATTR_READONLY 2 |
#define | PORATTR_GRAY 4 |
#define | PORATTR_TERM 128 |
Functions | |
template<typename T > | |
static size_t | FindBreak (const std::vector< T > &rPositions, T nValue) |
returns the index of the first position whose value is smaller or equal, and whose following value is equal or larger More... | |
template<typename T > | |
static size_t | FindLastBreak (const std::vector< T > &rPositions, T nValue) |
like FindBreak, but finds the last equal or larger position More... | |
#define POR_TERMINATE PortionType::NONE |
Definition at line 44 of file accportions.cxx.
#define PORATTR_GRAY 4 |
Definition at line 49 of file accportions.cxx.
#define PORATTR_READONLY 2 |
Definition at line 48 of file accportions.cxx.
#define PORATTR_SPECIAL 1 |
Definition at line 47 of file accportions.cxx.
#define PORATTR_TERM 128 |
Definition at line 50 of file accportions.cxx.
|
static |
returns the index of the first position whose value is smaller or equal, and whose following value is equal or larger
Definition at line 372 of file accportions.cxx.
References nValue.
Referenced by SwAccessiblePortionData::AdjustAndCheck(), SwAccessiblePortionData::FillSpecialPos(), FindLastBreak(), SwAccessiblePortionData::GetAttributeBoundary(), SwAccessiblePortionData::GetCoreViewPosition(), SwAccessiblePortionData::GetLineBoundary(), SwAccessiblePortionData::GetLineNo(), SwAccessiblePortionData::GetSentenceBoundary(), and SwAccessiblePortionData::IsInGrayPortion().
|
static |
like FindBreak, but finds the last equal or larger position
Definition at line 428 of file accportions.cxx.
References FindBreak(), and nValue.
Referenced by SwAccessiblePortionData::FillSpecialPos(), and SwAccessiblePortionData::GetAccessiblePosition().