Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

Scribus134Format Class Reference

#include <scribus134format.h>

Inheritance diagram for Scribus134Format:

Inheritance graph
[legend]
Collaboration diagram for Scribus134Format:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Scribus134Format ()
virtual ~Scribus134Format ()
virtual const QString fullTrName () const
 Plug-in's human-readable, translated name.
virtual const AboutDatagetAboutData () 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 readCharStyles (const QString &fileName, ScribusDoc *doc, StyleSet< CharStyle > &docCharStyles)
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 Types

enum  ItemSelection { ItemSelectionMaster = 0, ItemSelectionPage = 1, ItemSelectionFrame = 2, ItemSelectionPattern = 3 }

Private Member Functions

void registerFormats ()
void GetItemText (QDomElement *it, ScribusDoc *doc, PageItem *obj, LastStyles *last, bool impo=false, bool VorLFound=false)
void GetCStyle (const QDomElement *it, ScribusDoc *doc, CharStyle &newStyle)
void readParagraphStyle (ParagraphStyle &vg, const QDomElement &pg, SCFonts &avail, ScribusDoc *doc)
PageItemPasteItem (QDomElement *obj, ScribusDoc *doc, const QString &baseDir)
void GetStyle (QDomElement *pg, ParagraphStyle *vg, StyleSet< ParagraphStyle > *docParagraphStyles, ScribusDoc *doc, bool fl)
QString readSLA (const QString &fileName)
void writeCheckerProfiles (QDomDocument &docu)
void writeLinestyles (QDomDocument &docu)
void writeJavascripts (QDomDocument &docu)
void writeBookmarks (QDomDocument &docu)
void writeColors (QDomDocument &docu)
void writeHyphenatorLists (QDomDocument &docu)
void writePStyles (QDomDocument &docu)
void writeCStyles (QDomDocument &docu)
void putPStyle (QDomDocument &docu, QDomElement &fo, const ParagraphStyle &style)
void putCStyle (QDomDocument &docu, QDomElement &fo, const CharStyle &style)
void writeITEXTs (ScribusDoc *doc, QDomDocument *docu, QDomElement ob, PageItem *item)
void writeLayers (QDomDocument &docu)
void writePrintOptions (QDomDocument &docu)
void writePdfOptions (QDomDocument &docu)
void writeDocItemAttributes (QDomDocument &docu)
void writeTOC (QDomDocument &docu)
void writePageSets (QDomDocument &docu)
void writeSections (QDomDocument &docu)
void writePatterns (QDomDocument &docu, const QString &baseDir)
void writeContent (QDomDocument &docu, const QString &baseDir)
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, ItemSelection master, QList< PageItem * > *items=0)
void SetItemProps (QDomElement *ob, PageItem *item, const QString &baseDir, bool newFormat)

Private Attributes

QMap< int, int > itemRemap
QMap< int, int > itemNext
QMap< int, int > itemRemapF
QMap< int, int > itemNextF
QMap< int, int > itemRemapM
QMap< int, int > itemNextM
int itemCount
int itemCountM
int itemCountF
QMap< uint, QString > DoVorl
uint VorlC


Detailed Description

Definition at line 22 of file scribus134format.h.


Member Enumeration Documentation

Enumerator:
ItemSelectionMaster 
ItemSelectionPage 
ItemSelectionFrame 
ItemSelectionPattern 

Definition at line 51 of file scribus134format.h.


Constructor & Destructor Documentation

Scribus134Format::Scribus134Format (  ) 

Definition at line 41 of file scribus134format.cpp.

References languageChange().

Referenced by scribus134format_getPlugin().

Scribus134Format::~Scribus134Format (  )  [virtual]

Definition at line 49 of file scribus134format.cpp.

References LoadSavePlugin::unregisterAll().


Member Function Documentation

const QString Scribus134Format::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 61 of file scribus134format.cpp.

References tr().

const ScActionPlugin::AboutData * Scribus134Format::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 66 of file scribus134format.cpp.

void Scribus134Format::deleteAboutData ( const AboutData about  )  const [virtual]

Implements ScPlugin.

Definition at line 73 of file scribus134format.cpp.

void Scribus134Format::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 54 of file scribus134format.cpp.

References registerFormats(), and LoadSavePlugin::unregisterAll().

Referenced by Scribus134Format().

bool Scribus134Format::fileSupported ( QIODevice *  file,
const QString &  fileName = QString::null 
) const [virtual]

Implements LoadSavePlugin.

Definition at line 94 of file scribus134format.cpp.

References ScGzFile::data(), loadRawText(), and ScGzFile::read().

bool Scribus134Format::loadFile ( const QString &  fileName,
const FileFormat fmt,
int  flags,
int  index = 0 
) [virtual]

Reimplemented from LoadSavePlugin.

Definition at line 153 of file scribus134format.cpp.

References DocumentSection::active, ScribusDoc::addMasterPage(), ScribusDoc::addPage(), FPointArray::addPoint(), VGradient::addStop(), ScribusDoc::BookMa::Aktion, PrintOptions::allSeparations, LPIData::Angle, PrefsManager::appPrefs, ScribusDoc::arrowStyles, PDFOptions::Articles, PageItem::asPathText(), toolPrefs::aspectRatio, PageItem::asTextFrame(), ObjectAttribute::autoaddto, checkerPrefs::autoCheck, ScribusDoc::AutoCheck, typoPrefs::autoLineSpacing, ScribusDoc::Automatic, ScribusDoc::AutoSave, ScribusDoc::AutoSaveTime, ApplicationPrefs::AvailFonts, guidesPrefs::baseColor, guidesPrefs::baseShown, guidesPrefs::before, Beginning, PDFOptions::Binding, CMSData::BlackPoint, PDFOptions::bleedMarks, PrintOptions::bleedMarks, PDFOptions::bleeds, PrintOptions::bleeds, ScribusDoc::bleeds, ScribusDoc::BookMarks, PDFOptions::Bookmarks, MarginStruct::Bottom, PageItem::BottomLink, PageItem::BottomLinkID, ParagraphStyle::charStyle(), 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, SpecialChars::COLBREAK, SingleLine::Color, PDFOptions::colorMarks, PrintOptions::colorMarks, PageSet::Columns, PDFOptions::Compress, PDFOptions::CompressMethod, toolPrefs::constrain, PrintOptions::copies, StyleSet< STYLE >::create(), PDFOptions::cropMarks, PrintOptions::cropMarks, 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::dispX, toolPrefs::dispY, toolPrefs::dLineArt, toolPrefs::dLstyleLine, PDFPresentationData::Dm, ScribusDoc::docHyphenator, PDFOptions::docInfoMarks, ScribusDoc::docItemAttributes, ScribusDoc::DocItems, PDFOptions::doClip, PrintOptions::doClip, ScribusDoc::docPatterns, ScribusDoc::docToCSetups, ScribusDoc::documentInfo, PrintOptions::doGCR, PDFOptions::doMultiFile, PDFOptions::doOverprint, PrintOptions::doOverprint, toolPrefs::dPen, toolPrefs::dPenLine, toolPrefs::dPenText, PageItem::DrawObj_toImage(), 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, PrintOptions::filename, PageItem::fill_gradient, SCFonts::findFont(), ScribusDoc::BookMa::First, ScribusDoc::FirstAuto, PageSet::FirstPage, ScribusDoc::FirstPnum, PDFOptions::firstUse, PrintOptions::firstUse, PDFOptions::fitWindow, PageItem::Frame, SpecialChars::FRAMEBREAK, 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, PageItem::Groups, PageItem::groupsLastItem, guidesPrefs::guideColor, ScribusDoc::GuideLock, guidesPrefs::guideRad, Page::guides, ApplicationPrefs::guidesSettings, ScribusDoc::guidesSettings, guidesPrefs::guidesShown, PageItem::gWidth, PageItem::gXpos, PageItem::gYpos, ScPattern::height, PageItem::height, Page::height(), PDFOptions::hideMenuBar, PDFOptions::hideToolBar, ScribusDoc::HyCount, Hyphenator::ignoredWords, checkerPrefs::ignoreErrors, checkerPrefs::ignoreOffLayers, PDFOptions::ImageProf, PDFOptions::Info, Page::initialMargins, StoryText::insertChars(), PrefsManager::instance(), PDFOptions::Intent, PDFOptions::Intent2, PageItem::isAutoText, PageItem::isEmbedded, PDFOptions::isGrayscale, PageItem::isGroupControl, PageItem::isTableItem, ToCSetup::itemAttrName, itemCount, itemCountF, itemCountM, itemNext, itemNextF, itemNextM, ScribusDoc::BookMa::ItemNr, PageItem::ItemNr, itemRemap, itemRemapF, itemRemapM, ScPattern::items, ScribusDoc::Items, PageItem::itemText, ScribusDoc::JavaScripts, ScribusDoc::Language, ScribusDoc::BookMa::Last, ScribusDoc::LastAuto, guidesPrefs::layerMarkersShown, ScribusDoc::Layers, MarginStruct::Left, PageItem::LeftLink, PageItem::LeftLinkID, Page::LeftPg, StoryText::length(), SpecialChars::LINEBREAK, 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, PDFOptions::markOffset, PrintOptions::markOffset, ScribusDoc::MasterItems, ScribusDoc::MasterNames, ScribusDoc::masterPageMode(), ScribusDoc::MasterPages, checkerPrefs::maxResolution, guidesPrefs::minorColor, guidesPrefs::minorGrid, checkerPrefs::minResolution, ScribusDoc::MinWordLen, PDFOptions::MirrorH, PrintOptions::mirrorH, PDFOptions::MirrorV, PrintOptions::mirrorV, ScribusDoc::MLineStyles, Page::MPageNam, DocumentSection::name, ToCSetup::name, ObjectAttribute::name, ArrowDesc::name, ScColor::name(), PageSet::Name, ScLayers::newLayer(), ScribusDoc::BookMa::Next, PageItem::nextInChain(), CommonStrings::None, NotShown, DocumentSection::number, typoPrefs::offsetBaseGrid, PageItem::OnMasterPage, ScribusDoc::OnPage(), PDFOptions::openAction, PrintOptions::outputSeparations, PageItem::OwnPage, ScribusDoc::PageColors, PDFPresentationData::pageEffectDuration, ScribusDoc::pageHeight, PDFOptions::PageLayout, ToCSetup::pageLocation, ScribusDoc::pageMargins, PageSet::pageNames, SpecialChars::PAGENUMBER, ScribusDoc::BookMa::PageObject, Page::PageOri, ScribusDoc::PageOri, ScribusDoc::pageSets, ScribusDoc::PageSp, ScribusDoc::PageSpa, PDFPresentationData::pageViewDuration, ScribusDoc::pageWidth, ScribusDoc::papColor, ObjectAttribute::parameter, ScribusDoc::BookMa::Parent, SpecialChars::PARSEP, PDFOptions::PassOwner, PDFOptions::PassUser, PasteItem(), ScPattern::pattern, 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(), ScribusDoc::Print_Options, PrintOptions::printer, PrintOptions::printerCommand, PDFOptions::PrintProf, PrintOptions::prnEngine, PDFOptions::Quality, GuideManagerIO::readHorizontalGuides(), readParagraphStyle(), GuideManagerIO::readSelection(), readSLA(), GuideManagerIO::readVerticalGuides(), PDFOptions::RecalcPic, ScribusDoc::redefineCharStyles(), ScribusDoc::redefineStyles(), ScribusDoc::reformPages(), PDFOptions::registrationMarks, PrintOptions::registrationMarks, ObjectAttribute::relationship, ObjectAttribute::relationshipto, PDFOptions::Resolution, DocumentSection::reversed, MarginStruct::Right, PageItem::RightLink, PageItem::RightLinkID, PDFOptions::RotateDeg, PageSet::Rows, guidesPrefs::rulerMode, guidesPrefs::rulersShown, ScribusDoc::rulerXoffset, ScribusDoc::rulerYoffset, toolPrefs::scaleType, ScPattern::scaleX, toolPrefs::scaleX, ScPattern::scaleY, toolPrefs::scaleY, typoPrefs::scalingSubScript, typoPrefs::scalingSuperScript, ScribusDoc::scratch, ScribusDoc::sections, DocumentSection::sectionstartindex, PrintOptions::separationName, ScribusDoc::setActiveLayer(), DocumentInformation::setAuthor(), StoryText::setCharStyle(), SetColor(), DocumentInformation::setComments(), DocumentInformation::setContrib(), DocumentInformation::setCover(), ScribusDoc::setCurrentPage(), DocumentInformation::setDate(), PrintOptions::setDevParam, ScPattern::setDoc(), PageItem::setFillColor(), DocumentInformation::setFormat(), Page::setHeight(), GuideManagerCore::setHorizontalAutoCount(), GuideManagerCore::setHorizontalAutoGap(), GuideManagerCore::setHorizontalAutoRefer(), DocumentInformation::setIdent(), Page::setInitialHeight(), Page::setInitialWidth(), DocumentInformation::setKeywords(), DocumentInformation::setLangInfo(), ScribusDoc::setMasterPageMode(), ScColor::setNamedColor(), PageItem::setObjectAttributes(), DocumentInformation::setPublisher(), PageItem::setRedrawBounding(), ScColor::setRegistrationColor(), DocumentInformation::setRelation(), DocumentInformation::setRights(), DocumentInformation::setSource(), ScColor::setSpotColor(), StoryText::setStyle(), DocumentInformation::setTitle(), DocumentInformation::setType(), ScribusDoc::setUnitIndex(), ScribusDoc::setUsesAutomaticTextFrames(), GuideManagerCore::setVerticalAutoCount(), GuideManagerCore::setVerticalAutoGap(), GuideManagerCore::setVerticalAutoRefer(), Page::setWidth(), Page::setXOffset(), Page::setYOffset(), SingleLine::Shade, toolPrefs::shadePict, multiLine::shortcut, guidesPrefs::showBleed, guidesPrefs::showControls, guidesPrefs::showPic, ScribusDoc::SnapGuides, CMSData::SoftProofFullOn, CMSData::SoftProofOn, PDFOptions::SolidProf, Hyphenator::specialWords, LPIData::SpotFunc, GuideManagerCore::Standard, VGradient::Stops(), LastStyles::Style, PDFOptions::SubsetList, SpecialChars::TAB, toolPrefs::tabFillChar, ScribusDoc::BookMa::Text, ToCSetup::textStyle, PDFOptions::Thumbnails, ScribusDoc::BookMa::Title, PrintOptions::toFile, DocumentSection::toindex, 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, Type_None, ScribusDoc::typographicSettings, CommonStrings::untranslatePageSetLocString(), CommonStrings::untranslatePageSetString(), PageItem::updatePolyClip(), PrintOptions::useAltPrintCommand, PrintOptions::useColor, PDFOptions::useDocBleeds, toolPrefs::useEmbeddedPath, PrintOptions::useICC, PDFOptions::useLayers, PDFOptions::UseLPI, PDFOptions::UseProfiles, PDFOptions::UseProfiles2, ArrowDesc::userArrow, ScribusDoc::useRaster, PDFOptions::UseRGB, PDFOptions::UseSpotColors, PrintOptions::useSpotColors, ObjectAttribute::value, typoPrefs::valueBaseGrid, typoPrefs::valueSmallCaps, typoPrefs::valueStrikeThruPos, typoPrefs::valueStrikeThruWidth, typoPrefs::valueSubScript, typoPrefs::valueSuperScript, typoPrefs::valueUnderlinePos, typoPrefs::valueUnderlineWidth, PDFOptions::Version, ScPattern::width, PageItem::width, Page::width(), SingleLine::Width, and word().

bool Scribus134Format::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 33 of file scribus134format_save.cpp.

References ScribusDoc::activeLayer(), toolPrefs::aspectRatio, ScribusDoc::AutoCheck, typoPrefs::autoLineSpacing, ScribusDoc::Automatic, ScribusDoc::AutoSave, ScribusDoc::AutoSaveTime, guidesPrefs::baseColor, guidesPrefs::baseShown, guidesPrefs::before, CMSData::BlackPoint, ScribusDoc::bleeds, MarginStruct::Bottom, CMSData::CMSinUse, ScribusDoc::CMSSettings, guidesPrefs::colBordersShown, toolPrefs::constrain, 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, toolPrefs::dispX, toolPrefs::dispY, toolPrefs::dLineArt, toolPrefs::dLstyleLine, ScribusDoc::DocPages, ScribusDoc::documentInfo, 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, ScribusDoc::FirstPnum, guidesPrefs::framesShown, CMSData::GamutCheck, ScribusDoc::GapHorizontal, ScribusDoc::GapVertical, 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, ScribusDoc::HyCount, int(), ScribusDoc::Language, guidesPrefs::layerMarkersShown, MarginStruct::Left, guidesPrefs::linkShown, toolPrefs::lowResType, LoadSavePlugin::m_Doc, LoadSavePlugin::m_lastSavedFile, ScribusDoc::m_pageSize, toolPrefs::magMax, toolPrefs::magMin, toolPrefs::magStep, guidesPrefs::majorColor, guidesPrefs::majorGrid, guidesPrefs::margColor, ScribusDoc::marginColored, guidesPrefs::marginsShown, guidesPrefs::minorColor, guidesPrefs::minorGrid, ScribusDoc::MinWordLen, typoPrefs::offsetBaseGrid, ScribusDoc::pageHeight, ScribusDoc::pageMargins, ScribusDoc::PageOri, ScribusDoc::PageSp, ScribusDoc::PageSpa, ScribusDoc::pageWidth, ScribusDoc::papColor, toolPrefs::polyC, toolPrefs::polyF, toolPrefs::polyFd, toolPrefs::polyR, toolPrefs::polyS, MarginStruct::Right, guidesPrefs::rulerMode, guidesPrefs::rulersShown, ScribusDoc::rulerXoffset, ScribusDoc::rulerYoffset, toolPrefs::scaleType, toolPrefs::scaleX, toolPrefs::scaleY, typoPrefs::scalingSubScript, typoPrefs::scalingSuperScript, ScribusDoc::scratch, toolPrefs::shadePict, guidesPrefs::showBleed, guidesPrefs::showControls, guidesPrefs::showPic, ScribusDoc::SnapGuides, CMSData::SoftProofFullOn, CMSData::SoftProofOn, toolPrefs::tabFillChar, ScribusDoc::toolSettings, MarginStruct::Top, ScribusDoc::typographicSettings, ScribusDoc::unitIndex(), toolPrefs::useEmbeddedPath, ScribusDoc::useRaster, ScribusDoc::usesAutomaticTextFrames(), typoPrefs::valueBaseGrid, typoPrefs::valueSmallCaps, typoPrefs::valueStrikeThruPos, typoPrefs::valueStrikeThruWidth, typoPrefs::valueSubScript, typoPrefs::valueSuperScript, typoPrefs::valueUnderlinePos, typoPrefs::valueUnderlineWidth, ScGzFile::write(), writeBookmarks(), writeCheckerProfiles(), writeColors(), writeContent(), writeCStyles(), writeDocItemAttributes(), writeHyphenatorLists(), writeJavascripts(), writeLayers(), writeLinestyles(), writePageSets(), writePatterns(), writePdfOptions(), writePrintOptions(), writePStyles(), writeSections(), and writeTOC().

virtual void Scribus134Format::addToMainWindowMenu ( ScribusMainWindow  )  [inline, virtual]

Allow plugins to add to a main menu.

Implements ScPlugin.

Definition at line 39 of file scribus134format.h.

bool Scribus134Format::loadPage ( const QString &  fileName,
int  pageNumber,
bool  Mpage,
QString  renamedPageName = QString::null 
) [virtual]

Reimplemented from LoadSavePlugin.

Definition at line 2520 of file scribus134format.cpp.

References FPointArray::addPoint(), ScribusDoc::BookMa::Aktion, PrefsManager::appPrefs, ScribusDoc::arrowStyles, ObjectAttribute::autoaddto, ApplicationPrefs::AvailFonts, ScribusDoc::BookMarks, MarginStruct::Bottom, PageItem::BottomLink, PageItem::BottomLinkID, SpecialChars::COLBREAK, SingleLine::Color, ScribusDoc::currentPage(), ScribusDoc::currentPageNumber(), SingleLine::Dash, toolPrefs::dBrush, toolPrefs::defFont, ScribusDoc::DocItems, ScribusDoc::docPatterns, DoVorl, toolPrefs::dPen, PageItem::DrawObj_toImage(), SCFonts::findFont(), ScribusDoc::BookMa::First, ScribusDoc::FirstAuto, SpecialChars::FRAMEBREAK, ScribusDoc::FrameItems, ScColor::fromQColor(), GetItemText(), ScColorEngine::getRGBColor(), GetStyle(), ScribusDoc::GroupCounter, PageItem::groupsLastItem, Page::guides, ScPattern::height, Page::height(), Page::initialMargins, PrefsManager::instance(), PageItem::isGroupControl, itemCount, itemCountF, itemCountM, itemNext, itemNextF, itemNextM, ScribusDoc::BookMa::ItemNr, itemRemap, itemRemapF, itemRemapM, ScPattern::items, ScribusDoc::Items, ScribusDoc::JavaScripts, ScribusDoc::BookMa::Last, ScribusDoc::LastAuto, ScLayers::layerByName(), ScribusDoc::layerCount(), ScribusDoc::Layers, MarginStruct::Left, PageItem::LeftLink, PageItem::LeftLinkID, Page::LeftPg, SpecialChars::LINEBREAK, SingleLine::LineEnd, SingleLine::LineJoin, PageItem::link(), ScLayer::LNr, LoadSavePlugin::m_AvailableFonts, LoadSavePlugin::m_Doc, Page::m_pageSize, Page::Margins, ScribusDoc::MasterItems, ScribusDoc::MLineStyles, ObjectAttribute::name, ArrowDesc::name, ScColor::name(), ScribusDoc::BookMa::Next, PageItem::nextInChain(), CommonStrings::None, ScribusDoc::PageColors, Page::pageNr(), SpecialChars::PAGENUMBER, ScribusDoc::BookMa::PageObject, Page::PageOri, ScribusDoc::Pages, ObjectAttribute::parameter, ScribusDoc::BookMa::Parent, SpecialChars::PARSEP, PasteItem(), ScPattern::pattern, ArrowDesc::points, ScribusDoc::BookMa::Prev, PageItem::prevInChain(), GuideManagerIO::readHorizontalGuides(), readParagraphStyle(), GuideManagerIO::readSelection(), readSLA(), GuideManagerIO::readVerticalGuides(), ObjectAttribute::relationship, ObjectAttribute::relationshipto, MarginStruct::Right, PageItem::RightLink, PageItem::RightLinkID, ScPattern::scaleX, ScPattern::scaleY, SetColor(), ScPattern::setDoc(), Page::setHeight(), GuideManagerCore::setHorizontalAutoCount(), GuideManagerCore::setHorizontalAutoGap(), GuideManagerCore::setHorizontalAutoRefer(), Page::setInitialHeight(), Page::setInitialWidth(), ScribusDoc::setMasterPageMode(), ScColor::setNamedColor(), Page::setPageName(), ScColor::setRegistrationColor(), ScColor::setSpotColor(), GuideManagerCore::setVerticalAutoCount(), GuideManagerCore::setVerticalAutoGap(), GuideManagerCore::setVerticalAutoRefer(), Page::setWidth(), SingleLine::Shade, multiLine::shortcut, ScribusDoc::SnapGuides, GuideManagerCore::Standard, LastStyles::Style, SpecialChars::TAB, ScribusDoc::BookMa::Text, ScribusDoc::BookMa::Title, ScribusDoc::toolSettings, MarginStruct::Top, PageItem::TopLink, PageItem::TopLinkID, tr(), ObjectAttribute::type, ArrowDesc::userArrow, ScribusDoc::useRaster, ObjectAttribute::value, VorlC, ScPattern::width, Page::width(), SingleLine::Width, Page::xOffset(), and Page::yOffset().

bool Scribus134Format::readStyles ( const QString &  fileName,
ScribusDoc doc,
StyleSet< ParagraphStyle > &  docParagraphStyles 
) [virtual]

Reimplemented from LoadSavePlugin.

Definition at line 3244 of file scribus134format.cpp.

References GetStyle(), and readSLA().