Subversion Repositories Scribus

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4241 5734d 07h craig /branches/Version13x/Scribus/scribus/pdflib.h Make some Page accessors inlineable, make Page useable in a const
context. Pass Page pointers around pdflib as const to help compiler, protect
against accidental change.
 
4240 5734d 07h craig /branches/Version13x/Scribus/scribus/pdflib.h Help the compiler out by telling it we don't alter the ScText structs we work with  
4239 5734d 08h craig /branches/Version13x/Scribus/scribus/pdflib.h Support QByteArray / QCString input to PutDoc  
4229 5734d 09h craig /branches/Version13x/Scribus/scribus/pdflib.h PDFlib colour caching:
- Cache most recently used colour in SetFarbe(...)
- Cache most recently used (Color, shade) pair for bg & fg in putColor(...)
Both of these help avoid extremely large number of re-generations of the same
tiny colour definition string snippets when outputting certain types of objects.
In particular, text output should improve.
PDFlib tidying:
- Avoid string copies wherever possible (QString is cheap to copy, but
we should actually not be using QString for most of this, and free is
better than cheap).
- get rid of Dokument member in favour of using seek position in file,
make PutDoc inlineable.
- use QString::number instead of IToStr wrapper
- make FToStr a small static-linkage inlineable convenience wrapper
for QString::number
- rename PDFlib::t to PDFlib::outputStream
- Provide a `const char*' overload for PDFlib::PutDoc(...) to write
a plain byte string. Saves on converting constant strings.
- Make some fixed data `static const' to make it shareable and fit in the
read only section of the binary.
- Make a few trivial member functions easily inlineable.
- Move many local variable declarations closer to use
- Convert some very convoluted (should I say "complexificated"? :-P)
string building into the equivalent constant string.
 
4224 5734d 15h craig /branches/Version13x/Scribus/scribus/pdflib.h Delete progress dialog when PDFLib is deleted. We were leaking it before.
Note that we don't need to test for usingGUI or progressDialog==0 because
it's entirely legal (a no-op) to delete a 0 pointer.
 
4223 5734d 15h craig /branches/Version13x/Scribus/scribus/pdflib.h Use an initializer list for pdflib, make all members that need not be public
private.
 
4084 5756d 13h cbradney /branches/Version13x/Scribus/scribus/pdflib.h Move the pageitem's annotation members into a class.  
4030 5765d 12h cbradney /branches/Version13x/Scribus/scribus/pdflib.h Show export item % per page on pdf export. Remove access to the main window progress bar.  
4028 5765d 13h cbradney /branches/Version13x/Scribus/scribus/pdflib.h Implement a multi progress bar dialog box. Use it in PDF lib (more data on progress dialog to come here). Enable PDF export to be cancelled.  
4017 5766d 15h fschmid /branches/Version13x/Scribus/scribus/pdflib.h Fixed Bug #2892.  
3829 5793d 06h cbradney /branches/Version13x/Scribus/scribus/pdflib.h Move the text frame key input code from scribus.cpp into pageitem_textframe.cpp. Have left in the old code commented out for now.  
3699 5807d 06h cbradney /branches/Version13x/Scribus/scribus/pdflib.h Change and add some class declarations and includes.  
3544 5824d 16h avox /branches/Version13x/Scribus/scribus/pdflib.h Work on Foi API: replace SCName, Family, Effect with accessors, Drop QFont attribute  
3252 5850d 05h craig /branches/Version13x/Scribus/scribus/pdflib.h More header dependency cleanups  
3137 5861d 03h fschmid /branches/Version13x/Scribus/scribus/pdflib.h Fixes for the PDFlib, and moved the dynamic tooltip code into an own file.  
3133 5861d 06h fschmid /branches/Version13x/Scribus/scribus/pdflib.h Moved the pdflib to the main sources.