51        if( !item->IsEnabled() )
 
   56            wxString sublayer_text;
 
   58            if( item->GetSublayersCount() )
 
   60                sublayer_text.Printf( wxT( 
"\n  sublayer \"1/%d\"" ),
 
   61                                      item->GetSublayersCount() );
 
   64            txt.Printf( wxT( 
"layer \"%s\" type \"%s\"%s" ),
 
   65                        item->FormatDielectricLayerName(),
 
   66                        item->GetTypeName(), sublayer_text );
 
   70            txt.Printf( wxT( 
"layer \"%s\" type \"%s\"" ),
 
   72                        item->GetTypeName() );
 
   77        if( item->IsColorEditable() )
 
   79            txt.Printf( wxT( 
" Color \"%s\"" ), item->GetColor() );
 
   83        for( 
int idx = 0; idx < item->GetSublayersCount(); idx++ )
 
   87                txt.Printf( wxT( 
"\n  sublayer \"%d/%d\"" ), idx+1, item->GetSublayersCount() );
 
   91            if( item->IsThicknessEditable() )
 
   93                txt.Printf( wxT( 
" Thickness %s" ),
 
   99                    txt.Printf( wxT( 
" Locked" ) );
 
  104            if( item->IsMaterialEditable() )
 
  106                txt.Printf( wxT( 
" Material \"%s\"" ), item->GetMaterial( idx ) );
 
  110            if( item->HasEpsilonRValue() )
 
  112                txt.Printf( wxT( 
" EpsilonR %s" ), item->FormatEpsilonR( idx ) );
 
  116            if( item->HasLossTangentValue() )
 
  118                txt.Printf( wxT( 
" LossTg %s" ), item->FormatLossTangent( idx ) );
 
  127    txt.Printf( wxT( 
"Finish \"%s\"" ), aStackup.
m_FinishType );
 
  131        report << wxT( 
" Option \"Impedance Controlled\"" );
 
  134        report << wxT( 
" Option \"Plated edges\"" );
 
  138        wxString conn_txt = wxT( 
"yes" );
 
  141            conn_txt << wxT( 
",bevelled" );
 
  143        txt.Printf( wxT( 
" EdgeConnector \"%s\"" ), conn_txt );
 
 
KICOMMON_API wxString StringFromValue(const EDA_IU_SCALE &aIuScale, EDA_UNITS aUnits, double aValue, bool aAddUnitsText=false, EDA_DATA_TYPE aType=EDA_DATA_TYPE::DISTANCE)
Return the string from aValue according to aUnits (inch, mm ...) for display.