ScPreview Class Reference
#include <scpreview.h>

Public Member Functions | |
| ScPreview () | |
| ~ScPreview () | |
| QPixmap | createPreview (QString data) |
| void | SetQColor (QColor *tmp, const QString &farbe, double shad) |
| void | DrawZeichenS (ScPainter *p, double xco, double yco, QString ch, QString ZFo, bool Reverse, int Style, int mode, double Siz) |
Public Attributes | |
| QMap< QString, ScColor > | Farben |
| QMap< QString, multiLine > | MLineStyles |
| QList< uint > | Segments |
Protected Attributes | |
| PrefsManager * | prefsManager |
Detailed Description
Definition at line 21 of file scpreview.h.
Constructor & Destructor Documentation
| ScPreview::ScPreview | ( | ) |
Definition at line 42 of file scpreview.cpp.
References Farben, PrefsManager::instance(), MLineStyles, prefsManager, and Segments.
| ScPreview::~ScPreview | ( | ) | [inline] |
Definition at line 25 of file scpreview.h.
Member Function Documentation
| QPixmap ScPreview::createPreview | ( | QString | data | ) |
Definition at line 50 of file scpreview.cpp.
References FPointArray::addPoint(), VGradient::addStop(), PrefsManager::appPrefs, ApplicationPrefs::arrowStyles, CopyPasteBuffer::AspectRatio, ApplicationPrefs::AvailFonts, CopyPasteBuffer::BaseOffs, ScPainter::beginLayer(), CopyPasteBuffer::BExtra, ScText::ch, VGradient::clearStops(), CopyPasteBuffer::Clip, CopyPasteBuffer::ClipEdited, SingleLine::Color, FPointArray::copy(), SingleLine::Dash, toolPrefs::defFont, ScPainter::drawImage(), ScPainter::drawLine(), ScPainter::drawPolygon(), ScPainter::drawPolyLine(), DrawZeichenS(), CharStyle::effects(), CopyPasteBuffer::EmProfile, ScPainter::end(), End, CopyPasteBuffer::endArrowIndex, ScPainter::endLayer(), CopyPasteBuffer::Extra, CopyPasteBuffer::ExtraV, Farben, ScPainter::fill_gradient, CopyPasteBuffer::fill_gradient, ScPainter::fillPath(), FlattenPath(), CopyPasteBuffer::flippedH, CopyPasteBuffer::flippedV, CharStyle::font, CopyPasteBuffer::FrameType, ScColor::fromQColor(), GetAttr(), MissingFont::getReplacementFont(), ApplicationPrefs::GFontSub, ScText::glyph, CopyPasteBuffer::GrColor, CopyPasteBuffer::GrColor2, CopyPasteBuffer::GrEndX, CopyPasteBuffer::GrEndY, CopyPasteBuffer::Groups, CopyPasteBuffer::GrShade, CopyPasteBuffer::GrShade2, CopyPasteBuffer::GrStartX, CopyPasteBuffer::GrStartY, CopyPasteBuffer::GrType, CopyPasteBuffer::Height, CopyPasteBuffer::IFont, PageItem::ImageFrame, CharStyle::INHERIT, CopyPasteBuffer::IProfile, CopyPasteBuffer::IRender, CopyPasteBuffer::isBookmark, CopyPasteBuffer::ISize, CopyPasteBuffer::isPrintable, CopyPasteBuffer::itemText, PageItem::ItemType1, PageItem::ItemType3, PageItem::LatexFrame, CopyPasteBuffer::LayerNr, PageItem::Line, VGradient::linear, SingleLine::LineEnd, SingleLine::LineJoin, CopyPasteBuffer::LineSp, ScImage::LoadPicture(), CopyPasteBuffer::LocalScX, CopyPasteBuffer::LocalScY, CopyPasteBuffer::LocalX, CopyPasteBuffer::LocalY, CopyPasteBuffer::Locked, CopyPasteBuffer::m_isAnnotation, M_PI, FPointArray::map(), MLineStyles, PageItem::Multiple, ArrowDesc::name, CopyPasteBuffer::NamedLStyle, CommonStrings::None, PageItem::PathText, CopyPasteBuffer::Pcolor, CopyPasteBuffer::Pcolor2, ScPainter::pen(), CopyPasteBuffer::Pfile, CopyPasteBuffer::Pfile2, CopyPasteBuffer::Pfile3, CopyPasteBuffer::PicArt, CopyPasteBuffer::PLineArt, CopyPasteBuffer::PLineEnd, CopyPasteBuffer::PLineJoin, FPointArray::point(), ArrowDesc::points, CopyPasteBuffer::PoLine, PageItem::Polygon, PageItem::PolyLine, CopyPasteBuffer::PoShow, prefsManager, CopyPasteBuffer::PType, CopyPasteBuffer::Pwidth, ScImage::qImage(), VGradient::radial, CopyPasteBuffer::RadRect, FPointArray::resize(), ScPainter::restore(), CopyPasteBuffer::Reverse, CopyPasteBuffer::RExtra, ScImage::RGBData, CopyPasteBuffer::Rot, ScPainter::rotate(), ScPainter::save(), ScPainter::scale(), CopyPasteBuffer::ScaleType, typoPrefs::scalingSubScript, typoPrefs::scalingSuperScript, ScCore, ScStyle_Default, Segments, ScPainter::setBrush(), ScPainter::setBrushOpacity(), ScPainter::setClipPath(), ScPainter::setFillMode(), ScPainter::setGradient(), ScPainter::setLineWidth(), FPointArray::setMarker(), ScColor::setNamedColor(), ScPainter::setPen(), ScPainter::setPenOpacity(), FPointArray::setPoint(), FPointArray::setPoints(), SetQColor(), ScPainter::setupPolygon(), CopyPasteBuffer::Shade, SingleLine::Shade, CopyPasteBuffer::Shade2, ScribusCore::showSplash(), CopyPasteBuffer::ShTxtFill, CopyPasteBuffer::ShTxtStroke, FPointArray::size(), ScPainter::Solid, CopyPasteBuffer::startArrowIndex, ScPainter::strokePath(), CopyPasteBuffer::textAlignment, PageItem::TextFlowDisabled, CopyPasteBuffer::TextflowMode, PageItem::TextFlowUsesBoundingBox, PageItem::TextFlowUsesContourLine, PageItem::TextFlowUsesFrameShape, PageItem::TextFrame, CopyPasteBuffer::TExtra, ApplicationPrefs::toolSettings, FPointArray::translate(), ScPainter::translate(), CopyPasteBuffer::Transparency, CopyPasteBuffer::TranspStroke, CopyPasteBuffer::TxTBase, CopyPasteBuffer::TxtFill, CopyPasteBuffer::TxtScale, CopyPasteBuffer::TxtScaleV, CopyPasteBuffer::TxtStroke, CopyPasteBuffer::TxTStyle, ApplicationPrefs::typographicSettings, CopyPasteBuffer::UseEmbedded, typoPrefs::valueSmallCaps, typoPrefs::valueSubScript, typoPrefs::valueSuperScript, CopyPasteBuffer::Width, SingleLine::Width, FPoint::x(), GlyphLayout::xoffset, CopyPasteBuffer::Xpos, xy2Deg(), FPoint::y(), GlyphLayout::yoffset, and CopyPasteBuffer::Ypos.
Referenced by Biblio::ObjFromCopyAction(), Biblio::ObjFromMenu(), BibView::ReadContents(), and BibView::SaveContents().
| void ScPreview::SetQColor | ( | QColor * | tmp, | |
| const QString & | farbe, | |||
| double | shad | |||
| ) |
Definition at line 976 of file scpreview.cpp.
References Farben, and ScColorEngine::getShadeColorProof().
Referenced by createPreview().
| void ScPreview::DrawZeichenS | ( | ScPainter * | p, | |
| double | xco, | |||
| double | yco, | |||
| QString | ch, | |||
| QString | ZFo, | |||
| bool | Reverse, | |||
| int | Style, | |||
| int | mode, | |||
| double | Siz | |||
| ) |
Definition at line 981 of file scpreview.cpp.
References PrefsManager::appPrefs, ApplicationPrefs::AvailFonts, ScPainter::drawLine(), ScPainter::drawRect(), ScPainter::fillPath(), FPointArray::map(), prefsManager, ScPainter::setFillMode(), ScPainter::setLineWidth(), ScPainter::setPen(), ScPainter::setupPolygon(), FPointArray::size(), and ScPainter::strokePath().
Referenced by createPreview().
Member Data Documentation
| QMap<QString,ScColor> ScPreview::Farben |
Definition at line 29 of file scpreview.h.
Referenced by createPreview(), ScPreview(), and SetQColor().
| QMap<QString,multiLine> ScPreview::MLineStyles |
| QList<uint> ScPreview::Segments |
PrefsManager* ScPreview::prefsManager [protected] |
Definition at line 33 of file scpreview.h.
Referenced by createPreview(), DrawZeichenS(), and ScPreview().
The documentation for this class was generated from the following files:
