Lines Matching full:style
24 var FCKToolbarStyleCombo = function( tooltip, style ) argument
29 this.CommandName = 'Style' ;
32 this.Style = style ? style : FCK_TOOLBARITEM_ICONTEXT ;
42 return FCKLang.Style ;
52 var style = allStyles[ styleName ] ;
53 if ( !style.IsCore )
54 styles[ styleName ] = style ;
63 // Add the Editor Area CSS to the panel so the style classes are previewed correctly.
76 var style = styles[ styleName ] ;
79 var caption = style.GetType() == FCK_STYLE_OBJECT ?
81 FCKToolbarStyleCombo_BuildPreview( style, style.Label || styleName ) ;
85 item.Style = style ;
106 var style = item.Style ;
108 if ( style.CheckElementRemovable( elements[ e ], true ) )
110 targetSpecialCombo.SetLabel( style.Label || style.Name ) ;
150 var style = item.Style ;
152 …if ( ( tagName && style.Element == tagName ) || ( !tagName && style.GetType() != FCK_STYLE_OBJECT …
154 item.style.display = '' ;
156 …if ( ( path && style.CheckActive( path ) ) || ( !path && style.CheckElementRemovable( startElement…
157 targetSpecialCombo.SelectItem( style.Name ) ;
160 item.style.display = 'none' ;
164 function FCKToolbarStyleCombo_BuildPreview( style, caption ) argument
166 var styleType = style.GetType() ;
172 var elementName = style.Element ;
181 var attribs = style._StyleDesc.Attributes ;
186 html.push( ' ', att, '="', style.GetFinalAttributeValue( att ), '"' ) ;
190 // Assign the style attribute.
191 if ( style._GetStyleText().length > 0 )
192 html.push( ' style="', style.GetFinalStyleValue(), '"' ) ;