GithubHelp home page GithubHelp logo

flexpaper's People

Contributors

flexpaper avatar

Watchers

 avatar

flexpaper's Issues

Printing issue in Windows XP

When you print a document in Windows XP the bottom of the page does not 
print.

I have found that this issue can be resolved if print the pages as bitmap. 
See below:

var pjo:PrintJobOptions = new PrintJobOptions(true);

pj.addPage(_swfContainer, null, pjo);

Original issue reported on code.google.com by [email protected] on 26 Feb 2010 at 7:39

Pages not displayed when zoomed into flex

To fix this issue you can do the following:
In the com.devaldi.controls.flexpaper.Viewer
-Change the following function:
private function checkIsVisible(pageIndex:int):Boolean{
return true;
}

Original issue reported on code.google.com by [email protected] on 26 Feb 2010 at 12:28

Multi-page SWF with FitPageOnLoad and FitWidthOnLoad centers resulting SWF vertically instead of focusing on 1st page

What steps will reproduce the problem?

This is the generated SWF html embedding:

<object data="/html2pdf/FlexPaperViewer.swf" name="FlexPaperViewer" 
id="FlexPaperViewer" type="application/x-shockwave-flash" width="970" 
height="670"> 
<param value="high" name="quality"> 
<param value="#ffffff" name="bgcolor"> 
<param value="sameDomain" name="allowscriptaccess"> 
<param value="true" name="allowfullscreen"> 
<param 
value="SwfFile=/html2pdf/myswf.swf&amp;Scale=1&amp;ZoomTransition=linear&am
p;ZoomTime=0.5&amp;ZoomInterval=0.2&amp;FitPageOnLoad=false&amp;FitWidthOnL
oad=true&amp;PrintEnabled=true" name="flashvars">    
</object>

What is the expected output? What do you see instead?
Should focus on first page after generation

What version of the product are you using? On what operating system?
Latest (as of 2010-02-20)

Please provide any additional information below.
Tried FitPageOnLoad=true ==> same result

Original issue reported on code.google.com by [email protected] on 25 Feb 2010 at 9:02

DupImage.removeAllChildren does not remove all children...

public function removeAllChildren():void{
   for(var i:int=0;i<this.numChildren;i++){
      delete(this.removeChildAt(i));
   }
}

will end up leaving all ODD numbered children in the list.  A better way
would be:

public function removeAllChildren():void{
   while (this.numChildren > 0){
      delete(this.removeChildAt(0));
   }
}

Original issue reported on code.google.com by [email protected] on 3 Mar 2010 at 3:21

Resizing issue

What steps will reproduce the problem?
1. Use flexpaper in flex 3.5
2. resize the browser window
3.

What is the expected output? What do you see instead?
I expect flexpaper component to keep the correct size. Be best if it resize
the swf/pdf but at least it should keep the component size the same. what
happens is, when you resize it up and then back down, you start to get
scroll bars and it always keeps the biggest area you resized to.


What version of the product are you using? On what operating system?
1.2.1, OSX 10.6


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 9 Mar 2010 at 1:54

When you click the "Fit Width" or "Fit Page" buttons, the scale isn't updated.

What steps will reproduce the problem?
1. Load a swf document. (Doesn't matter what it is.)
2. Zoom in to 500%.
3. Click "Fit Page"

What is the expected output? What do you see instead?
When the page is fitted to the screen, the scale should be updated to reflect 
the new scale.

What version of the product are you using? On what operating system?
FlexPaper 1.3


Original issue reported on code.google.com by [email protected] on 5 Feb 2010 at 2:26

TypeError: Error #1010: A term is undefined and has no properties in Viewer.as

What steps will reproduce the problem?
1. Used SWFTools version swftools-2010-02-06-1900.exe.
2. Used the following FlexPaperViewer tag:
<flexpaper:FlexPaperViewer Scale="0.6" ZoomInterval="0.1" ZoomTime="0.5"
ZoomTransition="easeOut" FitPageOnLoad="false" FitWidthOnLoad="true"
PrintEnabled="true" SwfFile="UserGuide.swf" width="100%" height="100%">

What is the expected output? What do you see instead?

Expected output is to see the output without any error dialog box.

Actual Output:
=============
TypeError: Error #1010: A term is undefined and has no properties.
    at com.devaldi.controls.flexpaper::Viewer/repositionPapers()[C:\Documents
and Settings\Administrator\My Documents\Flex Builder
3\FlexPaper\src\com\devaldi\controls\flexpaper\Viewer.as:354]
    at com.devaldi.controls.flexpaper::Viewer/updComplete()[C:\Documents and
Settings\Administrator\My Documents\Flex Builder
3\FlexPaper\src\com\devaldi\controls\flexpaper\Viewer.as:305]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.3.0\frameworks\projects\fram
ework\src\mx\core\UIComponent.as:9308]
    at
mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.3.0\frameworks
\projects\framework\src\mx\managers\LayoutManager.as:719]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at
mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.3.0\frameworks\projec
ts\framework\src\mx\core\UIComponent.as:8633]
    at
mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.3.0\frameworks\project
s\framework\src\mx\core\UIComponent.as:8573]

What version of the product are you using? On what operating system?
Used the latest FlexPaper code from SVN http://flexpaper.googlecode.com/svn/

Please provide any additional information below.
Can you please tell how to fix this issue.

Original issue reported on code.google.com by [email protected] on 4 Mar 2010 at 1:38

Adding FlexPaper.swc as component to Flex App freezes FlexBuilder3 on WinXP (SP2)

Has anyone experienced this ?

Steps to reproduce:

1. Open FlexBuilder3

2. Create new flex app project. (File->New->Flex Project. Give it name
'p1'. Click on 'Finish')

3. Follow instructions under 'Using FlexPaper in Adobe Flex' listed at 
http://flexpaper.devaldi.com/docs.html and do following
   a. Add FlexPaper.swc to bin-debug dir of project 'p1'. Also add test SWF
 (Paper3.swf) file created using PDF2SWF to bin-debug 
   b. Edit and change p1.mxml (under src of 'p1') code to following (as
shown under Using FlexPaper in Adobe Flex)

   <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" width="100%" height="100%" 
   xmlns:fp="com.devaldi.controls.flexpaper.*">
    <fp:FlexPaperViewer width="520" height="450" Scale="0.6"
SwfFile="Paper3.swf" /> </mx:Application>

   b. Just to be sure, rebuild project in FlexBuilder3 by clicking on
Project->Clean and Build Project (if build-automatically is not set)
   c. Double click on p1.mxml or right click on p1.mxml and select 'MXML
Editor'.

The FlexBuilder3 freezes. The only way out is kill the process and restart.
This happens every time and there is no way to proceed further.
(I don't have any other projects in FlexBuilder3 as its a brand new install)

More info about the setup:

1. SDKs tried under FlexBuilder3: 3.2.0 & 3.5.0.12683

2. FlexBuilder3 (trial) version: 3.0 (build 3.0.2.214193)

3. Contents of FlexBuilder.ini:
-vmargs
-Xms256m
-Xmx1024m
-XX:MaxPermSize=512m
-XX:PermSize=256m
-Djava.net.preferIPv4Stack=true

4. The problem seems to be the Design View of MXML editor. You can view
p1.mxml as text (right click->open with->Text Editor) without freezing
FlexBuilder3.

Also, if I just try to run the project p1, I get following runtime error
in the browser (FireFox 3.6.2)

Error: Error #2118: The LoaderInfo class does not implement this method.
    at Error$/throwError()
    at flash.display::LoaderInfo/dispatchEvent()
    at
com.devaldi.streaming::ForcibleLoader/ioErrorHandler()[C:\Users\Erik\Documents\F
lex
Builder 3\FlexPaper\src\com\devaldi\streaming\ForcibleLoader.as:217]

Thanks & Regards,
-Darshan



Original issue reported on code.google.com by [email protected] on 27 Mar 2010 at 3:10

Enhancement - Copy Text

It would be great if you could select text from the document and copy it 
to your clipboard.

Original issue reported on code.google.com by [email protected] on 26 Feb 2010 at 1:12

Suggestion: .addBitmapPage()-method

It would be great to have the ability to feed the FlexPaper viewer with
pages/images, for example by adding an .addBitmapPage(bitmap:Bitmap) method.

This is useful for example when the page content is dynamically generated,
for example pages dynamically tagged with copyright and userright
information using on-the-fly Php/GD.

There are also cases when SWFTools conversions simply don't give good
enough results. One example is when the pdf is based on high resolution
bitmaps. 
(The only open source tool that can extract these with good quality is
ImageMagick, by using the -density parameter...) Then these pages can be
bulk-loaded and fed into FlexPaper




Original issue reported on code.google.com by [email protected] on 11 Mar 2010 at 12:19

Fit Width or Fit Page to Fullscreen expected behavior

What steps will reproduce the problem?
1. Start with a document not in fullscreen
2. Click "Fit Width" or "Fit Page"
3. Click Fullscreen

What is the expected output? What do you see instead?
I suppose that the viewport should remember the setting "Fit Width" or "Fit
Page" when switching to fullscreen, instead of remembering the scale value.
Or maybe the scale value could "recalculate" according to the fullscreen
width value ? Or maybe the "Fit Width" or "Fit Page" could stay
"clicked"/locked ?

What version of the product are you using? On what operating system?
V 1.2. On Ubuntu 9.04

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 18 Feb 2010 at 6:18

Suggestion: Rotation

Flexpaper is an absolutely awesome viewer but one suggestion which i'm unsure 
on how difficult to achieve would be is being able to rotate a page or the 
whole document, either would be great, for example we convert a lot of tif's 
to pdf's which then get converted to swf but a lot of people scan landscape 
paper in as portrait because of the limitations of scanners. In an ideal 
world they would then rotate and sort these out before adding them but it 
would be awesome to be able to quickly rotate in 90 degree steps whilst 
viewing.

Original issue reported on code.google.com by [email protected] on 16 Mar 2010 at 10:34

Error diplaying FlexPaper Viewer from a SWF Generated with PDF2SWF

What steps will reproduce the problem?
1. Trying to display the SWF Generated with PSD2SWF with recommended
parameters.
2. It works when trying to display the provided paper.swf file but not with
my file.
3. Try it ourself:
http://1.0.dev.eflow.allps.net/inc/orderform_gen_viewer.php?osuid=OS10032302063
or see the attached picture

What is the expected output?
 SWF Displayed

What do you see instead?
 The viewer continuously loading at 100% and nothing inside


What version of the product are you using? On what operating system?
Windows Server 2003 + Latest version of PHP, FlexPaper, PDF2SWF & MySQL.

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 23 Mar 2010 at 8:26

Attachments:

error in AIR :: FlexPaperViewer & Viewer

SecurityError: Error #3015: Loader.loadBytes() is not permitted to load
content with executable code.
    at flash.display::Loader/_loadBytes()
    at flash.display::Loader/loadBytes()
    at
com.devaldi.streaming::ForcibleLoader/completeHandler()[C:\Users\Erik\Documents\
Flex
Builder 3\FlexPaper\src\com\devaldi\streaming\ForcibleLoader.as:104]

---------------------------------------------------------------

I think to ressolve that you have to take a look at : 
LoaderContext.allowLoadBytesCodeExecution = true;

PERREYMOND Gilles


Original issue reported on code.google.com by [email protected] on 8 Feb 2010 at 10:41

DupImage.removeAllChildren does not remove all children...

Your fix was not quite right.  Now it will leave the second half of the list.

If there are 5 children:

The first time through, i=0 and numchildren=5.
The child at 0 is removed.
Now i=1 and numchildren=4
The child at 0 is removed.
Now i=2 and numchildren=3
The child at 0 is removed.
Now i=3 and numchildren=2

No more children are removed, and 2 are left.


while(numChildren > 0)
    delete(removeChildAt(0);


will work correctly.

Original issue reported on code.google.com by [email protected] on 26 Mar 2010 at 12:24

dynamic load swffile from javascript wanted.

Thanks the author for the great project!

What is the expected output? What do you see instead?
I wanna dynamic load swffile from javascript.
We do not need reload flexpaper, just reload swffile.
Something in js like this: 
  $('#flexpaper').reload('another.swf');


Original issue reported on code.google.com by [email protected] on 23 Feb 2010 at 10:59

Document URLs with non ascii chars

I have some swf files like Geschäftsbrief.swf which do not load inside
flexpaper. The loading symbol in the upper right corner is running forever.
The problem seems to be this "ä" inside the filename. I use urlencode() on
server side PHP to produce something that should work but it does not. 

On the server the file looks like: Geschäftsbrief.swf but I can open it
via FireFox with /Geschäftsbrief.swf without a problem.

Any Ideas?



Original issue reported on code.google.com by [email protected] on 18 Mar 2010 at 4:31

Legal documents are cutoff in the viewer

What steps will reproduce the problem?
1. Create a PDF that has a mix of Letter and Legal pages
2. Convert to SWF using pdf2swf
3. load into FlexPaper

What is the expected output? What do you see instead?
Both letter and legal pages do not display fully. Legal pages are cutoff at 
11inches. This affects both viewing and printing.

What version of the product are you using? On what operating system?
swftools-2010-02-06-1900 and FlexPaper 1.2.1

Please provide any additional information below.
Have not tested with a document that is ALL legal, I only know this doesnt 
not work with a mixed-size document.

Original issue reported on code.google.com by [email protected] on 24 Feb 2010 at 9:47

Expose loaded event OR fix fitwidthonload

would be nice to be able to have an event fired once an SWF is loaded. that
way we can call fitwidth after we dynamically set swffile. or make it so
that the fitwidthonload executes fitwidth after each load, not just the first.

Original issue reported on code.google.com by [email protected] on 17 Mar 2010 at 7:28

Fullscreen are not working on FullScreenAsMaxWindow false

What steps will reproduce the problem?
1. set FullScreenAsMaxWindow as false
2. click fullscreen icon
3. -

What is the expected output? What do you see instead?
fullscreen window. nothing happends.

What version of the product are you using? On what operating system?
1.2.2. windows xp (firefox/chrome, flash 10), ubuntu (firefox, flash 10).

Please provide any additional information below.
thanks!

Original issue reported on code.google.com by [email protected] on 19 Mar 2010 at 3:30

Landscape documents print in portrait mode.

I am using flexpaper to display a landscape PDF (11"W x 8.5"H).  It
displaying correctly, but for some reason when I attempt to print the
document, it comes out of the printer oriented in portrait mode.  Ergo, the
last two inches of the document are cut-off on the right-hand side of the page.

This is a great idea for a project and it looks well implemented.
Unfortunately this bug is a show stopper for my present needs.  I'll keep
an eye on it and occasionally check back.  Thanks!

Original issue reported on code.google.com by [email protected] on 18 Mar 2010 at 2:37

SWF URLs with colon don't work

Hi - I have URLs with colons in but the view can't handle them:

flashvars: "SwfFile=/aaaa.swf" works but "SwfFile=/aa%3Aaa.swf" doesn't.  No 
request to server made at all.

I've worked around this myself so no urgency to fix from my perspective.

Thanks for a cool viewer.

Original issue reported on code.google.com by [email protected] on 1 Mar 2010 at 5:47

Internationalization

Please make it possible to provide some custom labels for this widget. I'd
like to use it in application which uses more than one language. It would
be great to be able to set it using JS calls or params provided by params
structure.

Greeting,
Janusz Prokulewicz

Original issue reported on code.google.com by [email protected] on 18 Jan 2010 at 3:22

only one page problem

What steps will reproduce the problem?
1.transform an only one page pdf to swf

What is the expected output? What do you see instead?
1.expect to see the page with flexpaper,but it still loading forever

What version of the product are you using? On what operating system?
swftools0.9 flexpaper1.3.2 ubuntu

Please provide any additional information below.
I transform like this:pdf2swf transformed.pdf -o firewood.swf -f -T 9 -t -G

Original issue reported on code.google.com by [email protected] on 23 Mar 2010 at 7:30

flash 9 error

What steps will reproduce the problem?
open flexpaper player at flash player 9, windows under virtualbox (i dont
know it's flash 9 fault or virtualbox.

What do you see instead?
empty space for http://flexpaper.devaldi.com/. right click with no flash
object detected.
i run my application on localhost, produce this msg when opening:
    at mx.core::Container/createComponentsFromDescriptors()
    at mx.core::Container/mx.core:Container::createChildren()
    at mx.core::UIComponent/initialize()
    at mx.core::Container/initialize()
    at com.devaldi.controls.flexpaper::FlexPaperViewer/initialize()
    at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
    at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
    at mx.core::Container/addChildAt()
    at mx.core::Container/addChild()
    at mx.core::Container/createComponentFromDescriptor()
    at mx.core::Container/createComponentsFromDescriptors()
    at mx.core::Container/mx.core:Container::createChildren()
    at mx.core::UIComponent/initialize()
    at mx.core::Container/initialize()
    at mx.core::Application/initialize()
    at FlexPaperViewer/initialize()
    at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdde
d()
    at mx.managers::SystemManager/::initializeTopLevelWindow()
    at
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameH
andler()
    at mx.managers::SystemManager/::docFrameListener()

What version of the product are you using? On what operating system?
flexpaper 1.2.1, flash 9, windows xp under virtualbox.

Original issue reported on code.google.com by [email protected] on 12 Mar 2010 at 3:04

Fullscreen not working

What steps will reproduce the problem?
1. Use FlexPaper with Flex 3.5
2. Try to use the fullscreen option
3.

What is the expected output? What do you see instead?
Expect it to go fullscreen.

What version of the product are you using? On what operating system?
1.2.1, OSX 10.6

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 9 Mar 2010 at 1:52

Scrolling with multiple viewers on a page

What steps will reproduce the problem?
1. Embed multiple viewers with different PDFs on a single HTML page.
2. Try to scroll through the documents using the mouse wheel. The HTML page
scrolls in addition to the viewers scrolling.

What is the expected output? What do you see instead?
I expect when the mouse is over one of the PDF viewers, the document should
scroll. Instead, both the document and the entire HTML page scroll. I
notice this behavior on Internet Explorer and Chrome. Firefox seems to
handle it properly. This only happens when there are multiple viewers on a
single HTML page. When there's only one, everything works fine.

What version of the product are you using? On what operating system?
Tried version 1.2.2 and 1.2.3. Windows XP Service Pack 3.

Please provide any additional information below.
I assume that the code for handling the mouse wheel events is related to
the problem, so that the events are being handled twice, once by the
viewer, and once by the browser.

Original issue reported on code.google.com by [email protected] on 23 Mar 2010 at 10:25

zooming crash on linux

What steps will reproduce the problem?
1. open http://flexpaper.devaldi.com/index.php
2. click zoom button
3. scroll down using scroll bar on the right.

What is the expected output? What do you see instead?
crash for few seconds. run normally when scrolling with mouse roll.

What version of the product are you using? On what operating system?
1.2.1, ubuntu 9.10, firefox 3.6, flash player 10.

Original issue reported on code.google.com by [email protected] on 12 Mar 2010 at 3:16

Attachments:

Page-Up, Page-Down keys not working in full-screen view.

What steps will reproduce the problem?
1. Click FlexPaper's internal full-screen icon to go to full-screen view.
2. Press the page-up or page-down key.

What is the expected output? What do you see instead?

I expected the page to scroll up or down by some incremental amount. 
Nothing happened.

What version of the product are you using? On what operating system?

FlexPaper 1.2 on Fedora 11.

Please provide any additional information below.

I've only tried this on different browsers (Chrome and Firefox) and with
different versions of the libflashplayer.so so I'm guessing this is a bug
in the FlexPaper code.


Original issue reported on code.google.com by [email protected] on 3 Feb 2010 at 6:59

FlexPaperViewer not loading swf

What steps will reproduce the problem?
1. Create a Microsoft Publisher Document.
2. Publish the document as a PDF.
3. Convert the PDF using SWFTools Development Snapshot (Also tried the
Windows Current Release and did not work.)

What is the expected output? What do you see instead?
.swf file loads and displays.  FlexPaperViewer never loads the .swf. 
Progress indicator just spins.

What version of the product are you using? On what operating system?
FlexPaper_1.0 on Windows Vista.  Flex Builder 3

Please provide any additional information below.
I tested this out with pdf documents created from Adobe software and they
work.  It seems to be something with converting a Publisher document to a
PDF then to a SWF.

Original issue reported on code.google.com by [email protected] on 21 Dec 2009 at 9:12

Release build error

What steps will reproduce the problem?
1. Export release build.
2. Try viewer.
3.

What is the expected output? What do you see instead?
I expect it to work like it does in a non-release build.

What version of the product are you using? On what operating system?
Flex, OSX 10.6

Please provide any additional information below.
Error generated:

Error: Error #2118: The LoaderInfo class does not implement this method.
    at Error$/throwError()
    at flash.display::LoaderInfo/dispatchEvent()
    at com.devaldi.streaming::ForcibleLoader/ioErrorHandler()

Original issue reported on code.google.com by [email protected] on 11 Mar 2010 at 8:19

Highlight in content with the pseudo XML used by acroReader

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
It should be interesting to be able to get a highlight of some words in the
document, by passing a string like   <XML> <Body units=characters
color=#ff00ff mode=active version=2> <Highlight> <loc pg=0 pos=485 len=14> 
....</Body></XML>
Or it could be with a full XML compl. like
<XML> <Body units='characters' color='#ff00ff' mode='active' version='2'>
<Highlight> <loc pg='0' pos='485' len='14'/> 
....</Body></XML>
What version of the product are you using? On what operating system?

Py

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 6 Mar 2010 at 6:37

Horizontal view (as alternative to vertical)

There are cases when horizontal stacking of the pages side by side (insted
of vertical) seems to be the most natural.

One such case is musical scores. All notation software "page view" modes
stack the pages horizontally, when you prepare musical pages on the music
stand for avoiding page turns, you put them side by side.

"horizontal mode" would be a great alternative to the current "vertical
mode" in FlexPaper!




Original issue reported on code.google.com by [email protected] on 11 Mar 2010 at 11:57

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.