Reflow with vertical scrolling - Page 2 - RadaeePDF.com - Results from #6
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF

TOPIC: Reflow with vertical scrolling

Reflow with vertical scrolling 5 days 7 hours ago #15121

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 979
  • Karma: 43
  • Thank you received: 42
Page.ReflowStart declared as:
public float ReflowStart( float width, float scale, boolean enable_images )
	 * @param width input width.
	 * @param scale scale base to 72 DPI, 2.0 means 144 DPI. the reflowed text will displayed in scale
	 * @param enable_images enable reflow images.
	 * @return the height that reflow required.
that mean, reflow function need you input a width value to layout.

Please Log in or Create an account to join the conversation.

Reflow with vertical scrolling 5 days 7 hours ago #15122

  • ankson
  • ankson's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
If I pass the width of page, scale and enable_image then ReflowStart method returns height ' 0 ' then how we can fix this issue?

Please Log in or Create an account to join the conversation.

Reflow with vertical scrolling 5 days 6 hours ago #15123

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 979
  • Karma: 43
  • Thank you received: 42
if return 0, then ignore this page.
this mostly because the page has no element can be reflow.
for example: transparency group content will be ignored in reflow mode.
The following user(s) said Thank You: ankson

Please Log in or Create an account to join the conversation.

Reflow with vertical scrolling 5 days 6 hours ago #15124

  • ankson
  • ankson's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Which is the suitable class for achieving Text Reflow ---- PDFViewAct or PDFLayout ?

Please Log in or Create an account to join the conversation.

Reflow with vertical scrolling 5 days 5 hours ago #15125

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 979
  • Karma: 43
  • Thank you received: 42
it is better, to create a new Activity.
derive from PDFLayout, may need to modify other related class, so not recommended.
The following user(s) said Thank You: ankson

Please Log in or Create an account to join the conversation.

Reflow with vertical scrolling 4 days 13 hours ago #15126

  • ankson
  • ankson's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
In which overriden method should i call the ReflowStart() Method ?

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum