Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC:

Making PDF and MERGE 7 years 3 months ago #11601

  • 부길김
  • 부길김's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
  • Thank you received: 0
i found a method of merging two pdf.
(www.radaeepdf.com/support/knowledge-base?view=kb&kbartid=67)

However, I want to take a few pages from one pdf file to make a new pdf.

is it possible?

and another question:
1. make a 2 pdf (blank PDFDocument class and PDFDocument Class loaded with real PDF file)
2. and Add PDFDocument Class loaded with real PDF file to Blank PDFDocument class
is it possible way?

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

Making PDF and MERGE 7 years 3 months ago #11603

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
The article example is for windows version, for Android you can check PDFTestAct in RDPDFReader module.

Yes:
  • it's possible to take a few pages from one pdf file to make a new pdf.
  • it's possible to make a 2 pdf (blank PDFDocument class and PDFDocument Class loaded with real PDF file).
  • it's possible to Add PDFDocument Class loaded with real PDF file to Blank PDFDocument class

All your requests can be achieved by manipulating the part that opens and loops over the documents.

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

Making PDF and MERGE 7 years 3 months ago #11604

  • 부길김
  • 부길김's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
  • Thank you received: 0
you mean i have to see PDFTestAct.java ? is that all?

and m_doc.ImportPage() and RemovePage() is only operate when buy premium license. but i have to test before buy it.
Is there any way?

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

Making PDF and MERGE 7 years 3 months ago #11605

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
I was indicating PDFTestAct.java because your post is under Android development and the article referes to Windows development.

For Android, PDFTestAct.java has an example of concatinating pdfs (concat_pdf()).

Yes, these features require the premium license, but you can test them using either the demo project (which is activated with a premium license) or your project but you need to give it the demo project's package name..
For details, check www.radaeepdf.com/support/knowledge-base...=component&kbartid=4

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

Making PDF and MERGE 7 years 3 months ago #11606

  • 부길김
  • 부길김's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
  • Thank you received: 0
in my project looks likt it.

public class Global
{
public static int mLicenseType = 2;
public static String mCompany = "radaee";
public static String mEmail = "This email address is being protected from spambots. You need JavaScript enabled to view it.";
public static String mKey = "LNJFDN-C89QFX-9ZOU9E-OQ31K2-FADG6Z-XEBCAO";

public static void Init(Activity act)
{
//second para is license type
// 0 means standard license.
// 1 means professional license
// 2 means premium license
//3rd para is company name string(not package name)
//4th para is mail
//5th para is key string
//the package name got by native C/C++ library, not by pass parameter.
Init( act, mLicenseType, mCompany, mEmail, mKey);

}

is this possilble to test premiem license function?

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

Making PDF and MERGE 7 years 3 months ago #11607

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
Yes, but make sure that the package name is "com.radaee.reader" for the license to work.

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum