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

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

Definition at line 16 of file nodeoffset.hxx.

Function Documentation

SwNodeOffset abs ( const SwNodeOffset a)
inline

Definition at line 34 of file nodeoffset.hxx.

Referenced by SwAutoFormat::BuildNegIndent(), 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(), UnfloatTableButton::PaintButton(), SwCalc::PrimFunc(), SwViewShell::PrintOrPDFExport(), SwFEShell::RequestObjectResize(), SetBaseAnlv(), SwTable::SetColWidth(), SwEditShell::SetExtTextInputData(), wwSectionManager::SetPageULSpaceItems(), sw::annotation::SwAnnotationWin::SetPosAndSize(), SwDoc::SetTabRows(), SwPagePreview::SetVisArea(), SwView::SetVisArea(), SwView::SetZoom_(), SwContentFrame::ShouldBwdMoved(), SwTabFrame::ShouldBwdMoved(), SwViewShell::SmoothScroll(), DocxSdrExport::startDMLAnchorInline(), SwView::StateTabWin(), SwTextFrame::SwClientNotify(), and ColumnValueSet::UserDraw().

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

Definition at line 35 of file nodeoffset.hxx.

Referenced by SwDoc::AdjustCellWidth(), SwTextFrame::AdjustFrame(), SwFrame::AdjustNeighbourhood(), SwTaggedPDFHelper::BeginBlockStructureElements(), SwAutoFormat::BuildEnum(), SwTextFormatter::BuildPortions(), SwHTMLParser::BuildTable(), CalcDiff(), SwPagePreviewLayout::CalcDocPreviewPaintRect(), SwLayHelper::CalcPageCount(), SwView::CalcPt(), SwLayoutFrame::CalcRel(), SwFlyFrame::CalcRel(), CalcRowRstHeight(), SwEditWin::ChangeFly(), SwFieldPortion::CheckScript(), SwRootFrame::CheckViewLayout(), SwLayoutFrame::ChgColumns(), SwContourCache::ContourRect(), SwTextNode::Convert(), SwXText::convertToTable(), SwTable::CreateSelection(), SwFormatTablePage::DeactivatePage(), DocxExport::DoComboBox(), SwSubFont::DoOnCapitals(), sw::annotation::SwAnnotationWin::DoResize(), SwCursor::DoSetBidiLevelUpDown(), 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(), SwTextFrame::GetAutoPos(), SwHTMLTableLayout::GetBrowseWidthByTabFrame(), SwXTextFieldMasters::getByName(), SwTextFrame::GetCharRect(), SwPageFrame::GetContentHeight(), sw::WrongListIteratorCounter::GetElementAt(), SwTextInputFieldPortion::GetExpText(), SwGrfNode::GetGraphicAttr(), SwAccessibleParagraph::getHyperLink(), SwRect::GetIntersection(), SwTextMargin::GetLeftMin(), GetMinLen(), SwPageFrame::GetModelPositionForViewPoint(), GetNextAttrImpl(), MSWordExportBase::GetNextPos(), SwTable::GetRowsToRepeat(), SwTextFrame::GetScalingOfSelectedText(), SwCursorShell::GetSmartTagRect(), SwFntObj::GetTextSize(), SwRect::GetUnion(), PrivateProfileStringListener::getValueEvent(), SwRowFrame::GrowFrame(), SwFootnoteContFrame::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(), Notify(), OutASC_SwTextNode(), OutHTML_SwTextNode(), MSWordStyles::OutputStylesTable(), NumberingPreview::Paint(), SwEnvPreview::Paint(), SwLabPreview::Paint(), SwPageFrame::PaintDecorators(), SwPageFrame::PaintGrid(), WW8AttributeOutput::ParaOutlineLevel(), DocxAttributeOutput::ParaOutlineLevel(), ParseCSS1_length(), 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(), 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(), SwTextFrame::UnitDown_(), SwTableColumnPage::UpdateCols(), SwFieldMgr::UpdateCurField(), SwGetRefField::UpdateField(), SwPageBreakWin::UpdatePosition(), WW8Export::WriteFormData(), RtfSdrExport::WriteOutliner(), DocxExport::WriteOutliner(), DocxAttributeOutput::WriteOutliner(), WW8Export::WriteOutliner(), WW8Dop::WW8Dop(), WW8Fonts::WW8Fonts(), WW8PLCFpcd::WW8PLCFpcd(), WW8PLCFspecial::WW8PLCFspecial(), and WW8Style::WW8Style().

constexpr SwNodeOffset NODE_OFFSET_MAX ( SAL_MAX_INT32  )
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.

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.

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

Definition at line 391 of file index.cxx.