Which design patten i should use while building API to convert from Word to PDF

Hi all,
I would like to build one API which will convert document to PDF which design patten in c#  I should use so that it will be scalable and secure.
Abhijit Desai

Hello,
In .NET no direct support for Word Document to PDF Document Conversion. However, as far as I know, the office seems to provide api/add-in which could do this, you could check this sample:
Word Document to PDF Conversion.
Or checking the Document.SaveAs Method:
https://msdn.microsoft.com/en-US/library/microsoft.office.tools.word.document.saveas(v=VS.80).aspx
If you are using office 2007, you could use this add-in below:
2007 Microsoft Office Add-in: Microsoft Save as PDF or XPS
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to use .joboptions file while converting from Word to PDF

    Hi,
    I'm pretty new to Acrobat. I'm using Acrobat XI. I need to convert a word document to a PDF file which conforms to certain requirements described by a given .joboptions file. The .joboptions file can be opened by distiller, but as far as I know distiller is not invovled in the conversion (Word to PDF) process. So how can I make sure the converted PDF file meets the requirement described by the .joboptions file?

    Distiller is used when converting from Word to PDF, if you do it via the Acrobat panel, not the Adobe PDF printer or Word's internal Export to PDF command. If you've loaded your joboptions file in Distiller (via Settings - Add Adobe PDF Settings), then you will see it in the drop-down of Conversion Settings when you click the Preferences button in the Acrobat panel in Word.
    After you've selected your job options profile click the Create PDF button, and the file will be converted using the selected options.

  • Hypertext links are not always preserved from Word to PDF, using Aperçu or Adobe, depending on OS 10 or Lion. Why? This generally works perfectly in Windows. Why are Apple and Adobe unable to correctly handle links when converting from Word to PDF?

    Hypertext links are not always preserved from Word to PDF, using Aperçu or Adobe, depending on OS 10 or Lion. Why? This generally works perfectly in Windows. Why are Apple and Adobe unable to correctly handle links when converting from Word to PDF?
    Depending on the system version, and Office Word version:
    - a pure URL link starting with http or even www sometimes works in PDF, either produced by Aperçu or Adobe, sometimes does not work;
    - other kind of links where the text under display is not a URL, never work!
    I like everything with Apple computers and software, except PDF generation. Output files are usually bigger in size, and no better quality, than under Windows. Furthermore, it is weird that something as common as hyperlinks does not work correctly!
    I related this question with Mac OS X Snow Leopard, but the problem is still there with Mac OS Lion.
    This problem seems to have been around for years, without any proper solution from Apple and/or Adobe! To me, this is very embarrassing!

    Greetings NoNameGiven,
    If I understand the problem correctly (I’m not sure I do) you would prefer ‘iii’ to be read as “eye eye eye” rather than “three”? The alt text property is the only way that I know of to make this happen. Hope this helps.
    a ‘C’ student

  • Anyone know which render format I should use, my film will be used on a video wall (12 screens) and I need super quality. My footage format is 1080p HD resolution 1920x1080. I will be running the project from a mac with a direct line to video wall. Thanks

    Anyone know which render format I should use, my film will be used on a video wall (12 screens) and I need super quality. My footage format is 1080p HD resolution 1920x1080. I will be running the project from a mac with a direct line to video wall. Thanks in advance.

    I do some VJ-type work, involving playback of QuickTime files from the computer to projections, and I get good results using ProRes 422. That's convenient, because ProRes 422 is such a great editing codec, too.
    Traditionally, VJs use PhotoJPEG codec, which also works well, but it's a bad editing codec. So you would have to export an edited master, then convert.
    If you want it to look as good as possible, definitely schedule some time to test the footage on the wall. You may want to change the color correction of your footage to match the projectors. And if you feed the video wall some flat gray, you can see if any of the projectors need to be  adjusted.
    I'm not sure what application you're using for playback, but QuickTime Player 7 works well. It has an option to play fullscreen on an external monitor (View > Present Movie…).

  • Which Event Classes i should use for finding good indexs and statistics for queries in SP.

    Dear all,
    I am trying to use pro filer to create a trace,so that it can be used as workload in
    "Database Engine Tuning Advisor" for optimization of one stored procedure.
    Please tel me about the Event classes which i  should use in trace.
    The stored proc contains three insert queries which insert data into a table variable,
    Finally a select query is used on same table variable with one union of the same table variable, to generate a sequence for records based on certain condition of few columns.
    There are three cases where i am using the above structure of the SP, so there are three SPS out of three , i will chose one based on their performance.
    1) There is only one table with three inserts which gets  into a table variable with a final sequence creation block.
    2) There are 15 tables with 45 inserts , which gets into a tabel variable with a final
    sequence creation block.
    3)
    There are 3 tables with 9 inserts , which gets into a table variable with a final
    sequence creation block.
    In all the above case number of record will be around 5 lacks.
    Purpose is optimization of queries in SP
    like which Event Classes i should use for finding good indexs and statistics for queries in SP.
    yours sincerely

    "Database Engine Tuning Advisor" for optimization of one stored procedure.
    Please tel me about the Event classes which i  should use in trace.
    You can use the "Tuning" template to capture the workload to a trace file that can be used by the DETA.  See
    http://technet.microsoft.com/en-us/library/ms190957(v=sql.105).aspx
    If you are capturing the workload of a production server, I suggest you not do that directly from Profiler as that can impact server performance.  Instead, start/stop the Profiler Tuning template against a test server and then script the trace
    definition (File-->Export-->Script Trace Definition).  You can then customize the script (e.g. file name) and run the script against the prod server to capture the workload to the specified file.  Stop and remove the trace after the workload
    is captured with sp_trace_setstatus:
    DECLARE @TraceID int = <trace id returned by the trace create script>
    EXEC sp_trace_setstatus @TraceID, 0; --stop trace
    EXEC sp_trace_setstatus @TraceID, 2; --remove trace definition
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • After 9.3 update getting error printing to Adobe PDF while converting from Powerpoint to PDF

    That happened after upgrading Acrobat Pro 9.1.2 to 9.2->9.3 on Windows XP sp2 platform. Converting from other Microsoft Office 2003 products is totally normal(Excel, Word) Did anyone came accross and know how to fix that?? We have many users with exactly same issue.

    thanks...figured out my problem!
    Date: Wed, 3 Feb 2010 12:24:29 -0700
    From: [email protected]
    To: [email protected]
    Subject: Re: After 9.3 update getting error printing to Adobe PDF while converting from Powerpoint to PDF
    What happens if you try to print to the Adobe PDF printer?
    >

  • Which dc and sc should add in build time form sld when integration uwl

    hi
    i have to create a webdynpro to show info from uwl, like follow
    IUWLService uwlService=(IUWLService)PortalRuntime.getRuntimeResources().getService(IUWLService.ALIAS_KEY);
    but i don't know which dc and sc i should add in build time form sld and use it.
    i try add UWLJWF from sld, and ?
    i develop with nwce ehp1
    thank you

    1) tc/je/security/api
    2) tc/je/usermanagement/api
    from ENGFACADE.
    3) tc/kmc/bc.uwl/api
    from UWLJWF

  • How we can decide which compensation structure we should use ?

    Hi SAP-Experts .
    Regarding Payroll , We have to compensation structures
    (a.) Payscale Structure (b.) Paygrade Structure .
    Q1. May you Plz. tell me how we can decide which structure we should use ?
           How we can differentiate these structures ?
    Q2. what is purpose of remuneration type in IT-08
    which changes these structures ?
    Thanks .
    Kind Regards.
    Rajneesh
    Edited by: rajneesh mittal on Oct 11, 2010 3:50 PM

    Hi
    - the payscale structure is used when you have salary scales depending on area/region, industry, with Min and Max values, with level that you might want to default the employee (Brussels area employees might have their own salary scale, while Paris employees might have a different salary scale - within these two big areas various criteria might be used to further cathegorize how the salaries are ) (made according to the real salary scales existing in the company, the real salaries that employees have, not necessarily with a market value of the job)
    - if you use the pay grade you will be able to say what percentage of the market job salary you offer your employee, what is the distance between levels and grades; you have a referrence salary. Basically the pay grades are more teoretical values (made after analysing the market, in comparison - we offer 80% of what the market offers for the same job)
    I hope that I could be of help,
    Adriana

  • Which function module i should use in mereq001 for warning message

    hi all,
    when creating purchase requistion(me51n) with item and plant and material etc.when we enter different plant  for the second item which is not there in first item. we should get the warning message in the popup
    for this i have used
    fuction module EXIT_SAPLMEREQ_005
    written the following code.
      INCLUDE ZXM02U05                                                   *
    CHECK SY-TCODE = 'ME51N'.
    TABLES MARC.
    DATA : BEGIN OF I_MARC OCCURS 0,
           WERKS LIKE MARC-WERKS,
           BNFPO LIKE EBAN-BNFPO,
           END OF I_MARC.
    DATA : I_WERKS LIKE MEREQ_ITEM-WERKS.
    read table I_MARC index 1.
    if sy-subrc <> 0.
    IF I_MARC-WERKS IS  INITIAL.
       I_MARC-BNFPO = IM_DATA_NEW-BNFPO.
       I_MARC-WERKS = IM_DATA_NEW-WERKS.
    append I_MARC.
    endif.
    MOVE IM_DATA_OLD-WERKS TO I_WERKS.
    elseif IM_DATA_NEW-BNFPO > I_MARC-BNFPO
           and I_WERKS <> IM_DATA_NEW-WERKS.
      CALL FUNCTION 'POPUP_DISPLAY_MESSAGE'
        EXPORTING
        TITEL         =
          MSGID         = 'ZMMMSG'
          MSGTY         = 'W'
          MSGNO         = 001.
        MSGV1         =0
        MSGV2         =
        MSGV3         =
        MSGV4         =
    ENDIF.
    but after entering the data for first item 00010 ,data is storing in the internal table. but when i entered the data for item 00020 it storing the data in internal table. but item 00010 data is not appearing in the internal table when we give item 00020 data . i have checked in the debugging.
    please advise me what to do for the above requirement.
    thanks in advance
    rama.

    Hi Roy,
    You should use BI SDK for Java to connect to BW from Web Dynpro (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%20use%20the%20bi%20java%20sdk%20in%20a%20web%20dynpro%20application.pdf)
    http://help.sap.com/saphelp_nw04/helpdata/en/6e/011e681cf74ab4b3acf73f77653405/frameset.htm
    https://media.sdn.sap.com/public/html/submitted_docs/BW/BI_SDK_JavaDocs/bi_sdk_doc/docs/documentation.html
    /people/moya.watson/blog/2004/04/05/the-bi-java-sdk-whats-in-it-for-you
    /people/moya.watson/blog/2004/12/27/three-new-how-to-guides-for-the-bi-java-sdk
    Best regards, Maksim Rashchynski.

  • Which return statement i should use.

    I have a problem regarding the return statement that i should use in the following programe.
    //Printing random letters without vowels
    public class Capitals {
      public char mymethod (){
         int counter = 0;               // Counter for number of capitals generated.
        int numberToGenerate = 20;     // Number of capitals to generate.
        char symbol = 0;               // Variable to store a random character.
        // While there are still letters to generate:
              while( counter < numberToGenerate ) {
          // Generate a random symbol between A and Z:
          // This relies on the fact that the codes for the letters are in a
          // contiguous sequence from 'A' to 'Z'. If we add 1 to 'A' we get the
          // code for 'B', if we add 2 we get 'C', and so on. Thus to create a
          // random capital letter from 'A' to 'Z' we can add a random integer
          // between 0 and 25 to 'A'.
          symbol = (char)(26*Math.random() + 'A');
          switch(symbol) {
            //Vowels ignored:
            case 'A':
            case 'E':
            case 'I':
            case 'O':
            case 'U':
              break;
            default:
              //Consonant displayed:
              System.out.print(symbol + " ");
              counter++;
              break;
    return symbol; // My Problem is here <<<<<<<<<<<<<
    public static void main(String args[])   {
    Capitals myCapitals=new Capitals();
    myCapitals.mymethod();
    }Can anyone kindly guide as to what return statement i should use in mymethod() so that it can be called in the main.
    thanks

    return types are not compulsory. there's a school of though amongst some 'C' programmers, that all functions should return something, even if the returned value is of no interest most of the time. some C compilers even force this behaviour, I think it's part of some standard but I can't remember now
    anyways, methods that have something to return need a return type, those that don't can be void. if you're invoking a method just to get it to do some work, it can probably be void, but if it's doing some computation for you you'll likely want to know the result, hence it must return something

  • How to decide which Object has to be used while maintianing TBD62

    Hi ,
    I was trying  configure ECC for transfer of customer master data changes to GTS , i came to know that i need to maintain table TDB62 using Tcode BD52 for the table and field name then only pointer to Table BDCP will be created.
    I did maintain entries in TBD62 and the changes transfer for customer master data worked.
    Now My Question how i will decide against what object i will define the table and field name in TBD62 for a particular message type.
    I am trying to know about mesage type /SAPSLL/DEBMAS_SLL  this is to transfer any changes to customer master data to GTS.
    Kind Regards,
    Sameer

    Hi Thiru,
    Go thur these
    http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sap-img.com/bdc.htm
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sapdevelopment.co.uk/bdc/bdchome.htm
    http://www.planetsap.com/bdc_main_page.htm
    May be the difference helps you understand:
    -     The most important aspects of the Batch session interface are:
    1) Asynchronous processing
    2) Transfers data for multiple transactions
    3)Synchronous database update
        During processing, no transaction is started until the previous transaction 
        has been written to the database.
    4)     A batch input processing log is generated for each session           
    5)     Sessions cannot be generated in parallel
    The most important aspects of the CALL TRANSACTION USING interface are:
    1) Synchronous processing
    2) Transfers data for a single transaction
    3) Synchronous and asynchronous database updating both possible
    The program specifies which kind of updating is desired.
    4) Separate LUW for the transaction : The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
       5) No batch input processing log is generated
    <b>See the below article, which will show which is one is better</b>
    http://www.itcserver.com/blog/2006/06/30/batch-input-vs-call-transaction/
    <b>Reward points if this helps.
    Manish</b>

  • Which jboss Connection I should use? cluster jboss, one database

    We use EJB in jboss cluster environment. We only have one oracle database.
    our existed system use TXConnection(transactional connection) for the data insert, update and delete. Using the Connection for the data retriving.
    I think TXConnection fits to use for the distributed database. So we should change our DAO layer to use only Connection.
    Is that true?
    Need help.
    Thanks.
    Jack Tie

    Huh? Connection is an interface. You will have to use
    any implementation anyway.It is not so simple. This is a legit question because he has asking if a specific implementation is required.
    It would have been better posted in the JDBC forum. I don't know what the answer is for certain but I would lean towards yes it is required because of the clustered nature.

  • Which invoice idoc I should use?

    Vendor sends invoice after Goords recipts. When Invoice gets created and matched to the right PO I ned to generate Idoc outbound to the 3rd party system via XI. Iam confused witch Idoc I need to use?
    ACC_INVOICE_RECEIPT03(Accounting: Post Invoice Receipt)
    or
    INVOIC02 ( Invoice / Billing Document ) ?
    Please guide me

    Hello Ram, my understanding is that INVOIC02 is a generic IDOC that can be used to post MM and FI based invoices. Configuration of your partner profile determines whether the invoice is posted to MM or FI. I'm not sure about the other IDOC ACC_INVOICE_RECEIPT03 but I will suggest you go with INVOIC02.
    Please award points if this helps.

  • Updated to 10.91 now bootcamp 5 was installed in my early 2009 macbook pro which according to Apple should use bootcamp 4.x, how do I fix this?

    I had Bootcamp 4.1.4586 with Windows 7 PRO 64 bits installed and running prior to updating to Maverick 10.91 on my early 2009 MacBook Pro 17".   Did the 10.91 Maverick update to my OSX and now Bootcamp 5 is installed and doesnt run.   HELP   how do I fix it
    Also there is no way to connect to update the drivers nor bootcamps   the servers are always full

    Blank (lighted, but black) screen with cursor at bootup
    [SOLVED] - Macbook Air Sleep/Wake problem
    Dark screen on start-up can only see curser

  • My client wants me to proof PDF files but is not clear about which Adobe product I should use

    Would Adobe Reader do the trick? I need to download the PDF files as sent to me, proof and mark them for corrections, and then email them back to my client.
    Thank you.

    Start here.

Maybe you are looking for

  • Windows 8.1 not automatic contact with WSUS

    Hi, I have an issue with WSUS 3.2 , the problem is all windows 8.1 based computer are not automatically contact with wsus as daily basis.  we need to run manually command on windows 8.1 pcs, then they could contact. Thanks Arora,Jitender

  • How do I delete a partition that was created in Bootcamp?

    I installed XP on my MBP using Bootcamp a while ago, and recently erased all the data on the partitioned drive. I have the second partition doing nothing and would just rather delete it. I have been told that I need to use Bootcamp to delete the part

  • Access refused in public folders when user is in a Group

    Hi,  We have a Exchange 2003 server and an Exchange 2010 server The Public folders are on the 2003. Since 2 or 3 days, there is a access issue in juste ONE public folder: SOME users cannot access to the folder anymore if there are in a group (it asks

  • ArgumentError: Error #1063: Argument count mismatch on portfolio_fla::MainTimeline/loadFightBite().

    Hi I'm trying to load a swf onto my stage and I'm having some problems with the event handler. I'm getting an error: when I comment out the event handler, it returns no errors, I've tried the function both with and without void, but it doesn't fix th

  • Two NWDI systemes in one landscape

    Hi all, I was wondering if it is possible to have two NWDI systems in one landscape (sharing same SLD) and do track forwarding between these two NWDI systems? The reason I want to do this is that I want to move the NWDI system to another platform. To