Patch level : 2.2
Files correlati : ba8 Ricompilazione Demo : [ ] Commento : Aggiunto supporto per cpi definiti dall'utente nell'editor di report git-svn-id: svn://10.65.10.50/trunk@13661 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
8fdd8b925c
commit
a37012d240
@ -313,6 +313,7 @@ void TReport_properties_mask::set_report(const TReport& r)
|
||||
{
|
||||
set(F_FONT_AUTO, r.use_printer_font());
|
||||
set(F_ORIENTATION, r.orientation());
|
||||
set(F_DX, r.user_defined_cpi());
|
||||
set(F_DY, r.lpi());
|
||||
set_font_info(r.font());
|
||||
set(F_CLASS, r.get_class());
|
||||
@ -330,6 +331,7 @@ void TReport_properties_mask::get_report(TReport& r) const
|
||||
r.set_use_printer_font(af);
|
||||
if (!af)
|
||||
{
|
||||
r.set_cpi(get_int(F_DX));
|
||||
r.set_lpi(get_int(F_DY));
|
||||
TReport_font f;
|
||||
if (get_font_info(f))
|
||||
|
@ -13,14 +13,22 @@ END
|
||||
BOOLEAN F_FONT_AUTO
|
||||
BEGIN
|
||||
PROMPT 1 5 "Seleziona font in base alle impostazioni della stampante"
|
||||
MESSAGE FALSE ENABLE,F_FONT_SELECT|ENABLE,F_DY
|
||||
MESSAGE TRUE DISABLE,F_FONT_SELECT|DISABLE,F_DY
|
||||
MESSAGE FALSE ENABLE,F_FONT_SELECT|ENABLE,F_DY|ENABLE,F_DX
|
||||
MESSAGE TRUE DISABLE,F_FONT_SELECT|DISABLE,F_DY|DISABLE,F_DX
|
||||
END
|
||||
|
||||
NUMBER F_DX 2
|
||||
BEGIN
|
||||
PROMPT 31 6 "Caratteri per pollice "
|
||||
FLAGS "U"
|
||||
CHECKTYPE NORMAL
|
||||
END
|
||||
|
||||
NUMBER F_DY 2
|
||||
BEGIN
|
||||
PROMPT 1 6 "Linee per pollice "
|
||||
CHEKCTYPE REQUIRED
|
||||
FLAGS "U"
|
||||
CHECKTYPE REQUIRED
|
||||
END
|
||||
|
||||
BUTTON F_FONT_SELECT 12 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user