Exemplo n.º 1
0
 public String getStoreName() {
   if (CurUnoDialog != null) {
     String LocStoreName = xTitleTextBox.getText();
     if (!LocStoreName.equals(PropertyNames.EMPTY_STRING)) {
       StoreName = LocStoreName;
     }
   }
   return StoreName;
 }
Exemplo n.º 2
0
  /** This function is called if one of the radio buttons is pressed */
  private void toggleSubTemplateControls() {
    // String sStorePath = PropertyNames.EMPTY_STRING;
    Short iState =
        (Short)
            CurUnoDialog.getControlProperty(
                "optCreateReportTemplate", PropertyNames.PROPERTY_STATE);
    boolean bDoTemplateEnable = iState.shortValue() == 1;
    CurUnoDialog.setControlProperty(
        "optEditTemplate", PropertyNames.PROPERTY_ENABLED, bDoTemplateEnable);
    CurUnoDialog.setControlProperty(
        "optUseTemplate", PropertyNames.PROPERTY_ENABLED, bDoTemplateEnable);
    CurUnoDialog.setControlProperty(
        "lblHowProceed", PropertyNames.PROPERTY_ENABLED, bDoTemplateEnable);

    String sTitle = xTitleTextBox.getText();
    boolean bDoEnable = sTitle.equals(PropertyNames.EMPTY_STRING);
    CurUnoDialog.enableFinishButton(!bDoEnable);
  }
Exemplo n.º 3
0
 private void changeReportTitle() {
   final String TitleName = xTitleTextBox.getText();
   CurReportDocument.liveupdate_updateReportTitle(TitleName);
   CurUnoDialog.enableFinishButton(!PropertyNames.EMPTY_STRING.equals(TitleName));
 }