Quote:
Originally Posted by nrapallo
Have you been able to use any other method in SBPubX.doc like 'BuildFromHtmlFile', 'BuildFromTextFile', 'BuildFromWordDoc' or 'BuildFromOEBFF' and make it work?
There are no coding examples for these and I don't get any results using them like I do when I use the 'Build' method.
|
I finally figured out (through trial & error) what to do to properly use
BuildFromWordDoc using the Builder interface of the PubX.dll OLE library.
I'll post my Word2imp.pl in the
Using perl scripts to produce .IMP ebooks and more... thread shortly.
A typo/error in the SBPubX.doc documentation that "ships" with the eBook Publisher software thrawted me from having figured this out earlier. Basically, the section on page 14 dealing with the "Event Handlers" should be:
package EventHandlers;
sub OnBuildStart()
{
my ($builder, $project, @args) = @_;
The bold part is the typo/error that's required. Happy coding!!!
Even though, you can convert .doc directly into .imp (even in batches) using the BulkConvert program that also "ships" with the eBook Publisher software, this now allows pre- & post-processing changes to be made using perl scripts!