.element.css("left")}));
this.element=this.element.parent().data("ui-resizable",this.element.data("ui-resizable"));
this.elementIsWrapper=true;
this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});
this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});
this.originalResizeStyle=this.originalElement.css("resize");
this.originalElement.css("resize","none");
this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));
this.originalElement.css({margin:this.originalElement.css("margin")});
this._proportionallyResize()
}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});
if(this.handles.constructor===String){if(this.handles==="all"){this.handles="n,e,s,w,se,sw,ne,nw"
}l=this.handles.split(",");
this.handles={};
for(f=0;
f<l.length;
f++){j=c.trim(l[f]);
e="ui-resizable-"+j;
g=c("<div class='ui-resizable-handle "+e+"'></div>");
g.css({zIndex:k.zIndex});
if("se"===j){g.addClass("ui-icon ui-icon-gripsmall-diagonal-se")
}this.handles[j]=".ui-resizable-"+j;
this.element.append(g)
}}this._renderAxis=function(q){var n,o,m,p;
q=q||this.element;
for(n in this.handles){if(this.handles[n].constructor===String){this.handles[n]=c(this.handles[n],this.element).show()
}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){o=c(this.handles[n],this.element);
p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();
m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");
q.css(m,p);
this._proportionallyResize()
}if(!c(this.handles[n]).length){continue
}}};
this._renderAxis(this.element);
this._handles=c(".ui-resizable-handle",this.element).disableSelection();
this._handles.mouseover(function(){if(!h.resizing){if(this.className){g=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)
}h.axis=g&&g[1]?g[1]:"se"
}});
if(k.autoHide){this._handles.hide();
c(this.element).addClass("ui-resizable-autohide").mouseenter(function(){if(k.disabled){return
}c(this).removeClass("ui-resizable-autohide");
h._handles.show()
}).mouseleave(function(){if(k.disabled){return
}if(!h.resizing){c(this).addClass("ui-resizable-autohide");
h._handles.hide()
}})
}this._mouseInit()
},_destroy:function(){this._mouseDestroy();
var f,e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()
};
if(this.elementIsWrapper){e(this.element);
f=this.element;
this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")}).insertAfter(=head1 NAME

CFX5::Files::CCLText - module for handling def files

=head1 DESCRIPTION

The CFX5::Files::CCLText class provides ccl-text-file-specific code
for CFX5::AnyFile.

=cut

package CFX5::Files::CCLText;

use strict;

use CFX5::PkgLoader qw(cfx5_require);

use CFX5::Files::Any;
use vars qw(@ISA);
push @ISA, qw(CFX5::Files::Any);

use CFX5::Output qw(:all);

sub init {
  my $self=shift;

  $self->SUPER::init(@_)
    or return '';

  1;
}

sub description {
  "ANSYS CFX Command Language File";
}

=head2 CCL STUFF

=head3 extract_ccl

=cut

sub extract_ccl {
  my $self=shift;

  cfx5_require('CFX5::FileOps');
  my $ccl=CFX5::FileOps::get_file_contents($self->file());
  if (not defined $ccl) {
    _error("Error reading", $self->description(), $self->file() . ": $!");
    return ();
  }
  return split(/\r?\n\r?/, $ccl);
}


1;
