This program was created to make it easier to create documents for the PalmPilot. The biggest feature this program offers over the other text file to PilotDOC programs is the ability to have preset bookmarks. I found MakeDocJ originally written by Pat Beirne, fixed the bugs, and added the ability to generate bookmarks directly into the PilotDOC. The regular expression text search routines are provided by the package gnu.regexp. The full package can be found at http://www.cacas.org/java/gnu/regexp/.
It is possible to process more than one file by using a file to indicate the options. To indicate the file containing the options, precede the file with '@'. MakeDocJ will read this and each line is considered a complete command line. See Example\options.BSA_Advancement for more information.
Terms of Use The MakeDocJ is distributed under the terms of the GNU Lesser General Public License. The lesser.txt file included in the distribution contains the details. This program is free software. You are encouraged to adapt it to your own needs, and contribute to the program's ongoing development.
NOTE: Requires Java Runtime Environment or Java Development Kit 1.1.7a or higher. Tested with Java 2 (Java Development Kit 1.2.x, 1.3.x).
Usage: of runj | |
Java 1.1.x: | Replace runj with java -classpath %CLASSPATH%;MakeDocJ.jar MakeDocJ |
Java 2.x: | Replace runj with java -jar MakeDocJ.jar to use the Java 2 Runtime Environment. |
If database name is longer than 31 character, last three characters are replaced with '...'
First release of Native Win32 executable. Contained in Win32 directory.
Moved MakeDocJ.jar under Java directory.
Replace javaregex package with gnu.regexp package. Since the source for MakeDocJ is available, I felt it was more appropriate to use a regular expression package that had the sources freely available also.
Internally had typeID and creatorID reversed. This had NO adverse affects on anything generated by MakeDocJ.
Really generates a correct modification date to store in the PilotDoc.
Doesn't add "extra" 2 bytes with encoding. These 2 bytes are found when the PilotDoc in downloaded from the Palm device. Can properly decode with or without these bytes.
Based on documentation at www.RoadCoders.com changed how the PilotDoc is being built.
Correctly generate creation and modification dates to be from January 1, 1904.
Added -p to set the private bit in the PilotDoc file.
Fixed a problem when specifying regular expressions for bookmarks. The regular expression was ignored.
If all bookmarks are not found, the PilotDoc file is deleted. This is because the internal indexes will be incorrect.
Renamed classes to be inline with "Java Coding Standards"
Compression is now fully inline with the original unixdoc/makedoc.
When specifying bookmarks, if only the name of the bookmark is specified, we will really search the text. Also, regular expressions are not used if only the name is specified.
Fixed another compression corruption error. i believe these have all been found and fixed. This was do to the fact the Java doesn't have unsigned data types. Will have to remember this when porting other C/C++ programs to Java.
Added the ability to add comments to the bookmark file. Any line beginning with a '!' will be ignored as a comment.
Split the code up more so it can be used in other stuff.
Added -c to compress multi-linefeeds out of the
Read the entire
Fixed a couple of bugs in the textBuffer::compress. No longer seems to
corrupt the compressed data.
Added the ability to specify a file of command lines. This allows for
multiple files to be processed.
Never released to public
First version released by Jeffrey A. Krzysztow
Mostly bug fixes to original code and convert to my style of coding.
Added the ability to specify preset bookmarks.
MakeDocJ v2.1
MakeDocJ v2.0