[scribus] createCharStyle: is this syntax right?

Fred Zimmerman wfz at nimblebooks.com
Thu Aug 25 22:45:31 UTC 2011


thanks! what's with the u in name=u'Caption'? looks like a typo?

-----------------------------------------------------
Subscribe to the Nimble Books Mailing List  http://eepurl.com/czS- for
monthly updates



2011/8/25 José Antonio Rocha <joseantoniorocha at gmail.com>

> scribus.createCharStyle(name=u'Caption',font='Liberation Serif
>
> Bold',fontsize=12,features='inherit',fillcolor='Black',fillshade=1,strokecolor='Black',strokeshade=1,baselineoffset=0,shadowxoffset=0,shadowyoffset=0,outlinewidth=0,underlineoffset=0,underlinewidth=0,strikethruoffset=0,strikethruwidth=0,scaleh=1,scalev=1,tracking=0,language='Portuguese
> (BR)')
>
> 2011/8/25 Fred Zimmerman <wfz at nimblebooks.com>
>
> > One problem I am having with the Scripter documentation as a newbie is
> the
> > absence of valid syntax examples with the function definitions.   For
> > example,
> >
> > createCharStyle(...)
> >
> > Creates a character style. This function takes the following keyword
> > parameters:
> > leaves me guessing as to whether this is the right format:
> >
> > createCharStyle("Cover_Default", font= "LTC Italian Old Style", features
> =
> > bold,smallcaps, strokecolor = "White")
> > createParagraphStyle("Title", linespacingmode=1, alignment=1)
> > createParagraphStyle("Body", linespacingmode=1, alignment=3)
> >
> > help!
> >
> > Fred
> >
> >
> >
> > -----------------------------------------------------
> > Subscribe to the Nimble Books Mailing List  http://eepurl.com/czS- for
> > monthly updates
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> >
> http://lists.scribus.net/pipermail/scribus/attachments/20110825/981e7f59/attachment.html
> > >
> > ___
> > Scribus Mailing List: scribus at lists.scribus.net
> > Edit your options or unsubscribe:
> > http://lists.scribus.net/mailman/listinfo/scribus
> > See also:
> > http://wiki.scribus.net
> > http://forums.scribus.net
> >
>
>
>
> --
> [image: Meira]
> ------------------------------
> nome: "José Antonio Meira da Rocha"
> googletalk: email: MSN: joseantoniorocha at gmail.com
> veículo: [ http://meiradarocha.jor.br ]
> ------------------------------
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.scribus.net/pipermail/scribus/attachments/20110825/17fad549/attachment.html
> >
> ___
> Scribus Mailing List: scribus at lists.scribus.net
> Edit your options or unsubscribe:
> http://lists.scribus.net/mailman/listinfo/scribus
> See also:
> http://wiki.scribus.net
> http://forums.scribus.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20110825/312eb734/attachment.html>


More information about the scribus mailing list