TAChart: Add script to create chm help file

git-svn-id: trunk@60927 -
This commit is contained in:
wp 2019-04-11 11:30:58 +00:00
parent 79a26a4231
commit 2e6f06cd26
4 changed files with 239 additions and 0 deletions

3
.gitattributes vendored
View File

@ -5255,6 +5255,9 @@ components/tachart/editors/tasourcepropeditors.pas svneol=native#text/pascal
components/tachart/editors/tasubcomponentseditor.lfm svneol=native#text/plain
components/tachart/editors/tasubcomponentseditor.pas svneol=native#text/pascal
components/tachart/editors/tatooleditors.pas svneol=native#text/pascal
components/tachart/fpdoc/chm/fpdoc.css svneol=native#text/css
components/tachart/fpdoc/chm/make_chm.bat svneol=native#text/plain
components/tachart/fpdoc/chm/tachart-help.hpr svneol=native#text/plain
components/tachart/fpdoc/descr.lst svneol=native#text/plain
components/tachart/fpdoc/input.lst svneol=native#text/plain
components/tachart/fpdoc/tachartaxis.xml svneol=native#text/plain

View File

@ -0,0 +1,171 @@
/*
$Id: fpdoc.css 55589 2017-07-25 13:58:15Z wp $
Default style sheet for FPDoc reference documentation
by Sebastian Guenther, sg@freepascal.org
Feel free to use this file as a template for your own style sheets.
*/
body {
background: white
}
body, p, th, td, caption, h1, h2, h3, ul, ol, dl {
color: black;
font-family: sans-serif
}
tt, span.kw, pre {
font-family: "Courier New", Courier, monospace
}
body, p, th, td, caption, ul, ol, dl, tt, span.kw, pre {
font-size: 14px
}
A:link {
color: blue
}
A:visited {
color: darkblue
}
A:active {
color: red
}
A {
text-decoration: none
}
A:hover {
text-decoration: underline
}
h1, h2, td.h2 {
color: #005A9C
}
/* Especially for Netscape on Linux: */
h3, td.h3 {
font-size: 12pt
}
/* source fragments */
span.code {
white-space: nowrap
}
/* symbols in source fragments */
span.sym {
color: darkred
}
/* keywords in source fragments */
span.kw {
font-weight: bold
}
/* comments in source fragments */
span.cmt {
color: darkcyan;
font-style: italic
}
/* directives in source fragments */
span.dir {
color: darkyellow;
font-style: italic
}
/* numbers in source fragments */
span.num {
color: darkmagenta
}
/* characters (#...) in source fragments */
span.chr {
color: darkcyan
}
/* strings in source fragments */
span.str {
color: blue
}
/* assembler passages in source fragments */
span.asm {
color: green
}
td.pre {
white-space: pre
}
p.cmt {
color: gray
}
span.warning {
color: red;
font-weight: bold
}
/* !!!: How should we define this...? */
span.file {
color: darkgreen
}
table.remark {
background-color: #ffffc0;
}
table.bar {
background-color: #a0c0ff;
}
span.bartitle {
font-weight: bold;
font-style: italic;
color: darkblue
}
span.footer {
font-style: italic;
color: darkblue
}
/* definition list */
dl {
border: 3px double #ccc;
padding: 0.5em;
}
/* definition list: term */
dt {
float: left;
clear: left;
width: auto; /* normally browsers default width of largest item */
padding-right: 20px;
font-weight: bold;
color: darkgreen;
}
/* definition list: description */
dd {
margin: 0 0 0 110px;
padding: 0 0 0.5em 0;
}
/* for browsers in standards compliance mode */
td p {
margin: 0;
}
li {
margin-top: 6pt;
margin-bottom: 6pt;
}

View File

@ -0,0 +1,8 @@
:: ----------------------------------------------------------------------------
:: Batch file to create TAChart chm help files
::
:: Adapt path to fpdoc.exe to your fpc configuration.
:: ----------------------------------------------------------------------------
set fpdoc=C:\lazarus-trunk_fpc304\fpc\3.0.4\bin\i386-win32\fpdoc.exe
%fpdoc% --project=tachart-help.hpr

View File

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<docproject>
<options>
<option name="ostarget" value="Win32"/>
<option name="cputarget" value="i386"/>
<option name="format" value="CHM"/>
<option name="hide-protected" value="false"/>
<option name="warn-no-node" value="false"/>
<option name="show-private" value="false"/>
<option name="stop-on-parser-error" value="false"/>
<option name="parse-impl" value="false"/>
<option name="dont-trim" value="false"/>
<option name="emit-notes" value="false"/>
<option name="css-file" value="fpdoc.css"/>
<option name="auto-toc"/>
<option name="auto-index"/>
<option name="make-searchable"/>
<option name="content"/>
</options>
<packages>
<package name="TAChartLazarusPkg" output="tachart.chm" content="tachart.xct">
<units>
<unit file="..\..\tagraph.pas" options=""/>
<unit file="..\..\tachartaxis.pas" options=""/>
<unit file="..\..\tachartaxisutils.pas" options=""/>
<unit file="..\..\tachartutils.pas" options=""/>
<unit file="..\..\tacustomseries.pas" options=""/>
<unit file="..\..\tacustomsource.pas" options=""/>
<unit file="..\..\tadbsource.pas" options=""/>
<unit file="..\..\tadrawutils.pas" options=""/>
<unit file="..\..\tageometry.pas" options=""/>
<unit file="..\..\talegend.pas" options=""/>
<unit file="..\..\tamath.pas" options=""/>
<unit file="..\..\taseries.pas" options=""/>
<unit file="..\..\tasources.pas" options=""/>
<unit file="..\..\tatypes.pas" options=""/>
</units>
<descriptions>
<description file="..\tagraph.xml"/>
<description file="..\tachartaxis.xml"/>
<description file="..\tachartaxisutils.xml"/>
<description file="..\tachartutils.xml"/>
<description file="..\tacustomseries.xml"/>
<description file="..\tacustomsource.xml"/>
<description file="..\tadbsource.xml"/>
<description file="..\tadrawutils.xml"/>
<description file="..\tageometry.xml"/>
<description file="..\talegend.xml"/>
<description file="..\tamath.xml"/>
<description file="..\taseries.xml"/>
<description file="..\tasources.xml"/>
<description file="..\tatypes.xml"/>
</descriptions>
<imports/>
</package>
</packages>
</docproject>