<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Methods and Functions</title><link>https://sourceforge.net/p/htmldocument/wiki/Methods%2520and%2520Functions/</link><description>Recent changes to Methods and Functions</description><atom:link href="https://sourceforge.net/p/htmldocument/wiki/Methods%20and%20Functions/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 30 Mar 2021 18:49:26 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/htmldocument/wiki/Methods%20and%20Functions/feed" rel="self" type="application/rss+xml"/><item><title>Methods and Functions modified by James B. Helix-Roveda</title><link>https://sourceforge.net/p/htmldocument/wiki/Methods%2520and%2520Functions/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,62 +1,62 @@
 ## Methods and Functions ##
-### break ###
+### Add Break ###
     add_br()

 Add a break to the html document.
-### Goto Top Link ###
+### Add Goto Top Link ###
     add_goto_top(&amp;lt;text&amp;gt;)

 Add a link that points to the top of the html document. The text is displayed as link. Typically used for 'Up' or 'go to top'.

-### Heading ###
+### Add Heading ###

     add_heading(&amp;lt;level&amp;gt;, &amp;lt;text&amp;gt; [, &amp;lt;anchor&amp;gt;])

 Add a heading to the html document. Optionally, you can give it a named anchor. If anchor is given, it will insert an attribute `&amp;lt;hlevel id="anchor"&amp;gt;text&amp;lt;/hlevel&amp;gt;`. If you use `_default_` as anchor, the anchor will be automatically derived from the text, all lowercase, blanks replaced by underscores.

-### Horizontal Ruler ###
+### Add Horizontal Ruler ###

     add_hr()

 Add a horizontal ruler.

-### HTML ###
+### Add HTML ###

     add_html()

 Add arbitrary html code (as one string) to the html document.

-### Link ###
+### Add Link ###

     add_link(&amp;lt;link&amp;gt;, &amp;lt;text&amp;gt;)

 Add a link to the html document.

-### Ordered List ###
+### Add Ordered List ###

     add_ol(&amp;lt;ref_to_array&amp;gt; [, &amp;lt;list_type&amp;gt; [, &amp;lt;start_value&amp;gt;])

 Add an ordered list. The array elements are inserted as the list elements. Optionally specify the list type (1 Aa Ii) and/or the start value.

-### Anchor ###
+### Add Local Anchor ###

     add_local_anchor(&amp;lt;anchor&amp;gt;, &amp;lt;text&amp;gt;)

 An anchor is set at the current position, the text is filed in an array for later use. It will be replaced during output of the html at the position, where the local anchor list is to be placed. See set_local_anchor_list().

-### Paragraph ###
+### Add Paragraph ###

     add_paragraph(&amp;lt;type&amp;gt;, &amp;lt;text&amp;gt;)

 Add a paragraph of any type. Use e.g. 'p' or 'pre' as type.

-### Remark ###
+### Add Remark ###

     add_remark(&amp;lt;remark&amp;gt;)

 Add a remark to the html document.

-### Table ###
+### Add Table ###

     add_table(&amp;lt;ref_to_array&amp;gt;, &amp;lt;element_delimiter&amp;gt;, &amp;lt;col_align&amp;gt;, &amp;lt;title_rows&amp;gt; [, ])

@@ -72,7 +72,7 @@

 The `table caption` is optional.

-### Unordered List ###
+### Add Unordered List ###

     add_ul(&amp;lt;ref_to_array&amp;gt;)

@@ -104,13 +104,13 @@

 The method returns the resulting filename (the complete path including the extension which may probably be changed by the `compress_command` or `undef` if anything did not work correctly. Error messages will go to STDERR.

-### Character Set ###
+### Set Character Set ###

     set_charset(&amp;lt;mycharset&amp;gt;)

 Add a `meta` tag that defines the character set for this html document. Default is utf-8.

-### Local Anchor List ###
+### Set Local Anchor List ###

     set_local_anchor_list()

&amp;lt;/mycharset&amp;gt;&amp;lt;/ref_to_array&amp;gt;&amp;lt;/title_rows&amp;gt;&amp;lt;/col_align&amp;gt;&amp;lt;/element_delimiter&amp;gt;&amp;lt;/ref_to_array&amp;gt;&amp;lt;/remark&amp;gt;&amp;lt;/text&amp;gt;&amp;lt;/type&amp;gt;&amp;lt;/text&amp;gt;&amp;lt;/anchor&amp;gt;&amp;lt;/start_value&amp;gt;&amp;lt;/list_type&amp;gt;&amp;lt;/ref_to_array&amp;gt;&amp;lt;/text&amp;gt;&amp;lt;/anchor&amp;gt;&amp;lt;/text&amp;gt;&amp;lt;/level&amp;gt;&amp;lt;/text&amp;gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James B. Helix-Roveda</dc:creator><pubDate>Tue, 30 Mar 2021 18:49:26 -0000</pubDate><guid>https://sourceforge.net04f898764b8df06746fd6687bc49d2bcbf22a4e3</guid></item><item><title>Methods and Functions modified by James B. Helix-Roveda</title><link>https://sourceforge.net/p/htmldocument/wiki/Methods%2520and%2520Functions/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -7,3 +7,139 @@
     add_goto_top(&amp;lt;text&amp;gt;)

 Add a link that points to the top of the html document. The text is displayed as link. Typically used for 'Up' or 'go to top'.
+
+### Heading ###
+
+    add_heading(&amp;lt;level&amp;gt;, &amp;lt;text&amp;gt; [, &amp;lt;anchor&amp;gt;])
+
+Add a heading to the html document. Optionally, you can give it a named anchor. If anchor is given, it will insert an attribute `&amp;lt;hlevel id="anchor"&amp;gt;text&amp;lt;/hlevel&amp;gt;`. If you use `_default_` as anchor, the anchor will be automatically derived from the text, all lowercase, blanks replaced by underscores.
+
+### Horizontal Ruler ###
+
+    add_hr()
+
+Add a horizontal ruler.
+
+### HTML ###
+
+    add_html()
+
+Add arbitrary html code (as one string) to the html document.
+
+### Link ###
+
+    add_link(&amp;lt;link&amp;gt;, &amp;lt;text&amp;gt;)
+
+Add a link to the html document.
+
+### Ordered List ###
+
+    add_ol(&amp;lt;ref_to_array&amp;gt; [, &amp;lt;list_type&amp;gt; [, &amp;lt;start_value&amp;gt;])
+
+Add an ordered list. The array elements are inserted as the list elements. Optionally specify the list type (1 Aa Ii) and/or the start value.
+
+### Anchor ###
+
+    add_local_anchor(&amp;lt;anchor&amp;gt;, &amp;lt;text&amp;gt;)
+
+An anchor is set at the current position, the text is filed in an array for later use. It will be replaced during output of the html at the position, where the local anchor list is to be placed. See set_local_anchor_list().
+
+### Paragraph ###
+
+    add_paragraph(&amp;lt;type&amp;gt;, &amp;lt;text&amp;gt;)
+
+Add a paragraph of any type. Use e.g. 'p' or 'pre' as type.
+
+### Remark ###
+
+    add_remark(&amp;lt;remark&amp;gt;)
+
+Add a remark to the html document.
+
+### Table ###
+
+    add_table(&amp;lt;ref_to_array&amp;gt;, &amp;lt;element_delimiter&amp;gt;, &amp;lt;col_align&amp;gt;, &amp;lt;title_rows&amp;gt; [, ])
+
+Add a table to the html document. You must provide a reference to an array. The array should contain lines of text like: ('!' as `element_delimiter` expected):
+
+    value1          !   value in col 2  !  value in col 3 ! etc
+    value2 in col 1 !                   !  xyz            ! even more
+    3               !   4               !          5      ! what the heck...
+
+The `col_align` is a string containing one character ('L', 'C' or 'R') for each table column which defines its respective alignment. 
+
+The number of `title_rows` define the number of rows, that are enclosed in 'th' tags instead of 'td' tags.
+
+The `table caption` is optional.
+
+### Unordered List ###
+
+    add_ul(&amp;lt;ref_to_array&amp;gt;)
+
+Add an unordered list. The array elements are inserted as the list elements.
+
+### Get HTML ###
+
+    get_html()
+
+Returns the (so far) created html document as a string.
+
+### Get CSS Style ###
+
+    get_style()
+
+Returns the currently defined css style definitions.
+
+### Get Title ###
+
+    get_title()
+
+Returns the title of the htm document, if defined.
+
+### Save To File ###
+
+    save2file(&amp;lt;complete_path&amp;gt; [, &amp;lt;compress_command&amp;gt; [, &amp;lt;force&amp;gt;]])
+
+That saves the so far created html document to the file `complete_path`. Compress the resulting file if a `compress_command` is given. Supported are `xz`, `bzip2` and `gzip`. Use any value for force to use the `--force` argument to the supported compression command.
+
+The method returns the resulting filename (the complete path including the extension which may probably be changed by the `compress_command` or `undef` if anything did not work correctly. Error messages will go to STDERR.
+
+### Character Set ###
+
+    set_charset(&amp;lt;mycharset&amp;gt;)
+
+Add a `meta` tag that defines the character set for this html document. Default is utf-8.
+
+### Local Anchor List ###
+
+    set_local_anchor_list()
+
+That inserts a special remark which will be replaced by the links to all filed local anchors when the html document is requested (`get_html`, `save2file`). You may use that e.g. for a table of contents. It can be used more than once.
+
+### Set CSS Style ###
+
+    set_style(&amp;lt;style_definitions&amp;gt;)
+
+Set the css style definitions for the html document. 
+
+These are the default settings (for a simple and neutral design):
+
+    table {
+        border-collapse: collapse;
+        border: 1px solid black;
+        margin-top: 5px;
+    }
+
+    th, td {
+        border: 1px solid black;
+        padding: 5px;
+    }
+
+### Set Title ###
+
+    set_title(&amp;lt;mytitle&amp;gt;)
+
+Set the title of the html document.
+
+
+
&amp;lt;/mytitle&amp;gt;&amp;lt;/style_definitions&amp;gt;&amp;lt;/mycharset&amp;gt;&amp;lt;/force&amp;gt;&amp;lt;/compress_command&amp;gt;&amp;lt;/complete_path&amp;gt;&amp;lt;/ref_to_array&amp;gt;&amp;lt;/title_rows&amp;gt;&amp;lt;/col_align&amp;gt;&amp;lt;/element_delimiter&amp;gt;&amp;lt;/ref_to_array&amp;gt;&amp;lt;/remark&amp;gt;&amp;lt;/text&amp;gt;&amp;lt;/type&amp;gt;&amp;lt;/text&amp;gt;&amp;lt;/anchor&amp;gt;&amp;lt;/start_value&amp;gt;&amp;lt;/list_type&amp;gt;&amp;lt;/ref_to_array&amp;gt;&amp;lt;/text&amp;gt;&amp;lt;/anchor&amp;gt;&amp;lt;/text&amp;gt;&amp;lt;/level&amp;gt;&amp;lt;/text&amp;gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James B. Helix-Roveda</dc:creator><pubDate>Tue, 30 Mar 2021 18:46:21 -0000</pubDate><guid>https://sourceforge.net4e1db3024895530a9fddc5b6b1b7123e970b2c36</guid></item><item><title>Methods and Functions modified by James B. Helix-Roveda</title><link>https://sourceforge.net/p/htmldocument/wiki/Methods%2520and%2520Functions/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,12 +1,9 @@
-Methods and Functions
-=====
-break
------
+## Methods and Functions ##
+### break ###
     add_br()

 Add a break to the html document.
-Goto Top Link
------
+### Goto Top Link ###
     add_goto_top(&amp;lt;text&amp;gt;)

 Add a link that points to the top of the html document. The text is displayed as link. Typically used for 'Up' or 'go to top'.
&amp;lt;/text&amp;gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James B. Helix-Roveda</dc:creator><pubDate>Tue, 30 Mar 2021 18:18:42 -0000</pubDate><guid>https://sourceforge.net2ab560af33e26e6c13b3238f4479b37b2fa4bbab</guid></item><item><title>Methods and Functions modified by James B. Helix-Roveda</title><link>https://sourceforge.net/p/htmldocument/wiki/Methods%2520and%2520Functions/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="methods-and-functions"&gt;Methods and Functions&lt;/h1&gt;
&lt;h2 id="break"&gt;break&lt;/h2&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;add_br()
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Add a break to the html document.&lt;br/&gt;
Goto Top Link&lt;/p&gt;
&lt;hr/&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;add_goto_top(&amp;lt;text&amp;gt;)
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Add a link that points to the top of the html document. The text is displayed as link. Typically used for 'Up' or 'go to top'.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James B. Helix-Roveda</dc:creator><pubDate>Tue, 30 Mar 2021 18:06:04 -0000</pubDate><guid>https://sourceforge.net2c3541fd28eb842717829111355608fb77e90896</guid></item></channel></rss>