plsqldoc: using +---+ is corrupting the synopsis and format.

Niek

Member²
Generating documentation for this package is corrupting the synopsis and the actual format.

Also spacing is not correct for tables made up with +-| (which looks pretty when using a non proportional font).

Code:
CREATE OR REPLACE PACKAGE test
/**
Package spec text
*/
IS

  /**
    This is test comment
  */
  PROCEDURE test_1;

  /**
    This is test comment

    +------+-------+
    | Name | Value |
    +------+-------+
    | Mon  |   0   |
    | Tue  |   1   |
    +------+-------+
  */

  PROCEDURE test_2;
  /**
    This is test comment

<code>
    +------+-------+
    | Name | Value |
    +------+-------+
    | Mon  |   0   |
    | Tue  |   1   |
    +------+-------+
</code>
  */
  PROCEDURE test_3;

  /**
    This is test comment which will span multiple lines and plsqldoc will
    normally merge those lines together for the synopsis.

<code>
    +------+-------+
    | Name | Value |
    +------+-------+
    | Mon  |   0   |
    | Tue  |   1   |
    +------+-------+
</code>
  */
  PROCEDURE test_4;

  /**
    This is test comment which will span multiple lines and plsqldoc will
    normally merge those lines together for the synopsis.
  */
  PROCEDURE test_5;

  /**
    This is test comment which will span multiple lines and plsqldoc will
    normally merge those lines together for the synopsis. This is test
    comment which will span multiple lines and plsqldoc will normally merge
    those lines together for the synopsis.

    This is test comment which will span multiple lines and plsqldoc will
    normally merge those lines together for the synopsis.
  */
  PROCEDURE test_6;

  /**
    This is test comment which will span multiple lines and plsqldoc will
    normally merge those lines together for the synopsis. This is test
    comment which will span multiple lines and plsqldoc will normally merge
    those lines together for the synopsis.

    This is test comment which will span multiple lines and plsqldoc will
    normally merge those lines together for the synopsis.

    +
  */

  PROCEDURE test_7;

    /**
    This is test comment which will span multiple lines and plsqldoc will
    normally merge those lines together for the synopsis. This is test
    comment which will span multiple lines and plsqldoc will normally merge
    those lines together for the synopsis.

    This is test comment which will span multiple lines and plsqldoc will
    normally merge those lines together for the synopsis.

    +-
  */
  PROCEDURE test_8;

  /**
    This is test comment which will span multiple lines and plsqldoc will
    normally merge those lines together for the synopsis. This is test
    comment which will span multiple lines and plsqldoc will normally merge
    those lines together for the synopsis.

    This is test comment which will span multiple lines and plsqldoc will
    normally merge those lines together for the synopsis.

    +---+
  */
  PROCEDURE test_9;
END;
 
Back
Top