LibreOffice Module sw (master) 1
Typedefs | Functions
nodeoffset.hxx File Reference
#include <sal/config.h>
#include "swdllapi.h"
#include <o3tl/strong_int.hxx>
#include <iostream>
Include dependency graph for nodeoffset.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef o3tl::strong_int< sal_Int32, struct Tag_SwNodeOffset > SwNodeOffset
 

Functions

template<typename T >
std::enable_if< std::is_signed< T >::value, SwNodeOffset >::type operator+ (SwNodeOffset a, T n)
 
template<typename T >
std::enable_if< std::is_signed< T >::value, SwNodeOffset >::type operator- (SwNodeOffset a, T n)
 
SwNodeOffset abs (const SwNodeOffset &a)
 
SwNodeOffset min (const SwNodeOffset &a, const SwNodeOffset &b)
 
constexpr SwNodeOffset NODE_OFFSET_MAX (SAL_MAX_INT32)
 
SW_DLLPUBLIC std::ostream & operator<< (std::ostream &s, const SwNodeOffset &index)
 

Typedef Documentation

◆ SwNodeOffset

typedef o3tl::strong_int<sal_Int32, struct Tag_SwNodeOffset> SwNodeOffset

Definition at line 16 of file nodeoffset.hxx.

Function Documentation

◆ abs()

SwNodeOffset abs ( const SwNodeOffset a)
inline

Definition at line 34 of file nodeoffset.hxx.

References a.

Referenced by SwAutoFormat::BuildNegIndent(), SwTextFormatter::CalcFlyWidth(), CheckBoxWidth(), SwTable::CheckConsistency(), SwFormatTablePage::DeactivatePage(), DoSearch(), SwTextFrame::FillCursorPos(), SwTableRep::FillTabCols(), SwLayoutFrame::FormatWidthCols(), SwFntObj::GetFontHeight(), wwSectionManager::GetPageULData(), SwRootFrame::IsBetweenPages(), IsMinMove(), sw::sidebar::IsMirrored(), sw::sidebar::IsModerate(), SwRedlineTable::isMoved(), sw::sidebar::IsNarrow(), sw::sidebar::IsNone(), sw::sidebar::IsNormal075(), sw::sidebar::IsNormal100(), sw::sidebar::IsNormal125(), IsSame(), SwFlyFrame::IsShowUnfloatButton(), sw::sidebar::IsWide(), lcl_ConvertCrop(), lcl_DistancePoint2Segment(), lcl_FndNxtPrvDelBox(), lcl_LeftBorder2Box(), lcl_RefreshHidden(), lcl_SetOtherBoxWidth(), lcl_SetSelBoxWidth(), lcl_SimilarPosition(), lcl_TableParamToItemSet(), SwWW8ImplReader::MatchSdrItemsIntoFlySet(), SwDoc::MoveParagraphImpl(), SwTextFormatter::NewFlyCntPortion(), DocxAttributeOutput::NumberingLevel(), OutCSS1_SwPageDesc(), SwContentControlAliasButton::PaintButton(), UnfloatTableButton::PaintButton(), SwCalc::PrimFunc(), SwViewShell::PrintOrPDFExport(), SwFEShell::RequestObjectResize(), SetBaseAnlv(), SwTable::SetColWidth(), SwEditShell::SetExtTextInputData(), wwSectionManager::SetPageULSpaceItems(), sw::annotation::SwAnnotationWin::SetPosAndSize(), SwTable::SetTabCols(), SwDoc::SetTabRows(), SwPagePreview::SetVisArea(), SwView::SetVisArea(), SwView::SetZoom_(), SwContentFrame::ShouldBwdMoved(), SwTabFrame::ShouldBwdMoved(), SwViewShell::SmoothScroll(), DocxSdrExport::startDMLAnchorInline(), SwView::StateTabWin(), SwTextFrame::SwClientNotify(), and ColumnValueSet::UserDraw().

◆ min()

SwNodeOffset min ( const SwNodeOffset a,
const SwNodeOffset b 
)
inline

Definition at line 35 of file nodeoffset.hxx.

References a.

Referenced by SwVbaContentControlListEntries::Add(), sw::mark::DropDownFieldmark::AddContent(), SwContentControl::AddListItem(), SwDoc::AdjustCellWidth(), SwTextFrame::AdjustFrame(), SwFrame::AdjustNeighbourhood(), SwTaggedPDFHelper::BeginBlockStructureElements(), SwAutoFormat::BuildEnum(), SwTextFormatter::BuildPortions(), SwHTMLParser::BuildTable(), CalcDiff(), SwPagePreviewLayout::CalcDocPreviewPaintRect(), SwLayHelper::CalcPageCount(), SwView::CalcPt(), SwFlyFrame::CalcRel(), SwLayoutFrame::CalcRel(), CalcRowRstHeight(), SwEditWin::ChangeFly(), SwFieldPortion::CheckScript(), SwRootFrame::CheckViewLayout(), SwLayoutFrame::ChgColumns(), SwContourCache::ContourRect(), SwTextNode::Convert(), SwXText::convertToTable(), SwTable::CreateSelection(), SwFormatTablePage::DeactivatePage(), deltaOneMinute(), DocxExport::DoComboBox(), SwSubFont::DoOnCapitals(), sw::annotation::SwAnnotationWin::DoResize(), SwCursor::DoSetBidiLevelUpDown(), SwTextPaintInfo::DrawBackBrush(), SwFntObj::DrawText(), SwPagePreview::ExecPgUpAndPgDown(), SwView::ExecTabWin(), SwAddressPreview::FillData(), WW8PLCFx_Fc_FKP::WW8Fkp::FillEntry(), SwEnvFormatPage::FillItem(), SwFramePage::FillItemSet(), FindAttrsImpl(), SwTextFrame::FindBrk(), wwSprmParser::findSprmData(), FitToActualSize(), SwNoTextFrame::Format(), SwTabFrame::Format(), SwTextNode::GCAttr(), AttributeOutputBase::GenerateBookmarksForSequenceField(), SwTextShell::GetAttrState(), SwTextFrame::GetAutoPos(), SwHTMLTableLayout::GetBrowseWidthByTabFrame(), SwXTextFieldMasters::getByName(), SwTextFrame::GetCharRect(), sw::mark::DropDownFieldmark::GetContent(), SwPageFrame::GetContentHeight(), sw::WrongListIteratorCounter::GetElementAt(), SwTextInputFieldPortion::GetExpText(), SwGrfNode::GetGraphicAttr(), SwAccessibleParagraph::getHyperLink(), SwRect::GetIntersection(), SwTextMargin::GetLeftMin(), GetMinLen(), SwPageFrame::GetModelPositionForViewPoint(), SwTextCursor::GetModelPositionForViewPoint(), GetNextAttrImpl(), MSWordExportBase::GetNextPos(), SwTable::GetRowsToRepeat(), SwTextFrame::GetScalingOfSelectedText(), SwCursorShell::GetSmartTagRect(), SwAccessibleParagraph::getTextBeforeIndex(), SwRect::GetUnion(), PrivateProfileStringListener::getValueEvent(), SwFootnoteContFrame::GrowFrame(), SwRowFrame::GrowFrame(), SwTabFrame::GrowFrame(), SwFntObj::GuessLeading(), SwView::HandleWheelCommands(), SwXTextFieldMasters::hasByName(), SwImpBlocks::Hash(), IMPL_LINK(), IMPL_LINK_NOARG(), SwRootFrame::ImplCalcBrowseWidth(), SwColumnPage::Init(), SwTextFly::InitAnchoredObjList(), SwScriptInfo::InitScriptInfo(), SwMailMergeLayoutPage::InsertAddressFrame(), SwTokenWindow::InsertAtSelection(), SwModule::InsertEnv(), SwFieldMgr::InsertField(), SwMailMergeLayoutPage::InsertGreeting(), SwRedlineAcceptDlg::InsertParents(), SwRect::Intersection_(), SwMailMergeConfigItem::IsAddressFieldsAssigned(), SwRootFrame::IsBetweenPages(), SwMailMergeConfigItem::IsGreetingFieldsAssigned(), lcl_AddSpace(), lcl_CalcMinColDiff(), lcl_DrawDashedRect(), lcl_FindCntDiff(), lcl_GetFootnoteLower(), lcl_getMinPos(), SwPageFrame::MakeAll(), SwContentFrame::MakePrtArea(), SwXMLTableContext::MakeTable(), SwXMLTableContext::MakeTable_(), SwDropCapsPage::ModifyEntry(), SwEditWin::MouseButtonUp(), SwGluePortion::MoveGlue(), SwPagePreviewWin::MovePage(), SwNodes::MoveRange(), MSWordExportBase::NearestAnnotationMark(), MSWordExportBase::NearestBookmark(), SwTextFormatter::NewTextPortion(), SwAddressIterator::Next(), SwScanner::NextWord(), OutASC_SwTextNode(), OutHTML_SwTextNode(), SwLabPreview::Paint(), SwEnvPreview::Paint(), NumberingPreview::Paint(), SwPageFrame::PaintDecorators(), SwPageFrame::PaintGrid(), DocxAttributeOutput::ParaOutlineLevel(), WW8AttributeOutput::ParaOutlineLevel(), ParseCSS1_length(), ParseCSS1_text_indent(), SwFEShell::Paste(), SwTabPortion::PostFormat(), SwSrcView::PrintSource(), SwFormatCol::PutValue(), SwFramePage::RangeModifyHdl(), SwWW8ImplReader::ReadPlainChars(), SwRedlineAcceptDlg::RemoveParents(), SwEditShell::ReplaceDropText(), SwEnvFormatPage::Reset(), SwFormatTablePage::Reset(), SwView::Scroll(), SwAccessibleParagraph::scrollSubstringTo(), SwVbaTableHelper::SetColWidth(), SwTableFUNC::SetColWidth(), SwVbaContentControlListEntry::setIndex(), SwExtTextInput::SetInputData(), SwEnvFormatPage::SetMinMax(), SwExtTextInput::SetOverwriteCursor(), SwXDocumentIndexMark::setPropertyValue(), SwView::SetZoom_(), SwFlyFrame::Shrink_(), SwTextFrame::SmartTagScan(), SwViewShell::SmoothScroll(), DocxSdrExport::startDMLAnchorInline(), SwView::StateStatusLine(), SwView::StateTabWin(), sw_NormalizeRange(), SwEnvItem::SwEnvItem(), WW8AttributeOutput::TableCellBorders(), SwHTMLParser::ToTwips(), SwTranslateHelper::TranslateDocumentCancellable(), SwTextNode::TransliterateText(), SwTextFrame::UnitDown_(), SwTableColumnPage::UpdateCols(), SwFieldMgr::UpdateCurField(), SwGetRefField::UpdateField(), SwBreakDashedLine::UpdatePosition(), WW8Export::WriteFormData(), WW8Export::WriteOutliner(), DocxExport::WriteOutliner(), DocxAttributeOutput::WriteOutliner(), RtfSdrExport::WriteOutliner(), WW8Dop::WW8Dop(), WW8Fonts::WW8Fonts(), WW8PLCFpcd::WW8PLCFpcd(), WW8PLCFspecial::WW8PLCFspecial(), and WW8Style::WW8Style().

◆ NODE_OFFSET_MAX()

constexpr SwNodeOffset NODE_OFFSET_MAX ( SAL_MAX_INT32  )
constexpr

◆ operator+()

template<typename T >
std::enable_if< std::is_signed< T >::value, SwNodeOffset >::type operator+ ( SwNodeOffset  a,
n 
)
inline

Definition at line 21 of file nodeoffset.hxx.

References a, and n.

◆ operator-()

template<typename T >
std::enable_if< std::is_signed< T >::value, SwNodeOffset >::type operator- ( SwNodeOffset  a,
n 
)
inline

Definition at line 29 of file nodeoffset.hxx.

References a, and n.

◆ operator<<()

SW_DLLPUBLIC std::ostream & operator<< ( std::ostream &  s,
const SwNodeOffset index 
)

Definition at line 387 of file index.cxx.

References index.