search for: textalign

Displaying 3 results from an estimated 3 matches for "textalign".

Did you mean: text_align
2006 Dec 22
1
odfWeave problem
...fWeave. I'm having some trouble getting the formatting to work. I've defined the following format defns: origStyleDefs <- getStyleDefs() StyleDefs=origStyleDefs StyleDefs$ArialLeftBold$parentStyleName='' StyleDefs$ArialLeftBold$type='Paragraph' StyleDefs$ArialLeftBold$textAlign='left' StyleDefs$ArialLeftBold$fontName='Arial' StyleDefs$ArialLeftBold$fontSize='12pt' StyleDefs$ArialLeftBold$fontType='bold' StyleDefs$ArialLeftBold$fontColor='#000000' StyleDefs$ArialNormalRight$parentStyleName='' StyleDefs$ArialNormalRight$type=...
2013 Apr 11
3
odfWeave: Some questions about potential formatting options
Hello All, Learning to use the odfWeave package. I really like the package. It has good documentation, makes some very nice looking tables, and seems to have lots of options for customizing output. There are a few things I'd like to do that don't seem to be covered in the documentation though. So I'm not sure if they're possible or not. Here's a list of some things I'd
2007 Sep 29
0
libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h
...ansform = function (name) { + if (!this._styles) { + this._styles = {}; + } + this._styles[name] = this.transform (this._css[name]); +}; + +TextField.StyleSheet.prototype.transform = function (style) { + if (style == null) + return null; + + var format = new TextFormat (); + + if (style.textAlign) + format.align = style.textAlign; + + if (style.fontWeight == "bold") { + format.bold = true; + } else if (style.fontWeight == "normal") { + format.bold = false; + } + + if (style.color) { + var tmp = this.parseColor (style.color); + if (tmp != null) + f...