diff --git a/eeschema/netform.cpp b/eeschema/netform.cpp
index de4afbd66c..55939ccdfe 100644
--- a/eeschema/netform.cpp
+++ b/eeschema/netform.cpp
@@ -665,23 +665,23 @@ XNODE* NETLIST_EXPORT_TOOL::makeGenericDesignHeader()
for( SCH_SHEET_PATH* sheet = sheetList.GetFirst(); sheet; sheet = sheetList.GetNext() )
{
- screen = sheet->LastScreen();
+ screen = sheet->LastScreen();
xdesign->AddChild( xsheet = node( wxT( "sheet" ) ) );
- // get the string representation of the sheet index number.
- // Note that sheet->GetIndex() is zero index base and we need to increment the number by one to make
+ // get the string representation of the sheet index number.
+ // Note that sheet->GetIndex() is zero index base and we need to increment the number by one to make
// human readable
- sheetTxt.Printf( wxT( "%d" ), ( sheetList.GetIndex() + 1 ) );
+ sheetTxt.Printf( wxT( "%d" ), ( sheetList.GetIndex() + 1 ) );
xsheet->AddAttribute( wxT( "number" ), sheetTxt );
xsheet->AddAttribute( wxT( "name" ), sheet->PathHumanReadable() );
xsheet->AddAttribute( wxT( "tstamps" ), sheet->Path() );
-
+
TITLE_BLOCK tb = screen->GetTitleBlock();
xsheet->AddChild( xtitleBlock = node( wxT( "title_block" ) ) );
-
+
xtitleBlock->AddChild( node( wxT( "title" ), tb.GetTitle() ) );
xtitleBlock->AddChild( node( wxT( "company" ), tb.GetCompany() ) );
xtitleBlock->AddChild( node( wxT( "rev" ), tb.GetRevision() ) );
@@ -690,7 +690,7 @@ XNODE* NETLIST_EXPORT_TOOL::makeGenericDesignHeader()
// We are going to remove the fileName directories.
sourceFileName = wxFileName( screen->GetFileName() );
xtitleBlock->AddChild( node( wxT( "source" ), sourceFileName.GetFullName() ) );
-
+
xtitleBlock->AddChild( xcomment = node( wxT( "comment" ) ) );
xcomment->AddAttribute( wxT("number"), wxT("1") );
xcomment->AddAttribute( wxT( "value" ), tb.GetComment1() );
@@ -706,7 +706,7 @@ XNODE* NETLIST_EXPORT_TOOL::makeGenericDesignHeader()
xtitleBlock->AddChild( xcomment = node( wxT( "comment" ) ) );
xcomment->AddAttribute( wxT("number"), wxT("4") );
xcomment->AddAttribute( wxT( "value" ), tb.GetComment4() );
- }
+ }
return xdesign;
}
diff --git a/eeschema/plugins/bom_with_title_block_2_csv.xsl b/eeschema/plugins/bom_with_title_block_2_csv.xsl
index 5dd2ba0efc..589d7ef43f 100644
--- a/eeschema/plugins/bom_with_title_block_2_csv.xsl
+++ b/eeschema/plugins/bom_with_title_block_2_csv.xsl
@@ -2,24 +2,24 @@
@package
EESCHEMA BOM plugin. Creates BOM CSV files from the project net file.
Based on Stefan Helmert bom2csv.xsl
-
+
Note:
The project infomation (i.e title, company and revision) is taken from and the root sheet.
-
- Arthur:
+
+ Arthur:
Ronald Sousa HashDefineElectronics.com
-
+
Usage:
on Windows:
xsltproc -o "%O.csv" "C:\Program Files (x86)\KiCad\bin\plugins\bom2csv.xsl" "%I"
on Linux:
xsltproc -o "%O.csv" /usr/local/lib/kicad/plugins/bom2csv.xsl "%I"
-
+
Ouput Example:
Source,
Kicad Rev, working director and file source
Generated Date, date this file was generated
-
+
Title, the project's tile
Company, the project's company
Rev, the project's revision
@@ -48,15 +48,15 @@
Source,&nl;
Kicad Rev,&nl;
Generated Date,&nl;
-
+
&nl;
-
+
-
+
&nl;
-
-
+
+
Reference,Value,
@@ -68,10 +68,10 @@
-
+
-
+
Title,&nl;
@@ -80,8 +80,8 @@
Title,Not Set&nl;
-
-
+
+
Company,&nl;
@@ -90,7 +90,7 @@
Company,Not Set&nl;
-
+
Revision,&nl;
@@ -99,7 +99,7 @@
Revision,Not Set&nl;
-
+
Date Issue,&nl;
@@ -110,9 +110,9 @@
-
+
-
+
@@ -120,9 +120,9 @@
-
-
+
+
,