Loading common/class_page_info.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -62,7 +62,8 @@ const wxString PAGE_INFO::Custom( wxT( "User" ) ); // local readability macro for millimeter wxSize #define MMsize( x, y ) wxSize( Mm2mils( x ), Mm2mils( y ) ) // All MUST be defined as landscape. If IsGOST() is true, A4 is dynamically rotated later. // All MUST be defined as landscape. // If IsGOST() is true, A4 is dynamically rotated later. const PAGE_INFO PAGE_INFO::pageA4( MMsize( 297, 210 ), wxT( "A4" ), wxPAPER_A4 ); const PAGE_INFO PAGE_INFO::pageA3( MMsize( 420, 297 ), wxT( "A3" ), wxPAPER_A3 ); const PAGE_INFO PAGE_INFO::pageA2( MMsize( 594, 420 ), wxT( "A2" ), wxPAPER_A2 ); Loading Loading @@ -139,7 +140,7 @@ void PAGE_INFO::setMargins() m_left_margin = m_right_margin = m_top_margin = m_bottom_margin = 400; // Units = mils m_bottom_margin = Mm2mils( 10 ); } } Loading common/class_plotter.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ #include <base_struct.h> #include <common.h> #include <plot_common.h> #include <worksheet.h> #include <macros.h> #include <class_base_screen.h> #include <drawtxt.h> Loading Loading
common/class_page_info.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -62,7 +62,8 @@ const wxString PAGE_INFO::Custom( wxT( "User" ) ); // local readability macro for millimeter wxSize #define MMsize( x, y ) wxSize( Mm2mils( x ), Mm2mils( y ) ) // All MUST be defined as landscape. If IsGOST() is true, A4 is dynamically rotated later. // All MUST be defined as landscape. // If IsGOST() is true, A4 is dynamically rotated later. const PAGE_INFO PAGE_INFO::pageA4( MMsize( 297, 210 ), wxT( "A4" ), wxPAPER_A4 ); const PAGE_INFO PAGE_INFO::pageA3( MMsize( 420, 297 ), wxT( "A3" ), wxPAPER_A3 ); const PAGE_INFO PAGE_INFO::pageA2( MMsize( 594, 420 ), wxT( "A2" ), wxPAPER_A2 ); Loading Loading @@ -139,7 +140,7 @@ void PAGE_INFO::setMargins() m_left_margin = m_right_margin = m_top_margin = m_bottom_margin = 400; // Units = mils m_bottom_margin = Mm2mils( 10 ); } } Loading
common/class_plotter.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ #include <base_struct.h> #include <common.h> #include <plot_common.h> #include <worksheet.h> #include <macros.h> #include <class_base_screen.h> #include <drawtxt.h> Loading