Adobe framemaker 6.0 Manuale Utente
249
ADOBE FRAMEMAKER 6.0
Examples
SEND PACKET(vDoc;"<Cell "+vFill+" <CellContent <Para <PgfTag
`Number'>"+CR)
SEND PACKET(vDoc;"<ParaLine <String `"+String([Inventory]Ref
Number;"###")+"'>>>>>"+CR)
SEND PACKET(vDoc;"<Cell "+vFill+" <CellContent <Para <PgfTag
`Body'>"+CR)
SEND PACKET(vDoc;"<ParaLine <String `"+[Inventory]Name+"'>>>"+CR)
SEND PACKET(vDoc;"<Para <PgfTag `CellBody'>"+CR)
SEND PACKET(vDoc;"<ParaLine <String
`"+[Beans]Description+"'>>>>>"+CR)
SEND PACKET(vDoc;"<Cell "+vFill+" <CellContent <Para <PgfTag
`Number'>"+CR)
SEND PACKET(vDoc;"<ParaLine <String
`"+String([Inventory]Bags;"###")+"'>>>>>"+CR)
SEND PACKET(vDoc;"<Cell "+vFill+" <CellContent <Para <PgfTag
`Body'>"+CR)
SEND PACKET(vDoc;"<ParaLine <String
`"+[Inventory]Status+"'>>>>>"+CR)
SEND PACKET(vDoc;"<Cell "+vFill+" <CellContent <Para <PgfTag
`Number'>"+CR)
SEND PACKET(vDoc;"<ParaLine <Conditional <InCondition
`Retail'>>"+CR)
SEND PACKET(vDoc;"<String `"+String([Inventory]Price per
Bag;"$#,###.00")+"'>")
SEND PACKET(vDoc;"<Conditional <InCondition `Discount'>>"+CR)
SEND PACKET(vDoc;"<String `"+String(vDiscPrice;"$###,###.00")+"'>
"+CR)
SEND PACKET(vDoc;"<Unconditional> >>>>>"+CR)
MESSAGE("Generating MIF for "+[Inventory]Name+", Status:
"+[Inventory]Status+".")
NEXT RECORD([Inventory])
End for
SEND PACKET(vDoc;">>>"+CR) `End of table.
`Body of page.
SEND PACKET(vDoc;"<TextFlow <TFTag `A'> <TFAutoConnect Yes>"+CR)
SEND PACKET(vDoc;"<Para <PgfTag `Heading'> <ParaLine <TextRectID
8>"+CR)
SEND PACKET(vDoc;"<String `GREEN COFFEE PRICE LIST'> <AFrame
1>>>"+CR)
SEND PACKET(vDoc;"<Para <PgfTag `Prepared'> <ParaLine <String `To
order, contact:'>>>"+CR)
SEND PACKET(vDoc;"<Para <PgfTag `Body'> <ParaLine <String
`"+$1»+"'>>>"+CR)
SEND PACKET(vDoc;"<Para <PgfTag `Body2'>"+CR)
SEND PACKET(vDoc;"<ParaLine <String `Sales Representative'>>>"+CR)
SEND PACKET(vDoc;"<Para <PgfTag `Body2'>"+CR)
SEND PACKET(vDoc;"<ParaLine <String `Primo Coffee
Distributors'>>>"+CR)
`Number'>"+CR)
SEND PACKET(vDoc;"<ParaLine <String `"+String([Inventory]Ref
Number;"###")+"'>>>>>"+CR)
SEND PACKET(vDoc;"<Cell "+vFill+" <CellContent <Para <PgfTag
`Body'>"+CR)
SEND PACKET(vDoc;"<ParaLine <String `"+[Inventory]Name+"'>>>"+CR)
SEND PACKET(vDoc;"<Para <PgfTag `CellBody'>"+CR)
SEND PACKET(vDoc;"<ParaLine <String
`"+[Beans]Description+"'>>>>>"+CR)
SEND PACKET(vDoc;"<Cell "+vFill+" <CellContent <Para <PgfTag
`Number'>"+CR)
SEND PACKET(vDoc;"<ParaLine <String
`"+String([Inventory]Bags;"###")+"'>>>>>"+CR)
SEND PACKET(vDoc;"<Cell "+vFill+" <CellContent <Para <PgfTag
`Body'>"+CR)
SEND PACKET(vDoc;"<ParaLine <String
`"+[Inventory]Status+"'>>>>>"+CR)
SEND PACKET(vDoc;"<Cell "+vFill+" <CellContent <Para <PgfTag
`Number'>"+CR)
SEND PACKET(vDoc;"<ParaLine <Conditional <InCondition
`Retail'>>"+CR)
SEND PACKET(vDoc;"<String `"+String([Inventory]Price per
Bag;"$#,###.00")+"'>")
SEND PACKET(vDoc;"<Conditional <InCondition `Discount'>>"+CR)
SEND PACKET(vDoc;"<String `"+String(vDiscPrice;"$###,###.00")+"'>
"+CR)
SEND PACKET(vDoc;"<Unconditional> >>>>>"+CR)
MESSAGE("Generating MIF for "+[Inventory]Name+", Status:
"+[Inventory]Status+".")
NEXT RECORD([Inventory])
End for
SEND PACKET(vDoc;">>>"+CR) `End of table.
`Body of page.
SEND PACKET(vDoc;"<TextFlow <TFTag `A'> <TFAutoConnect Yes>"+CR)
SEND PACKET(vDoc;"<Para <PgfTag `Heading'> <ParaLine <TextRectID
8>"+CR)
SEND PACKET(vDoc;"<String `GREEN COFFEE PRICE LIST'> <AFrame
1>>>"+CR)
SEND PACKET(vDoc;"<Para <PgfTag `Prepared'> <ParaLine <String `To
order, contact:'>>>"+CR)
SEND PACKET(vDoc;"<Para <PgfTag `Body'> <ParaLine <String
`"+$1»+"'>>>"+CR)
SEND PACKET(vDoc;"<Para <PgfTag `Body2'>"+CR)
SEND PACKET(vDoc;"<ParaLine <String `Sales Representative'>>>"+CR)
SEND PACKET(vDoc;"<Para <PgfTag `Body2'>"+CR)
SEND PACKET(vDoc;"<ParaLine <String `Primo Coffee
Distributors'>>>"+CR)