mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Fix bug with text
This commit is contained in:
@ -1567,6 +1567,9 @@ namespace NSDocxRenderer
|
||||
|
||||
if (!no_crossing(h_type, v_type))
|
||||
{
|
||||
prev_line->CalcFirstWordWidth();
|
||||
curr_line->CalcFirstWordWidth();
|
||||
|
||||
for (auto& cont : prev_line->m_arConts)
|
||||
cont->CalcSelected();
|
||||
|
||||
@ -1981,6 +1984,7 @@ namespace NSDocxRenderer
|
||||
pParagraph->m_dWidth = pLine->m_dWidth + c_dERROR_OF_PARAGRAPH_BORDERS_MM;
|
||||
pParagraph->m_dHeight = pLine->m_dHeight;
|
||||
pParagraph->m_dRight = pLine->m_dRight;
|
||||
pParagraph->m_dLineHeight = pParagraph->m_dHeight;
|
||||
|
||||
if (pLine->m_pDominantShape)
|
||||
{
|
||||
|
||||
@ -83,6 +83,7 @@ namespace NSDocxRenderer
|
||||
|
||||
m_oSelectedFont = rCont.m_oSelectedFont;
|
||||
m_bPossibleSplit = rCont.m_bPossibleSplit;
|
||||
m_bWriteStyleRaw = rCont.m_bWriteStyleRaw;
|
||||
|
||||
m_arSymWidths.clear();
|
||||
m_arSymWidths.resize(rCont.m_arSymWidths.size());
|
||||
|
||||
Reference in New Issue
Block a user