Re: PDF Viewer

John Henry <[email protected]> Thu, 16 Jun 2011 07:18:25 -0700
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============1230176993176060476==
Content-Type: multipart/alternative;
	boundary="------------050202040803080506030807"

This is a multi-part message in MIME format.
--------------050202040803080506030807
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

John, did it worked?

On 6/10/2011 2:54 AM, [email protected] wrote:
> John,
>
> Both 1 & 2 are requirements from using win32com - not Pythoncard 
> specific.  Run the genpy program that comes with win32com and select 
> Acrobox active x support.  #2 is Acrobat 9 related.  I included a 
> modified version of pdfwin.py in my upload.
>
> In short:
>
> a) Install win32com
> b) Install wxpython
> c) Locate genpy.py and run it.  Select Acrobat Active support.
> d) Update pdfwin.py to include Acrobat 9.0 support (compair original 
> version with the version I uploaded and should be obvious what need to 
> be done).
> e) Try without step 3.  May be the newer version of win32com doesn't 
> require it any more.
>
> On 6/9/2011 1:55 PM, Wagner, John wrote:
>>
>> John Henry (or anyone who can help),
>>
>> I need to use the Pythoncard PDF viewer that you built.  I downloaded 
>> it, put the component in the component directory, put the sample in 
>> the sample directory, but I don't know what to do with Win32com and 
>> genpy.  When I run the LayoutEditor, the component shows up, but it 
>> will not load.
>>
>> You stated:
>>
>> 1)Run win32com's genpy to activate Acrobat activeX support
>>
>> 2) Mod to pdfwin.py in wxPython to support Acrobat 9.0. This is not 
>> Pythoncard specific. Native wxPython needs this mod too.
>>
>> 3) A mod to an interface file created by win32com. Have no idea why 
>> this hack is needed because native wxPython sample program runs fine 
>> without it. Hopefully somebody that knows what's going can remove 
>> this hack.
>>
>> It looks like this is something Pythoncard users are assumed to know, 
>> but it is new to me.  Can you explain or point me to a resource that 
>> deals with this?
>>
>> Thanks,
>>
>> John W
>>
>>
>> ------------------------------------------------------------------------------
>> EditLive Enterprise is the world's most technically advanced content
>> authoring tool. Experience the power of Track Changes, Inline Image
>> Editing and ensure content is compliant with Accessibility Checking.
>> http://p.sf.net/sfu/ephox-dev2dev
>>
>>
>> _______________________________________________
>> Pythoncard-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
>
>
> -- 
> Kim Cheung


--------------050202040803080506030807
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    John, did it worked?<br>
    <br>
    On 6/10/2011 2:54 AM, <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> wrote:
    <blockquote cite="mid:[email protected]" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <title></title>
      <tt>John,<br>
        <br>
        Both 1 &amp; 2 are requirements from using win32com - not
        Pythoncard specific.&nbsp; Run the genpy program that comes with
        win32com and select Acrobox active x support.&nbsp; #2 is Acrobat 9
        related.&nbsp; I included a modified version of pdfwin.py in my
        upload.<br>
        <br>
        In short:<br>
        <br>
        a) Install win32com<br>
        b) Install wxpython<br>
        c) Locate genpy.py and run it.&nbsp; Select Acrobat Active support.<br>
        d) Update pdfwin.py to include Acrobat 9.0 support (compair
        original version with the version I uploaded and should be
        obvious what need to be done).<br>
        e) Try without step 3.&nbsp; May be the newer version of win32com
        doesn't require it any more.<br>
      </tt><br>
      On 6/9/2011 1:55 PM, Wagner, John wrote:
      <blockquote
cite="mid:[email protected]"
        type="cite">
        <meta http-equiv="Content-Type" content="text/html;
          charset=ISO-8859-1">
        <meta name="Generator" content="Microsoft Word 14 (filtered
          medium)">
        <style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:838615927;
	mso-list-type:hybrid;
	mso-list-template-ids:1242752316 505574024 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-text:"%1\)";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:.75in;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:1.25in;
	text-indent:-.25in;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	margin-left:1.75in;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:2.25in;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:2.75in;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	margin-left:3.25in;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:3.75in;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:4.25in;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	margin-left:4.75in;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
        <div class="WordSection1">
          <p class="MsoNormal">John Henry (or anyone who can help),<o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal">I need to use the Pythoncard PDF viewer
            that you built.&nbsp; I downloaded it, put the component in the
            component directory, put the sample in the sample directory,
            but I don&#8217;t know what to do with Win32com and genpy.&nbsp; When I
            run the LayoutEditor, the component shows up, but it will
            not load.<o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal">You stated:<o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoListParagraph" style="margin-left: 0.75in;
            text-indent: -0.25in;">
            <!--[if !supportLists]--><span style="">1)<span style="font:
                7pt &quot;Times New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><!--[endif]-->Run
            win32com's genpy to activate Acrobat activeX support<br>
            <br>
            2) Mod to pdfwin.py in wxPython to support Acrobat 9.0. This
            is not Pythoncard specific. Native wxPython needs this mod
            too.<br>
            <br>
            3) A mod to an interface file created by win32com. Have no
            idea why this hack is needed because native wxPython sample
            program runs fine without it. Hopefully somebody that knows
            what's going can remove this hack.<o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal">It looks like this is something
            Pythoncard users are assumed to know, but it is new to me.&nbsp;
            Can you explain or point me to a resource that deals with
            this?<o:p></o:p></p>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <p class="MsoNormal">Thanks,<o:p></o:p></p>
          <p class="MsoNormal">John W<o:p></o:p></p>
        </div>
        <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://p.sf.net/sfu/ephox-dev2dev">http://p.sf.net/sfu/ephox-dev2dev</a></pre>
        <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Pythoncard-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/pythoncard-users">https://lists.sourceforge.net/lists/listinfo/pythoncard-users</a>
</pre>
      </blockquote>
      <br>
      <br>
      <pre class="moz-signature" cols="72">-- 
Kim Cheung</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------050202040803080506030807--


--===============1230176993176060476==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
--===============1230176993176060476==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Pythoncard-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pythoncard-users

--===============1230176993176060476==--