How to retrieve the path and the name of the destination file in a link annotation
Hi,
In C++:
How to retrieve the path and the name of the destination file in a link annotation and a Launch action.
Sample of my code:
//Determine if the annotation is a Link annotation
if (PDAnnotGetSubtype(annot) == ASAtomFromString("Link")) {
//Determine if the action is a Launch action
if (PDActionGetSubtype(action) == ASAtomFromString("Launch")) {
// What is the method ?
Regards
David G
In general, get the annotation as a Cos object and examine it, in
accordance with the PDF Reference.
Aandi Inston
Similar Messages
-
How to show the First and Last name of the user instead of user name
Gurus,
We have the full email id of the user as the portal user name. Right now we are using the "Item Attributes - Current User" to show the user name. We don't want to show this anymore. We would like to show the First and Last name of the user on the Portal page. How can i do this. Please post a reply if you have some idea about it.
Thanks
Raj
---------I believe this is possible using the security APIs. See http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/PLSQL/DOC/PLDOC_9026/INDEX.HTML and look for person_info (Returns user information, given a user name)
under wwsec_api
Suggest posting any follow-up questions to the Security forum - http://forums.oracle.com/forums/forum.jsp?forum=6 -
How do I get errors in Maps corrected? It shows the subdivision I live in, The streets and houses are in the correct place, however it does not name the streets. It then shows the correct street names in the middle of a field about a mile down the street from my subdivision.
Similar issues here.
I purchased five movies for download and having nothing but problems getting them downloaded. I keep receiving error messages and the download stops and I have to restart it, just to get another minute worth of download with each restart. Now Apple has my money and I have nothing. -
I recently broke my 2008 macbook. i was able to use an external hardrive to back up my data onto My Passport. I was going to buy a new computer but a friend told me sher had an older version of the iMac. (not sure how old but it doesnt have a camera if that helps) i was able to hook it up and turn it on but i ran into a few problems. 1) the "authentic" user or whatever it says is someone who previously used the computer. i added me as a user but im not sure how to make me the main user. 2) after hooking up My Passport, i was able to drag my files and copy them to the desktop.(i think i did it correctly) now, i dont know how to make my hard drive and applications and iformation the "main " info. The current apps on the iMac are super old versions of iTunes and iPhoto and such. 3) while trying to open the apps from my macbook on the iMac, it said it didnt have the right software to open these apps.
I am so computer illiterate so someone please help!!! Also, i do not have internet in my new apartment yet so if there is a way to make this happen without using the internet that would be preferred. sorry for the horrible spelling and poorly written paragraph.
THANK YOU!!You are not going to be able to run your old system from the backup on this old computer as the hardware is incompatible.
You need to get a new computer or a refurbished one. -
How to find the tablespace name and schema name from a dump file
Good day to all,
I recived a dump file from a client with oracle 11g, and I need do get the tablespace and schema name from the dump file. How can I do that?
Thanks.
Flávio Melo
Edited by: 933141 on 09/05/2012 07:41user12038066 wrote:
Use imp utility, it generates DDL for both tables and indexes. So you will get tablespace info for both.
Use impdp utility, it generates DDL for indexes only. So you will miss tablesapce info for tables.
Haven't found a workaround for impdp utility. Anyone knows?Are you sure you are using the impdp utility correctly? Because if you do, then sqlfile should have all gory details. -
How to Find what are tables and "Table Name" in particular "Data File"
hi Team,
I have one database that database 300 gb size , this database having 6 ndf files ,
here How to Find what are the tables and "Table Name" in particular "Data File"[.ndf]Hi,
In addition to Prashanth’s suggestion, you can also use the following Transact-SQL statements to get more detailed information including all objects and indexes per Filegroup / Partition and allocated data size of databases.
The script can work with Microsoft SQL Server 2005 and higher version in all Editions. For more details, please review this article:
List all Objects and Indexes per Filegroup / Partition.
-- List all Objects and Indexes
-- per Filegroup / Partition and Allocation Type
-- including the allocated data size
SELECT DS.name AS DataSpaceName
,AU.type_desc AS AllocationDesc
,AU.total_pages / 128 AS TotalSizeMB
,AU.used_pages / 128 AS UsedSizeMB
,AU.data_pages / 128 AS DataSizeMB
,SCH.name AS SchemaName
,OBJ.type_desc AS ObjectType
,OBJ.name AS ObjectName
,IDX.type_desc AS IndexType
,IDX.name AS IndexName
FROM sys.data_spaces AS DS
INNER JOIN sys.allocation_units AS AU
ON DS.data_space_id = AU.data_space_id
INNER JOIN sys.partitions AS PA
ON (AU.type IN (1, 3)
AND AU.container_id = PA.hobt_id)
OR
(AU.type = 2
AND AU.container_id = PA.partition_id)
INNER JOIN sys.objects AS OBJ
ON PA.object_id = OBJ.object_id
INNER JOIN sys.schemas AS SCH
ON OBJ.schema_id = SCH.schema_id
LEFT JOIN sys.indexes AS IDX
ON PA.object_id = IDX.object_id
AND PA.index_id = IDX.index_id
WHERE OBJ.type_desc='USER_TABLE'-- add this WHERE clause to display the information of user tables
ORDER BY DS.name
,SCH.name
,OBJ.name
,IDX.name
Thanks,
Lydia Zhang -
Sophos found this on my mac mini (early 2009) - OSX/FkCodec-A and could not clean it up. I am running Yosemite 10.10 and the path and filename for this Trojan is /Volumes/macvexe/macvexe.app/Contents/MacOS/mac.installer. Could someone please tell me how to get rid of it as Sophos is unable to remove and Trash can remove it.
outdoor,
How did you originally install iWork on the Mac Pro? was it preinstalled? The machine seems old enough that you should have an original install DVD that came with the mac pro.
Amazon has the install DVDs for iWork '09:
http://www.amazon.com/s/ref=nb_sb_noss_1?url=search-alias%3Daps&field-keywords=i Work+%2709
To move tables between sheets you can select the table, copy, then paste after activating (by clicking) the destination sheet. If you really mean move, then use the cut command (rather than copy).
To copy... use the menu item "Edit > Copy"
To cut... use the menu item "Edit > Cut"
Then paste in the destination -
Specify the output file path and print name when printing pages
hi,
how can i Specify the output pdf file path and print name when i am using the function PrintPagesSilent from AcroAVDoc Object.
My Code :-
Acrobat.AcroAVDoc doc = new Acrobat.AcroAVDoc();doc.Open(path,
"temp");Dear Irosenth,
i try with different format (doc, docx, xls, jpg, bmp and txt) and it working successfully, but it give an random name for the file which saved in default folder for Adobe PDF print.
you can use the following function:
private void PrintPDF(string[] inputfilepath){
foreach (string path in inputfilepath){
Acrobat.
AcroAVDoc doc = new Acrobat.AcroAVDoc();doc.Open(path,
"temp");
Boolean v = doc.PrintPagesSilent(0, ((Acrobat.AcroPDDoc)(doc.GetPDDoc())).GetNumPages() - 1, 0, 0, 1);doc.Close(1);
and calling it by the following code:
PrintPDF(System.IO.Directory.GetFiles("c:\\t\\printjob"));
copy all files that you want to convert in side the mentioned path and run it program, then check the defualt print path for Adobe PDF printer.
test it and reply me. thanks again -
How can I hide the password and user name in url???
Hi experts,
I'm creating a login page and know I have a problem.
The Username and password are verified in a Java class, after checking the user and password, the user should be linked to the portal.
So far everything has worked well.
But when I call the lin like this
res.sendRedirect ("/ irj / portal j_user =" + UserN + "& j_password =" + passw);
then the user name and Pwasswort appears in the url.
Can someone tell me how can I hide the password and user name???
It will be very helpful.
Thank you
Edited by: Cilvaring on Aug 5, 2011 12:00 PMIf there is no specific reason that you have to use sendredirect...thne you can try request.forward.....
RequestDispatcher rd = request.getRequestDispatcher("pathToResource");
rd.forward(request, response); -
How to show company name and contact name on the incoming calls of iPhone 4
Kindly provide me with a useful solution of how to show company name and contact name on the incoming calls of iPhone4.
even with an application or from the setting of the iPhone itself, but without telling me a solution like writting the company name in the contact name field.
This is a very important option, i think it is a must, not an option and apple should fix this problem fastly. because it is already available in the older models of iPhone like iPhone 3G and 3GS.
How an important feature like this could be available in old models, but in the later models is not available?Currently not possible without putting the company name in the contact name's field. AFAIK, it's never been available on any iOS version.
You might check the App Store for an app that can do this although I'm pretty sure you won't find one.
http://www.apple.com/feedback/iphone.html -
How to retrieve Task Lists from All Subsites to the Parent Site and display in Grid view using CAML Query + object model
do u just want task list or items under task list for all subsites
for items use spsitedataquery ref
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsitedataquery.aspx use recursive to get it from alll subsite under site collection
for tasklist only u can a simply use a for loop to find in all subsite
Manish Sati -
I lost all of my artist names and album names for my iTunes library. They are all now on one album. How can I get the album and artist names back?
I have a script called ExportImport for this task, but it only runs in Windows.
In principle something similar should be possible in AppleScript, but I don't currently have access to a Mac to write it myself.
tt2 -
How can I display the first and last name using a paramater as employee ID?
Hi SAP,
I have a parameter that is called {? Employee ID}. What I want to do is display the first and last name based on the employee ID value entered in {? Employee ID} in the page header of the report. Right now, when I put the following formula in the page header only some pages get the right result while other pages dont....
if table.employeeid = {? Employee ID} then
table.firstname" "table.lastname
It appears as though if the first record in the details section on the beginning of each page happens to be the employee under {? Employee ID} then it prints it correctly, if it isn't I get a null value in the page header.
Anyone have any ideas?
ZHi Try this,
Whileprintingrecords;
if ={?EmpID} then
Also check the option "Default values for null" in the formula editor.
Regards,
Vinay -
How find print program and form name from the spool list
Hi,
I have a requirement to find print program and form name from the spool list.
I got the list of programs and forms from TNAPR table, I also want to find out any custom program sending the form directly to the spool.
Cheers
SamHi
Try TSP01-Suffix2
Regards
Raj -
Set the path and class path in windows xp professional
hi guys....could any one tell me step by step on how to set the path and classpath on windows xp professioanl? This is my path and classpath
set path = %path%;C:\jdk1.3.1_02\bin;c:\JOpen672.jar;c:\
set CLASSPATH = c:\j2sdkee1.3.1\lib\j2ee.jar;c:\JOpen672.Jar;c:\;c:\postgresql.jar;c:\jai_core.jar
not working please help me on this thanks alot.
noviceproBelow is a Helloworld program, copy and paste it into your editor and save it as "HelloWorld.java" Use capitalization, Java is case-sensitive. If you're using Notepad, quote the name when saving, otherwise Notepad adds ".txt" to the name. Go to DOS and check that you've got the file where you want it and that it's named correctly.
----------program HelloWorld.java--------------
public class HelloWorld {
public static void main (String[] args) {
System.out.println("Hello World!");
In the same directory as HelloWorld.java, enter "javac" - the program should print out a list of options, if not, set your PATH - see below.
In the same directory as HelloWorld.java, enter "javac HelloWorld.java" and the javac compiler will create HelloWorld.class. If it was successful it will not give any messages. Check that the file is created.
In the same directory as HelloWorld.java, enter "java -cp . HelloWorld" with the spaces and the period. The program will run.
Here is additional information:
The Path is a set of pointers that Windows uses to locate programs that you execute, like javac.exe and java.exe. This setting is explained here:
http://java.sun.com/j2se/1.4/install-windows.html
Scroll down to: 5. Update the PATH variable
(you should have already done this as part of the s/w installation)
The CLASSPATH is another set of pointers that is used by Java to find the files that you create and want compiled and/or run. This setting is explained here:
Setting the Classpath:
http://java.sun.com/j2se/1.4/docs/tooldocs/windows/classpath.html
[NOTE: always start your classpath with ".;" which means the current directory. See my classpath, below]
How Classes are Found:
http://java.sun.com/j2se/1.4/docs/tooldocs/findingclasses.html
Examples:
This is my path
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BATCH;C:\J2SDK1.4.0_01\BIN;C:\PROGRA~1\UTILIT~1;C:\PROGRA~1\WIN98RK
This is my classpath
CLASSPATH=.;C:\mjava;C:\mnrx;C:\NetRexx\lib\NetRexxC.jar;C:\j2sdk1.4.0_1\lib\tools.jar;C:\NetRexx\NrxRedBk
Maybe you are looking for
-
How to open front panel of a VI running in RT.
Hi, I have an application to read the encoder position using the cRIO program. I have made an executable and this application runs as startup application whenever the controller reboots. Right now, i am accessing the VI of the startup exe through Rem
-
My iTouch has stopped working. I press power button and it still doesn't work. I charged it for many hours and nothing. Any help?
-
Testing Thunderbird 10 and/or Lightning
I forwarded this message (originally sent to the thunderbird-dev mailing list) to the Comms Suite mailing list ([email protected]). I'm posting it here on the forum for those who aren't subscribed to the mailing list.... >>> Dear Thunderbird tester
-
Service charge for Customer materials..?
Hi Our customer is giving us some material and asking us to do some service on it.Material given by customer some service work we will do it in our company .how to carryout this scenario? IN MM module we have a functionality called subcontracting.
-
Airport Extreme and USB Printer Problem
I have an Epson printer connected to the USB port of my Airport Extreme. This has worked just fine for years. But from today neither my iMac nor my MacBook Air can "see" the printer any more. I have rebooted everything a couple of times, but still