Reference to initial view

I have a screen with VGroup. I am adding elements to it at the run time.
When this screen is presented to the user for second time I need to have an object that is a copy of the original screen -
the screen before elements were added. Any idea how to acheive that?
Thanks

You are talking about two different completely unrelated things here: The
initial view (which can be modified in an epilogue.ps file) and the actual
bookmark setup (which is done in the PostScript file, and not in the
epilogue file). You can change which navigation pane gets displayed
when the PDF file is opened, but only the application that creates the
bookmarks as access to he setting that defines if the bookmark is expanded
or not.
By the time the epilogue file runs, you don't "know" which bookmarks were
created. You can know that if you redefine the pdfmark command in
PostScript, and then modify the parameters that are passed to the real
pdfmark operator.
Another option would be to add JavaScript that controls the state of your
bookmarks that gets executed the first time the document is opened. This
will however only work in Adobe Acrobat, not the free Reader (the open
property is read-only in Reader).
The simplest way to get your bookmarks in the correct state, is to create
your PDF files and then run an action on them to expand the bookmark tree.
Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...
[email protected]
http://www.khkonsulting.com
On Mon, Feb 24, 2014 at 7:44 AM, Manoranjan.Parhi

Similar Messages

  • How to load bookmark tree in initial view setting by pdfmark reference

    how to load bookmark tree in initial view setting by pdfmark reference

    You are talking about two different completely unrelated things here: The
    initial view (which can be modified in an epilogue.ps file) and the actual
    bookmark setup (which is done in the PostScript file, and not in the
    epilogue file). You can change which navigation pane gets displayed
    when the PDF file is opened, but only the application that creates the
    bookmarks as access to he setting that defines if the bookmark is expanded
    or not.
    By the time the epilogue file runs, you don't "know" which bookmarks were
    created. You can know that if you redefine the pdfmark command in
    PostScript, and then modify the parameters that are passed to the real
    pdfmark operator.
    Another option would be to add JavaScript that controls the state of your
    bookmarks that gets executed the first time the document is opened. This
    will however only work in Adobe Acrobat, not the free Reader (the open
    property is read-only in Reader).
    The simplest way to get your bookmarks in the correct state, is to create
    your PDF files and then run an action on them to expand the bookmark tree.
    Karl Heinz Kremer
    PDF Acrobatics Without a Net
    PDF Software Development, Training and More...
    [email protected]
    http://www.khkonsulting.com
    On Mon, Feb 24, 2014 at 7:44 AM, Manoranjan.Parhi

  • Batch create multiple pdf's while using epilogue.ps for setting initial view and opening bookmarks

    Hi,
    I'm trying to batch create multiple pdf's from word files, and use the epilogue.ps file for setting the initial view and opening the bookmarks panel, but i keep getting no satisfying result.. i'm probably missing something fundamental.
    I've read some forum posts and adobe help posts explaining this, so i'm pretty sure this would be possible?
    Reference:
    http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7f0f.w .html  see advanced panel options
    http://help.adobe.com/en_US/acrobat/using/WS58a04a822e3e50102bd615109794195ff-7f14.w.html
    System: Windows 7
    Acrobat: Acrobat X professional
    i've searched for and found a way to overwite the epilogue.ps file and have inserted the following:
    %  Insert your custom PostScript here...
    [ /PageMode /UseThumbs
    /Page 1 /View [/Fit ]
    /DOCVIEW pdfmark
    After that i checked my Adobe Acrobat preferences, and in the categorie 'Convert to Pdf' i selected 'Microsoft office word' in the select area 'Converting to pdf'.
    Clicked 'Edit settings' to allow creating a joboptions file (field: 'adobe pdf settings') which has the option 'Use epiloque.ps and prologue.ps' checked in the advanced section.
    So now i thought i would have everyting setup to create my pdf's, however, my view isn't changed to fit, nor are there any bookmarks or in this case thumbs (i used /useThumbs) visible.
    Did i miss something obvious? Is there a better way to test this? Any help would be appreciated!

    i like it about that ok in how to open my site

  • PDF through VBA: How to set Initial View?

    - Adobe Acrobat 6.0 (sorry we're a bit out of date)
    - MS Office 2003
    - MS Windows XP Professional SP2
    I am trying to automate the creation of PDFs from MS Word. I have succeeded. My VBA code works fine (have pasted it below). I can create a PDF, and give it a title and author.
    The problem I am having is with the Initial View settings, i.e. how the document opens. I want to hardcode:
    1. Show to "Page Only"
    2. Page Layout to "Continuous"
    3. Magnification to "Fit Width"
    The first I have done, using AcroExch.PDDoc's SetPageMode() function (although it seems to default to that even without doing this). I cannot, for the life of me, find any reference to the second and third, though. This must be doable, right? Be kind of weird not to have access to this in the API.
    Hours of Googling has thrown up three ideas I've discarded.
    1. AcroExch.App's SetPreference() function. This would presumably change preferences on the machine making the PDF, not reading it. I don't want to fiddle with other people's preferences anyway.
    2. AcroExch.AVPageView's ZoomTo() function. Ditto. I am not creating an app to view PDFs, just trying to configure the default for opening one I've created.
    3. An "undocumented" SetOpenInfo() in AcroExch.PDDoc. This looked the most promising for Magnification, but nobody seems to be able to get it to work, and it does nothing for me either. Someone somewhere even suggested it had been deprecated in later versions of Acrobat.
    So... what do I do?
    Thanks in advance for any pointers.
    jON
    ===============================================
    Sub MakePDF(strFilename As String, strTitle As String, strAuthor As String)
    Dim pdfD As PdfDistiller
    Dim strPDFName As String
    Dim strPSName As String
    strPSName = strFilename & ".ps"
    strPDFName = strFilename & ".pdf"
    '... make PS
    Application.ActivePrinter = myPDFPrinter
    Application.PrintOut Filename:="", _
    Range:=wdPrintAllDocument, _
    Item:=wdPrintDocumentContent, _
    Copies:=1, _
    Pages:="", _
    PageType:=wdPrintAllPages, _
    ManualDuplexPrint:=False, _
    Collate:=True, _
    Background:=False, _
    PrintToFile:=True, _
    PrintZoomColumn:=0, _
    PrintZoomRow:=0, _
    PrintZoomPaperWidth:=0, _
    PrintZoomPaperHeight:=0, _
    OutputFileName:=strPSName, _
    Append:=False
    '... make PDF
    Set pdfD = New PdfDistiller
    pdfD.FileToPDF strPSName, strPDFName, ""
    '... tag PDF
    Set qq = CreateObject("AcroExch.PDDoc")
    b = qq.Open(strPDFName)
    b = qq.SetInfo("Title", strProperties_Title)
    b = qq.SetInfo("Author", strProperties_Author)
    b = qq.SetPageMode(1) '... 1 = PDUseNone
    b = qq.Save(33, strPDFName) '... 33 = PDSaveFull (1) OR PDSaveCollectGarbage (32)
    b = qq.Close
    End Sub

    I have the same problem. I need to change Initial View Settings configuring the following settings
    2. Page Layout to "Single Page"
    3. Magnification to "Fit Width"
    My software configuration is as follows:
    - Adobe Acrobat 7.9
    - Microsoft Windows XP SP2
    - Visual Basic 6
    Has anyone worked with this attributes of Acrobat?

  • Set PDF Document Properties Initial View by Acrobat SDK with C#

    Hi,
    Here am trying to set the PDF document initial view by the Acrobat SDK with C#.
    Here I am show my screen shot which properties I want to set.
    For this process I am referred Acrobat SDK and also following Adobe forums they also asked similar question.
    http://forums.adobe.com/message/3866361
    http://forums.adobe.com/message/4803264
    http://livedocs.adobe.com/acrobat_sdk
    And also I am used following C# code
          Acrobat.AcroPDDocClass doc = new Acrobat.AcroPDDocClass();
          doc.Open(@"D:\..\sap.pdf");
    doc.SetOpenInfo(1,1,"Fit Width");
          doc.SetPageMode(3);
          doc.Save(1, @"D:\..\sap.pdf");
          doc.Close();
    From the above code {doc.SetPageMode(3);} is working for set the page mode.
    But I am having problem in following code {doc.SetOpenInfo(1,1,"Fit Width");}
    Because it won’t work I do’t known, and there is no clear samples in the SDK reference document.
    So please give advice and clear sample code/syntax to meet above needs which are marked in red box.
    Document Properties - > Intial View
    Document Option
         Show: Bookmarks Panel and Page
         Page Layout: Continuous
         Magnification: Fit Width
    Window Options
         Show : Document Title
    Regards,
    Thirusanguraja Venkatesan

    ok thank you Test Screen
    I will try and let you know if i am done by automation .
    Regard,
    Thirusanguraja Venkatesan

  • Set default Initial View to Bookmarks Panel and Page on all new docs

    Hello Acrobat Experts,
    We convert *many* Word docs to PDF.  We have PDFMaker force security on all docs.  Now every document has the security settings we want.
    That works.
    We want to force the default Initial View to be Bookmarks Panel and Page so that *every* new document shows the Bookmark Panel and the Page.
    We don't want to set this per document (which is a multi-setp process and a hassle, especially now that security is enabled) but globally for all new documents created by Adobe Acrobat.
    Any and all advice is most welcome.
    Thank you in advance.
    Tech details:
    Acrobat Professional 8.1.7
    Windows Xp Professional (all current updates)

    The article I pointed to in my Oct 20, 2009 post #3 contains two pointers that might assist to initially open the PDF fitting the page to the window.
    I think you may be after "Vire [/Fit]" as described in the article;
    [ /PageMode /UseOutlines
    /Page 1 /View [/Fit ]
    /DOCVIEW pdfmark
    These lines of code open your PDF document with the bookmarks panel open. If you just want the document on its own try "UseNone" instead of "UseOutlines". Here are some additional values:
    /Page 1 opens the PDF on page 1
    View [/Fit ] opens the PDF Fit to page
    And the article points to the PDFMark reference where you might look at Actions and Destinations on page 47.
    I've not tried to do this myself so would you be kind enough to post your result and let us know the version of Acrobat you're using?

  • Specifying different initial views for different users in ALV web dynpro

    Hi Friends,
    I need to have 2 different initial view for my web dynpro application eg: View1 and View2. There will 2 group of users using the respective Views. However the first group should not be able to see other view(View2) and vice versa.
    Please tell me whether it is possible and if yes then how to do it.
    Regards,
    Saud

    Hi,
    the ALV component has a public attribute - R_COMPONENT which is of type ref to IF_SALV_WD_COMPONENT_TABLE
    you can call GET_PERSONALISATION on this reference to return a reference to the interface IF_SALV_WD_COMP_TABLE_PERS. This in turn has a method - SET_STANDARD_VIEW.
    I think that this should allow you to set which ever view you want.
    Hope it helps,
    Chris

  • WD -SALV- setting initial view

    Hi everyone,
    I saw some forums in SDN about setting the initial View in a SALV.
    Someone suggested to use R_COMPONENT of type IF_SALV_WD_COMP_TABLE_PERS in order to call the method SET_STANDARD_VIEW.
    But noone was able to indicate how r_component could be properly referenced. (Such Forums are anyhow marked as closed but unanswered).
    I would be very pleased to know if someone managed to do it, and how.
    Thank you so much.
    Best Regards,
    Christian

    Hi,
    Please refer to this code and make changes accordingly as per the conditions -
    METHOD wddoinit.
      DATA:
        lo_nd_mara                 TYPE REF TO if_wd_context_node,
        lt_mara                    TYPE        wd_this->elements_mara,
        lo_cmp_usage               TYPE REF TO if_wd_component_usage,
        lo_interfacecontroller     TYPE REF TO iwci_salv_wd_table ,
        lo_api_interfacecontroller TYPE REF TO if_wd_controller,
        lo_pers                    TYPE REF TO if_wd_personalization,
        lv_value                   TYPE REF TO cl_salv_wd_config_table,
        lt_var                     TYPE        wdr_pers_variants,
        wa_var                     TYPE        wdr_pers_variant,
        ls_config_key              TYPE        wdy_config_key.
    * navigate from <CONTEXT> to <MARA> via lead selection
      lo_nd_mara = wd_context->get_child_node( name = wd_this->wdctx_mara ).
    * Get material master data
      SELECT * FROM mara INTO TABLE lt_mara UP TO 10 ROWS.
    * @TODO handle non existant child
      IF lo_nd_mara IS NOT INITIAL.
        lo_nd_mara->bind_table( new_items = lt_mara set_initial_elements = abap_false ).
      ENDIF.
    * Instantiate ALV
      lo_cmp_usage =   wd_this->wd_cpuse_alv_materials( ).
      IF lo_cmp_usage->has_active_component( ) IS INITIAL.
        lo_cmp_usage->create_component( ).
      ENDIF.
    * Get the interface controller of the component usage
      lo_interfacecontroller =   wd_this->wd_cpifc_alv_materials( ).
    * Get the model object of ALV
      IF lo_interfacecontroller IS NOT INITIAL.
        lv_value = lo_interfacecontroller->get_model(
    * Get the API reference
        lo_api_interfacecontroller = lo_interfacecontroller->wd_get_api( ).
      ENDIF.
    * Get personalization obect
      IF lo_api_interfacecontroller IS NOT INITIAL.
        CALL METHOD lo_api_interfacecontroller->get_personalization_manager
          RECEIVING
            pers_manager = lo_pers.
      ENDIF.
    * Get variants
      IF lo_pers IS NOT INITIAL.
        CALL METHOD lo_pers->get_variants
          RECEIVING
            variants = lt_var.
      ENDIF.
    * Set the default variant
    * Required variant is read
    * READ statement can be modified as per the requirement.
    * As this application holds only one user variant, first record is read.
    ##read the respective records based on your condition
      IF lt_var IS NOT INITIAL.
        READ TABLE lt_var INTO wa_var INDEX 1.
        IF sy-subrc EQ 0.
          ls_config_key-config_id    = wa_var-config_id .
          ls_config_key-config_type  = wa_var-config_type.
          ls_config_key-config_var   = wa_var-config_var.
        ENDIF.
        TRY.
            CALL METHOD lo_pers->set_default_variant
              EXPORTING
                config_key = ls_config_key
                set        = abap_true.
          CATCH cx_wd_personalization .
        ENDTRY.
    * Get the variant information based on variant id
    * Load the variant/ Set the default variant
        CALL METHOD lo_pers->load_config_by_key
          EXPORTING
            config_key            = ls_config_key
            fetch_default_variant = abap_true.
      ENDIF.
    ENDMETHOD.
    Regards,
    Lekha.

  • Modifying Initial View values using C#

    Hello,
    I am trying to modify the Initial View (Page Layout, Magnification, and Open To Page) properties programmatically, using c#.
    I have tried everything, CAcroPDDoc only had SetPageMode method which modifies the value of the Navigation tab and that's about it. There was a method called SetOpenInfo method which would accomplish what I want, however for some reason Adobe got rid of it.
    I don't know what else to do.
    Please Help!!!!
    Thanks

    Hi Leonard,
    The user requirements are for a stand-alone application. As for the plug-in method, I will use that as a last resort if nothing else works. Is it even possible to do it through IAC?
    By the way, the api reference mentions Info dictionary, where do I view the contents of that dictionary?
    Thanks,
    Alex

  • Initial View

    Hello Everybody,
    I'm having a little problem with the initial view.  Upon opening, my converted PDF document (Smart Draw) continues to open in Portrait instead of Landscape.  Ive created the original document in landscape before I converted to PDF.  I've tried various settings in Acrobat > File > Properties > Initial View...no luck, it keeps opening in portrait instead of landscape...any ideas.

    Document>Rotate Pages and then Save As

  • Is there any way to force the following initial view...

    ..."fit to page" + "two pages per screen - but only if there's room for two"?
    In other words, I want the page to fit in the screen upon initial view, but I also see a lot of wasted real estate all around that could, most of the time, fit a second page. However, I don't want the two pages to count against the "fit" -- meaning, on narrower screens, the priority should go to fitting the first page (and not showing the 2nd) rather than fit both pages at all costs.
    Is there any way to ask Acrobat to do this?

    The initial view (IV) settings within a PDF file are static tags - they can't be made to dynamically-adapt based on the window dimensions,it's the renderer (Acrobat, Reader, or whatever else is opening the file) that decides if and how it will follow the IV requested by the file header.
    It would be possible to use a Page Open action on the first page of the file, which does some nasty math with the various doc.*WindowRect objects to work out how much "wasted" space there is, and then set the doc.layout and doc.zoomType properties - but page actions are a different concept to IV as the zoom will reset itself every time that page is viewed. Users don't like their application apparently fiddling with the zoom level without being told to!

  • Is there a way to set the default Initial View to Bookmarks Panel and Page on word documents that I save as PDF?

    When I save my word 2013 documents as Adobe PDF I have to open the PDF up, go to File>Properties>Initial View>Navigation Tab and then set the initial view as Bookmark Panel and Page; it gets pretty tedious.
    I use Save as Adobe PDF rather than Print to Adobe PDF Printer because I like being able to have the security settings automatically set.
    I just want to be able to save my word document as Adobe PDF with the initial view already set as Bookmark Panel and Page, and with security, so I can send it out immediately.
    Is this possible?
    Thank you.

    Use the Firefox Android Addon - Phony
    *https://addons.mozilla.org/en-US/android/addon/phony
    for more
    *https://addons.mozilla.org/en-US/android/

  • Finder Cover Flow initial view

    How can I set the initial view settings when using cover flow within finder-
    the finder file/folder list at the bottom of the window is way too short and the cover flow file preview portion of the window is massive.
    Appreciate?

    For me, I find that when I resize the window, it stays that way. If it doesn't stick for you, try resizing, and then pressing Command-J to open View Preferences, check the Always Open in Cover View box at the top, and the Use as Defaults at the bottom. They're not directly related, but I've found that the helped.
    If those don't help, go to the folder ~/Library/Preferences (where ~ stands for you Home folder), and remove a couple of files:
    com.apple.finder.plist
    com.apple.systemuiserver.plist
    In the ByHost folder, there will be one or more com.apple.HIToolbox.randomjunkthatdoesn'tmatter.plist file; remove all of them.
    Log in/out, and see if that helps.

  • Initial View - Default Setup (Acrobat 9.0 Pro)

    Hi everyone,
    This may be a dumb question but I just can't seem to find how to change the default page number in the "Initial View" tab - under Document Properties.
    My pdfs are always opening up on page 4 (small thing - but annoying!).  I can change the value to "1" for each pdf, but I don't want to have to do this everytime i generate a pdf.
    There must be a way to change the default value from "4" to "1"  (I hope).
    Can anyone help with this?
    Thank you,
    Tina

    Never mind - I just found the option under "Save PDF" that allows me to select the page number.
    Just didn't expect it to be there ... sorry about that !
    tvb

  • Initial View set in PDF Document not working.

    I have a PDF document w/Initial View in the Document Properties set to Navigation tab: 'Bookmarks panel and Page', and Open to page '1''.  However, when I send this document out, the Initial View settings do not happen (The PDF opens to the page last accessed before the document was sent and the navigation pane does not display).  Help - what am I missing or doing wrong when trying to distribute PDF?
    I am using Acrobat X Pro.

    It might be the settings in Acrobat that is causing the problem. Edit – Preferences…, under Categories select Documents. Uncheck Restore last view settings when reopening documents.

Maybe you are looking for

  • Export out of DRM/Import into PeopleSoft

    Hello, Do any of you have experience creating an export out of DRM to go into the PeopleSoft system to create trees?  The PeopleSoft system has a Tree Import; however a file needs to be in a certain format for the Import to work.  I wasn't sure if DR

  • ALV - Find problem

    Hello, I have problem of find value in alv table. By choosing some variant I get table with 500 lines and 70 columns. When I use FIND icon of ALV to find specific order number (after selecting the column), the FIND "works" only for first rows and doe

  • Oracle Text index hangs(Oracle 11g linux enterprise edition)

    Hi guru, One very criticial and showstopper issue coming in Oracle Text Indexing. I have table ResourceTable(ResId,Contents blob ,docformat) I am creating text index on Contents column by using follwing command: create index [IndexName] on [TableName

  • Function Module Execution (ERP / SRM)

    Hi All, I have a RFC FM called "BAPI_DOCUMENT_CHECKIN2" on ERP back end System. I execute with below parameters : CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2' EXPORTING: documenttype = lf_doctype documentnumber = lf_docnumber documentpart = lf_docpart docu

  • App store pages frozen?

    My app store my featured, charts, or genius pages. Is any one else having this issue?