How to remove links on the same page?

I have PDF documents with links to referenced sections (for example the text link "Article 2.2" points to the real page number of "article 2.2" "), but as the links are created from the cross references in the interpretation of the word to PDF, there are cases that the destination page number and the number of the page source of the links are identical (for example, text links"section 2.2 "on page 9 are created with the destination on page 9, which is the actual page the number of"Article 2.2"), I want to delete all these links, but I don't know how to get the landing page, I check the QAnywhere and finds that"PDLinkAnnotGetAction"may work, but I don't know how to use it, you could me check codes below and advise? Your help is really appreciated!

PDPage page;

ASInt32 i, of i2.

AVDoc avDoc = AVAppGetActiveDoc();

PDDoc pdDoc = AVDocGetPDDoc (avDoc);

int pageNum = PDDocGetNumPages (pdDoc);

for (i = pageNum - 1; i > = 0; i--)

{

page = PDDocAcquirePage (pdDoc, i);

int annotNum = PDPageGetNumAnnots (page);

for (i2 = annotNum - 1; i2 > = 0; i2-)

{

If...

PDPageRemoveAnnot (i, i2);

}

}

My product information:
Acrobat Pro 8.1.6, Windows

Start by reading the PDF standard (ISO 32000 - 1) to understand the Actions vs Destinations.

Then for each annot, you'll want to see that she (and in the case of an Action, if it has more than one).  Next, you need to analyze the action or dest to see what it is and where it goes.  If you do not, you will delete it.

From: Adobe Forums [email protected]<>[email protected]>

Reply-To: "[email protected]<>[email protected]> ' [email protected]<>[email protected]>" "

Date: Tuesday, October 25, 2011 09:25:32-0700

To: Leonard Rosenthol [email protected]<>[email protected]>

Topic: How to remove links to the same page?

How to remove links on the same page?

created byhttp://forums.adobe.com/people/OALDOALD > in Acrobat SDK - see the discussion complete onhttp://forums.adobe.com/message/3989576#3989576

Tags: Acrobat

Similar Questions

  • IS THIS POSSIBLE AND IF YES COLOR 'HOW' TO HAVE DIFFERENT LINKS ON THE SAME PAGE?

    Hello

    IS THIS POSSIBLE AND IF YES COLOR 'HOW' TO HAVE DIFFERENT LINKS ON THE SAME PAGE?

    How to replace the color of Page link?

    See you soon,.

    Dreamer101.1

    Yes, it is possible, using CSS.

    Here's how. You already know that the link colors are set in the following css rules:

    • a: link
    • a: active
    • a: visited
    • a: hover

    All you have to do to have another set of links of different colors is to create another set of rules that set different colors and also have different names:

    • a.name1:link
    • a.name1: active
    • a.name1:visited
    • a.name1:hover

    Can link you these rules to the anchor as a class tag: something.

    You can have as many sets of rules to link given that the names you can think of.

    Happy linking!

  • Different coloured links on the same page

    If I set up different coloured links on the same page, it does not work on firefox but on other browsers it is fine.
    Example: -.
    a.Yellow:Link {color: #FFFF00}

    Any suggestions?

    Thank you!

    Martin

    http://www.w3schools.com/CSS/css_pseudo_classes.asp

    You have it tired with the color?

  • How to remove movies from the summary page

    With the help of iTunes version 12.4.  Can anyone help in my attempts to remove movies at home summary page in iTunes?  I was able to remove movies from my iPhone and iPad and unchecked on the summary in the movies tab page.  However, films controlled and deleted still appear in the section summary of movies.  Cannot find a delete any action to remove unwanted movies.  This has to do with the deletion in iTunes itself on a Windows version 10.

    Steve

    FOUND THE ANSWER!  From a previous post-, I had the same problem. You cannot remove them from the summary page. Cannot you.

    In the app iTunes on Mac or PC, without your phone, from the drop-down menu at the top left - select movies and then click on, select, Home Videos. In the next screen, select the home theater and right click. This will allow you to remove. Once you reconnect your phone and sync, the cinema will be gone from your Summary Page!

    Steve

  • How to recharge and refresh the same page by pressing a button on the same page

    Hello
    I have page ex: page 3
    on page 3, I have a few Iframes through which I call few reports Interacticve. If someone modifies any event for any of the intrecative reports in their corresponding pages I want to refresh current page3 page IE pressing the button refresh? I know it's newbie question?


    Thank you
    Manoi

    Create a Refresh"" button. Redirect optional URL section, select the target as a page and enter the number of the current page (as 3). Also enter number of page 3 to clear memory cache.
    This will reload the same page.

    See you soon,.
    Hari

  • How to create different attributes of link on the same page?

    I am using the CSS links for my menu. The links are white, big and fat, but I want an e-mail link to be a different color, the police and the smallest in size. How can I do this?

    Clark9 wrote:

    In the file.css: I typed: #email a {color: #000000}

    It did not work. What I am doing wrong?

    #email one is a descendant selector, which means a link that is a descendant of an element with the email ID. However, your ID is in the opening tag of the link, the link is not a descendant of email. The following should work:

    #email { color: #000000; }
    

    If it doesn't, it changes to this:

    a#email { color: #000000; }
    

    That means "a link with the email ID.

  • How to remove two of the same applications on the home screen?

    On my home screen - I have two shortcuts for "Gallery" - when I try to drag and drop any shortcut to the Red trash can be downloaded on the homescreen-, it goes back to its place on the home screen, and I still have two of the same icons. Anyone know how to remove one of my home screen? Also, when I try to use one of the shortcuts, I get an error message saying that the app is not installed on my phone - the other copy of the icon works great. Someone at - it similar problem - suggestions?

    Just get rid of one who does not. While now it over the trash can you wait until it turns red before I let you down. Move a bit if it is not red.  Hope that helps.

  • Styles of multiple links on the same Page - problems

    Thanks in advance for your help. With the help of CS5.5

    Problem:
    I'm designing a model that uses images by hovering in the top nav links. When the style
    other links in the main content and the footer, sections, the style becomes hereditary since the links at the top.

    Tried everything, including:
    -Spry
    -separate style sheet for the page footer
    -Renaming the div
    -using the class instead of div

    -renamed CSS
    -curse/pray/crossing my fingers

    Have not tried to reinstall the software.

    Here is the html and CSS (as attached):

    HTML

    <!-TemplateBeginEditable name = "doctitle"-->
    < title > Untitled Document < /title >
    <! - TemplateEndEditable - >
    "" < link href = "... / _css/pages.css" rel = "stylesheet" type = "text/css" / >
    <!-TemplateBeginEditable name = "head"->
    <! - TemplateEndEditable - >
    < / head >

    < body >
    < div id = "outerWrapper" >
    < div id = "headerPages" >
    < ul >
    < li > < a href = "#" > link 1 < /a > < /li >
    < li > < a href = "#" > Link 2 < /a > < /li >
    < li > < a href = "#" > link 3 < /a > < /li >
    < li > < a href = "#" > Link 4 < /a > < /li >
    < li > < a href = "#" > link 5 < /a > < /li >
    "< li > < a href ="... / index.htm "> link 6 < /a > < /li >"
    < /ul >
    < div id = "logo" > placeholder logo < / div >
    <!-TemplateBeginEditable name = "pageTitle"->
    < div id = "pageTitle" >
    "" < h1 > < img src = "... /_images/NAV-Icon-Big.jpg" width = "66" height = "66" / > Page title < / h1 >
    < / div >
    <! - TemplateEndEditable - >
    < / div >
    < div id = "contentWrapperPages" > <!-TemplateBeginEditable name = "mainContent"->
    < div id = "contentCol1Pages" >
    "< p > < a href ="... / web - design.htm "> 1 < /a > < /p > column"
    < / div >
    <! - TemplateEndEditable - > <!-TemplateBeginEditable name = "sidebarContent"->
    < div id = "contentCol2Pages" >
    < p > < a href = "#" > column 2 < /a > < /p >
    < / div >
    <! - TemplateEndEditable - >
    < / div >
    < / div >
    < div id = "footer" >
    < ul >
    < li > < a href = "#" > the footer elements go here < /a > < /li >
    < /ul >
    < / div >
    < div id = 'copyright' >
    < p > & copy; 2011 < /p >
    < / div >

    < / body >
    < / html >

    CSS

    {body
    background: #EEF4F7;
    }
    {#outerWrapper}
    Width: 960px;
    margin-right: auto;
    left margin: auto;
    Background: #FFF;
    }

    #logo {}
    Width: 200px;
    height: 75px;
    padding-top: 10px;
    }
    #logo img {}
    padding-left: 50px;
    text-align: center;
    vertical-align: middle;
    }
    {#pageTitle}
    height: 66px;
    Width: 525px;
    top of the margin: 30px;
    }
    #pageTitle img {}
    padding-right: 10px;
    text-align: center;
    vertical-align: middle;
    padding-left: 25px;
    }
    #pageTitle h1 {}
    do-size: 2em;
    make-style: italic;
    color: #039;
    do-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    vertical-align: middle;
    margin: 0px;
    padding: 0px;
    }

    {#headerPages}
    Background: url (.. /_images/pages-Header.jpg) no-repeat;
    height: 200px;
    Width: 960px;
    }
    #headerPages ul {}
    list-style: none;
    float: right;
    / * width [disabled]: 680px. */
    }

    #headerPages ul li {}
    float: left;
    }
    #headerPages ul li a {}
    text-decoration: none;
    display: block;
    do-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    }
    #headerPages ul li a: link, a: visited {}
    padding: 5px 15px of 35px.
    color: #039;
    }
    #headerPages ul li a: hover, a: active, a: {emphasis
    padding: 5px 15px of 35px.
    Background: url (.. top of /_images/NAV-ICON2.jpg) no-repeat center;
    color: #039;
    }

    {#contentWrapperPages}
    Background: #FFF url (none) horizontal;
    float: left;
    Width: 960px;
    padding-bottom: 15px;
    Police-family: 50;
    }
    #contentWrapperPages a: link, a: visited {}
    color: #039;
    text-decoration: none;
    }
    #contentWrapperPages a: hover, a: active, a: {emphasis
    color: #0 C 0;
    text-decoration: none;
    }
    #contentWrapperPages img {}
    float: left;
    height: 75px;
    Width: 75px;
    }
    {#contentCol1Pages}
    Background: #FFF;
    float: left;
    Width: 650px;
    padding-right: 10px;
    padding-left: 10px;
    margin left: 25px;
    margin-right: 10px;
    }

    {#contentCol2Pages}
    Background: #FFF;
    float: left;
    Width: 200px;
    padding-right: 10px;
    padding-left: 10px;
    Clear: right;
    }
    #footer {}
    Width: 960px;
    Background: #FFF;
    margin: 0px auto;
    Clear: both;
    height: 50px;
    }
    #footer ul {}
    list-style: none;
    text-align: center;
    / * Displays [disabled]: block; */
    }
    #footer ul li {}
    display: block;
    text-align: center;
    }
    #footer ul li a {}
    padding: 10px 5px;
    color: #039;
    text-decoration: none;
    }
    #footer ul li a: link, a: visited {}
    do-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    color: #039;
    }
    #footer ul li a: hover, a: active, a: {emphasis
    color: #0 C 0;
    }

    #copyright {}
    Width: 960px;
    margin: 0px auto;
    }

    #copyright p {}
    do-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    text-align: center;
    }

    Much better if you post your problem webpage and post a link here so we can see the direct page in our browsers.

    However, the first glance to the CSS, the syntax of selectors together needs to be amended.

    Each element separated by commas in a grouped list of selectors should be clearly explained in its entirety

    e, g,

    change

    #headerPages ul li a: link, a: visited {}

    padding: 5px 15px of 35px.

    color: #039;

    }

    #headerPages ul li a: hover, a: active, a: {emphasis

    padding: 5px 15px of 35px.

    Background: url (.. top of /_images/NAV-ICON2.jpg) no-repeat center;

    color: #039;

    }

    TO

    #headerPages ul li a: link, #headerPages ul li a: visited {}

    padding: 5px 15px of 35px.

    color: #039;

    }

    #headerPages ul li a: hover, #headerPages ul li a: active, #headerPages ul li a: {emphasis

    padding: 5px 15px of 35px.

    Background: url (.. top of /_images/NAV-ICON2.jpg) no-repeat center;

    color: #039;

    }

    It is for all other groups of rules separated by commas.

  • How to separate lists, on the same page, behave differently

    Here is the link:

    http://HBr2.pooledesignstudio.com

    I have a div class of: "navwrapper" with a list unordered. I want to turn them into green nav buttons. My CSS worked well enough, and everything looked good.

    I created a class of div of: services and make bulleted lists, who turned in small green boxes. I tried to '.to ul li' in shape but my list of "navwrapper" insists to behave in the same way.

    I am running out of ideas and will appreciate your help.

    Kathleen

    Jin

    Try this

    .navwrapper ul li

    {do-family: Tahoma, Geneva, without serif;}
    color: Green;
    do-size: 12px;
    make-weight: bold ;}
    .navwrapper ul li a {}
    color: Green;
    }

  • Need help with styles of different links on the same page

    Hello

    I use Dreamweaver CS4 on a PC.

    I searched through a large number of posts during the last two days, I tried the tutorial projectseven.com, google would, etc., but still may not know...

    All I want to do is apply a different link color to some links at the bottom of my page. Elsewhere on the site, I put the color blue (for the link) and orange (for the hover)-for footer links, I want the link to be white and the hover to stay orange color.

    The problem with the projectseven tutorial is that it seems not to apply to the CS4 and I kept getting error messages when you try to apply a new CSS rule - there is no class. Tag | Advanced according to the instructions...

    I copied the code to my page for this. The links I want to apply a different style to are contained in the DIV called "Footer-Navigation-Bar.

    Could someone please give me some instructions or point me in the right direction please?

    Thank you very much

    Vickie

    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    <!-saved from url = (0014) subject: internet->
    "< html xmlns ="http://www.w3.org/1999/xhtml">".
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"
    <!-TemplateBeginEditable name = "doctitle"-->
    the < title > Australia subscribe to the family - it's free! < /title >
    <! - TemplateEndEditable - >
    "" < link href = "... / family - subscribe.css" rel = "stylesheet" type = "text/css" / >
    "" < script src = "... / SpryAssets/SpryMenuBar.js" type = "text/javascript" > < / script >
    "" < link href = "... / SpryAssets/SpryMenuBarHorizontal.css" rel = "stylesheet" type = "text/css" / >
    <!-TemplateBeginEditable name = "head"->
    <! - TemplateEndEditable - >
    < style type = "text/css" >
    <!--
    a: link {}
    color: # 30;
    text-decoration: none;
    }
    a: hover {}
    color: #F30;
    text-decoration: none;
    }
    a: visited {}
    text-decoration: none;
    }
    a: active {}
    text-decoration: none;
    }
    ->
    < / style > < / head >

    < body >
    < div id = "container" >
    < div id = "banner" >
    < ul id = "family-subscribe-menu" class = "MenuBarHorizontal" >
    "< li > < a href ="... / index.html "> home < /a > < /li >"
    "< li > < a href ="... / subscribe.html "> Subscribe < /a > < /li >"
    "" < li > < a href = "... / family - advertise.html" > announced < /a > < /li >
    "" < li > < a href = "... / family - articles.html" > items < /a > < /li >
    "" < li > < a href = "... / family-sign - in .html" > questions < /a > < /li >
    "" < li > < a href = "... / family - contribute.html" > Contribute < /a > < /li >
    "" < li > < a href = "... / family - contact.html" > Contact < /a > < /li >
    < /ul >
    < / div >
    "" "" < div id = "sidebar" > < a href = "... / family-sign - in .html" > < img src = "... /images/Launch-issue.jpg" alt = "number of launch" width = "220" height = "380" hspace = "4" / > < / has >
    < div id = "sidebar-image2" >
    "" < p > < img src = "... / pictures/sleeping bag for Web.jpg" width = "220" height = "151" alt = "sleeping bag" / > < / p >
    < p > Kozy Koala™ Sleeper pillow is ideal for summer nights when children want to sleep or when go you camping. The camper all-in-one pillow is composed of... [MORE] < /p >
    < / div >
    < div id = "sidebar-image3" >
    "" < p > < img src = "... / pictures/solrx for Web.jpg" width = "220" height = "164" alt = "sunscreen" / > < / p >
    SolRX® solar filters are very sweaty and resistant to the water-ideal for anyone who leads a life active outdoor... whether you are in the water or not! [MORE] < / div >
    < / div >
    <!-TemplateBeginEditable name = "content-area"->
    < div id = "main content" > main content < / div >
    <! - TemplateEndEditable - >
    < div id = "footer" >
    "" < div id = "page-navigation-bar foot" > < a href = "... / family - about.html ' > on < /a > | "" < a href = "... / family - advertise.html" > announced < /a > | "" < a href = "... / family - contribute.html" > help < /a > | "" < a href = "... / family - contact.html" > contact < /a > | "" < a href = "... / family - unsubscribe.html" > unsubscribe < /a > < / div >
    < div id = "foot of page-text" > Family Australia | ABN 33150685385 | "For all advertising inquiries, please contact < a href ="mailto:[email protected] "> [email protected] < /a > < br / >"

    Copyright © 2010 family Australia. All rights reserved.
    < / div >
    < / div >
    < / div >
    < / div >
    < script type = "text/javascript" >
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar ("family-subscribe-menu", {imgDown: "SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});})
    ->
    < /script >
    < / body >
    < / html >

    The links I want to apply a different style to are contained in the DIV called "Footer-Navigation-Bar.
    ......
    ......
    a: link {}

    color: # 30;
    text-decoration: none;
    }
    a: hover {}
    color: #F30;
    text-decoration: none;
    }
    a: visited {}
    text-decoration: none;
    }
    a: active {}
    text-decoration: none;
    }

    Hello

    You can see the CSS that applies to your links above.  If you have links you want to style in a different way, just write the rule as follows:

    #Footer - Navigation - Bar has: link {}

    color: Red;

    text-decoration: none;

    }

    Or whatever.  There are other ways, but this will make you as you already have these links you want to style differently in a div with its own code.  The new rule comes after other rules in your CSS I think that to make sure of the cascade, well thinking about, there is something called specificity in the CSS, which means that the rule I suggest will win anyway.  Everything you do in my suggestion is to select one: a link that is a descendant of an element with particular ID.

    I hope this helps.  I am a novice and might have gotten a little fuzzy with the waterfall/specficity but good, I think you get where you want to go...

    Martin.

  • How to remove audio from the Web page

    Here is my site: lenovermeats.com

    I want to remove the audio playing, how?

    using CS3

    Remove the bottom of the page in Code view of the following...

    images/front.mp3"type ="audio/mpeg">".

    images/front.ogg"type ="audio/ogg">".

    Looks like you are using at least some php on the site, so it is also a small php include on this page as.

  • How to link a Word to a particular place on the same page?

    Can someone tell me how to link a Word to a particular point on this page? I have a fairly long page that I want to make it more user-friendly, I want to give visitors the possibility to choose a subtitle to a list that will lead them directly to this point on the page so that they do not have to scroll.

    Use the names of ID:

    ID = "first">

    Insert content here...

    ID 'second' =>

    Insert content here...

    ID = "third">

    Insert content here...

    LINKS ON THE SAME PAGE:

    LINKS ON OTHER PAGES:

    Nancy O.

  • Several links to drop down to the same page.

    I'm trying to make a link to the same page of several drop-down lists. I'm allow MUSE to create drop-down menus on all Pages. However, I don't want to keep more than one copy of duplicate pages. Does anyone know how to create a second or third menu drop down for these pages to dupe button?

    Hi Pamela,.

    You can create a menu manual to point the finger the same page several drop downs.

    Kind regards

    Akshay

  • Branch to redirect to the same page as edit

    Hello
    How can I stay on the same page after insert or update the folder but in edit mode.
    I use a branch, but that loses the values.


    Kind regards
    Orlando Cruz

    Hello:

    Change the target of the branch defined in the page containing your form points to itself.
    Remove the 'reset the page' page process defined on the form page.

    CITY

  • My links in the html page do not work in Firefox.

    I made som links in the same page in HTML, and they do not work in Firefox, although they work fine in Internet Explorer. I tried everything on this page: https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?esab=a & s = links + don % 27T + work + in + firefox & r = 19 & as = s

    This has been a problem for years. Why not in page anchor links work? I'm just using html with Wordpad to create my pages, not CSS.

    Rules of the House at the top of the page.

    <a href="#PCgen">Character generation</a>
    <a name="#PCgen"><center>
    	<img src="KFR0 images/buts/bar swordcloth.gif" width=500 height=80>
    </a></center>

    It would be in the correct manner. Clear the # and close this tag a name immediately.

     <a name="PCgen"></a> <center>
    	<img src="KFR0 images/buts/bar swordcloth.gif" width=500 height=80>
    </center> 

Maybe you are looking for

  • Phone crashed when installing the latest updated software

    I was download and install the latest update for my phone and it crashed. How to restore its functionality?

  • the connection is not approved

    Sir my Mozilla Firefox shows "connection is not approved.What should I do?-get me out of here!Technical details Www.gmail.com uses an invalid security certificate.The certificate is not approved, because no sender string has been provided. I am using

  • integration simple cosine

    I'm testing the integration in LabVIEW full 2010 with 1 d VI digital integration.  the VI of the sample in which a cosine waveform is pulled apart and feeds a VI 1 d numerical integration is attached.  I only feed in the first quarter of the table be

  • IEEE USB does not

    I using LV9.0 and used and converter ICS USB_IEEE. The work of ICS USB for a while then shut himself up. So I thought that I would go to an NI USB-IEEE. I reintalled the newest 488 OR drivers then reboot. The NOR-IEEE would work with Automation Explo

  • Windows crashes when I run the virus scan

    past to blue screen saying u that it crashed and then the computer restarts normal