3052,12 → 3052,8 |
PageItem *ite = Items->at(c); |
QPtrVector<VColorStop> cstops = ite->fill_gradient.colorStops(); |
for (uint cst = 0; cst < ite->fill_gradient.Stops(); ++cst) |
{ |
QColor tmpc = ScColorEngine::getRGBColor(PageColors[cstops.at(cst)->name], this); |
ite->SetFarbe(&tmpc, cstops.at(cst)->name, cstops.at(cst)->shade); |
cstops.at(cst)->color = tmpc; |
ite->SetFarbe(&cstops.at(cst)->color, cstops.at(cst)->name, cstops.at(cst)->shade); |
} |
} |
uint masterItemsCount=MasterItems.count(); |
for (uint c=0; c<masterItemsCount; ++c) |
{ |
3064,12 → 3060,8 |
PageItem *ite = MasterItems.at(c); |
QPtrVector<VColorStop> cstops = ite->fill_gradient.colorStops(); |
for (uint cst = 0; cst < ite->fill_gradient.Stops(); ++cst) |
{ |
QColor tmpc = ScColorEngine::getRGBColor(PageColors[cstops.at(cst)->name], this); |
ite->SetFarbe(&tmpc, cstops.at(cst)->name, cstops.at(cst)->shade); |
cstops.at(cst)->color = tmpc; |
ite->SetFarbe(&cstops.at(cst)->color, cstops.at(cst)->name, cstops.at(cst)->shade); |
} |
} |
uint frameItemsCount=FrameItems.count(); |
for (uint c=0; c<frameItemsCount; ++c) |
{ |
3076,12 → 3068,8 |
PageItem *ite = FrameItems.at(c); |
QPtrVector<VColorStop> cstops = ite->fill_gradient.colorStops(); |
for (uint cst = 0; cst < ite->fill_gradient.Stops(); ++cst) |
{ |
QColor tmpc = ScColorEngine::getRGBColor(PageColors[cstops.at(cst)->name], this); |
ite->SetFarbe(&tmpc, cstops.at(cst)->name, cstops.at(cst)->shade); |
cstops.at(cst)->color = tmpc; |
ite->SetFarbe(&cstops.at(cst)->color, cstops.at(cst)->name, cstops.at(cst)->shade); |
} |
} |
QStringList patterns = docPatterns.keys(); |
for (uint c = 0; c < patterns.count(); ++c) |
{ |
3091,11 → 3079,7 |
PageItem *ite = pa.items.at(o); |
QPtrVector<VColorStop> cstops = ite->fill_gradient.colorStops(); |
for (uint cst = 0; cst < ite->fill_gradient.Stops(); ++cst) |
{ |
QColor tmpc = ScColorEngine::getRGBColor(PageColors[cstops.at(cst)->name], this); |
ite->SetFarbe(&tmpc, cstops.at(cst)->name, cstops.at(cst)->shade); |
cstops.at(cst)->color = tmpc; |
} |
ite->SetFarbe(&cstops.at(cst)->color, cstops.at(cst)->name, cstops.at(cst)->shade); |
if (ite->asImageFrame()) |
loadPict(ite->Pfile, ite, true, false); |
} |