Convert pdf without cells
would like to convert pdf files without cells, is this possible?
Hi 301mike,
It sounds like you have a PDF that doesn't have cell borders that you'd like to convert to an Excel document. If that's correct, then the answer would be yes. You should be able to convert the file to an Excel document, however the quality of the formatting within Excel is really dependent upon how the file was originally setup when converted to PDF. This document talks about this in a bit more detail: http://forums.adobe.com/docs/DOC-1513
Please let us know if you have any questions.
-David
Similar Messages
-
How convert pdf without damage the structure original file
I have a issue, when I converted a excel document to PDF this document damage the structure , I have 3 tables and it is disorganized. How can I conserve the original organization??
Before you convert, set the print to the Adobe PDF printer and be sure that the print preview and settings in Excel show correctly. Excel reflows based on the printer.
-
I need to convert PDF to Excel, however, columns and tabs make many merged cells and many blank columns. In addition to not separate the columns correctly, I see many not separate lines together in the same cell. I'm even thinking that Adobe Acrobat Pro DC has limitations. There is no way to define what points in columns to force break column? Nor create many columns that are useless? How does text to column in Excel, fixed size when we import text, and define where the breaks have columns?
Google Tradutor para empresas:Google Toolkit de tradução para appsTradutor de sitesGlobal Market Finder
Desativar tradução instantâneaSobre o Google TradutorCelularComunidadePrivacidade e TermosAjudaEnviar feedbackPDF does not contain columns, rows, formats, styles, or other aspects of word processing or spreadsheet file formats.
This is because PDF is decidedly not a word processing or spreadsheet file format or something "like" one of those.
(see ISO 32000 for what PDF "is")
What can optimize the export of PDF page content is to start with a well-formed tagged PDF (ISO 14289-1, PDF/UA-1 compliant).
Without that export is what it is and one performs whatever content cleanup is needed using the native application for the export file (MS Word or Excel).
Be well... -
Func module to convert list to pdf without using memory id
hi Experts,
Is there any funct module to convert list to pdf without using memory, as I am using Convert_to_PDF func module which outputs last page only when its running in Background.
But my req is to output all the Pages in the PDF format.
Sample code also appreciable,
Reward Points are guranteed..
Cheers
SantoshCheck the below postings :
Re: Convert spool to pdf
Convert a spooljob to a writeprotected PDF
Hope this will helpful -
Converting Word 2007 to PDF without Balloons
I converted a Word 2007 document with Adobe Acrobat 8 Professional.
The issue that I am having is the word documents has Track changes and balloons. I want to convert the word document to pdf without the balloons showing up..
I turned off the Balloons in Word and converted the word doc to pdf. But the balloons show up in the PDF document that I converted and they show up traucated. How do I convert the word 2007 document to pdf without the balloons.
Any help is appericated.If I understand your question you turn off the print with tracking.
-
Convert ABAP list output to PDF without spool
Hi All,
We have used the FM 'CONVERT_ABAPSPOOLJOB_2_PDF' to convert the list output to PDF. It creates the spool number in SP01 and PDF is getting generated.
But, in our SAP ECC 6.0 server all spools are redirected to printer by default and get printed because it configured like that. We requested BASIS people to reconfigure but they said no for a single report.
So we need to find the alternate solution to generate the PDF without spool. We have searched in sdn, but didnot get any alternate solution.
Please help us in this regard.
Thanks in advance.data: begin of i_list occurs 0,
line(255),
end of i_list.
data:i_mara like mara occurs 0 with header line.
parameters: p_matnr like mara-matnr.
start-of-selection.
set pf-status 'PDFFILE'.
select *
from mara
into table i_mara
where matnr = p_matnr.
loop at i_mara.
write:i_mara-matnr,i_mara-ernam,i_mara-pstat.
endloop.
at user-command.
if sy-ucomm = 'PDF'.
DO.
READ LINE SY-INDEX.
IF SY-SUBRC NE 0.
EXIT.
ELSE.
I_LIST = SY-LISEL.
APPEND I_LIST.
ENDIF.
ENDDO.
NEW-PAGE PRINT ON DESTINATION 'LP03' IMMEDIATELY ' ' COVER TEXT ' ' KEEP IN SPOOL 'X' NEW LIST IDENTIFICATION 'X' LINE-SIZE 132 LINE-COUNT 65 NO DIALOG.
LOOP AT I_LIST.
IF I_LIST-LINE IS INITIAL.
SKIP.
ELSE.
at first.
write: TEXT-001.
endat.
WRITE: I_LIST-LINE+0(132).
ENDIF.
ENDLOOP.
NEW-PAGE PRINT OFF.
data:filename like RLGRAP-filename value 'C:\PDFFILE.PDF'.
DATA: SPOOL TYPE TSP01-RQIDENT.
SPOOL = SY-SPONO.
SUBMIT rstxpdft4
WITH spoolno = spool
WITH download = 'X'
WITH p_file = filename
AND RETURN.
if sy-subrc = 0.
write: 'pdf file generated'.
else.
write:'pdf file not generated'.
EXIT.
endif.
endif.
please paste this code and check once ,if it works modify the code according to ur requirement.
regards,
padmaja -
Interactive-adobe form Converting into PDF without print dialog
Hi Friends,
I would like to convert Interactive - adobe form into PDF without print dialog.which adobe form interface type is Smart Forms-compatible Interface.I have tried for solution.but I could not succeeded.How can resolve the issue.please help me.
Thanks
Ramesh MHi Friends,
I would like to convert Interactive - adobe form into PDF without print dialog.which adobe form interface type is Smart Forms-compatible Interface.I have tried for solution.but I could not succeeded.How can resolve the issue.please help me.
Thanks
Ramesh M -
Need to Convert PDF to doc in Russian, why programm do not recognice it?
Need to Convert PDF to doc in Russian, why programm do not recognice it?
Hi alsu22,
The OCR system that converts documents does not recognize any cyrillic languages, such as Russian. If the text is already renderable (selectable), you may want to try converting your document without the OCR function enabled. You can find steps here: http://forums.adobe.com/docs/DOC-3062
-David -
Why do I keep getting an error message when converting PDF to word?? help please!
I just subscribed to the ExportPDF but is not working. I keep getting an error message saying "Conversion Failure" when trying to convert PDF file to word! I don't know what to do.
HI tatamene,
I'm sorry that you're having trouble converting a document. For starters, have you verified that your account is active? (You can check by logging in to www.adobe.com and checking under My Subscriptions and Services). Aside from that, I'll need a little more info to get to the bottom of your problem.
Are you trying to convert the file from within Reader, or directly via the ExportPDF website?
What operating system and browser are you using?
How large is the file that you're trying to convert? (There's a file-size limit of 100 MB.)
Is the computer that you're using networked?
Do other files convert without error?
I look forward to hearing back from you.
Best,
Sara -
Convert pdf to word doc-but don't have the export option.
I want to convert a pdf (that I got from an email) into a Word doc so I can edit it the way I want to. However, for some reason now I don't have the 'Export' option in my File drop down list.
Funny thing is, I've converted the document once already and have entirely forgotten how I did it obviously!
I've made so many changes in my first conversion I want to start over.
why don't I have the 'Export' option? Or ... when I do a 'save as' and chose 'word doc' it only does a copy - paste type save - where I can't make any changes. It's like it puts it into a text box or something.
I have MSWord 2010.Hi Kelly,
MsDennis1465 wrote:
When I do the steps below, the Word doc that is saved is like a photo. I am unable to work with the document. Why does it do that? I have converted pdf’s before without that happening but I think I did it on a free 30-day trial of X Pro.
This usually happens when you're dealing with a very poor quality scanned document that doesn't have enough data for the Acrobat OCR engine to actually process.
As for Acrobat 6.0 Pro, I don't believe the Save as Word function was introduced until version 8.0, but it's been a few years and the memory of Acrobat 6 has faded a bit.
-David -
Converting PDF to word using OCR
How do I convert a PDF file to Word format without the text changing on the Word document?
Hi IBEW45,
OCR is enabled by default when you convert a PDF to Word via the ExportPDF website. Just make sure that you're selecting the correct language for character recognition.
If you're converting to Word from within Reader, it is possible to disable OCR. If you're encountering issues where there are odd characters in the converted Word file, you may be running into font issues. A good troubleshooting technique is to disable OCR. Here are the instructions: How to disable Optical Character Recognition (OCR) when converting PDF to Word or Excel.
Please let us know how it goes.
Best,
Sara -
How do I convert pdf back to word?
I converted a pdf to word. How do I convert that same file back to pdf so that it looks the same as the initial pdf document? Thanks.
Hi gcw92591042,
I just checked your subscription details and you are currently subscribed to Adobe Export PDF service that enables you to convert pdf documents into various other formats like .doc, .rtf etc.
However in order to convert such files back into pdf format, you need to subscribe to Adobe PDF Pack(Reliably Create PDFs, Convert PDFs, & Merge PDFs Online | Adobe PDF Pack ).
Alternatively you can use Acrobat software to edit your pdf files without getting into the hassle of converting them into doc format and vice-verse. You can download a free 30 day trial from this Link - Download Acrobat products | Standard, Pro | XI, X
Hope that helps with your query. Please revert back if you have any other questions or need any further assistance.
Regards,
Rahul -
after sending mail ,the attachment doesnt conatin any pdf data.
code is as follows.............
LOOP AT IT_PDF.
TRANSLATE IT_PDF USING ' ~'.
CONCATENATE GD_BUFFER IT_PDF
INTO GD_BUFFER.
ENDLOOP.
TRANSLATE GD_BUFFER USING '~ '.
DO.
I_OBJBIN = GD_BUFFER.
APPEND I_OBJBIN.
SHIFT GD_BUFFER LEFT BY 100 PLACES.
IF GD_BUFFER IS INITIAL.
EXIT.
ENDIF.
ENDDO.
LOOP AT IT_PDF.
TRANSLATE IT_PDF USING '~'.
ENDLOOP.
REFRESH:
I_RECLIST,
I_OBJTXT,
I_OBJBIN,
I_OBJPACK.
CLEAR I_OBJPACK-TRANSF_BIN.
I_OBJPACK-HEAD_START = 1.
I_OBJPACK-HEAD_NUM = 0.
I_OBJPACK-BODY_START = 1.
I_OBJPACK-BODY_NUM = V_LINES_TXT.
I_OBJPACK-DOC_TYPE = 'RAW'.
APPEND I_OBJPACK.
Attachment (pdf-Attachment)
I_OBJPACK-TRANSF_BIN = 'X'.
I_OBJPACK-HEAD_START = 1.
I_OBJPACK-HEAD_NUM = 0.
I_OBJPACK-BODY_START = 1.
DESCRIBE TABLE I_OBJBIN LINES V_LINES_BIN.
READ TABLE I_OBJBIN INDEX V_LINES_BIN.
I_OBJPACK-DOC_SIZE = V_LINES_BIN * 550 .
I_OBJPACK-BODY_NUM = V_LINES_BIN.
I_OBJPACK-DOC_TYPE = 'PDF'.
I_OBJPACK-OBJ_NAME = 'purchase order'.
I_OBJPACK-OBJ_DESCR = 'purchase order'.
APPEND I_OBJPACK.
clear WA_OBJHEAD.
CLEAR I_RECLIST.
I_RECLIST-RECEIVER = P_EMAIL.
I_RECLIST-EXPRESS = 'X'.
I_RECLIST-REC_TYPE = 'U'.
I_CC-COPY = I_CC.
APPEND I_RECLIST.
I_OBJTXT = 'Hi'.
APPEND I_OBJTXT.
I_OBJTXT = ' '.
APPEND I_OBJTXT.
I_OBJTXT = 'Please find the purchase order as an attachment'.
APPEND I_OBJTXT.
I_OBJTXT = 'from meda'.
APPEND I_OBJTXT.
I_OBJTXT = ' '.
APPEND I_OBJTXT.
I_OBJTXT = 'Thanks'.
APPEND I_OBJTXT.
I_OBJTXT = 'purcahse order'.
APPEND I_OBJTXT.
DESCRIBE TABLE I_OBJTXT LINES V_LINES_TXT.
READ TABLE I_OBJTXT INDEX V_LINES_TXT.
WA_DOC_CHNG-OBJ_NAME = 'purcahse order'.
WA_DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
WA_DOC_CHNG-OBJ_DESCR = 'Mail from meda'.
WA_DOC_CHNG-SENSITIVTY = 'F'.
WA_DOC_CHNG-DOC_SIZE = V_LINES_TXT * 2255.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = WA_DOC_CHNG
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = 'X'
TABLES
PACKING_LIST = I_OBJPACK
OBJECT_HEADER = WA_OBJHEAD
CONTENTS_BIN = I_OBJBIN
CONTENTS_TXT = I_OBJTXT
RECEIVERS = I_RECLIST
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8.
IF SY-SUBRC EQ 0.
WRITE : / 'email sent over' .
ENDIF.
ENDFORM. " EMAIL_DISPLAYhi check this....
*& Report ZSPOOLTOPDF *
*& Converts spool request into PDF document and emails it to *
*& recipicant. *
*& Execution *
*& This program must be run as a background job in-order for the write *
*& commands to create a Spool request rather than be displayed on *
*& screen *
REPORT zspooltopdf.
PARAMETER: p_email1 LIKE somlreci1-receiver,
p_sender LIKE somlreci1-receiver ,
p_delspl AS CHECKBOX.
*DATA DECLARATION
DATA: gd_recsize TYPE i.
Spool IDs
TYPES: BEGIN OF t_tbtcp.
INCLUDE STRUCTURE tbtcp.
TYPES: END OF t_tbtcp.
DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
wa_tbtcp TYPE t_tbtcp.
Job Runtime Parameters
DATA: gd_eventid LIKE tbtcm-eventid,
gd_eventparm LIKE tbtcm-eventparm,
gd_external_program_active LIKE tbtcm-xpgactive,
gd_jobcount LIKE tbtcm-jobcount,
gd_jobname LIKE tbtcm-jobname,
gd_stepcount LIKE tbtcm-stepcount,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
DATA: w_recsize TYPE i.
DATA: gd_subject LIKE sodocchgi1-obj_descr,
it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
gd_sender_type LIKE soextreci1-adr_typ,
gd_attachment_desc TYPE so_obj_nam,
gd_attachment_name TYPE so_obj_des.
Spool to PDF conversions
DATA: gd_spool_nr LIKE tsp01-rqident,
gd_destination LIKE rlgrap-filename,
gd_bytecount LIKE tst01-dsize,
gd_buffer TYPE string.
Binary store for PDF
DATA: BEGIN OF it_pdf_output OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF it_pdf_output.
CONSTANTS: c_dev LIKE sy-sysid VALUE 'DEV',
c_no(1) TYPE c VALUE ' ',
c_device(4) TYPE c VALUE 'LOCL'.
*START-OF-SELECTION.
START-OF-SELECTION.
Write statement to represent report output. Spool request is created
if write statement is executed in background. This could also be an
ALV grid which would be converted to PDF without any extra effort
WRITE 'Hello World'.
new-page.
commit work.
new-page print off.
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
Alternative way could be to submit another program and store spool
id into memory, will be stored in sy-spono.
*submit ZSPOOLTOPDF2
to sap-spool
spool parameters %_print
archive parameters %_print
without spool dynpro
and return.
Get spool id from program called above
IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
PERFORM convert_spool_to_pdf.
PERFORM process_email.
if p_delspl EQ 'X'.
PERFORM delete_spool.
endif.
IF sy-sysid = c_dev.
wait up to 5 seconds.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.
ELSE.
SKIP.
WRITE:/ 'Program must be executed in background in-order for spool',
'request to be created.'.
ENDIF.
FORM obtain_spool_id *
FORM obtain_spool_id.
CHECK NOT ( gd_jobname IS INITIAL ).
CHECK NOT ( gd_jobcount IS INITIAL ).
SELECT * FROM tbtcp
INTO TABLE it_tbtcp
WHERE jobname = gd_jobname
AND jobcount = gd_jobcount
AND stepcount = gd_stepcount
AND listident <> '0000000000'
ORDER BY jobname
jobcount
stepcount.
READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
IF sy-subrc = 0.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.
MESSAGE s004(zdd) WITH gd_spool_nr.
ELSE.
MESSAGE s005(zdd).
ENDIF.
ENDFORM.
FORM get_job_details *
FORM get_job_details.
Get current job details
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
eventid = gd_eventid
eventparm = gd_eventparm
external_program_active = gd_external_program_active
jobcount = gd_jobcount
jobname = gd_jobname
stepcount = gd_stepcount
EXCEPTIONS
no_runtime_info = 1
OTHERS = 2.
ENDFORM.
FORM convert_spool_to_pdf *
FORM convert_spool_to_pdf.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
CHECK sy-subrc = 0.
Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDFORM.
FORM process_email *
FORM process_email.
DESCRIBE TABLE it_mess_att LINES gd_recsize.
CHECK gd_recsize > 0.
PERFORM send_email USING p_email1.
perform send_email using p_email2.
ENDFORM.
FORM send_email *
--> p_email *
FORM send_email USING p_email.
CHECK NOT ( p_email IS INITIAL ).
REFRESH it_mess_bod.
Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
APPEND it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
APPEND it_mess_bod.
If no sender specified - default blank
IF p_sender EQ space.
gd_sender_type = space.
ELSE.
gd_sender_type = 'INT'.
ENDIF.
Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_mess_bod
it_mess_att
using p_email
'Example .xls documnet attachment'
'PDF'
gd_attachment_name
gd_attachment_desc
p_sender
gd_sender_type
changing gd_error
gd_reciever.
ENDFORM.
FORM delete_spool *
FORM delete_spool.
DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
ld_spool_nr = gd_spool_nr.
CHECK p_delspl <> c_no.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = ld_spool_nr.
ENDFORM.
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
FORM send_file_as_email_attachment tables it_message
it_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = it_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
regards,
venkat. -
Add/Remove a password to an individual PDF without navigating entire security process?
Is there a procedure/plug-in/script/utility that will allow me to add/remove a password to a single PDF without creating a batch script?
I create many (dozens) PDF's throughout the course of a a day, either as an export from InDeisgn CS5.5 or via printing to the Adobe Acrobat Converter. I would simply create watched folders on my desktop to add or remove a password but I haven't found a way to identify security-enabled PDF files without having to open the file.
I have only two scenarios for creating PDF files as it relates to security. The first includes Printing: HIGH RESOLUTION and Changes Allowed: NONE. The second includes Printing: LO-RESOLUTION and Changes Allowed: COMMENTING, ETC.
What would really be great is if there was a script that I could access as a Windows Explorer extension that would allow me to add/remove passwors to one or more selected files. It would even be better if, after enabling password security, I could some identify the security status of a file by it's icon or some other visual manner that didn't effect the name of the file.
I hope I have narrated my situation clearly enough. I look forward to comments or suggestions.Not possible with Adobe software - Acrobat's context menu in Windows Explorer is not something you can customize or extend, nor can Acrobat or Adobe Reader change the system icon for a file based on the internal structure of the document.
-
Define a path to save my converted pdf word document
Hello,
I would like to be able to define a specific place to save the pdf document I have converted from Word. The script I'm writing should normally able me to send to my customer a personalised mail with an attach pdf document. The mail and the pdf are personalised for each customer. I have put the script I wrote below. I will be really greatfull if you could help me ! Also if you see some improovement I can add to this script do not hesitate
Many thanks in advance.
Xavier
--Main Programme
set startCell to "A1" as string
set leSujet to "CES EduPack 2013 – Maintenance de votre installation"
--set leCorps to ("Bonjour " & leSujet)
display dialog "Enter the Name of the last cell in Excel " default answer "AA25"
set endCell to text returned of the result
set myMatrix to excelTxtExtract(startCell, endCell)
set custInfo to findInfo(myMatrix, 1) --récupération des mots clés
set partChoix to choose from list custInfo with prompt "Choose part(s) for file name :" with multiple selections allowed
set numList to posElmList(partChoix, custInfo)
--display dialog posList as string
set myFilenameWord to (choose file with prompt "Please select the Word Template doc for the Quotation :")
set partChoix to choose from list custInfo with prompt "Choose the email address :"
set emailList to posElmList(partChoix, custInfo)
--display dialog emailList as string
set partChoix2 to choose from list custInfo with prompt "Choose Title of the person :"
set title1 to posElmList(partChoix2, custInfo)
set partChoix3 to choose from list custInfo with prompt "Choose the Name of hte person :"
set name1 to posElmList(partChoix3, custInfo)
set partChoix4 to choose from list custInfo with prompt "Choose the Nbr of User of the Lycée :"
set seat1 to posElmList(partChoix4, custInfo)
set partChoix5 to choose from list custInfo with prompt "Choose the licence type:"
set licenceType1 to posElmList(partChoix5, custInfo)
set partChoix6 to choose from list custInfo with prompt "Choose the maintenance expire date:"
set expireMaint1 to posElmList(partChoix6, custInfo)
repeat with i from 2 to (length of myMatrix)
set customer to findInfo(myMatrix, i)
set email to nomFichier(emailList, customer) as string
set title2 to nomFichier(title1, customer) as string
set name2 to nomFichier(name1, customer) as string
set seat2 to nomFichier(seat1, customer) as string
set licenceType2 to nomFichier(licenceType1, customer) as string
set expireMaint2 to nomFichier(expireMaint1, customer) as string
set leCorps to "Bonjour " & title2 & " " & name2 & "," & return & return & "TEXTE"
set nomDuFichier to nomFichier(numList, customer) as string
wordTxtModif(myFilenameWord, customer, custInfo, nomDuFichier)
envoiMail(leSujet, leCorps, email, nomDuFichier)
end repeat
--Envoyer Mail
on envoiMail(leSujet, leCorps, email, nomDuFichier)
tell application "Mail"
activate
set nouveauMessage to make new outgoing message with properties {subject:leSujet, content:leCorps & return & return, visible:false}
tell nouveauMessage
make new to recipient at end of to recipients with properties {address:email}
tell content of nouveauMessage
make new attachment with properties {file name:("/Users/grantadesign/Documents/" & nomDuFichier & ".pdf")} at after the last paragraph
end tell
send nouveauMessage
end tell
end tell
end envoiMail
--Nom du fichier
--Retourne le nom du fichier sans l'extension "Lycée F.Xavier"
on nomFichier(numList, customer)
activate
set nomDuFichier to {}
repeat with i from 1 to (length of numList)
set a to item i of numList
copy (item a of customer) to the end of nomDuFichier
end repeat
return nomDuFichier
end nomFichier
--Position d'un élément dans une lste
on posElmList(partChoix, custInfo)
activate
set elmChoix to 0
set numList to {}
repeat with i from 1 to (length of custInfo)
set elmChoix to elmChoix + 1
repeat with j from 1 to (length of partChoix)
if ((item j of partChoix) = (item i of custInfo)) then
copy elmChoix to the end of numList
end if
end repeat
end repeat
return numList
end posElmList
--Modifier un document Word
--remplacer des mots dans un texte
on wordTxtModif(myFilenameWord, customer, custInfo, nomDuFichier)
tell application "Microsoft Word" --
activate
open myFilenameWord
set findrange to find object of selection -- ???
repeat with i from 1 to (length of custInfo)
tell findrange --replacement of the bookmark
execute find find text (item i of custInfo) replace with (item i of customer) replace replace all
end tell
end repeat
--display dialog nomDuFichier as string
save as active document file name (nomDuFichier & ".pdf") file format format PDF
close window 1 saving no
end tell
end wordTxtModif
--Chargement des valeurs Excel dans une liste
--Ammélioration : trouver startCell et endCell automatiquement
on excelTxtExtract(startCell, endCell)
tell application "Microsoft Excel" -- Load values from Excel
activate
set myFilenameExcel to choose file with prompt "Please select an Excel workbook file:"
open myFilenameExcel
set nameworksheet to get name of every worksheet
set myWorksheet to choose from list nameworksheet default items (item 1 of nameworksheet) with prompt "Choose a worksheet where the data are in the list:"
activate object worksheet (result as string)
set myMatrix to value of range (startCell & ":" & endCell)
return (myMatrix)
end tell
end excelTxtExtract
--Trouver automatiquement les Mots clés à remplacer dans le texte
--lineChosen est la ligne que l'on veut lire
on findInfo(myMatrix, lineChosen)
activate
set custInfo to {}
set selectLine to (item lineChosen of myMatrix)
repeat with i from 1 to (length of selectLine)
set custInfo to custInfo & (item i of selectLine)
end repeat
return custInfo
end findInfoHi kathyv30365453,
You can convert PDF to Word using either the ExportPDF online service, or Acrobat. I checked your account, and it doesn't look like you've purchased an ExportPDF subscription. If you want to give Acrobat a try, you're welcome to download a 30-day trial from the link I reference above. In Acrobat, you choose File > Save as Other > Microsoft Word > Word Document.
Best,
Sara
Maybe you are looking for
-
Email photos from iPhoto 8 with Verizon Fios internet
I am totally new to the wonderful mac world. I have a new iMac with Verizon Fios internet. When I try to automatically setup for emailing photos it tries to setup something with "incoming.yahoo.... How do I go about setting up email sharing of photos
-
Can time machine and carbon copy cloner use the same backup drive?
Can time machine and CCC use the same esata backup drive?
-
Panasonic network cameras no longer work with new versions of Firefox.
I have been viewing my Panasonic Network camera, model BB-HCM381A using Firefox for several years. Starting with Firefox version 15.0.1 and again with 16.0.1, 16.0.2 and 17.0.1 the browser begins to display the streaming video, but then drops the sig
-
Anyway to speed up wireless mighty mouse tracking??
i finally made the plunge and added a WMM to my dual G5 2.5MHz. I love the wireless part and will likely add the keyboard later. The biggest problem I'm having is that tracking is slow. Not jumpy like other folks are experiencing, just slow. I've got
-
Here is the crash report <pre><nowiki>AdapterDeviceID: 0x0152 AdapterVendorID: 0x8086 Add-ons: testpilot%40labs.mozilla.com:1.2.2,%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D:21.0 AvailablePageFile: 5778243584 AvailablePhysicalMemory: 2021679104 Availa