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
5748 5529d 07h fschmid /branches/Version13x/Scribus/scribus/pdflib.h Export of Object blendmodes to PDF works now.  
5721 5531d 11h avox /branches/Version13x/Scribus/scribus/pdflib.h commiting parstyle refactoring:
* ScText::cab is no more
* ScText::cselect is no more (uses start/end indices in StoryText now)
* each ScText with ch==PARSEP has a pointer to an anonymous ParagraphStyle
* each ScText has a CharStyle parent which points to the unnamed ParagraphStyle
by default
* unnamed ParagraphStyles have the StoryText's default style as parent
* a StoryText's default style has docParagraphStyles[0] as parent
* if the last paragraphs isn't terminated with a PARSEP, it has the StoryText's
default style as ParagraphStyle. I'm not perfectly happy with this; we have
to see how it works when we use it. Suggestions welcome

Known bugs:
- changing parstyle with palette doesn't work
- craig's linespacing error is still there it seems
- linked frames don't work

I will try to fix those as soon as possible.
 
5433 5569d 06h fschmid /branches/Version13x/Scribus/scribus/pdflib.h First support for transparency groups in the pdf export.  
5387 5573d 13h avox /branches/Version13x/Scribus/scribus/pdflib.h encapsulate Foi data members, refactor getUsedFonts()  
5370 5576d 04h cbradney /branches/Version13x/Scribus/scribus/pdflib.h #2939: Show X of Y count with new ScProgressBar class on PDF export etc  
5291 5585d 04h avox /branches/Version13x/Scribus/scribus/pdflib.h more NLS API fixes  
5234 5591d 20h fschmid /branches/Version13x/Scribus/scribus/pdflib.h Applied Jean's patch for qstring->qbytearray in pdflib and pslib  
4679 5645d 20h fschmid /branches/Version13x/Scribus/scribus/pdflib.h Reworked the Bookmark storage a bit, the Bookmarks contain now a
pointer to the PageItem. This should simplify some tasks.
 
4565 5658d 14h fschmid /branches/Version13x/Scribus/scribus/pdflib.h Fixed bug #3181  
4430 5674d 05h cbradney /branches/Version13x/Scribus/scribus/pdflib.h #2661: Prepend GPL+exception->see COPYING file notice to all CPP/H files.  
4265 5689d 09h craig /branches/Version13x/Scribus/scribus/pdflib.h Include <string> just in case it's necessary for some implementations  
4264 5689d 09h craig /branches/Version13x/Scribus/scribus/pdflib.h Some more minor pdflib tidying  
4241 5691d 08h 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 5691d 08h 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 5691d 09h craig /branches/Version13x/Scribus/scribus/pdflib.h Support QByteArray / QCString input to PutDoc  
4229 5691d 10h 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 5691d 16h 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 5691d 16h craig /branches/Version13x/Scribus/scribus/pdflib.h Use an initializer list for pdflib, make all members that need not be public
private.
 
4084 5713d 14h cbradney /branches/Version13x/Scribus/scribus/pdflib.h Move the pageitem's annotation members into a class.  
4030 5722d 13h cbradney /branches/Version13x/Scribus/scribus/pdflib.h Show export item % per page on pdf export. Remove access to the main window progress bar.  

Show All