Changeset View
Changeset View
Standalone View
Standalone View
generators/poppler/annots.cpp
Show First 20 Lines • Show All 174 Lines • ▼ Show 20 Line(s) | 140 | { | |||
---|---|---|---|---|---|
175 | switch ( ppl_ann->subType() ) | 175 | switch ( ppl_ann->subType() ) | ||
176 | { | 176 | { | ||
177 | case Poppler::Annotation::AText: | 177 | case Poppler::Annotation::AText: | ||
178 | { | 178 | { | ||
179 | const Okular::TextAnnotation * okl_txtann = static_cast<const Okular::TextAnnotation*>(okl_ann); | 179 | const Okular::TextAnnotation * okl_txtann = static_cast<const Okular::TextAnnotation*>(okl_ann); | ||
180 | Poppler::TextAnnotation * ppl_txtann = static_cast<Poppler::TextAnnotation*>(ppl_ann); | 180 | Poppler::TextAnnotation * ppl_txtann = static_cast<Poppler::TextAnnotation*>(ppl_ann); | ||
181 | ppl_txtann->setTextIcon( okl_txtann->textIcon() ); | 181 | ppl_txtann->setTextIcon( okl_txtann->textIcon() ); | ||
182 | ppl_txtann->setTextFont( okl_txtann->textFont() ); | 182 | ppl_txtann->setTextFont( okl_txtann->textFont() ); | ||
183 | #ifdef HAVE_POPPLER_0_69 | ||||
184 | ppl_txtann->setTextColor( okl_txtann->textColor() ); | ||||
185 | #endif //HAVE_POPPLER_0_69 | ||||
183 | ppl_txtann->setInplaceAlign( okl_txtann->inplaceAlignment() ); | 186 | ppl_txtann->setInplaceAlign( okl_txtann->inplaceAlignment() ); | ||
184 | ppl_txtann->setCalloutPoints( QVector<QPointF>() ); | 187 | ppl_txtann->setCalloutPoints( QVector<QPointF>() ); | ||
185 | ppl_txtann->setInplaceIntent( (Poppler::TextAnnotation::InplaceIntent)okl_txtann->inplaceIntent() ); | 188 | ppl_txtann->setInplaceIntent( (Poppler::TextAnnotation::InplaceIntent)okl_txtann->inplaceIntent() ); | ||
186 | break; | 189 | break; | ||
187 | } | 190 | } | ||
188 | case Poppler::Annotation::ALine: | 191 | case Poppler::Annotation::ALine: | ||
189 | { | 192 | { | ||
190 | const Okular::LineAnnotation * okl_lineann = static_cast<const Okular::LineAnnotation*>(okl_ann); | 193 | const Okular::LineAnnotation * okl_lineann = static_cast<const Okular::LineAnnotation*>(okl_ann); | ||
▲ Show 20 Lines • Show All 238 Lines • Show Last 20 Lines |