Question about Setting Window Title/the use of AVWindowSetTitle()

Hi everyone,
I have a question about setting the title of the window in which the Acrobat viewer normally opens a PDF file.  The documentation states that AVWindowSetTitle() cannot be used in this case.  However, using it has worked with versions of Acrobat/Reader up until and including version 8.
Everything breaks down starting with Acrobat 9.
According to the documentation I am supposed to do the following: "To set the title of a window in which the Acrobat viewer opens a PDF file, you must replace AVDocOpenFromASFileWithParams() and pass the window title in tempTitle."
Unfortunately, there are 2 problems I have with this approach:
     I do need to be able to change the document title on document Save, not only on document Open
     I do not know what AVDocOpenFromASFileWithParams() implementation has to look like if I have to replace it using HFTReplaceEntry().
Is there a sample customized implementation of AVDocOpenFromASFileWithParams() somewhere that I could take a look at?
Is there a way to change a document Title inside Acrobat/Reader window after a Save operation?
Thanks a million,
  Lana2010K

     I am sorry.  I don't know how you tested this and came to conclusion that this works correctly in Acrobat X.
     I just tested our Acrobat plug-in with a trial version of Acrobat X and this did not work.
     When we open a file in Acrobat (doing it ourselves in the plug-in by adding another specialized open) we set the window title to something different from the default file name.  Then if a file gets edited and saved (File->Save), the window title gets reset to the file name. In the PDDocDidSave callback we call AVWindowSetTitle() to set it back to a more descriptive window title we need.  This has worked up until and including Acrobat 8, but does not work in either version 9.0 or 10.0.
     Also, I just modified the plug-in code to always change the Window Title of every document (even if opened through native File->Open) on document Save.  It does not work.
     Please help,
          Lana2010K

Similar Messages

  • Javascript/html question about popup window title

    I am displaying an uploaded pdf file using wpg_docload.download_file in a popup window (using javascript open).
    How can I change the title of this popup window.

    Thanks to Jes (John Scott at shellprompt.net) for a solution for my version of this problem; set the Content-Disposition in the HTTP header to indicate your required filename. Example:
    I have an 'On-Load - Before Header' process on the ApEx page I want to use 'host' my PDF document generator. The page is called from a popup JavaScript call, allowing us to rely on ApEx authorisation and authentication. The Source of this process looks like the following:
    declare
    myblob blob;
    begin
    -- Call procedure to gereate PDF document in a blob and pass it back
    myprocedure_to_generate_blob( in_parameter, in_parameter, myblob);
    owa_util.mime_header('application/pdf',false);
    htp.p('Content-Length: ;||dbms_lob.getlength(myblob));
    -- This line sets the filename (which could be dynamic)
    htp.p('Content-Disposition: attachment;filename=mypdffile.pdf');
    owa_util.http_header_close;
    wpg_docload.download_file(myblob);
    -- Stop Apex from trying to render more of the page (we've finished)
    htmldb_application.g_unrecoverable_error := true;
    end;

  • Group Policy question about setting Start menu items using devices and not users

    I am using Windows Server 2003 and Windows Server 2008 R2 servers set up for use as Active Directory Servers.
    What I am trying to do is lock down thin clients start menu options and I have been able to get this to work down to the user level.  However, what I want to do is have it locked down on the machine level.
    We have multiple users that use both "Thin Clients" with Windows 7 Embedded and we also have them using other PC's with using the same log in.
    So, for example when you create an OU for "Thin Clients", I want thin client devices in there and when people log in to these thin clients then the start menu will be locked down.  I want this to be user independent and thus I don't want Users
    in the OU, but I want to lock down the start menu.
    How can I do this with Group Policy Objects on a domain level?

    Hi,
    you could achieve this using GPO loopback processing. It was designed for the purpose of applying settings from user GPO to a certain group of computers.
    http://technet.microsoft.com/en-us/library/cc978513.aspx
    MCP/MCSA/MCTS/MCITP

  • Question about xml schemas and the use of unqualified nested elements

    Hello,
    I have the following schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns="http://xml.netbeans.org/examples/targetNS"
        targetNamespace="http://xml.netbeans.org/examples/targetNS"
        elementFormDefault="unqualified">
        <xsd:element name="name" type="xsd:string"/>
        <xsd:element name="age" type="xsd:int"/>
        <xsd:element name="person">
            <xsd:complexType>
                <xsd:sequence>
                    <xsd:element ref="name"/>
                    <xsd:element ref="age"/>
                   <xsd:element name="height" type="xsd:int"/>
                </xsd:sequence>
            </xsd:complexType>
        </xsd:element>
    </xsd:schema>I am just wondering why would someone have a nested element that is unqualified? here the "height" element.
    Can anyone explain this to me please?
    Thanks in advance,
    Julien.
    here is an instance xml document
    <?xml version="1.0" encoding="UTF-8"?>
    <person xmlns='http://xml.netbeans.org/examples/targetNS'
      xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
      xsi:schemaLocation='http://xml.netbeans.org/examples/targetNS file:/E:/dev/java/XML/WebApplicationXML/web/newXMLSchemaThree.xsd'>
    <name>toto</name>
    <age>40</age>
    <height>180</height>
    </person>

    Don't worry about it.
    There are two different styles of schemas. In one style, you define the elements, attributes, etc. at the top, and then use the "ref" form to refer to them. (I call this the "global" style.) The other style is to define elements inline where they are used. ("local" style)
    Within some bounds, they work the same and which you use is a choice of you and the tools that generate the schemas.
    A warning about the local style. It is possible to define an element in two different locations in the schema that are different. It will get past all schema validation, but it seems wrong to my sense of esthetics. With the global style, this will not happen.
    So, how did this happen? Probably one person did the schema when it only had a name and age. Then, someone else added the height element. They either used a different tool, or preferred the other style. I'm aware of no difference in the document you have described between the two styles.
    Dave Patterson

  • Question about setting conditions in searches using SQL

    I am trying to search through a table where the "Score" column hs to be in between two numbers.
    Table Test:
    Name: #
    Tom 40
    Tom 60
    Tom 50
    joe 60
    If i were to search for "Tom" nomally i get all 3 back. Regardless of the code for SQL(assume it works) will the search display only Tom 40 and Tom 50 is i want between 40 and 60? In other words if the condition field has a valid sql expression that works do i need to write anything to display the data in SQl or it will be fixed automatically?

    SQL> select * from test;
    NAME SCORE
    Tom 40
    Tom 60
    Tom 50
    Joe 60
    SQL> select * from test
    2 where name = 'Tom';
    NAME SCORE
    Tom 40
    Tom 60
    Tom 50
    SQL> select * from test
    2 where score between 40 and 60;
    NAME SCORE
    Tom 40
    Tom 60
    Tom 50
    Joe 60
    When you use the 'between' operator the search for score includes both 40 and 60. In case of this example, if you were to display only Tom's scores of 40 and 50, you should use the following select statement.
    Select * from test
    where score >= 40
    and score < 60;
    SQL> Select * from test
    2 where score >= 40
    3 and score < 60;
    NAME SCORE
    Tom 40
    Tom 50

  • How to set window title using cfdocument format="FlashPaper" ?

    Does anyone know how to set the the browser window title when using:
    <cfdocument format="FlashPaper">
    #docContent#
    </cfdocument>
    The variable docContent is a fully formed html document, complete with <head> and <title> elements, yet <cfdocument> doesn't pick up the title I've specified. I'm wondering if anyone has done this before???
    Thanks!

    Yes, I tried that, but <cfdocument> replaces any content that I add. I cannot view the source for the page, but at least according to FireBug, when I view the page contents, I get:
    <html>
    <head>
    <title>print.cfm - print.cfm (application/x-shockwave-flash Object)</title>
    </head>
    <body marginwidth="0" marginheight="0">
    <embed width="100%" height="100%" type="plugin" src="http://127.0.0.1/tss/print.cfm?id=expeditions_staff&start=1" type="application/x-shockwave-flash">
    </body>
    </html>

  • Question about setting cookies and custom authentication

    I have a question about setting cookies.
    I have two different 'projects' in HTMLDB - we will call them App1 and App2.
    I also have two different connection configurations setup in the DADs.conf file. - we will call them Connect1 and Connect2.
    App1 is setup to use database authentication (no user is specified in the DAD) and uses Connect1. Once the user successfully logs in, we set a username cookie (this is a persistent connection).
    We created a custom authenticatoin scheme for App2 - this scheme checks for the username cookie (set by App1). We would like for App2 to use Connect2 (HTMLDB_PUBLIC_USER is the default user specified and it uses connection pooling).
    Is it possible to set a cookie from App1, Connect1 for App2, Connect2 - then redirect to App2 and pick up that cookie?
    Here is an example of what we are trying to accomplish:
    A user loggs into App1, we set a cookie, and the user is redirected to App2. If the cookie exists, we allow them access to the home page in App2, if no cookie, we redirect back to a 'Login Failed' page in App1. We don't want App2 to use the same database connection as App1 though, we need App2 to use connection pooling.
    Is this possible? OR...Is there a better way to accomplish what we want to do?
    This is an enhancement to an existing app. Our requirements are to use Database Authentication (setup where pass expires after 60 days or so, cannot reuse last 3 passwords, etc.) - which is already setup and being used by other applications in our organization. All of our users have accounts in the database. We don't want users to have a new username/pass - and we don't want to manage a separate group for HTMLDB apps.
    The existing application uses HTMLDB's built in authentication - which uses database username/pass, and it uses connection pooling, but we cannot handle the pass expire stuff in it, unless there's something we're not seeing or understanding - at least that's how our DBA explained it to us.
    Any help with this will be appreciated so much. I can send you the code we have if needed.
    Thanks!

    Same problem here.  I have so many problems with this remote app.  Is there an iTunes API? I would like to write my own remote app that actually works.

  • Question about setting Rows to "All" for defualt Interactive Report

    I have a default report with 2 user requirements that I have some questions about.
    1. The report in the data sould be 90 days old.
    2. The report show "All" rows.
    First to set the date I have this page process:
    apex_util.ir_clear(p_page_id => 2);
    apex_util.ir_filter(p_page_id=>2,
    p_report_column=>'REQUISITION_DATE',
    p_operator_abbr=>'GTE',
    p_filter_value=>SYSDATE - 90);
    I also set the rows to "All" and save the report to be the default. However I think when the "apex_util.ir_clear(p_page_id => 2)" is executed it clears someting and my report opens with rows set to "15".
    Any ideas on this or even a better way to do it?

    the following link may help...
    It says that the ir_clear "Clears any report filters including default filters"
    apex_util.ir_* documentation - where to find them?
    Gus..

  • Question about setting up rdp using a cisco 800 series router

    HI there,
    I am currently in school for networking. One co-op placement I went too handed me a cisco 800 series router to practice my routing skills on. I am trying to setup RDP so I can access my server from outside my internal network. I ran this following acl command to do it.
    ip nat inside source static tcp server IP address port# cable modem IP port # extendable.
    My question here is, my cable modem will occasionally hand out a different IP since it has DCHP. I cannot turn DHCP off in my cable modem. So is there a way I can set this up to use a dynamic IP from my modem so I alwasy have access to it or every time my modem changes the IP address do I have to go in and modify this acl?

    Configure DDNS ( Dynamic DNS ) on the router. For this you need to register with a DDNS provider. Go to
    http://www.no-ip.com/ . they provide free reliable service.
    With DDNS, Once your router gets a DHCP address from your ISP , it will dynamically update the DNS name record. For example if you register you routers name as, "myrouter.no-ip.org",  from there onwards whatever the IP your router gets, you can refer to that by this name.
    So do as what Paolo said regarding using interface instead of ip, and register with the DDNS and you are good to go..
    Hope this helps
    Please rate this post if helpful..
    Thanks
    Shamal

  • Newbie question about setting the date of a UIDatePicker

    I created a UIDatePicker in my view and called it targetDate.
    If I don't set targetDate's date property, the UIDatePicker shows up by default with a date of November 30, 0002.
    So, when the view loads, I did this:
    NSDate *today = [NSDate date];
    targetDate.date = today;
    (Note: in the above expression, the square brackets around "NSDate date" don't show up and are turning the expression into a link instead.)
    After doing that, when the view loads the UIDatePicker object initially shows the correct month and date, but it shows 0001 as the year.
    So my question is, why doesn't this set the correct year?
    In the Interface Builder the UIDatePicker's minimum and maximum dates are set from 1/1/0001 to 1/1/4001. I don't know if that has anything to do with the problem. I assumed that was just setting the allowed range for picking.
    I don't know what the "Date" setting field in the IB above the minimum date field is supposed to be for either.
    Anyway, am I not setting the date property correctly?
    Thanks,
    doug
    Message was edited by: Doug Lerner2

    Instead of setting the .date property when the view loads I ended setting it when the UIDatePicker is displayed and the date setting works ok now.
    By the by, if you have very early dates set, like January 1, 0001, the dates of the months are off by a few days. I guess that has to do with the whatever happened like 1000 years ago when they made a big adjustment to the calendars.
    doug

  • Question about Kurts comments discussing the seperation of AIA & CDP - Test Lab Guide: Deploying an AD CS Two-Tier PKI Hierarchy - Kurt L Hudson MSFT

    Question about the sentence in bold. What is the meaning behind this comment?
    How would you separate the role of the AIA and CDP from a CA subordinate server? I can see where I add a CES and CEP server which has those as well, but I don't completely understand his comment. Because in this second step, (http://technet.microsoft.com/en-us/library/tlg-key-based-renewal.aspx)
    he shows how to implement CES and CEP.
    This is from the guide located at: http://technet.microsoft.com/library/hh831348.aspx
    Step 3: Configure APP1 to distribute certificates and CRLs
    In the extensions of the root CA, it was stated that the CRL from the root CA would be available via http://www.contoso.com/pki. Currently, there is not a PKI virtual directory on APP1, so one must be created.
    In a production environment, you would typically separate the issuing CA role from the role of hosting the AIA and CDP.
    However, this lab combines both in order to reduce the number of resources needed to complete the lab.
    Thanks,
    James

    My concern is, they have a 2-3k base of xp systems, over this year they are migrating them to Windows 7. During this time they will also be upgrading hardware for the existing windows 7 machines. The turnover of certificates are going to be high, which
    from what I've read here, it worries me.
    http://blogs.technet.com/b/askds/archive/2009/06/24/implementing-an-ocsp-responder-part-i-introducing-ocsp.aspx
    The application then can go to those locations to download the CRL. There are, however, some potential issues with this scenario. CRLs over time can get rather large
    depending on the number of certificates issued and revoked. If CRLs grow to a large size, and many clients have to download CRLs, this can have a negative impact on network performance. More importantly, by
    default Windows clients will timeout after 15 seconds while trying to download a CRL. Additionally,
    CRLs have information about every currently valid certificate that has been revoked, which is an excessive amount of data given the fact that an application may only need the revocation status for a few certificates. So,
    aside from downloading the CRL, the application or the OS has to parse the CRL and find a match for the serial number of the certificate that has been revoked.
    With the above limitations, which mostly revolve around scalability, it is clear that there are some drawbacks to using CRLs. Hence, the introduction of Online Certificate
    Status Protocol (OCSP). OCSP reduces the overhead associated with CRLs. There are server/client components to OCSP: The OCSP responder, which is the server component, and the OCSP Client. The OCSP Responder accepts status
    requests from OCSP Clients. When the OCSP Responder receives the request from the client it then needs to determine the status of the certificate using the serial number presented by the client. First the OCSP Responder determines if it has any cached responses
    for the same request. If it does, it can then send that response to the client. If there is no cached response, the OCSP Responder then checks to see if it has the CRL issued by the CA cached locally on the OCSP. If it does, it can check the revocation status
    locally, and send a response to the client stating whether the certificate is valid or revoked. The response is signed by the OCSP Signing Certificate that is selected during installation. If the OCSP does not have the CRL cached locally, the OCSP Responder
    can retrieve the CRL from the CDP locations listed in the certificate. The OCSP Responder then can parse the CRL to determine the revocation status, and send the appropriate response to the client.

  • Questions about Objects, pointers, and the memory that loves them

    Hey,
    This is all just a theoretical discussion so do understand that the code itself is not germane to the topic.
    I have been mulling over the whole object release/retain/copy thing and need to understand a bit more the real inner workings of the beast. The catalyst for this is the repetitional fervor that most books on the subject of Objective C have employed. Yet they all seem to fail in a complete explanation of the whys and wherefores so that one can determine on her own the correct implementation of this.
    Let's say I have an Object. For the fun of it it is an instance of NSObject and we'll call it myObject.
    When I "create" this object thusly:
    NSObject *myObject = [[NSObject alloc] init];
    What I, in fact get back is a pointer to the object in question, yes?
    So when I "seemingly" add this object to an array like:
    NSArray *myArray = [[NSArray alloc] initWithObject:myObject];
    What is actually placed in the array? is it another pointer to the original object created by myObject or is it a pointer to the pointer of myObject?
    The reason I ask this is because I have run into a situation where some previous instructions on the subject have caused errors. I was told that if I did something like this and then passed the array to a calling method that I could release this array and it would then be the responsibility of the calling method to handle the memory. Further more if I place an object into an array and then copy it into another object of the same type as the original then I could release the array and still have the reference to the first object in the second object. When I have done this I get unpredictable results, sometimes the original object is there and sometimes it isn't
    At what point should I release the array, after it is passed to the calling method (with the use of an autorelease) or when the class that it is encapsulated in is done?
    Sorry about the length of this but I can't believe that I would be the only one that would be helped by such a discussion.
    MM

    etresoft,
    Thanks for the detailed reply. I wish I could say that I wasn't still a bit confused by this. I thought I had this down after going through the lessons. It seems to not be working in practice the way that it works in theory.
    My current project is an example
    In a class I have declared a couple of ivars thusly:
    NSMutableString *source;
    NSMutableString *destination;
    @property (nonatomic, retain) NSMutableString *source;
    @property (nonatomic, retain) NSMutableString *destination;
    This is followed by the appropriate @synthesize directives.
    in the init method for my class I have the following:
    source = [[NSMutableString alloc] initWithString:@"customer"];
    destination = [[NSMutableString alloc] initWithString:@"home"];
    in a method triggered by a button click I have the following:
    if (sender == sourcePop){
    source = [sourcePop titleOfSelectedItem];
    }else{
    destination = [destinationPop titleOfSelectedItem];
    NSLog(@"SOURCE-%@", source);
    NSLog(@"DESTINATION-%@", destination);
    When I run the code and change the source selection the console reads the correct value for what is in the source popupbutton and "home" for the destination. If I then change the destination popupbutton I get a crash and nothing written to the console.
    Placing a breakpoint at the beginning of the "if" and running shows me that just before the crash the source ivar is reported as "out of scope." There are no release or autorelease statements for this ivar anywhere in the class. Yet if I change the line that sets the ivar to the value of the popupbutton to this:
    [source = [sourcePop titleOfSelectedItem] retain];
    The debugger will have the correct value for the ivar and when run normally there is no crash.
    I would assume that the problem is that the ivar is being released but I am not the one releasing it. Why does this behavior happen? Shouldn't the retain count still be 1 since the @property directive has it and there is no release in the code? Or is it that the statement that sets the ivar to the value of the popup really just setting it to the pointer and it is the popup that is somehow being released?
    Is there something else that I should be doing?
    MM

  • I have a question about japan new depriciation engine using non-japanese chart of deprication

    Hi, all
    I have a question about link between new depriciation engine and chart of depriciation.
    My client want to use US chart of depriciation as standard chart of depriciation becuase it has already standard setting like IAS deprication keys.
    it means I have to create Japanese chart of depriciation by copying from US chart of depriciation(non-japanese sample(0JP))
    I have a little doubt about it. In my previous project, I copyed chart of depriciation by copy from Japan sample Chart of depriciation(0JP) stored in SAP.
    Is it possible to copy from non-japan sample charg of depriciation to using Japanese new depriciation engine? I worried some errors will occrues if I do not use sample chart of depriciation(0JP) .
    If I need to use sample Japanese chart of depriciation, please give me the idea why I need to use Japanese sample chart of depriciation. I want to know the examples of non-Japanese asset accouting consultants who have working experience in the area.
    Thank you.

    Hi, Narasimhulu
    Thank you for your support.
    My client use one COA to all over the world. And not only Japan, other country aslo use the COD which is copied from that of US. Basic reporting line is for USGAP. I will customize 2 depriciation ares, one for US GAP and another is JGAP. No need to create TAX realted customize.  It means it enought only adding Japanese new depriciation keys to Current US COD. No need to add more Japanese local requirements.
    In this case, I want to know follwoing point.
    I know COD controll depriciation keys, but I want to know more detail about COD, what kinds of controls COD do. What is Japanese local requirements. Why better to use COPY of JP COD.
    Thank you.

  • Question about setting track level

    Hi I finally got my new macbook pro and moto 8 pre and have just today tried a bit of recording just to get used to it. I am at the moment using garage band. I have a question about track levels. In Garage Band when I select a track to record there is a slider for input level or an option of clicking the automatic level control. But for some reason they are both just that color of grey you get when something can not be selected on a computer. How do I activate this? It's strange as I did actually manage to record the track, I just can't seem to really adjust the level. I thought maybe it has to do with the motu and I can only select the track level there, and that garage band level setting are (rightfully) disabled? Maybe that's what I should be doing, but just a bit confused. Anyway, thanks in advance for whoever takes the time to help out a newbie.

    Ah, ok. Good to know. Thanks for the info.

  • Question about 74GB Raptor and the ubiquitous "F6"

    Hey All,
        I just installed my raptor and Windows XP, then SP2, etc.  without any problems.  I didn't press F6 before the Windows install.  I'm rather disappointed with the speed of the Raptor given all the good reviews I've heard about its speed.  Everything works pretty well and Windows identifies the HD.  I've installed it on SATA3 in case I want to overclock.  Anyway, my question is:  Would reinstalling Windows but doing the whole "F6" SATA Driver install help to improve performance?
    Here's my speed test results from Device Manager:
    Theoretical Limit: 150
    Burst Speed: 113.4
    Sustained Speed: 71.3
    HD is listed as WDC WD740GD-00FLA2
    I have the nVidia nForce3 250 Parallel and Serial ATA Controller (v2.6) listed.  I have installed newest nForce Drivers.  Should I enable Command Queing?  Any BIOS options that would help?   Thanks!
    AMD Athlon 64 3500+  90nm Micron
    MSI K8N Neo2 Platinum
    WD Raptor 74GB
    ATI Radeon 9800 XT
    512 MB PC3200 Corsair at 2.5-3-3-6

    Anyone notice performance increase or decrease of their HD when using the nVidia IDE SW drivers?  particularly with a 74GB Raptor?  I've also heard of burner issues when installing the IDE SW but have not used my burner yet.

Maybe you are looking for

  • Favoritos somem e retornam errados depois de importação

    Atualizei o navegador firefox para a versão 24 release, utilizei ele normalmente e apos fechei e quando iniciei ele de novo os favoritos tinham todos sumidos, como eu venho tendo o mesmo problema desde a versão 20, eu sempre faço backup dos favoritos

  • Error in invoking target 'nnfgt.o'

    Dear Experts, I'm upgrading my Oracle patch set 10.2.0.4 to 10.2.0.5. but while installing the patch set I'm getting the following error "NFO: Internal Error: Codeword file /opt/aCC/newconfig/aCC.cwd,/opt/aCC/newconfig/ansic.cwd missing or empty. INF

  • Audio is not detected / Windows 8

    First I was having trouble to open the program. It was happening the following error: "Adobe Premiere Pro Startup Error Adobe Premiere Pro could not find any capable video play modules. Please update your video display drivers and start again." I sol

  • ClassCastException on Deployment in Weblogic 10.3

    When I am deploying my application in Weblogic 10.3, I am getting below Exception. weblogic.application.ModuleException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory Earlier I had no problem with Weblogic 8.1.

  • Why is Firewall disabled by default?

    I cannot understand why Apple would do such a thing. If your computer is hooked directly up to a cable modem. You have absolutely no security. This is a terrible thing to do. What's even worse is that if you had Firewall on in Leopard. Even if you do