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
5753 5519d 15h jghali /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp remove a bunch of compilation warnings  
5721 5522d 13h avox /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp 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.
 
5691 5529d 04h avox /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp self-encapsulate all CharStyle fields, use inheritance chain for getters  
5569 5543d 03h avox /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp paragraphstyle cleanup, rightmargin in hruler, general cleanup  
5559 5545d 09h avox /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp pageitem and font cleanup  
5346 5571d 04h mrdocs /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp Jean's mega patch for # 3706  
5195 5588d 06h avox /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp avoid invalid StyleFlag conversions  
4847 5621d 06h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp Rename the docs local GUI selection as the name was too generic. Use a temporary selection for undoing of the image scale and offsets as a test for future movement of undo to temporary selections.  
4584 5647d 07h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp Move the text setting attributes (1200+lines) from the view to the doc, implement a signal or two and while we are at it, rename and protect a few variables in the process. This already simplifies calls from the scripter removing the view from some function calls, and in many others the view is called only for updates. They have not been adjusted much for their new location which is the next step.  
4430 5665d 06h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp #2661: Prepend GPL+exception->see COPYING file notice to all CPP/H files.  
4211 5685d 09h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp ok, again. And right now :-/  
4210 5685d 09h subik /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp #2946: patch for faster insertText()  
4084 5704d 16h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp Move the pageitem's annotation members into a class.  
4073 5707d 04h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp Fix missing line in ScMW::slotStoryEditor.
Protect PageItem's font and fontsize members. Remove link between ScMW::AdjustItemFont and resetting the font on prop pal. emit from the PageItem's setFont and setFontSize members.
 
4026 5713d 17h craig /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp Some bulk S&R changes:
- Renames after IRC discussion:
ScribusApp -> ScribusMainWindow
ScribusApp* ScApp -> ScribusMainWindow* ScMW
- Replace QStoInt and QStodouble with the built-in QString::toInt() and
QString::toDouble() now that those return 0 on failure as required.
 
3934 5726d 05h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp Remove ScribusView::SelItem and replace with ScribusDoc->selection. Protect PageItem:: Xpos, Ypos, Width, Height, Rot, Selected and provide functions to access. Implement many of the old view's signals in the page item. Fix offset on canvas bug when canvas has been resized by a drag op. Adjust all code as appropriate. Fix up raise and lower operations. Reduction of calls to PageItem new member functions to come, old code left in commented out for now. Part of the new selection class is to connect the first selected item's signals to properties palette. This is not yet finished but will reduce emissions of those old view signals to one per selection.  
3829 5741d 08h cbradney /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp Move the text frame key input code from scribus.cpp into pageitem_textframe.cpp. Have left in the old code commented out for now.  
3625 5767d 15h avox /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp pageitem: use PageItem::asXY in many places, first try at transfomring pageitems  
3544 5772d 18h avox /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp Work on Foi API: replace SCName, Family, Effect with accessors, Drop QFont attribute  
3207 5802d 09h craig /branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdtext.cpp Implement the new plug-in API and convert all plug-ins over to the new API.
See #2097 for details.
 

Show All