#include <vector>
#include <sal/types.h>
#include <vcl/kernarray.hxx>
#include <swfont.hxx>
#include "justify.hxx"
Go to the source code of this file.
|
sal_Int32 | sw::Justify::GetModelPosition (const KernArray &rKernArray, sal_Int32 nLen, tools::Long nX) |
| Get model position base on given kern array. More...
|
|
void | sw::Justify::SpaceDistribution (KernArray &rKernArray, std::u16string_view aText, sal_Int32 nStt, sal_Int32 nLen, tools::Long nSpaceAdd, tools::Long nKern, bool bNoHalfSpace) |
| Distribute space between words and letters. More...
|
|
tools::Long | sw::Justify::SnapToGrid (KernArray &rKernArray, std::u16string_view aText, sal_Int32 nStt, sal_Int32 nLen, tools::Long nGridWidth, bool bForceLeft) |
| Snap ideographs to text grids: a) Ideographic open brackets are aligned to the rightmost edge of spanned grids so that. More...
|
|
void | sw::Justify::SnapToGridEdge (KernArray &rKernArray, sal_Int32 nLen, tools::Long nGridWidth, tools::Long nSpace, tools::Long nKern) |
| Snap ideographs to text grids edge ( used when snap to char is off ): space will be distributed ( in case that alignment is set to justify. More...
|
|