LibreOffice Module sw (master) 1
Public Member Functions | Public Attributes | Private Attributes | List of all members
SwInterHyphInfoTextFrame Class Reference

a clone of SwInterHyphInfo, but with TextFrameIndex instead of node index More...

#include <txtfrm.hxx>

Collaboration diagram for SwInterHyphInfoTextFrame:
[legend]

Public Member Functions

 SwInterHyphInfoTextFrame (SwTextFrame const &rFrame, SwTextNode const &rNode, SwInterHyphInfo const &rHyphInfo)
 
void UpdateTextNodeHyphInfo (SwTextFrame const &rFrame, SwTextNode const &rNode, SwInterHyphInfo &o_rHyphInfo)
 
void SetHyphWord (const css::uno::Reference< css::linguistic2::XHyphenatedWord > &xHW)
 

Public Attributes

TextFrameIndex m_nStart
 input: requested range to hyphenate More...
 
TextFrameIndex m_nEnd
 
TextFrameIndex m_nWordStart
 output: found word More...
 
TextFrameIndex m_nWordLen
 

Private Attributes

css::uno::Reference< css::linguistic2::XHyphenatedWord > m_xHyphWord
 output: hyphenated word More...
 

Detailed Description

a clone of SwInterHyphInfo, but with TextFrameIndex instead of node index

Definition at line 60 of file txtfrm.hxx.

Constructor & Destructor Documentation

◆ SwInterHyphInfoTextFrame()

SwInterHyphInfoTextFrame::SwInterHyphInfoTextFrame ( SwTextFrame const &  rFrame,
SwTextNode const &  rNode,
SwInterHyphInfo const &  rHyphInfo 
)

Definition at line 1673 of file txtedt.cxx.

Member Function Documentation

◆ SetHyphWord()

void SwInterHyphInfoTextFrame::SetHyphWord ( const css::uno::Reference< css::linguistic2::XHyphenatedWord > &  xHW)
inline

Definition at line 78 of file txtfrm.hxx.

References m_xHyphWord.

Referenced by SwTextFormatter::Hyphenate().

◆ UpdateTextNodeHyphInfo()

void SwInterHyphInfoTextFrame::UpdateTextNodeHyphInfo ( SwTextFrame const &  rFrame,
SwTextNode const &  rNode,
SwInterHyphInfo o_rHyphInfo 
)

Member Data Documentation

◆ m_nEnd

TextFrameIndex SwInterHyphInfoTextFrame::m_nEnd

◆ m_nStart

TextFrameIndex SwInterHyphInfoTextFrame::m_nStart

input: requested range to hyphenate

Definition at line 67 of file txtfrm.hxx.

Referenced by SwTextNode::Hyphenate(), SwTextFrame::Hyphenate(), and SwTextFormatter::Hyphenate().

◆ m_nWordLen

TextFrameIndex SwInterHyphInfoTextFrame::m_nWordLen

Definition at line 71 of file txtfrm.hxx.

Referenced by SwTextFormatter::Hyphenate(), and UpdateTextNodeHyphInfo().

◆ m_nWordStart

TextFrameIndex SwInterHyphInfoTextFrame::m_nWordStart

output: found word

Definition at line 70 of file txtfrm.hxx.

Referenced by SwTextFormatter::Hyphenate(), and UpdateTextNodeHyphInfo().

◆ m_xHyphWord

css::uno::Reference<css::linguistic2::XHyphenatedWord> SwInterHyphInfoTextFrame::m_xHyphWord
private

output: hyphenated word

Definition at line 64 of file txtfrm.hxx.

Referenced by SetHyphWord(), and UpdateTextNodeHyphInfo().


The documentation for this class was generated from the following files: