<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{83,68,1007,640}</property>
    <property name="Name">[]</property>
    <property name="Caption">[Form1]</property>
    <property name="AlwaysOnTop">.F.</property>
    <property name="AutoCenter">.T.</property>
    <property name="FormType">[dlgModal]</property>
    <property name="Modal">.T.</property>
    <property name="ScopeVarObj">[Local]</property>
    <property name="lClipper">.F.</property>
    <property name="lExitOnEnter">.T.</property>
    <property name="lExitOnESC">.T.</property>
    <property name="Variables">{aItems,aHead}</property>
    <property name="FromStyle">[Popup]</property>
    <property name="Clipsiblings">.F.</property>
    <property name="Clipchildren">.F.</property>
    <property name="TitleBar">.T.</property>
    <property name="StyleBorder">[3 - Sizable (Default)]</property>
    <property name="nBackColor">0</property>
    <property name="Icon">[]</property>
    <property name="NoIcon">.F.</property>
    <property name="SystemMenu">.T.</property>
    <property name="Minimizebox">.F.</property>
    <property name="Maximizebox">.T.</property>
    <property name="AbsAlignment">.T.</property>
    <property name="WindowState">[1 - Normal (Default)]</property>
    <property name="minHeight">-1</property>
    <property name="maxHeight">-1</property>
    <property name="minWidth">-1</property>
    <property name="maxWidth">-1</property>
    <property name="ScrollBars">[3 - Both]</property>
    <property name="DSControl">.F.</property>
  </style>
  <method name="onDlgInit">
    <![CDATA[oComboScanners:aitems := aClone( aNetScanners )
oComboScanners:Requery()
// SetDlgItemText( getmodalhandle(), oComboScanners:id, aNetScanners[val(wUserScanner),1] )

oComboScanners:SetValue( aNetScanners[val(wUserScanner),1]  )
oComboScanners:Refresh()

Ged_Digitaliza('jpg_load')]]>
  </method>
  <part class="bitmap">
    <style>
      <property name="Geometry">{131,102,870,509}</property>
      <property name="Name">[oClassBitmap]</property>
      <property name="Stretch">[1 - Isometric]</property>
    </style>
  </part>
  <part class="panel">
    <style>
      <property name="Geometry">{0,0,10,94}</property>
      <property name="Name">[oToolbar]</property>
    </style>
  </part>
  <part class="bitmap">
    <style>
      <property name="Geometry">{21,102,90,90}</property>
      <property name="Name">[oClassBmp1]</property>
      <property name="ToolTip">
[Clique aqui para exibir a primeira pagina do documento]      </property>
    </style>
    <method name="onClick">
      <![CDATA[Ged_Digitaliza('jpg_load')]]>
    </method>
    <method name="onInit">
      <![CDATA[Ged_Digitaliza('jpg_thumbpage',,oClassBmp1)]]>
    </method>
  </part>
  <part class="bitmap">
    <style>
      <property name="Geometry">{21,206,90,90}</property>
      <property name="Name">[oClassBmp2]</property>
      <property name="ToolTip">[Clique para exibir a 2a pagina do documento]</property>
    </style>
    <method name="onClick">
      <![CDATA[Ged_Digitaliza('jpg_load',2)]]>
    </method>
    <method name="onInit">
      <![CDATA[Ged_Digitaliza('jpg_thumbpage',2,oClassBmp2)]]>
    </method>
  </part>
  <part class="bitmap">
    <style>
      <property name="Geometry">{21,310,90,90}</property>
      <property name="Name">[oClassBmp3]</property>
      <property name="ToolTip">[Clique para exibir a 3a pagina do documento]</property>
    </style>
    <method name="onClick">
      <![CDATA[Ged_Digitaliza('jpg_load',3)]]>
    </method>
    <method name="onInit">
      <![CDATA[Ged_Digitaliza('jpg_thumbpage',3,oClassBmp3)]]>
    </method>
  </part>
  <part class="bitmap">
    <style>
      <property name="Geometry">{21,416,90,90}</property>
      <property name="Name">[oClassBmp4]</property>
      <property name="ToolTip">[Clique para exibir a 4a pagina do documento]</property>
    </style>
    <method name="onClick">
      <![CDATA[Ged_Digitaliza('jpg_load',4)]]>
    </method>
    <method name="onInit">
      <![CDATA[Ged_Digitaliza('jpg_thumbpage',4,oClassBmp4)]]>
    </method>
  </part>
  <part class="bitmap">
    <style>
      <property name="Geometry">{21,521,90,90}</property>
      <property name="Name">[oClassBmp5]</property>
      <property name="ToolTip">[Clique para exibir a 5a pagina do documento]</property>
    </style>
    <method name="onClick">
      <![CDATA[Ged_Digitaliza('jpg_load',5)
]]>
    </method>
    <method name="onInit">
      <![CDATA[Ged_Digitaliza('jpg_thumbpage',5,oClassBmp5)]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{12,1,115,90}</property>
      <property name="Name">[oButtonex1]</property>
      <property name="Caption">[Digitalizar Frente]</property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[icon\scanner_ged.jpg]</property>
      <property name="Icon">[C:\syspafmercados\xml\icon\scanner.ico]</property>
      <property name="ToolTip">
[Digitaliza a frente do documento, ou sua 1a pagina]      </property>
      <property name="TabIndex">1</property>
    </style>
    <method name="onClick">
      <![CDATA[Ged_Digitaliza('jpg_scan_frente')]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{129,1,115,90}</property>
      <property name="Name">[oButtonex2]</property>
      <property name="Caption">[Digitalizar Pagina Seguinte]</property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[icon\scanner_ged.jpg]</property>
      <property name="Icon">[C:\syspafmercados\xml\icon\scanner.ico]</property>
      <property name="ToolTip">
[Digitaliza a pagina seguinte do documento, se houver, como por exemplo, o verso do documento]      </property>
      <property name="TabIndex">1</property>
    </style>
    <method name="onClick">
      <![CDATA[Ged_Digitaliza('jpg_scan_next')]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{428,1,115,90}</property>
      <property name="Name">[oButtonex5]</property>
      <property name="Caption">[Copiar Imagem]</property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[icon\scanner_ged.jpg]</property>
      <property name="Icon">[C:\syspafmercados\xml\icon\scanner.ico]</property>
      <property name="ToolTip">
[Copia imagem a ser arquivada de uma pasta do sistema, obtida a partir de imagem de celular, etc...]      </property>
      <property name="TabIndex">1</property>
    </style>
    <method name="onClick">
      <![CDATA[Ged_Digitaliza('jpg_copy')
ENDDIALOG()]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{545,1,115,90}</property>
      <property name="Name">[oButtonex4]</property>
      <property name="Caption">[Descartar Imagem]</property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[icon\scanner_ged.jpg]</property>
      <property name="Icon">[C:\syspafmercados\xml\icon\scanner.ico]</property>
      <property name="ToolTip">[Apaga imagem corrente]</property>
      <property name="TabIndex">1</property>
    </style>
    <method name="onClick">
      <![CDATA[Ged_Digitaliza('jpg_del')]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{667,1,115,90}</property>
      <property name="Name">[oButtonex6]</property>
      <property name="Caption">[Imprimir/Retocar]</property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[icon\scanner_ged.jpg]</property>
      <property name="Icon">[C:\syspafmercados\xml\icon\scanner.ico]</property>
      <property name="ToolTip">
[Imprime a imagem ou executa outras operacoes na mesma]      </property>
      <property name="TabIndex">1</property>
    </style>
    <method name="onClick">
      <![CDATA[Ged_Digitaliza('jpg_print')]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{278,1,115,90}</property>
      <property name="Name">[oButtonex3]</property>
      <property name="Caption">[Captar Foto pela WEBCAM]</property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[icon\scanner_ged.jpg]</property>
      <property name="Icon">[C:\syspafmercados\xml\icon\scanner.ico]</property>
      <property name="ToolTip">
[Copia imagem a ser arquivada de uma pasta do sistema, obtida a partir de imagem de celular, etc...]      </property>
      <property name="TabIndex">1</property>
    </style>
    <method name="onClick">
      <![CDATA[CaptaFotoViaWebCam(,,,oClassBitmap)]]>
    </method>
  </part>
  <part class="combobox">
    <style>
      <property name="Geometry">{784,68,227,23}</property>
      <property name="Name">[oComboScanners]</property>
      <property name="varName">[wUserScanner]</property>
      <property name="Items">{,}</property>
      <property name="TabIndex">2</property>
    </style>
    <method name="onInteractiveChange">
      <![CDATA[Parameters value,oComboScanners
XmlChecaComboBox(value,oComboScanners,aNetScanners) 
]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{790,1,60,32}</property>
      <property name="Name">[oButtonex8]</property>
      <property name="Caption">[Zoom+]</property>
      <property name="ToolTip">[Amplia visualizacao da Imagem]</property>
      <property name="TabIndex">3</property>
    </style>
    <method name="onClick">
      <![CDATA[Ged_Digitaliza('jpg_zoom+')]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{790,33,60,32}</property>
      <property name="Name">[oButtonex7]</property>
      <property name="Caption">[Zoom-]</property>
      <property name="ToolTip">[Reduz visualizacao da imagem]</property>
      <property name="TabIndex">3</property>
    </style>
    <method name="onClick">
      <![CDATA[Ged_Digitaliza('jpg_zoom-')]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{853,2,44,29}</property>
      <property name="Name">[oSayScale]</property>
      <property name="Caption">[]</property>
      <property name="TabIndex">4</property>
    </style>
  </part>
</part>
