public void toRegOffice()
    {
        com.kinggrid.iappoffice.IAppOffice v0_4 = this.mActivity.getIsEditDoc();
        if ((android.text.TextUtils.isEmpty(v0_4)) || (Integer.parseInt(v0_4) <= 0)) {
            this.alert(提示, 没有权限!);
        } else {
            this.showProgress(金格控件注册中!);
            com.kinggrid.iappoffice.IAppOffice v0_6 = ((android.telephony.TelephonyManager) this.mContext.getApplicationContext().getSystemService(phone));
            this.iappoffice = new com.kinggrid.iappoffice.IAppOffice(this.mActivity);
            this.iappoffice.setCopyRight(xtbg.oa_app.Constants.getCopyRight(v0_6.getDeviceId()));
            this.iappoffice.init(new xtbg.oa_app.utils.JsToJava$8(this));
        }
        return;
    }