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

TOPIC:

OnPDFSelectEnd return text without white spaces 3 years 2 months ago #15396

  • thiagopelikan
  • thiagopelikan's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 36
  • Thank you received: 0
Hi, the method GetSelString() returns the selected text without any white spaces, is there any way to get the selected text with the white spaces?

Tks,
Thiago

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

OnPDFSelectEnd return text without white spaces 3 years 2 months ago #15397

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 690
  • Thank you received: 59
It can be an issue tied to your specific PDF file.
May you provide one of your files, please?

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

OnPDFSelectEnd return text without white spaces 3 years 2 months ago #15398

  • thiagopelikan
  • thiagopelikan's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 36
  • Thank you received: 0
Try to select some texts like "Investimento empurra PIB".

Tks,
Thiago

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

Last edit: by thiagopelikan.

OnPDFSelectEnd return text without white spaces 3 years 2 months ago #15402

  • thiagopelikan
  • thiagopelikan's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 36
  • Thank you received: 0
Hello, were you able to open the file? If you succeeded please let me know so I could remove it from the attachment.

Tks,
Thiago

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

OnPDFSelectEnd return text without white spaces 3 years 2 months ago #15403

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
dear user:
we have checked your document.
and we found that Adobe Acrobat sometimes has no blanks too (between words).
the reason shall be: some text blank space is too short, space length shorter than blank judgement condition.

here is some example texts extract from Acrobat:
Ogoverno Jair Bolsonaro
(PSL) criou grupo de trabalho
comministros, desembargadoresejuízesparapropormaismudanças
nasleis trabalhistas.Além
deresolverpendênciasda
reforma da gestão Temer
—deefeitocontroversono
emprego,masquedesafogouaJustiça—,
ointuito é
apresentarnovaspropostas,
como o fimda unicidade
sindical. MercadoA23

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

OnPDFSelectEnd return text without white spaces 3 years 2 months ago #15404

  • thiagopelikan
  • thiagopelikan's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 36
  • Thank you received: 0
Is there a way to make our behavior more like Acrobat?
If I managed to select some titles("Investimento empurra PIB") correctly, it would be great.

Tks for your support,
Thiago

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum