Scribus13Format Class Reference
#include <scribus13format.h>


Public Member Functions | |
| Scribus13Format () | |
| virtual | ~Scribus13Format () |
| virtual const QString | fullTrName () const |
| Plug-in's human-readable, translated name. | |
| virtual const AboutData * | getAboutData () const |
| Return descriptive information about the plug-in. | |
| virtual void | deleteAboutData (const AboutData *about) const |
| virtual void | languageChange () |
| Update all user-visible text to reflect current UI language. | |
| virtual bool | fileSupported (QIODevice *file, const QString &fileName=QString::null) const |
| virtual bool | loadFile (const QString &fileName, const FileFormat &fmt, int flags, int index=0) |
| virtual bool | saveFile (const QString &fileName, const FileFormat &fmt) |
| virtual void | addToMainWindowMenu (ScribusMainWindow *) |
| Allow plugins to add to a main menu. | |
| virtual bool | loadPage (const QString &fileName, int pageNumber, bool Mpage, QString renamedPageName=QString::null) |
| virtual bool | readStyles (const QString &fileName, ScribusDoc *doc, StyleSet< ParagraphStyle > &docParagraphStyles) |
| virtual bool | readLineStyles (const QString &fileName, QMap< QString, multiLine > *Sty) |
| virtual bool | readColors (const QString &fileName, ColorList &colors) |
| virtual bool | readPageCount (const QString &fileName, int *num1, int *num2, QStringList &masterPageNames) |
| virtual void | getReplacedFontData (bool &getNewReplacement, QMap< QString, QString > &getReplacedFonts, QList< ScFace > &getDummyScFaces) |
Private Member Functions | |
| void | registerFormats () |
| void | GetItemText (QDomElement *it, ScribusDoc *doc, PageItem *obj, LastStyles *last, bool impo=false, bool VorLFound=false) |
| void | readParagraphStyle (ParagraphStyle &vg, const QDomElement &pg, ScribusDoc *doc) |
| PageItem * | PasteItem (QDomElement *obj, ScribusDoc *doc, const QString &baseDir) |
| void | GetStyle (QDomElement *pg, ParagraphStyle *vg, StyleSet< ParagraphStyle > *tempParagraphStyles, ScribusDoc *doc, bool fl) |
| QString | readSLA (const QString &fileName) |
| QString | AskForFont (QString fStr, ScribusDoc *doc) |
| void | WritePages (ScribusDoc *doc, QDomDocument *docu, QDomElement *dc, QProgressBar *dia2, uint maxC, bool master) |
| void | WriteObjects (ScribusDoc *doc, QDomDocument *docu, QDomElement *dc, const QString &baseDir, QProgressBar *dia2, uint maxC, int master) |
| void | SetItemProps (QDomElement *ob, PageItem *item, const QString &baseDir, bool newFormat) |
| const ScFace & | findFont (ScribusDoc *doc, const QString &fontname) |
Private Attributes | |
| QMap< int, int > | itemRemap |
| QMap< int, int > | itemNext |
| int | itemCount |
| bool | newReplacement |
| QMap< QString, QString > | ReplacedFonts |
| QMap< uint, QString > | DoVorl |
| uint | VorlC |
Detailed Description
Definition at line 22 of file scribus13format.h.
Constructor & Destructor Documentation
| Scribus13Format::Scribus13Format | ( | ) |
Definition at line 39 of file scribus13format.cpp.
References languageChange().
Referenced by scribus13format_getPlugin().
| Scribus13Format::~Scribus13Format | ( | ) | [virtual] |
Member Function Documentation
| const QString Scribus13Format::fullTrName | ( | ) | const [virtual] |
Plug-in's human-readable, translated name.
Please don't use this for anything except display to the user. The results of testing the value of this can not be guaranteed, as its value may change depending on locale and change at runtime.
Implements ScPlugin.
Definition at line 59 of file scribus13format.cpp.
References tr().
| const ScActionPlugin::AboutData * Scribus13Format::getAboutData | ( | ) | const [virtual] |
Return descriptive information about the plug-in.
Returns a structure containing descriptive information about the plug-in. This information is used in places like the Help->About Plug-ins menu item. The stucture MUST be deleted using deleteAboutData(AboutData* about) when finished with.
Every plugin MUST reimplement getAboutData(...) and deleteAboutData(...).
- See also:
- ScPlugin::deleteAboutData
Implements ScPlugin.
Definition at line 64 of file scribus13format.cpp.
| void Scribus13Format::deleteAboutData | ( | const AboutData * | about | ) | const [virtual] |
| void Scribus13Format::languageChange | ( | ) | [virtual] |
Update all user-visible text to reflect current UI language.
Updates the text on all widgets on the plug-in to reflect the new language. You should generally use this method to set all the widget text during construction. That ensures that text is not duplicated, and that when this method is called the text of all persistent widgets is correctly changed.
This method only needs to affect text in widgets that currently exists (displayed or otherwise).
Implements ScPlugin.
Definition at line 52 of file scribus13format.cpp.
References registerFormats(), and LoadSavePlugin::unregisterAll().
Referenced by Scribus13Format().
| bool Scribus13Format::fileSupported | ( | QIODevice * | file, | |
| const QString & | fileName = QString::null | |||
| ) | const [virtual] |
Implements LoadSavePlugin.
Definition at line 92 of file scribus13format.cpp.
References ScGzFile::data(), loadRawText(), and ScGzFile::read().
| bool Scribus13Format::loadFile | ( | const QString & | fileName, | |
| const FileFormat & | fmt, | |||
| int | flags, | |||
| int | index = 0 | |||
| ) | [virtual] |
Reimplemented from LoadSavePlugin.
Definition at line 150 of file scribus13format.cpp.
References DocumentSection::active, ScribusDoc::addMasterPage(), ScribusDoc::addPage(), FPointArray::addPoint(), VGradient::addStop(), ScribusDoc::BookMa::Aktion, LPIData::Angle, PrefsManager::appPrefs, ScribusDoc::arrowStyles, PDFOptions::Articles, toolPrefs::aspectRatio, ObjectAttribute::autoaddto, checkerPrefs::autoCheck, ScribusDoc::AutoCheck, typoPrefs::autoLineSpacing, ScribusDoc::Automatic, ScribusDoc::AutoSave, ScribusDoc::AutoSaveTime, guidesPrefs::baseColor, guidesPrefs::baseShown, guidesPrefs::before, Beginning, PDFOptions::Binding, CMSData::BlackPoint, PDFOptions::bleeds, ScribusDoc::BookMarks, PDFOptions::Bookmarks, MarginStruct::Bottom, PageItem::BottomLink, PageItem::BottomLinkID, checkerPrefs::checkAnnotations, ScribusDoc::checkerProfiles, checkerPrefs::checkForGIF, checkerPrefs::checkGlyphs, checkerPrefs::checkOrphans, checkerPrefs::checkOverflow, checkerPrefs::checkPictures, checkerPrefs::checkRasterPDF, checkerPrefs::checkResolution, checkerPrefs::checkTransparency, CMSData::CMSinUse, ScribusDoc::CMSSettings, guidesPrefs::colBordersShown, SingleLine::Color, PageSet::Columns, PDFOptions::Compress, PDFOptions::CompressMethod, StyleSet< STYLE >::create(), ScribusDoc::curCheckProfile, ScribusDoc::currentPageLayout, SingleLine::Dash, PDFOptions::Datei, toolPrefs::dBrush, toolPrefs::dBrushPict, toolPrefs::dCols, CMSData::DefaultImageCMYKProfile, CMSData::DefaultImageRGBProfile, CMSData::DefaultIntentColors, CMSData::DefaultIntentImages, CMSData::DefaultMonitorProfile, CMSData::DefaultPrinterProfile, CMSData::DefaultSolidColorCMYKProfile, CMSData::DefaultSolidColorRGBProfile, toolPrefs::defFont, toolPrefs::defSize, toolPrefs::dEndArrow, toolPrefs::dGap, PDFPresentationData::Di, PDFOptions::displayBookmarks, PDFOptions::displayFullscreen, PDFOptions::displayLayers, PDFOptions::displayThumbs, toolPrefs::dLineArt, toolPrefs::dLstyleLine, PDFPresentationData::Dm, ScribusDoc::docItemAttributes, PDFOptions::doClip, ScribusDoc::docToCSetups, ScribusDoc::documentInfo, PDFOptions::doMultiFile, PDFOptions::doOverprint, DoVorl, toolPrefs::dPen, toolPrefs::dPenLine, toolPrefs::dPenText, toolPrefs::dShade, toolPrefs::dShade2, toolPrefs::dShadeLine, toolPrefs::dStartArrow, toolPrefs::dStrokeText, toolPrefs::dTabWidth, toolPrefs::dTextBackGround, toolPrefs::dTextBackGroundShade, toolPrefs::dTextLineColor, toolPrefs::dTextLineShade, toolPrefs::dTextPenShade, toolPrefs::dTextStrokeShade, toolPrefs::dWidth, toolPrefs::dWidthLine, PDFPresentationData::effectType, PDFOptions::EmbeddedI, PDFOptions::EmbedList, PDFOptions::Encrypt, End, PageItem::fill_gradient, SCFonts::findFont(), ScribusDoc::BookMa::First, ScribusDoc::FirstAuto, PageSet::FirstPage, ScribusDoc::FirstPnum, PDFOptions::fitWindow, ScribusDoc::FrameItems, ToCSetup::frameName, guidesPrefs::framesShown, LPIData::Frequency, DocumentSection::fromindex, ScColor::fromQColor(), CMSData::GamutCheck, ScribusDoc::GapHorizontal, ScribusDoc::GapVertical, GetItemText(), ScColorEngine::getRGBColor(), PageItem::gHeight, guidesPrefs::grabRad, guidesPrefs::gridShown, ScribusDoc::GroupCounter, guidesPrefs::guideColor, ScribusDoc::GuideLock, guidesPrefs::guideRad, Page::guides, ApplicationPrefs::guidesSettings, ScribusDoc::guidesSettings, guidesPrefs::guidesShown, PageItem::gWidth, PageItem::gXpos, PageItem::gYpos, handleOldColorShade(), PageItem::height, Page::height(), PDFOptions::hideMenuBar, PDFOptions::hideToolBar, ScribusDoc::HyCount, checkerPrefs::ignoreErrors, checkerPrefs::ignoreOffLayers, PDFOptions::ImageProf, PDFOptions::Info, Page::initialMargins, PrefsManager::instance(), PDFOptions::Intent, PDFOptions::Intent2, PageItem::isAutoText, PageItem::isEmbedded, PDFOptions::isGrayscale, PageItem::isTableItem, ToCSetup::itemAttrName, itemCount, itemNext, ScribusDoc::BookMa::ItemNr, PageItem::ItemNr, itemRemap, ScribusDoc::Items, ScribusDoc::JavaScripts, ScribusDoc::Language, ScribusDoc::BookMa::Last, ScribusDoc::LastAuto, guidesPrefs::layerMarkersShown, ScribusDoc::Layers, MarginStruct::Left, PageItem::LeftLink, PageItem::LeftLinkID, Page::LeftPg, SingleLine::LineEnd, SingleLine::LineJoin, PageItem::link(), guidesPrefs::linkShown, ToCSetup::listNonPrintingFrames, toolPrefs::lowResType, PDFOptions::LPISettings, PDFPresentationData::M, LoadSavePlugin::m_AvailableFonts, LoadSavePlugin::m_Doc, LoadSavePlugin::m_mwProgressBar, Page::m_pageSize, ScribusDoc::m_pageSize, toolPrefs::magMax, toolPrefs::magMin, toolPrefs::magStep, guidesPrefs::majorColor, guidesPrefs::majorGrid, guidesPrefs::margColor, ScribusDoc::marginColored, Page::Margins, guidesPrefs::marginsShown, ScribusDoc::MasterItems, ScribusDoc::MasterNames, ScribusDoc::masterPageMode(), ScribusDoc::MasterPages, checkerPrefs::maxResolution, guidesPrefs::minorColor, guidesPrefs::minorGrid, checkerPrefs::minResolution, ScribusDoc::MinWordLen, PDFOptions::MirrorH, PDFOptions::MirrorV, ScribusDoc::MLineStyles, Page::MPageNam, DocumentSection::name, ToCSetup::name, ObjectAttribute::name, ArrowDesc::name, Style::name(), ScColor::name(), PageSet::Name, ScLayers::newLayer(), newReplacement, ScribusDoc::BookMa::Next, PageItem::nextInChain(), CommonStrings::None, NotShown, DocumentSection::number, typoPrefs::offsetBaseGrid, PageItem::OnMasterPage, ScribusDoc::OnPage(), PDFOptions::openAction, PageItem::OwnPage, ScribusDoc::PageColors, PDFPresentationData::pageEffectDuration, ScribusDoc::pageHeight, PDFOptions::PageLayout, ToCSetup::pageLocation, ScribusDoc::pageMargins, PageSet::pageNames, ScribusDoc::BookMa::PageObject, Page::PageOri, ScribusDoc::PageOri, ScribusDoc::pageSets, ScribusDoc::PageSp, ScribusDoc::PageSpa, PDFPresentationData::pageViewDuration, ScribusDoc::pageWidth, ScribusDoc::papColor, ObjectAttribute::parameter, ScribusDoc::BookMa::Parent, PDFOptions::PassOwner, PDFOptions::PassUser, PasteItem(), ScribusDoc::PDF_Options, PDFOptions::Permissions, PDFOptions::PicRes, ArrowDesc::points, toolPrefs::polyC, toolPrefs::polyF, toolPrefs::polyFd, toolPrefs::polyR, toolPrefs::polyS, PDFOptions::PresentMode, PDFOptions::PresentVals, ScribusDoc::BookMa::Prev, PageItem::prevInChain(), PDFOptions::PrintProf, PDFOptions::Quality, GuideManagerIO::readHorizontalGuides(), readParagraphStyle(), readSLA(), GuideManagerIO::readVerticalGuides(), PDFOptions::RecalcPic, ScribusDoc::redefineStyles(), ScribusDoc::reformPages(), ObjectAttribute::relationship, ObjectAttribute::relationshipto, ReplacedFonts, PDFOptions::Resolution, DocumentSection::reversed, MarginStruct::Right, PageItem::RightLink, PageItem::RightLinkID, PDFOptions::RotateDeg, PageSet::Rows, guidesPrefs::rulerMode, guidesPrefs::rulersShown, ScribusDoc::rulerXoffset, ScribusDoc::rulerYoffset, toolPrefs::scaleType, toolPrefs::scaleX, toolPrefs::scaleY, typoPrefs::scalingSubScript, typoPrefs::scalingSuperScript, ScribusDoc::scratch, ScribusDoc::sections, DocumentSection::sectionstartindex, ScribusDoc::setActiveLayer(), DocumentInformation::setAuthor(), SetColor(), DocumentInformation::setComments(), DocumentInformation::setContrib(), DocumentInformation::setCover(), ScribusDoc::setCurrentPage(), DocumentInformation::setDate(), DocumentInformation::setFormat(), Page::setHeight(), GuideManagerCore::setHorizontalAutoCount(), GuideManagerCore::setHorizontalAutoGap(), GuideManagerCore::setHorizontalAutoRefer(), DocumentInformation::setIdent(), Page::setInitialHeight(), Page::setInitialWidth(), DocumentInformation::setKeywords(), DocumentInformation::setLangInfo(), ScribusDoc::setLoading(), ScribusDoc::setMasterPageMode(), ScColor::setNamedColor(), PageItem::setObjectAttributes(), DocumentInformation::setPublisher(), PageItem::setRedrawBounding(), ScColor::setRegistrationColor(), DocumentInformation::setRelation(), DocumentInformation::setRights(), DocumentInformation::setSource(), ScColor::setSpotColor(), DocumentInformation::setTitle(), DocumentInformation::setType(), ScribusDoc::setUnitIndex(), ScribusDoc::setUsesAutomaticTextFrames(), GuideManagerCore::setVerticalAutoCount(), GuideManagerCore::setVerticalAutoGap(), GuideManagerCore::setVerticalAutoRefer(), Page::setWidth(), Page::setXOffset(), Page::setYOffset(), SingleLine::Shade, toolPrefs::shadePict, guidesPrefs::showControls, guidesPrefs::showPic, ScribusDoc::SnapGuides, CMSData::SoftProofFullOn, CMSData::SoftProofOn, PDFOptions::SolidProf, LPIData::SpotFunc, GuideManagerCore::Standard, VGradient::Stops(), PDFOptions::SubsetList, toolPrefs::tabFillChar, ScribusDoc::BookMa::Text, ToCSetup::textStyle, PDFOptions::Thumbnails, ScribusDoc::BookMa::Title, DocumentSection::toindex, ApplicationPrefs::toolSettings, ScribusDoc::toolSettings, MarginStruct::Top, PageItem::TopLink, PageItem::TopLinkID, tr(), DocumentSection::type, ObjectAttribute::type, Type_1_2_3, Type_A_B_C, Type_a_b_c, Type_I_II_III, Type_i_ii_iii, ScribusDoc::typographicSettings, CommonStrings::untranslatePageSetLocString(), CommonStrings::untranslatePageSetString(), toolPrefs::useEmbeddedPath, PDFOptions::useLayers, PDFOptions::UseLPI, PDFOptions::UseProfiles, PDFOptions::UseProfiles2, ArrowDesc::userArrow, ScribusDoc::useRaster, PDFOptions::UseRGB, PDFOptions::UseSpotColors, ObjectAttribute::value, typoPrefs::valueBaseGrid, typoPrefs::valueSmallCaps, typoPrefs::valueStrikeThruPos, typoPrefs::valueStrikeThruWidth, typoPrefs::valueSubScript, typoPrefs::valueSuperScript, typoPrefs::valueUnderlinePos, typoPrefs::valueUnderlineWidth, PDFOptions::Version, VorlC, PageItem::width, Page::width(), and SingleLine::Width.
| bool Scribus13Format::saveFile | ( | const QString & | fileName, | |
| const FileFormat & | fmt | |||
| ) | [virtual] |
changed to enable saving of *.gz documents 2.7.2002 C.Toepp <c.toepp@gmx.de>
Reimplemented from LoadSavePlugin.
Definition at line 1131 of file scribus13format.cpp.
References ScribusDoc::activeLayer(), ScribusDoc::arrowStyles, PDFOptions::Articles, toolPrefs::aspectRatio, ScribusDoc::AutoCheck, typoPrefs::autoLineSpacing, ScribusDoc::Automatic, ScribusDoc::AutoSave, ScribusDoc::AutoSaveTime, guidesPrefs::baseColor, ParagraphStyle::BaselineGridLineSpacing, guidesPrefs::baseShown, guidesPrefs::before, Beginning, PDFOptions::Binding, CMSData::BlackPoint, PDFOptions::bleeds, PDFOptions::Bookmarks, ScribusDoc::BookMarks, MarginStruct::Bottom, ScribusDoc::checkerProfiles, CMSData::CMSinUse, ScribusDoc::CMSSettings, guidesPrefs::colBordersShown, colorModelRGB, PDFOptions::Compress, PDFOptions::CompressMethod, StyleSet< STYLE >::count(), ScribusDoc::curCheckProfile, ScribusDoc::currentPageLayout, toolPrefs::dBrush, toolPrefs::dBrushPict, toolPrefs::dCols, CMSData::DefaultImageCMYKProfile, CMSData::DefaultImageRGBProfile, CMSData::DefaultIntentColors, CMSData::DefaultIntentImages, CMSData::DefaultMonitorProfile, CMSData::DefaultPrinterProfile, CMSData::DefaultSolidColorCMYKProfile, CMSData::DefaultSolidColorRGBProfile, toolPrefs::defFont, toolPrefs::defSize, toolPrefs::dEndArrow, toolPrefs::dGap, PDFOptions::displayBookmarks, PDFOptions::displayFullscreen, PDFOptions::displayLayers, PDFOptions::displayThumbs, toolPrefs::dLineArt, toolPrefs::dLstyleLine, ScribusDoc::docItemAttributes, ScribusDoc::DocItems, PDFOptions::doClip, ScribusDoc::DocPages, ScribusDoc::docToCSetups, ScribusDoc::documentInfo, PDFOptions::doMultiFile, PDFOptions::doOverprint, toolPrefs::dPen, toolPrefs::dPenLine, toolPrefs::dPenText, toolPrefs::dShade, toolPrefs::dShade2, toolPrefs::dShadeLine, toolPrefs::dStartArrow, toolPrefs::dStrokeText, toolPrefs::dTabWidth, toolPrefs::dTextBackGround, toolPrefs::dTextBackGroundShade, toolPrefs::dTextLineColor, toolPrefs::dTextLineShade, toolPrefs::dTextPenShade, toolPrefs::dTextStrokeShade, toolPrefs::dWidth, toolPrefs::dWidthLine, PDFOptions::EmbeddedI, PDFOptions::EmbedList, PDFOptions::Encrypt, End, ScribusDoc::FirstPnum, PDFOptions::fitWindow, ScribusDoc::FrameItems, guidesPrefs::framesShown, CMSData::GamutCheck, DocumentInformation::getAuthor(), DocumentInformation::getComments(), DocumentInformation::getContrib(), DocumentInformation::getCover(), DocumentInformation::getDate(), DocumentInformation::getFormat(), DocumentInformation::getIdent(), DocumentInformation::getKeywords(), DocumentInformation::getLangInfo(), DocumentInformation::getPublisher(), DocumentInformation::getRelation(), DocumentInformation::getRights(), DocumentInformation::getSource(), DocumentInformation::getTitle(), DocumentInformation::getType(), guidesPrefs::grabRad, guidesPrefs::gridShown, ScribusDoc::GroupCounter, guidesPrefs::guideColor, ScribusDoc::GuideLock, guidesPrefs::guideRad, ScribusDoc::guidesSettings, guidesPrefs::guidesShown, ScribusDoc::HasCMS, PDFOptions::hideMenuBar, PDFOptions::hideToolBar, ScribusDoc::HyCount, PDFOptions::ImageProf, PDFOptions::Info, PDFOptions::Intent, PDFOptions::Intent2, PDFOptions::isGrayscale, ScribusDoc::JavaScripts, ScribusDoc::Language, ScribusDoc::layerCount(), guidesPrefs::layerMarkersShown, ScribusDoc::Layers, MarginStruct::Left, guidesPrefs::linkShown, toolPrefs::lowResType, PDFOptions::LPISettings, LoadSavePlugin::m_Doc, LoadSavePlugin::m_mwProgressBar, ScribusDoc::m_pageSize, toolPrefs::magMax, toolPrefs::magMin, toolPrefs::magStep, guidesPrefs::majorColor, guidesPrefs::majorGrid, guidesPrefs::margColor, ScribusDoc::marginColored, guidesPrefs::marginsShown, ScribusDoc::MasterItems, ScribusDoc::MasterPages, guidesPrefs::minorColor, guidesPrefs::minorGrid, ScribusDoc::MinWordLen, PDFOptions::MirrorH, PDFOptions::MirrorV, ScribusDoc::MLineStyles, NotShown, typoPrefs::offsetBaseGrid, PDFOptions::openAction, ScribusDoc::PageColors, ScribusDoc::pageHeight, PDFOptions::PageLayout, ScribusDoc::pageMargins, ScribusDoc::PageOri, ScribusDoc::pageSets, ScribusDoc::PageSp, ScribusDoc::PageSpa, ScribusDoc::pageWidth, ScribusDoc::papColor, ScribusDoc::paragraphStyles(), PDFOptions::PassOwner, PDFOptions::PassUser, ScribusDoc::PDF_Options, PDFOptions::Permissions, PDFOptions::PicRes, toolPrefs::polyC, toolPrefs::polyF, toolPrefs::polyFd, toolPrefs::polyR, toolPrefs::polyS, PDFOptions::PresentMode, PDFOptions::PresentVals, PDFOptions::PrintProf, PDFOptions::Quality, PDFOptions::RecalcPic, PDFOptions::Resolution, MarginStruct::Right, PDFOptions::RotateDeg, guidesPrefs::rulerMode, guidesPrefs::rulersShown, ScribusDoc::rulerXoffset, ScribusDoc::rulerYoffset, toolPrefs::scaleType, toolPrefs::scaleX, toolPrefs::scaleY, typoPrefs::scalingSubScript, typoPrefs::scalingSuperScript, ScribusDoc::scratch, ScribusDoc::sections, toolPrefs::shadePict, guidesPrefs::showControls, guidesPrefs::showPic, ScribusDoc::SnapGuides, CMSData::SoftProofFullOn, CMSData::SoftProofOn, PDFOptions::SolidProf, PDFOptions::SubsetList, toolPrefs::tabFillChar, PDFOptions::Thumbnails, ScribusDoc::toolSettings, MarginStruct::Top, Type_1_2_3, Type_A_B_C, Type_a_b_c, Type_I_II_III, Type_i_ii_iii, Type_None, ScribusDoc::typographicSettings, ScribusDoc::unitIndex(), toolPrefs::useEmbeddedPath, PDFOptions::useLayers, PDFOptions::UseLPI, PDFOptions::UseProfiles, PDFOptions::UseProfiles2, ScribusDoc::useRaster, PDFOptions::UseRGB, ScribusDoc::usesAutomaticTextFrames(), PDFOptions::UseSpotColors, typoPrefs::valueBaseGrid, typoPrefs::valueSmallCaps, typoPrefs::valueStrikeThruPos, typoPrefs::valueStrikeThruWidth, typoPrefs::valueSubScript, typoPrefs::valueSuperScript, typoPrefs::valueUnderlinePos, typoPrefs::valueUnderlineWidth, PDFOptions::Version, ScGzFile::write(), WriteObjects(), and WritePages().
| virtual void Scribus13Format::addToMainWindowMenu | ( | ScribusMainWindow * | ) | [inline, virtual] |
Allow plugins to add to a main menu.
Implements ScPlugin.
Definition at line 39 of file scribus13format.h.
| bool Scribus13Format::loadPage | ( | const QString & | fileName, | |
| int | pageNumber, | |||
| bool | Mpage, | |||
| QString | renamedPageName = QString::null | |||
| ) | [virtual] |
Reimplemented from LoadSavePlugin.
Definition at line 2473 of file scribus13format.cpp.
References FPointArray::addPoint(), ScribusDoc::BookMa::Aktion, ScribusDoc::arrowStyles, ObjectAttribute::autoaddto, ScribusDoc::BookMarks, MarginStruct::Bottom, PageItem::BottomLink, PageItem::BottomLinkID, SingleLine::Color, ScribusDoc::currentPage(), ScribusDoc::currentPageNumber(), SingleLine::Dash, toolPrefs::dBrush, DoVorl, toolPrefs::dPen, ScribusDoc::BookMa::First, ScribusDoc::FirstAuto, ScribusDoc::FrameItems, ScColor::fromQColor(), GetItemText(), ScColorEngine::getRGBColor(), GetStyle(), ScribusDoc::GroupCounter, handleOldColorShade(), Page::height(), Page::initialMargins, itemCount, itemNext, ScribusDoc::BookMa::ItemNr, itemRemap, ScribusDoc::Items, ScribusDoc::JavaScripts, ScribusDoc::BookMa::Last, ScribusDoc::LastAuto, ScLayers::layerByName(), ScribusDoc::layerCount(), ScribusDoc::Layers, MarginStruct::Left, PageItem::LeftLink, PageItem::LeftLinkID, Page::LeftPg, SingleLine::LineEnd, SingleLine::LineJoin, PageItem::link(), ScLayer::LNr, LoadSavePlugin::m_AvailableFonts, LoadSavePlugin::m_Doc, Page::m_pageSize, Page::Margins, ScribusDoc::MLineStyles, ObjectAttribute::name, ArrowDesc::name, ScColor::name(), newReplacement, ScribusDoc::BookMa::Next, PageItem::nextInChain(), CommonStrings::None, ScribusDoc::PageColors, Page::pageNr(), ScribusDoc::BookMa::PageObject, Page::PageOri, ScribusDoc::Pages, ObjectAttribute::parameter, ScribusDoc::BookMa::Parent, PasteItem(), ArrowDesc::points, ScribusDoc::BookMa::Prev, PageItem::prevInChain(), GuideManagerIO::readHorizontalGuides(), readSLA(), GuideManagerIO::readVerticalGuides(), ObjectAttribute::relationship, ObjectAttribute::relationshipto, ReplacedFonts, MarginStruct::Right, PageItem::RightLink, PageItem::RightLinkID, SetColor(), Page::setHeight(), Page::setInitialHeight(), Page::setInitialWidth(), ScColor::setNamedColor(), Page::setPageName(), ScColor::setRegistrationColor(), ScColor::setSpotColor(), Page::setWidth(), SingleLine::Shade, GuideManagerCore::Standard, ScribusDoc::BookMa::Text, ScribusDoc::BookMa::Title, ScribusDoc::toolSettings, MarginStruct::Top, PageItem::TopLink, PageItem::TopLinkID, tr(), ObjectAttribute::type, ArrowDesc::userArrow, ObjectAttribute::value, VorlC, Page::width(), SingleLine::Width, Page::xOffset(), and Page::yOffset().
| bool Scribus13Format::readStyles | ( | const QString & | fileName, | |
| ScribusDoc * | doc, | |||
| StyleSet< ParagraphStyle > & | docParagraphStyles | |||
| ) | [virtual] |
Reimplemented from LoadSavePlugin.
Definition at line 2985 of file scribus13format.cpp.
References GetStyle(), and readSLA().
| bool Scribus13Format::readLineStyles | ( | const QString & | fileName, | |
| QMap< QString, multiLine > * | Sty | |||
| ) | [virtual] |
Reimplemented from LoadSavePlugin.
Definition at line 3015 of file scribus13format.cpp.
References SingleLine::Color, SingleLine::Dash, SingleLine::LineEnd, SingleLine::LineJoin, readSLA(), SingleLine::Shade, tr(), and SingleLine::Width.
| bool Scribus13Format::readColors | ( | const QString & | fileName, | |
| ColorList & | colors | |||
| ) | [virtual] |
Reimplemented from LoadSavePlugin.
Definition at line 3072 of file scribus13format.cpp.
References ScColor::fromQColor(), ScColor::name(), CommonStrings::None, readSLA(), ScColor::setNamedColor(), ScColor::setRegistrationColor(), and ScColor::setSpotColor().
| bool Scribus13Format::readPageCount | ( | const QString & | fileName, | |
| int * | num1, | |||
| int * | num2, | |||
| QStringList & | masterPageNames | |||
| ) | [virtual] |
Reimplemented from LoadSavePlugin.
Definition at line 3118 of file scribus13format.cpp.
References readSLA().
| void Scribus13Format::getReplacedFontData | ( | bool & | getNewReplacement, | |
| QMap< QString, QString > & | getReplacedFonts, | |||
| QList< ScFace > & | getDummyScFaces | |||
| ) | [virtual] |
Reimplemented from LoadSavePlugin.
Definition at line 143 of file scribus13format.cpp.
References newReplacement, and ReplacedFonts.
| void Scribus13Format::registerFormats | ( | ) | [private] |
Definition at line 77 of file scribus13format.cpp.
References FileFormat::filter, FileFormat::formatId, FORMATID_SLA13XIMPORT, FileFormat::load, FileFormat::mimeTypes, FileFormat::nameMatch, FileFormat::priority, LoadSavePlugin::registerFormat(), FileFormat::save, tr(), and FileFormat::trName.
Referenced by languageChange().
| void Scribus13Format::GetItemText | ( | QDomElement * | it, | |
| ScribusDoc * | doc, | |||
| PageItem * | obj, | |||
| LastStyles * | last, | |||
| bool | impo = false, |
|||
| bool | VorLFound = false | |||
| ) | [private] |
Definition at line 1717 of file scribus13format.cpp.
References StoryText::applyCharStyle(), StoryText::applyStyle(), DoVorl, SCFonts::findFont(), ScribusDoc::FrameItems, handleOldColorShade(), StoryText::insertChars(), StoryText::insertObject(), PageItem::itemText, StoryText::length(), LoadSavePlugin::m_AvailableFonts, SpecialChars::NBHYPHEN, SpecialChars::NBSPACE, CommonStrings::None, ScFace::none(), SpecialChars::OBJECT, SpecialChars::OLD_NBHYPHEN, SpecialChars::OLD_NBSPACE, LastStyles::ParaStyle, SpecialChars::PARSEP, Style::setParent(), LastStyles::Style, LastStyles::StyleStart, and SpecialChars::TAB.
Referenced by loadFile(), and loadPage().
| void Scribus13Format::readParagraphStyle | ( | ParagraphStyle & | vg, | |
| const QDomElement & | pg, | |||
| ScribusDoc * | doc | |||
| ) | [private] |
Definition at line 1864 of file scribus13format.cpp.
References ParagraphStyle::BaselineGridLineSpacing, ParagraphStyle::charStyle(), toolPrefs::dBrush, toolPrefs::defFont, toolPrefs::d
