Creating pdf from xml file using Help&Manual
Moderators: Alexander Halser, Tim Green
Creating pdf from xml file using Help&Manual
Hi,
we have a system to generate a xml document using h&m syntax. Now i would like to compile that xml file. Is there a way to compile the xml file using command line mode?.
I am triying do this initially with a hmx file using automation but it doesnt work. Here is the code in delphi language:
var
aHMInstance : THMInstance;
begin
aHMInstance := CreateServer('pp');
if OpenProject(aHMInstance,pchar(extractfiledir(application.exename) + '\test.hmx')) = true then
begin
CompileProject(aHMInstance,'popo.pdf','logfile.log',HMCOMPILEFORMAT_PDF,'',false);
end;
CloseProject(aHMInstance,true);
CloseServer(aHMInstance);
Any idea
Best regards
ilde
we have a system to generate a xml document using h&m syntax. Now i would like to compile that xml file. Is there a way to compile the xml file using command line mode?.
I am triying do this initially with a hmx file using automation but it doesnt work. Here is the code in delphi language:
var
aHMInstance : THMInstance;
begin
aHMInstance := CreateServer('pp');
if OpenProject(aHMInstance,pchar(extractfiledir(application.exename) + '\test.hmx')) = true then
begin
CompileProject(aHMInstance,'popo.pdf','logfile.log',HMCOMPILEFORMAT_PDF,'',false);
end;
CloseProject(aHMInstance,true);
CloseServer(aHMInstance);
Any idea
Best regards
ilde
- Alexander Halser
- EC-Software Support
- Posts: 4105
- Joined: Mon Jun 24, 2002 7:24 pm
- Location: Salzburg, Austria
- Contact:
Not directly from the XML file, you need to import this into Help & Manual before you can compile the PDF.we have a system to generate a xml document using h&m syntax. Now i would like to compile that xml file. Is there a way to compile the xml file using command line mode?.
Alexander Halser
Senior Software Architect, EC Software GmbH
Senior Software Architect, EC Software GmbH
- Alexander Halser
- EC-Software Support
- Posts: 4105
- Joined: Mon Jun 24, 2002 7:24 pm
- Location: Salzburg, Austria
- Contact:
- Alexander Halser
- EC-Software Support
- Posts: 4105
- Joined: Mon Jun 24, 2002 7:24 pm
- Location: Salzburg, Austria
- Contact:
-
- Posts: 8
- Joined: Tue May 29, 2007 6:28 pm
I want it too!
This is very high on my list of wanted features too.
Without it I have to put the HMX files in Subversion to copy them from the human-development folders to the automated-build folders, and that is very unfortunate for several reasons. (Inefficient storage usage, no revision diff ability.)
Rennie
Without it I have to put the HMX files in Subversion to copy them from the human-development folders to the automated-build folders, and that is very unfortunate for several reasons. (Inefficient storage usage, no revision diff ability.)
Rennie
Delphi component to create XML help&manual project files
Hi,
we were doing a delphi component that can generate a xml help&manual native file project.
With really simple procedures like (createnewparagraph, createnewchapter, addcontent, etc... and savexml file) we are able to create a xml file to import into help&manual. Is almost finished so if someone want to use it please tell us to put into a web site for free download.
if we could compile it automatically it will be fantastic!! (not manually import into help&manual)
Best regards
ilde
we were doing a delphi component that can generate a xml help&manual native file project.
With really simple procedures like (createnewparagraph, createnewchapter, addcontent, etc... and savexml file) we are able to create a xml file to import into help&manual. Is almost finished so if someone want to use it please tell us to put into a web site for free download.
if we could compile it automatically it will be fantastic!! (not manually import into help&manual)
Best regards
ilde