Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 1971 → Rev 1972

/branches/Version13x/Scribus/scribus/pdfoptions.cpp
0,0 → 1,52
#include "pdfoptions.h"
#include "scribusstructs.h"
 
PDFOptions::VerifyResults PDFOptions::verify(QString* problemDescription)
{
// TODO: implement this method
return Verify_OtherError;
}
 
bool PDFOptions::saveTo(QTextStream& outStream) const
{
if (!outStream.device()->isWritable())
return false;
// TODO: implement this method
return false;
}
 
// overload of bool PDFOptions::saveTo(QTextStream& outStream) const
bool PDFOptions::saveTo(QString outFileName) const
{
QTextStream ts(outFileName, IO_WriteOnly|IO_Truncate);
return saveTo(ts);
}
 
// overload of bool PDFOptions::saveTo(QTextStream& outStream) const
bool PDFOptions::saveTo(FILE* outFilePtr) const
{
QTextStream ts(outFilePtr, IO_WriteOnly|IO_Truncate);
return saveTo(ts);
}
 
bool readFrom(QTextStream& inStream)
{
if (!inStream.device()->isReadable())
return false;
// TODO: implement this method
return false;
}
 
// overload of bool readFrom(QTextStream& inStream)
bool readFrom(QString inFileName)
{
QTextStream ts(inFileName, IO_ReadOnly);
return readFrom(ts);
}
 
// overload of bool readFrom(QTextStream& inStream)
bool readFrom(FILE* inFilePtr)
{
QTextStream ts(inFilePtr, IO_ReadOnly);
return readFrom(ts);
}
Property changes:
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Revision
\ No newline at end of property