in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Latest build of C1Preview 2 is 2.0.20082.50034 (09-Jul-2008)

Last post 01-06-2007 3:09 PM by C1_Dima. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 01-06-2007 3:09 PM

    Latest build of C1Preview 2 is 2.0.20082.50034 (09-Jul-2008)

    Locked Reply Contact

    The latest build of C1Preview 2 can be downloaded here:

    http://download3.componentone.com/pub/Net/c1printpreview/misc/C1Preview.2_2.0.20082.50034.zip

    The highlights of this release are:

    • the ability to automatically generate alphabetical word index (see the WordIndex.doc included in the build);
    • tags that can be edited by the end user;
    • in some cases, improved speed of rendering large tables with grid lines.

    Here is the list of changes since build 50031:

    ========================================================================
    C1Preview for .Net Build 2.0.20082.50034, 03-Jul-2008
    ========================================================================

    Bug fixes
    ---------

    * Improved rendering speed of tables with gridlines in some scenarios.

    * Exporting documents containing transparent GIF images to HTML, RTF and
      DOCX could cause the exception "A generic error occurred in GDI+".
      Fixed.

    * Fixed problems with exporting RenderShapeBase-derived objects to RTF
      and DOCX formats.

    New features
    ------------

    * Added the ability to insert an alphabetical word index into a
      document. For details, see the "Word Index" section and descriptions
      of classes RenderIndex, IndexEntry and IndexEntryOccurrence in the
      docs.

    * Added the ability to show a form for the end user to enter tag values
      for the tags contained in the Tags collection of a C1PrintDocument.
      This feature may be used in the following ways:

      - To allow the user to input all tags each time a C1PrintDocument is
        generated, set ShowTagsInputDialog to true on the document (it is
        false by default). Then any tags you have added to the document's
        Tags collection will automatically be presented in a dialog to the
        user each time the document is about to be generated. The user will
        have the opportunity to change the tags' values in that dialog.

      - To let the user input/edit some but not all tags, set the Flags
        property to None on tags you do not want to be edited by the user.

      - Finally, you can set ShowTagsInputDialog to false on the document,
        and call the EditTags() method on the document in your own code when
        you want the user to be presented with the tags input dialog.

      You can redefine the default form used to enter the tags. Two
      approaches are possible:

      - If you only want to make a small change to the default form (e.g.
        add a help button), add an inherited form to your project based on
        TagsInputForm, adjust it as needed, and assign that form's type name
        to the TagsInputDialogClassName property on the document.

      - If you want to completely change the input form's look, provide your
        own controls and so on, base your inherited form on
        TagsInputFormBase, and override the EditTags method.

      New public classes in C1.C1Preview namespace:

        class TagInputParams : ICloneable
          The abstract base class for specialized classes used by the tag
          input dialog to customize input of individual tags.

        class TagStringInputParams : TagInputParams
          Represents customization parameters for input of string tag
          values.

        class TagDateTimeInputParams : TagInputParams
          Represents customization parameters for input of DateTime tag
          values.

        class TagListInputParams : TagInputParams
          Represents customization parameters for input of tag values that
          can be selected from a list.

        class TagBoolInputParams : TagInputParams
          Represents customization parameters for input of Booleand tag
          values.

        class TagNumericInputParams : TagInputParams
          Represents customization parameters for input of numeric tag
          values.

      New public properties on the Tag class:

        bool ShowInDialog {get;set;}
          Gets or sets a value indicating whether to show the current tag
          and allow to edit its value in the tags input dialog. True by
          default.

        string Description {get;set;}
          Gets or sets the description of the tag. If not empty, used as the
          label in the tag input dialog. (If Description is empty, Name is
          shown in the input dialog instead.)

        TagInputParams InputParams {get;set;}
          Gets or sets a TagInputParams object that is used by the tag input
          dialog to customize the editor for the current tag. By default,
          this property is null.

      New public properties on C1PrintDocument:

        bool ShowTagsInputDialog {get;set;}
          Gets or sets a value indicating whether a dialog allowing to input
          values for some or all of the user defined tags (elements of the
          Tags collection) should be shown to the user before the document
          is generated. To include or exclude a certain tag from the dialog,
          use Tag.Flags. This property is false by default.

        Type TagsInputDialogClass {get;set;}
          Gets or sets the type of form that is to be used to input tag
          values (the form will be shown if ShowTagsInputDialog is true).
          The form type must be derived from TagsInputFormBase.

        string TagsInputDialogClassName {get;set;}
          Gets or sets the type name of form that is to be used to input tag
          values (the form will be shown if ShowTagsInputDialog is true).
          The form type must be derived from TagsInputFormBase.

      New public method on C1PrintDocument:
        bool EditTags();
          Shows the tags input dialog, allows the user to enter/update the
          values of tags contained in the Tags collection.
          Returns: True if the user accepted the dialog, false otherwise.

    ========================================================================
    C1Preview for .Net Build 2.0.20082.50031, 28-May-2008
    ========================================================================

    Cheers,
    Dima.
Page 1 of 1 (1 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.