Kaydet (Commit) 959ac511 authored tarafından Caolán McNamara's avatar Caolán McNamara

fix tdf#94818 while retaining the tdf#90504 fix

Change-Id: Ia1c904b16d040714c8d5a0b4946bc42e6b8ac3bb
üst 7379e482
...@@ -3531,11 +3531,24 @@ bool SwWW8ImplReader::ReadChar(long nPosCp, long nCpOfs) ...@@ -3531,11 +3531,24 @@ bool SwWW8ImplReader::ReadChar(long nPosCp, long nCpOfs)
} }
break; break;
case 0x7: case 0x7:
bNewParaEnd = true; {
if (m_pPlcxMan->GetPapPLCF()->Where() == nCpOfs+nPosCp+1) bNewParaEnd = true;
TabCellEnd(); // Table cell/row end WW8PLCFxDesc* pPap = m_pPlcxMan->GetPap();
else //The last paragraph of each cell is terminated by a special
bParaMark = true; //paragraph mark called a cell mark. Following the cell mark
//that ends the last cell of a table row, the table row is
//terminated by a special paragraph mark called a row mark
//
//So the 0x7 should be right at the end of the previous
//range to be a real cell-end.
if (pPap->nOrigStartPos == nCpOfs+nPosCp+1 ||
pPap->nOrigStartPos == WW8_CP_MAX)
{
TabCellEnd(); // Table cell/row end
}
else
bParaMark = true;
}
break; break;
case 0xf: case 0xf:
if( !m_bSpec ) // "Satellite" if( !m_bSpec ) // "Satellite"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment