<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dbrade</id>
	<title>WebOS Internals - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dbrade"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Dbrade"/>
	<updated>2026-04-16T08:24:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Talk:Patch_PDF_Viewer_Change_Orientation&amp;diff=6242</id>
		<title>Talk:Patch PDF Viewer Change Orientation</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Talk:Patch_PDF_Viewer_Change_Orientation&amp;diff=6242"/>
		<updated>2009-10-06T03:52:10Z</updated>

		<summary type="html">&lt;p&gt;Dbrade: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As of 1.2.1 the changes mentioned in the page are already included but disable by a nasty little &amp;quot;return&amp;quot; at the beginning of the orientationChanged method.&lt;br /&gt;
&lt;br /&gt;
Here are the new procedure to enable pdfviewer's built-in change of orientation:&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| align=right |  1.||Run &amp;lt;tt&amp;gt;cd /usr/palm/applications&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| align=right |  2.||Run &amp;lt;tt&amp;gt;tar tzf com.palm.app.pdfviewer.tar.gz&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| align=right |  3.||Edit &amp;lt;tt&amp;gt;com.palm.app.pdfviewer/app/controllers/document-assistant.js&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| align=right, valign=top |  4.||look for the &amp;lt;tt&amp;gt;orientationChanged:&amp;lt;/tt&amp;gt; (line 221 in 1.2.1) and remove the &amp;lt;tt&amp;gt;return;&amp;lt;/tt&amp;gt; at the beginning of the method&lt;br /&gt;
    orientationChanged: function(orientation) {&lt;br /&gt;
       return;                // &amp;lt;--- remove that line&lt;br /&gt;
       if (this.currentOrientation === orientation)&lt;br /&gt;
|-&lt;br /&gt;
| align=right |  5.||Save the changes&lt;br /&gt;
|-&lt;br /&gt;
| align=right |  6.||[Re]start the pdfviewer and voila!&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
''Note - comment by dbtrade :I had to use: tar xzf com.palm.app.pdfviewer.tar.gz&lt;br /&gt;
&lt;br /&gt;
''In order for the tar file to actually extract the files''''&lt;/div&gt;</summary>
		<author><name>Dbrade</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Talk:Patch_PDF_Viewer_Change_Orientation&amp;diff=6240</id>
		<title>Talk:Patch PDF Viewer Change Orientation</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Talk:Patch_PDF_Viewer_Change_Orientation&amp;diff=6240"/>
		<updated>2009-10-06T03:50:18Z</updated>

		<summary type="html">&lt;p&gt;Dbrade: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As of 1.2.1 the changes mentioned in the page are already included but disable by a nasty little &amp;quot;return&amp;quot; at the beginning of the orientationChanged method.&lt;br /&gt;
&lt;br /&gt;
Here are the new procedure to enable pdfviewer's built-in change of orientation:&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| align=right |  1.||Run &amp;lt;tt&amp;gt;cd /usr/palm/applications&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| align=right |  2.||Run &amp;lt;tt&amp;gt;tar tzf com.palm.app.pdfviewer.tar.gz&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| align=right |  3.||Edit &amp;lt;tt&amp;gt;com.palm.app.pdfviewer/app/controllers/document-assistant.js&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| align=right, valign=top |  4.||look for the &amp;lt;tt&amp;gt;orientationChanged:&amp;lt;/tt&amp;gt; (line 221 in 1.2.1) and remove the &amp;lt;tt&amp;gt;return;&amp;lt;/tt&amp;gt; at the beginning of the method&lt;br /&gt;
    orientationChanged: function(orientation) {&lt;br /&gt;
       return;                // &amp;lt;--- remove that line&lt;br /&gt;
       if (this.currentOrientation === orientation)&lt;br /&gt;
|-&lt;br /&gt;
| align=right |  5.||Save the changes&lt;br /&gt;
|-&lt;br /&gt;
| align=right |  6.||[Re]start the pdfviewer and voila!&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
I had to use: tar xzf com.palm.app.pdfviewer.tar.gz&lt;br /&gt;
&lt;br /&gt;
In order for the tar file to actually extract the files&lt;/div&gt;</summary>
		<author><name>Dbrade</name></author>
	</entry>
</feed>