PDF Viewer

"Wagner, John" <[email protected]> Thu, 9 Jun 2011 20:55:18 +0000
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
--===============2945416388120176883==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_34613BF2AF03C8449F7581619EFE2EF81A6E7D69ITSMSXMBS2Madun_"

--_000_34613BF2AF03C8449F7581619EFE2EF81A6E7D69ITSMSXMBS2Madun_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

John Henry (or anyone who can help),

I need to use the Pythoncard PDF viewer that you built.  I downloaded it, p=
ut the component in the component directory, put the sample in the sample d=
irectory, 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 Pythonc=
ard specific. Native wxPython needs this mod too.

3) A mod to an interface file created by win32com. Have no idea why this ha=
ck is needed because native wxPython sample program runs fine without it. H=
opefully somebody that knows what's going can remove this hack.

It looks like this is something Pythoncard users are assumed to know, but i=
t is new to me.  Can you explain or point me to a resource that deals with =
this?

Thanks,
John W

--_000_34613BF2AF03C8449F7581619EFE2EF81A6E7D69ITSMSXMBS2Madun_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"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 6769=
8713 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=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">John Henry (or anyone who can help),<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I need to use the Pythoncard PDF viewer that you bui=
lt.&nbsp; I downloaded it, put the component in the component directory, pu=
t the sample in the sample directory, but I don&#8217;t know what to do wit=
h 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=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">You stated:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:.75in;text-indent:-.25in=
;mso-list:l0 level1 lfo1">
<![if !supportLists]><span style=3D"mso-list:Ignore">1)<span style=3D"font:=
7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Run win32com's genpy to activate Acrobat activeX su=
pport<br>
<br>
2) Mod to pdfwin.py in wxPython to support Acrobat 9.0. This is not Pythonc=
ard specific. Native wxPython needs this mod too.<br>
<br>
3) A mod to an interface file created by win32com. Have no idea why this ha=
ck is needed because native wxPython sample program runs fine without it. H=
opefully somebody that knows what's going can remove this hack.<o:p></o:p><=
/p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"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=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Thanks,<o:p></o:p></p>
<p class=3D"MsoNormal">John W<o:p></o:p></p>
</div>
</body>
</html>

--_000_34613BF2AF03C8449F7581619EFE2EF81A6E7D69ITSMSXMBS2Madun_--


--===============2945416388120176883==
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
--===============2945416388120176883==
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

--===============2945416388120176883==--