mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
DocxFormatReader - градиент объекта без базового цвета - Sindicatum.docx
This commit is contained in:
committed by
Alexander Trofimov
parent
d012433a40
commit
ea0ffa7960
@ -3379,6 +3379,17 @@ void CDrawingConverter::CheckBrushShape(PPTX::Logic::SpTreeElem& oElem, XmlUtils
|
||||
Gs_.pos = 100 * 1000;
|
||||
pGradFill->GsLst.push_back( Gs_ );
|
||||
}
|
||||
if (pGradFill->GsLst.size() < 2) //Sindicatum.docx
|
||||
{
|
||||
PPTX::Logic::Gs Gs_;
|
||||
Gs_.pos = 0;
|
||||
Gs_.color.Color = new PPTX::Logic::SrgbClr(); Gs_.color.Color->SetRGB(0xff, 0xff, 0xff);
|
||||
|
||||
if (pGradFill->GsLst[0].pos == 0)
|
||||
Gs_.pos = 100 * 1000;
|
||||
|
||||
pGradFill->GsLst.push_back( Gs_ );
|
||||
}
|
||||
//todooo method
|
||||
if (sRotate.is_init())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user