Find the next cone

Dear friends,

Although it is quite simple to find the next cone with oDoc.NextMarkerInDoc the sequence of found markers is not what the user sees in the document: you get the markers in the sequence that they were inserted into the document (which can be pretty random). To get the same sequence as using the Find dialog, I need...

But again my knowledge is in low - see lines 91 or 92:

#target framemaker  
/*  Navigate markers and get them
Document in charge is E:\_DDDprojects\FM-calc\FM-testfiles\NavigateMarkers.fm 
Which contains both #calc and Author markers

It turns out that the sequence of marker.NextMarkerInDoc is that of creating the markers.
For the first and last marker the simple method is OK (since absolute postions).
For next and previous the find method must be used.
*/
var oDoc = app.ActiveDoc, oCurrentMarker;
if (!oDoc.ObjectValid ()) {
  alert ("There is no active document.");
} else {
oCurrentMarker =  GetMarker (oDoc, "#calc", "first");                 // OK
  Alert ("marker found = " + oCurrentMarker.MarkerText);
oCurrentMarker =  GetMarker (oDoc, "#calc", "next", oCurrentMarker);  // undefined
  Alert ("marker found = " + oCurrentMarker.MarkerText);
} 
  
function GetMarker (oDoc, sMarkerName, sAdverb, oCurrentMarker) { // =============================
// sAdverb may be first, last, previous, next
// returns undefined if sMarkerName not defined in oDoc 
// argument oCurrentMarker unused for "first"   
// unfortunately there are no such methods as LastMarkerInDoc or PreviousMarkerInDoc
  var marker, nextMarker, exit, currenMarker; 
    markerType = oDoc.GetNamedMarkerType (sMarkerName); // Get the specified marker type.    
    if (!markerType.ObjectValid ()) { return undefined;} 
  
  switch (sAdverb) {
    case "first":  
      oCurrentMarker = GetFirstMarker (oDoc, sMarkerName);
      break;
    case "previous":  
      oCurrentMarker = FindNextPrevMarker (oDoc, sMarkerName, "previous", oCurrentMarker);
      break;
    case "next":  
      oCurrentMarker = FindNextPrevMarker (oDoc, sMarkerName, "next", oCurrentMarker);
      break;
    case "last":  
      oCurrentMarker = GetLastMarker (oDoc, sMarkerName);
      break;
    default:
      Alert ("Error in routine NavigateMarker\nUndefined sAdverb = " + sAdverb);
      break;
  }
  return oCurrentMarker;
} 

function GetFirstMarker (oDoc, sMarkerName) { // get first marker of type sMarkerName =============
// function returns the current marker, null if it does not exist
// parameter oCurrentMarker is not used
  var marker = null, nextMarker, oCurrentMarker; 
  marker = oDoc.FirstMarkerInDoc;  
  while (marker.ObjectValid ()) {  
    nextMarker = marker.NextMarkerInDoc;  
    if (marker.MarkerTypeId.Name === sMarkerName) { 
      return marker;
    }
    marker = nextMarker;  
  }
} 

function GetLastMarker (oDoc, sMarkerName) { // get last marker of type sMarkerName ===============
// function returns the last marker of type sMarkerName, null if it does not exist
// parameter oCurrentMarker is not used
  var marker, nextMarker, lastMarker; 
  marker = oDoc.FirstMarkerInDoc;
  marker = marker.NextMarkerInDoc;  
  while (marker.ObjectValid ()) {  
    if (marker.MarkerTypeId.Name === sMarkerName) { 
      lastMarker = marker;
    }
    marker = marker.NextMarkerInDoc;  
  }
  return lastMarker;
} 

function FindNextPrevMarker (oDoc, sMarkerName, sAdverb, oCurrentMarker) { // get next/previous ===
// function returns the current marker, null if it does not exist
// Base: Russ Ward in https://forums.adobe.com/message/3888653#3888653
  var marker;
  var tr = new TextRange();
  var findParams = new PropVals();
  
  tr.beg.obj = tr.end.obj = oCurrentMarker;       // Starting tr is the current marker
  tr.beg.offset = tr.end.offset = 0;              // 
                                                  // Wrapping not wanted.
  findParams = GetFindParamsMarker (sMarkerName, sAdverb); // Find parameters for marker

  InitFA_errno ();                                // reset - it is write protected
//marker = oDoc.Find(tr.beg, findParams);         // => undefined
  marker = oDoc.Find(oCurrentMarker, findParams); // => undefined
    
  if (FA_errno !== Constants.FE_Success) {
    return undefined;                             // no next/previvious marker present
  }
  return marker;                                  // we have found a next/prev marker
} 

function GetFindParamsMarker (sMarkerName, direction) { //=========================================
// Get/set the find parameters: find marker of type sMarkerName, consider direction, no wrapping around
// Returns find parameters in the function

  var findParams;
  if (direction = "next") {
    findParams = AllocatePropVals (1);  
    findParams[0].propIdent.num = Constants.FS_FindMarkerOfType;  
    findParams[0].propVal.valType = Constants.FT_String;  
    findParams[0].propVal.sval = sMarkerName;  
  } else {                                        // previous
    findParams = AllocatePropVals (2);  
    findParams[0].propIdent.num = Constants.FS_FindMarkerOfType;  
    findParams[0].propVal.valType = Constants.FT_String;  
    findParams[0].propVal.sval = sMarkerName;  
    findParams[1].propIdent.num = Constants.FS_FindCustomizationFlags;
    findParams[1].propVal.valType = Constants.FT_Integer;
    findParams[1].propVal.ival = Constants.FF_FIND_BACKWARDS;
  }
  return findParams;  
} // --- end GetFindParams

function InitFA_errno() { //========================================================================
// Reset FA_errno as it is write protected. See https://forums.adobe.com/thread/962910
  app.GetNamedMenu("!MakerMainMenu");             //If this fails, you've got bigger problems
  return;
}

How to specify the text range (probably necessary)?

Thank you

Klaus stew

I'm back ;-))

Just try this one.

 var oDoc = app.ActiveDoc
 var oCurrentMarker;
 var docStart = oDoc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf;
 var MarkerList = [];
 var tloc = new TextLoc (docStart, 0);
 var locTextRange = new TextRange (tloc, tloc);

 oDoc.TextSelection = locTextRange;

  if (!oDoc.ObjectValid ()) {
      alert ("There is no active document.");
        }
    else
        {  // gather all markers-locations(objects) and store them in an array (MarkerList)
         var FindParams = GetFindParams()

        var foundTextRange = oDoc.Find(tloc, FindParams);

        while (foundTextRange.beg.obj.ObjectValid())
            {
                MarkerList.push(foundTextRange);
                tloc = foundTextRange.end;
                foundTextRange = oDoc.Find(tloc, FindParams);
            }

 var FoundMarker = [];

    for (var i = 0; i < MarkerList.length; i++)
        {
        var MarkerTI = oDoc.GetTextForRange (MarkerList[i], Constants.FTI_MarkerAnchor);

        oDoc.TextSelection = MarkerList[i];
        oDoc.ScrollToText (MarkerList[i]);
        alert("MARKER");

          for (var x = 0; x < MarkerTI.length; x++)
           {
            var oTextItem = MarkerTI[x];
            FoundMarker.push(oTextItem.obj)//store the marker objects
            }
        }
    }  

function GetFindParams()
{
    var FindParams = new PropVals() ;

    var propVal = new PropVal() ;
    propVal.propIdent.num = Constants.FS_FindWrap ;
    propVal.propVal.valType = Constants.FT_Integer;
    propVal.propVal.ival = 0 ;// don't start at the beginning
    FindParams.push(propVal);

    propVal = new PropVal() ;
    propVal.propIdent.num = Constants.FS_FindObject;
    propVal.propVal.valType = Constants.FT_Integer;
    propVal.propVal.ival = Constants.FV_FindAnyMarker ;
    FindParams.push(propVal);

    return FindParams
}

Tags: Adobe FrameMaker

Similar Questions

  • Find the next available date which is not necessarily the maximum Date

    Morning people!

    I'm trying to find the next date of appointment (including any day after today) for a patient who may not be the maximum date for this person. I am doing this in Oracle Forms. My query works in SQL * more, but does not work in forms.
    FUNCTION get_next_sched_date(P_PATIENT_ID in varchar2) RETURN DATE IS
      v_next_scheduled_date   patient_visit.target_date%TYPE;
    
    BEGIN
      select next_target_date into v_next_scheduled_date
      from   ( select v.*, max(target_date) over (partition by patient_id) max_target_date,
                           lead(target_date) over (partition by patient_id order by target_date) next_target_date
               from   patient_visit v)
      where  patient_id = P_PATIENT_ID
      and    next_target_date >= SYSDATE
      and    max_target_date > next_target_date;
    
      return( v_next_scheduled_date );
    
    EXCEPTION
       when NO_DATA_FOUND then
         return(NULL);
    When I compile in Oracle Forms, it gives me an Error.Encountered symbol "(" quand attend une deles de valeurs suivantes:, de.) "

    I also noticed that Oracle Forms is not taste keywords such as LAG and LEAD. I'm working on Oracle Forms 9i.

    No idea what I'm doing wrong here? Thanks for listening to my harping on Monday. :-)
    Forms [32 Bit] Version 9.0.4.0.19 (Production)
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    Published by: Roxyrollers on August 27, 2012 08:43

    Published by: Roxyrollers on August 27, 2012 08:46

    Hello

    The forms PL/SQL engine is never at the same level as the database one. It seams that you are using an older version of forms.

    François

  • Cannot find the next jump - ASA 5505 VPN routing l2l

    We have a 5505 (soon to be replaced by two 5515-x) firewall with two VPN l2l.

    "Were trying to allow a remote site traffic flow through the other remote site but the syslog shows."

            10.5.25.4 1 172.16.10.10 0

    Could not locate the next hop for ICMP outside:10.5.25.4/1 to inside:172.16.10.10/0 routing

    Config is less than

    :

    ASA Version 8.4 (3)

    names of

    !

    interface Ethernet0/0

    switchport access vlan 2

    Speed 100

    full duplex

    !

    interface Ethernet0/1

    !

    interface Ethernet0/2

    !

    interface Ethernet0/3

    !

    interface Ethernet0/4

    !

    interface Ethernet0/5

    !

    interface Ethernet0/6

    <--- more="" ---="">

    !

    interface Ethernet0/7

    switchport access vlan 10

    !

    interface Vlan1

    nameif inside

    security-level 100

    allow-ssc-mgmt

    IP 10.5.19.254 255.255.255.0

    !

    interface Vlan2

    WIMAX Interface Description

    nameif outside

    security-level 0

    IP address x.247.x.18 255.255.255.248

    !

    passive FTP mode

    clock timezone GMT 1

    permit same-security-traffic inter-interface

    permit same-security-traffic intra-interface

    network obj_any object

    subnet 0.0.0.0 0.0.0.0

    network guestwifi object

    10.1.110.0 subnet 255.255.255.0

    <--- more="" ---="">

    network of the NETWORK_OBJ_10.5.19.0_24 object

    10.5.19.0 subnet 255.255.255.0

    network of the NETWORK_OBJ_10.5.31.0_24 object

    10.5.31.0 subnet 255.255.255.0

    network of the NETWORK_OBJ_172.16.0.0_16 object

    subnet 172.16.0.0 255.255.0.0

    the object DS365-Cloud network

    172.16.10.0 subnet 255.255.255.0

    Description DS365-Cloud

    network of the object to the inside-network-16

    10.5.0.0 subnet 255.255.0.0

    atanta network object

    10.5.16.0 subnet 255.255.255.0

    Atanta description

    network guest_dyn_nat object

    10.5.29.0 subnet 255.255.255.0

    network of the NETWORK_OBJ_172.16.254.0_25 object

    subnet 172.16.254.0 255.255.255.128

    network of the NETWORK_OBJ_10.5.16.0_20 object

    subnet 10.5.16.0 255.255.240.0

    network of the NETWORK_OBJ_10.5.16.0_26 object

    255.255.255.192 subnet 10.5.16.0

    network of the LDAP_DC7 object

    Home 10.5.21.1

    <--- more="" ---="">

    LDAP description

    network c2si object

    range 10.5.21.180 10.5.21.200

    network of the NETWORK_OBJ_10.5.25.0_24 object

    10.5.25.0 subnet 255.255.255.0

    object-group network rfc1918

    object-network 192.168.0.0 255.255.0.0

    object-network 172.16.0.0 255.255.240.0

    object-network 10.0.0.0 255.0.0.0

    the DM_INLINE_NETWORK_1 object-group network

    object-network 10.5.19.0 255.255.255.0

    network-object 10.5.20.0 255.255.254.0

    object-network 10.5.22.0 255.255.255.0

    object-network 10.5.30.0 255.255.255.0

    object-network 192.168.100.0 255.255.255.0

    the Sure_Signal object-group network

    network-object x.183.x.128 255.255.255.192

    network-host x.183.133.177 object

    network-host x.183.133.178 object

    network-host x.183.133.179 object

    network-host x.183.133.181 object

    network-host x.183.133.182 object

    the LDAP_source_networks object-group network

    network-object 135.196.24.192 255.255.255.240

    <--- more="" ---="">

    object-network 195.130.x.0 255.255.255.0

    network-object x.2.3.128 255.255.255.192

    network-object 213.235.63.64 255.255.255.192

    object-network 91.220.42.0 255.255.255.0

    object-network 94.x.240.0 255.255.255.0

    object-network 94.x.x.0 255.255.255.0

    the c2si_Allow object-group network

    host of the object-Network 10.5.16.1

    host of the object-Network 10.5.21.1

    network-object object c2si

    the DM_INLINE_NETWORK_2 object-group network

    network-object 10.5.20.0 255.255.254.0

    object-network 10.5.21.0 255.255.255.0

    object-network 10.5.22.0 255.255.255.0

    object-network 10.5.29.0 255.255.255.0

    network-object, object NETWORK_OBJ_10.5.19.0_24

    the DM_INLINE_NETWORK_3 object-group network

    object-network 10.5.19.0 255.255.255.0

    network-object 10.5.20.0 255.255.254.0

    object-network 10.5.21.0 255.255.255.0

    object-network 10.5.22.0 255.255.255.0

    atanta network-object

    the DM_INLINE_NETWORK_4 object-group network

    network-object 10.5.20.0 255.255.254.0

    <--- more="" ---="">

    object-network 10.5.21.0 255.255.255.0

    object-network 10.5.22.0 255.255.255.0

    object-network 10.5.23.0 255.255.255.0

    object-network 10.5.30.0 255.255.255.0

    network-object, object NETWORK_OBJ_10.5.19.0_24

    atanta network-object

    network-object DS365-Cloud

    inside_access_in list extended access permit tcp any eq 50 Sure_Signal object-group

    inside_access_in list extended access permit tcp any object-group Sure_Signal eq pptp

    inside_access_in list extended access permits will all object-group Sure_Signal

    inside_access_in list extended access permit udp any eq ntp Sure_Signal object-group

    inside_access_in access list extended icmp permitted no echo of Sure_Signal object-group

    inside_access_in list extended access permit udp any eq 50 Sure_Signal object-group

    inside_access_in list extended access permit udp any eq Sure_Signal object-group 4500

    inside_access_in list extended access permit udp any eq isakmp Sure_Signal object-group

    inside_access_in of access allowed any ip an extended list

    255.255.0.0 allow access list extended ip 10.5.0.0 clientvpn 10.5.30.0 255.255.255.0

    access-list extended BerkeleyAdmin-clientvpn ip 10.5.0.0 allow 255.255.0.0 10.5.30.0 255.255.255.0

    IP 10.5.21.0 allow to Access-list BerkeleyUser-clientvpn extended 255.255.255.0 10.5.30.0 255.255.255.0

    outside_cryptomap extended access list permit ip object inside-network-16 10.5.25.0 255.255.255.0

    access extensive list ip 10.5.29.0 guest_access_in allow 255.255.255.0 any

    state_bypass allowed extended access list tcp 192.168.100.0 255.255.255.0 10.5.30.0 255.255.255.0 connect

    state_bypass allowed extended access list tcp 10.5.30.0 255.255.255.0 192.168.100.0 255.255.255.0 connect

    state_bypass allowed extended access list tcp 10.5.29.0 255.255.255.0 10.5.30.0 255.255.255.0 connect

    <--- more="" ---="">

    state_bypass allowed extended access list tcp 10.5.30.0 255.255.255.0 10.5.29.0 255.255.255.0 connect

    outside_access_in list extended access permit icmp any one

    access extensive list ip 10.5.16.0 outside_cryptomap_1 allow 255.255.240.0 10.5.16.0 255.255.255.192

    access-list extended global_access permitted tcp object-group LDAP_source_networks host 10.5.21.1 eq ldap

    access extensive list 10.5.0.0 ip outside_cryptomap_2 255.255.0.0 allow object DS365-Cloud

    outside_cryptomap_3 list extended access allowed object-group ip DM_INLINE_NETWORK_4 10.5.25.0 255.255.255.0

    pager lines 24

    Enable logging

    exploitation forest-size of the buffer of 100000

    recording of debug console

    debug logging in buffered memory

    asdm of logging of information

    Within 1500 MTU

    Outside 1500 MTU

    IP local pool clientvpn 10.5.30.1 - 10.5.30.100

    mask 172.16.254.1 - 172.16.254.100 255.255.255.0 IP local pool VPN_IP_Pool

    no failover

    ICMP unreachable rate-limit 1 burst-size 1

    ICMP allow any inside

    ICMP allow all outside

    don't allow no asdm history

    ARP timeout 14400

    NAT (inside, outside) source static rfc1918 rfc1918 destination rfc1918 static rfc1918

    NAT (inside, outside) static source NETWORK_OBJ_10.5.19.0_24 NETWORK_OBJ_10.5.19.0_24 NETWORK_OBJ_10.5.31.0_24 NETWORK_OBJ_10.5.31.0_24 non-proxy-arp-search of route static destination

    <--- more="" ---="">

    NAT (inside, outside) static source NETWORK_OBJ_10.5.19.0_24 NETWORK_OBJ_10.5.19.0_24 NETWORK_OBJ_10.5.19.0_24 NETWORK_OBJ_10.5.19.0_24 non-proxy-arp-search of route static destination

    NAT (inside, outside) static source to the static inside-network-16 inside-network-16 destination DS365-DS365-cloud no-proxy-arp-route search

    NAT (inside, outside) static source DM_INLINE_NETWORK_1 DM_INLINE_NETWORK_1 NETWORK_OBJ_172.16.254.0_25 NETWORK_OBJ_172.16.254.0_25 non-proxy-arp-search of route static destination

    NAT (inside, outside) static source NETWORK_OBJ_10.5.16.0_20 NETWORK_OBJ_10.5.16.0_20 NETWORK_OBJ_10.5.16.0_26 NETWORK_OBJ_10.5.16.0_26 non-proxy-arp-search of route static destination

    NAT (inside, outside) source static c2si_Allow c2si_Allow NETWORK_OBJ_172.16.254.0_25 NETWORK_OBJ_172.16.254.0_25 non-proxy-arp-search of route static destination

    NAT (inside, outside) source static atanta atanta static destination NETWORK_OBJ_10.5.25.0_24 NETWORK_OBJ_10.5.25.0_24 non-proxy-arp-search to itinerary

    NAT (inside, outside) static source DS365-DS365-cloud static destination NETWORK_OBJ_10.5.25.0_24 NETWORK_OBJ_10.5.25.0_24 non-proxy-arp-search to itinerary

    NAT (inside, outside) static source DM_INLINE_NETWORK_2 DM_INLINE_NETWORK_2 NETWORK_OBJ_10.5.25.0_24 NETWORK_OBJ_10.5.25.0_24 non-proxy-arp-search of route static destination

    NAT (inside, outside) static source NETWORK_OBJ_10.5.25.0_24 NETWORK_OBJ_10.5.25.0_24 static destination DS365-DS365-cloud no-proxy-arp-route search

    NAT (inside, outside) static source DM_INLINE_NETWORK_3 DM_INLINE_NETWORK_3 static destination DS365-DS365-cloud no-proxy-arp-route search

    NAT (inside, outside) static source to the inside-network-16 inside-network-16 destination static NETWORK_OBJ_10.5.25.0_24 NETWORK_OBJ_10.5.25.0_24 non-proxy-arp-search to itinerary

    NAT (inside, outside) static source DM_INLINE_NETWORK_4 DM_INLINE_NETWORK_4 NETWORK_OBJ_10.5.25.0_24 NETWORK_OBJ_10.5.25.0_24 non-proxy-arp-search of route static destination

    !

    network obj_any object

    NAT dynamic interface (indoor, outdoor)

    network of the LDAP_DC7 object

    NAT 194.247.x.19 static (inside, outside) tcp ldap ldap service

    inside_access_in access to the interface inside group

    Access-group outside_access_in in interface outside

    Access-Group global global_access

    !

    Router eigrp 143

    No Auto-resume

    Network 10.5.19.0 255.255.255.0

    <--- more="" ---="">

    Network 10.5.29.0 255.255.255.0

    Network 10.5.30.0 255.255.255.0

    redistribute static

    !

    Route outside 0.0.0.0 0.0.0.0 194.247.x.17 1 track 1

    Route inside 10.5.16.0 255.255.255.0 10.5.19.252 1

    Timeout xlate 03:00

    Pat-xlate timeout 0:00:30

    Timeout conn 01:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02

    Sunrpc timeout 0:10:00 h323 0:05:00 h225 mgcp from 01:00 0:05:00 mgcp-pat 0:05:00

    Sip timeout 0:30:00 sip_media 0:02:00 prompt Protocol sip-0: 03:00 sip - disconnect 0:02:00

    Timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute

    timeout tcp-proxy-reassembly 0:01:00

    Floating conn timeout 0:00:00

    dynamic-access-policy-registration DfltAccessPolicy

    RADIUS protocol for AAA-server group

    AAA (inside) 10.5.21.1 host server group

    key *.

    AAA (inside) 10.5.16.1 host server group

    key *.

    identity of the user by default-domain LOCAL

    the ssh LOCAL console AAA authentication

    AAA authentication LOCAL telnet console

    Enable http server

    <--- more="" ---="">

    http 192.168.1.0 255.255.255.0 inside

    http 10.5.16.0 255.255.240.0 inside

    No snmp server location

    No snmp Server contact

    Server enable SNMP traps snmp authentication linkup, linkdown warmstart of cold start

    Sysopt connection tcpmss 1350

    SLA 1 monitor

    type echo protocol ipIcmpEcho 8.8.4.4 outside interface

    SLA monitor Appendix 1 point of life to always start-time now

    Crypto ipsec transform-set ikev1 strong-comp esp-aes-256 esp-sha-hmac

    Crypto ipsec ikev1 transform-set strong aes-256-esp esp-sha-hmac

    Crypto ipsec transform-set ikev1 ESP-AES-128-SHA aes - esp esp-sha-hmac

    Crypto ipsec transform-set ikev1 ESP-AES-128-MD5-esp - aes esp-md5-hmac

    Crypto ipsec transform-set ikev1 ESP-AES-192-SHA esp-aes-192 esp-sha-hmac

    Crypto ipsec transform-set ikev1 ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac

    Crypto ipsec transform-set ikev1 ESP-AES-256-SHA esp-aes-256 esp-sha-hmac

    Crypto ipsec transform-set ikev1 ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac

    Crypto ipsec transform-set ikev1 SHA-ESP-3DES esp-3des esp-sha-hmac

    Crypto ipsec transform-set ikev1 ESP-3DES-MD5-esp-3des esp-md5-hmac

    Crypto ipsec transform-set ikev1 ESP-DES-SHA esp - esp-sha-hmac

    Crypto ipsec transform-set ikev1 esp ESP-DES-MD5-esp-md5-hmac

    Crypto ipsec ikev2 strong ipsec proposal

    Protocol esp encryption aes-256

    Esp integrity sha-1 protocol

    <--- more="" ---="">

    Crypto ipsec ikev2 AES256 ipsec-proposal

    Protocol esp encryption aes-256

    Esp integrity sha - 1, md5 Protocol

    Crypto ipsec ikev2 ipsec-proposal AES192

    Protocol esp encryption aes-192

    Esp integrity sha - 1, md5 Protocol

    Crypto ipsec ikev2 ipsec-proposal AES

    Esp aes encryption protocol

    Esp integrity sha - 1, md5 Protocol

    Crypto ipsec ikev2 proposal ipsec 3DES

    Esp 3des encryption protocol

    Esp integrity sha - 1, md5 Protocol

    Crypto ipsec ikev2 ipsec-proposal OF

    encryption protocol esp

    Esp integrity sha - 1, md5 Protocol

    Crypto-map dynamic dyn1 1 set transform-set ikev1 strong

    1 correspondence address outside_cryptomap_1 outside crypto map

    crypto card outside pfs set 1

    1 set 83.x.172.68 counterpart outside crypto map

    Crypto card outside 1 set transform-set ESP-AES-256-SHA ikev1

    1 set ikev2 AES256 ipsec-proposal outside crypto map

    card crypto off game 2 address outside_cryptomap_3

    map external crypto 2 peers set 23.100.x.177

    card external crypto 2 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5

    <--- more="" ---="">

    map external crypto 2 set AES256 AES192 AES strong proposal ipsec ikev2

    Crypto card outside 2 kilobytes of life of security association set 102400000

    card crypto outside match 3 address outside_cryptomap_2

    3 set pfs outside crypto map

    map external crypto 3 peers set 91.x.3.39

    crypto card outside ikev1 set 3 transform-set ESP-3DES-SHA

    map external crypto 3 3DES ipsec-ikev2 set proposal

    dynamic outdoor 100 dyn1 ipsec-isakmp crypto map

    card crypto outside interface outside

    Crypto ca trustpoint _SmartCallHome_ServerCA

    Configure CRL

    IKEv2 crypto policy 1

    aes-256 encryption

    integrity sha

    Group 2

    FRP sha

    second life 86400

    IKEv2 crypto policy 10

    aes-192 encryption

    integrity sha

    Group 2 of 5

    FRP sha

    second life 86400

    IKEv2 crypto policy 20

    aes encryption

    integrity sha

    Group 2 of 5

    FRP sha

    second life 86400

    IKEv2 crypto policy 30

    3des encryption

    integrity sha

    Group 2 of 5

    FRP sha

    second life 86400

    IKEv2 crypto policy 40

    the Encryption

    integrity sha

    Group 2 of 5

    FRP sha

    second life 86400

    Crypto ikev2 allow outside

    Crypto ikev1 allow outside

    IKEv1 crypto policy 1

    preshared authentication

    aes-256 encryption

    sha hash

    Group 2

    lifetime 28800

    IKEv1 crypto policy 2

    preshared authentication

    3des encryption

    sha hash

    Group 2

    life 86400

    !

    track 1 rtr 1 accessibility

    Telnet 10.5.16.0 255.255.240.0 inside

    Telnet timeout 5

    SSH 83.x.x.90 255.255.255.255 outside

    SSH timeout 5

    Console timeout 0

    dhcpd outside auto_config

    !

    dhcprelay Server 10.5.21.1 on the inside

    time-out of 60 dhcprelay

    a basic threat threat detection

    statistical threat detection port

    <--- more="" ---="">

    Statistical threat detection Protocol

    Statistics-list of access threat detection

    no statistical threat detection tcp-interception

    NTP 10.5.19.253 Server prefer

    WebVPN

    allow outside

    AnyConnect image disk0:/anyconnect-win-2.5.2014-k9.pkg 1

    AnyConnect image disk0:/anyconnect-win-3.1.03103-k9.pkg 2

    AnyConnect enable

    tunnel-group-list activate

    attributes of Group Policy DfltGrpPolicy

    Ikev1 VPN-tunnel-Protocol l2tp ipsec without ssl-client

    internal GroupPolicy_c2si group strategy

    attributes of Group Policy GroupPolicy_c2si

    WINS server no

    value of 10.5.16.1 DNS server 10.5.21.1

    client ssl-VPN-tunnel-Protocol

    by default no

    internal GroupPolicy_91.x.3.39 group strategy

    attributes of Group Policy GroupPolicy_91.x.3.39

    VPN-tunnel-Protocol ikev1, ikev2

    internal GroupPolicy_83.x.172.68 group strategy

    attributes of Group Policy GroupPolicy_83.x.172.68

    VPN-tunnel-Protocol ikev1, ikev2

    <--- more="" ---="">

    internal GroupPolicy_23.100.x.177 group strategy

    attributes of Group Policy GroupPolicy_23.100.x.177

    VPN-tunnel-Protocol ikev1, ikev2

    internal GroupPolicy_user group strategy

    attributes of Group Policy GroupPolicy_user

    WINS server no

    value of 10.5.21.1 DNS server 10.5.16.1

    client ssl-VPN-tunnel-Protocol

    Split-tunnel-policy tunnelspecified

    Split-tunnel-network-list value BerkeleyAdmin-clientvpn

    myberkeley.local value by default-field

    internal GroupPolicy_23.101.x.122 group strategy

    attributes of Group Policy GroupPolicy_23.101.x.122

    VPN-tunnel-Protocol ikev1, ikev2

    internal GroupPolicy1 group strategy

    attributes of Group Policy GroupPolicy1

    VPN-tunnel-Protocol ikev1, ikev2

    internal BerkeleyUser group strategy

    attributes of Group Policy BerkeleyUser

    value of 10.5.21.1 DNS server 10.5.16.1

    Split-tunnel-policy tunnelspecified

    Split-tunnel-network-list value BerkeleyUser-clientvpn

    myberkeley.local value by default-field

    internal DS365 group policy

    <--- more="" ---="">

    DS365 group policy attributes

    VPN-idle-timeout no

    VPN-filter no

    IPv6-vpn-filter no

    VPN-tunnel-Protocol ikev1, ikev2

    internal BerkeleyAdmin group strategy

    attributes of Group Policy BerkeleyAdmin

    value of 10.5.21.1 DNS server 10.5.16.1

    Split-tunnel-policy tunnelspecified

    Split-tunnel-network-list value BerkeleyAdmin-clientvpn

    myberkeley.local value by default-field

    acsadmin encrypted V6hUzNl366K37eiV privilege 15 password username

    atlanta uxelpvEvM3I7tw.Z encrypted privilege 15 password username

    username of berkeley Kj.RBvUp5dtyLw5T encrypted password

    type tunnel-group BerkeleyUser remote access

    attributes global-tunnel-group BerkeleyUser

    address clientvpn pool

    authentication-server-group

    Group Policy - by default-BerkeleyUser

    IPSec-attributes tunnel-group BerkeleyUser

    IKEv1 pre-shared-key *.

    type tunnel-group BerkeleyAdmin remote access

    attributes global-tunnel-group BerkeleyAdmin

    address clientvpn pool

    <--- more="" ---="">

    authentication-server-group

    Group Policy - by default-BerkeleyAdmin

    IPSec-attributes tunnel-group BerkeleyAdmin

    IKEv1 pre-shared-key *.

    type tunnel-group user remote access

    tunnel-group user General attributes

    address pool VPN_IP_Pool

    authentication-server-group

    Group Policy - by default-GroupPolicy_user

    tunnel-group user webvpn-attributes

    enable-alias of user group

    type tunnel-group c2si remote access

    tunnel-group c2si-global attributes

    address pool VPN_IP_Pool

    authentication-server-group

    Group Policy - by default-GroupPolicy_c2si

    tunnel-group c2si webvpn-attributes

    Group-alias c2si enable

    tunnel-group 83.x.172.68 type ipsec-l2l

    tunnel-group 83.x.172.68 General-attributes

    Group - default policy - GroupPolicy_83.x.172.68

    83.x.172.68 group of tunnel ipsec-attributes

    IKEv1 pre-shared-key *.

    remote control-IKEv2 pre-shared-key authentication *.

    <--- more="" ---="">

    pre-shared-key authentication local IKEv2 *.

    tunnel-group 23.101.x.122 type ipsec-l2l

    tunnel-group 23.101.x.122 General-attributes

    Group - default policy - GroupPolicy_23.101.x.122

    23.101.x.122 group of tunnel ipsec-attributes

    IKEv1 pre-shared-key *.

    remote control-IKEv2 pre-shared-key authentication *.

    pre-shared-key authentication local IKEv2 *.

    tunnel-group 91.x.3.39 type ipsec-l2l

    tunnel-group 91.x.3.39 general-attributes

    Group - default policy - GroupPolicy_91.x.3.39

    91.x.3.39 group of tunnel ipsec-attributes

    IKEv1 pre-shared-key *.

    remote control-IKEv2 pre-shared-key authentication *.

    pre-shared-key authentication local IKEv2 *.

    tunnel-group 23.100.x.177 type ipsec-l2l

    tunnel-group 23.100.x.177 General-attributes

    Group - default policy - GroupPolicy_23.100.63.177

    23.100.x.177 group of tunnel ipsec-attributes

    IKEv1 pre-shared-key *.

    remote control-IKEv2 pre-shared-key authentication *.

    pre-shared-key authentication local IKEv2 *.

    class-map state_bypass

    corresponds to the state_bypass access list

    Policy-map state_bypass_policy

    class state_bypass

    set the advanced options of the tcp-State-bypass connection

    !

    service-policy state_bypass_policy to the inside interface

    context of prompt hostname

    anonymous reporting remote call

    Cryptochecksum:bbc6f2ec2db9b09a1b6eb90270ddfeea

    : end

    PTB-ch-asa5505 #.

                   

    Ah OK I see now.

    Your cryptomap for the cloud of DS365 is:

    access extensive list 10.5.0.0 ip outside_cryptomap_2 255.255.0.0 allow object DS365-Cloud

    so, which covers interesting traffic.

    However, your NAT statement is:

    NAT (inside, outside) static source NETWORK_OBJ_10.5.25.0_24 NETWORK_OBJ_10.5.25.0_24 static destination DS365-DS365-cloud no-proxy-arp-route search

    Network 10.5.25.0 is remote, then it will actually appear to be an "outside" network so I think you need this statement to begin "nat (outside, outside).

  • Find the next query only job n

    Hello

    I need single query return the next workday after n days go on a date.
    Working day is every day (too much vacation) with the exception of satudarday and Sunday


    I found a few working days of request County betweeen two dates, but I can't
    to create a single query (without use of function) to add n working days, for example:

    Today is 18/04/2013, I would like to add 5 business days then

    the next working day is 25/04/2013

    If add 8 working days will be 30/04/2013

    How can he do?

    With the help of 9.2.08

    Something like...

    SQL> with t as
      2  (
      3  select to_date('18042013','ddmmyyyy') dt,
      4      8 no_of_days
      5  from dual
      6  ), t2 as
      7  (
      8  select dt,
      9     case to_char(dt,'fmday')
     10       when 'monday' then 4
     11       when 'tuesday' then 3
     12       when 'wednesday' then 2
     13       when 'thursday' then 1
     14       when 'friday' then 0
     15       when 'saturday' then -1
     16       when 'sunday' then -2
     17     end dif,no_of_days
     18  from t
     19  )
     20  select dt,no_of_days,
     21     case when no_of_days <= dif then dt+no_of_days
     22         else dt+dif+(no_of_days-greatest(dif,0))+
     23             (ceil((no_of_days-greatest(dif,0))/5)*2)
     24     end next_dt
     25  from t2;
    
    DT        NO_OF_DAYS NEXT_DT
    --------- ---------- ---------
    18-APR-13          8 30-APR-13
    

    Published by: JAC on April 18, 2013 19:17
    Not tested... It will give you a starting point, if you do not want to row generation...

  • How to find the next date of the year and day as of today's date and the day

    I have a question about date functions, that is to say: how to get one next year (date and day) like today are the date and the day this year?

    You mean like this?

    SQL > select to_char (add_months (sysdate, 12),' day DD/MM/YYYY ') twice;

    TO_CHAR (ADD_MONTHS (S
    --------------------
    Friday, August 22, 2014

  • How to display the next occurrence of a recurring calendar event?

    If I have a recurring event for the last Wednesday of every 6 months effective 27/05/2015, how do I find the next occurrence of the event?

    On the edit frequency dialog box, I see a glimpse of three months, but only see may 2015, 2015 in June and July 2015. See attached screenshot. Given that the event will produce again for six months, this overview does not help.

    Is there another way in Lightening to show me the next occurrence? If not, where can I publish requests for improvements for Lightening?

    Thank you

    Forces

    Preview shows you the months that can fit into the dialog box. You could try to resize the dialog box to be larger to see several months.

    For requests for improvement, please use bugzilla.mozilla.org.

  • Where can I find the acer default green field wallpaper? I've looked everywhere.

    I would like to find the next wallpaper.

    http://PUU.sh/djTKs/3dda984fb2.jpg

    Thank you

    Sampsa

    Not sure of the original location of download so I am trying to post the file here - fingers crossed.

  • How can I find the HP prog who remembers my passwords

    Have all new TouchSmart 520 and when I started somehow, I found a prog which was to remember my password but I could not find him.  Where can I go please?

    Hello irishmuggins:

    GoTo all programs under which is a search box. Just start typing the name of the program you are looking for, you type the name to look up and see if it appears on the list.  Soon as recognize you, then left click on it and send it to the desktop. Ok. Then open it. Once the shortcut on the desktop then just move and drop it in one of your rentals file as my photo folder or the folder my documents some easy ware for you to find the next time.

  • can't find the file atl71.dll on my computer

    IT CANNOT FIND FILE ATL71. DLL ON MY COMPUTER

    Problems like this occur when you try to install programs that are not compatible with the operating system or after the removal of malicious software which has left traces of malware on the computer. Note that some malware camouflages itself with names like ATL71. DLL.

    If you're feeling brave, go to the search box and type regedit

    Go to the Find command and type in ATL71. DLL

    Click on Find and when it finds an instance of the above, delete the registry entry.

    Then press F3 to find the next instance and remove any additional entries that contain ATL71. DLL

    As long as you remove the entries that contain ATL71. DLL, you should not have other problems associated with visits in the Windows registry...

  • Where can I find the "recent pages" selection that used to be next door buttons 'Back-Forward "?

    Where can I find the "recent pages" selection that used to be next door buttons 'Back-Forward "?

    Make a right click the back / front button.

  • SFC.exe find corrupted system file and confirms the determination of repair at the next startup. but are still present after running sfc scannow new windows 8

    I run sfc/scannow;  results. resource protection finds files corrupted and managed to fix it. System file repair changes will take effect after the next reboot. but after the restart without change, I run sfc/scannow and files are always corrupt

    system not finish booting and stuck at halfway. Also the programs would not open. I had installed some drivers from the Asus download site. before it began. so I uninstalled it, but no help, then I ran the SFC scan who gave me the message about corrupted files, I ran a system restore and everything works although now I have same re installed all the updates except some Akami download which was also offered on the Asus downloads thanks. for your quick response

  • Find the first day of the third quarter of next year

    Hello

    I'm writing a sql to find "the first day of the third quarter of the year (from the current year) next»

    I am able to get the first and the last day of the current quarter:

    Select trunc (sysdate, 'Q'), trunc (add_months (sysdate, + 3), 'Q')-1 double

    But, how to find the first day of the third quarter of the year next (from the current year) based on any date entry (i.e. sysdate)

    for example if my entry date = 12/01/2001 should be released 07/01/2015

    If my entry date = 07/04/2005 should be released 07/01/2015

    If my entry date = 20/02/2013 should be released 07/01/2015

    ... etc.

    Thanks in advance

    Hello

    The 1st day of the 3rd quarter of next year is:

    ADD_MONTHS (TRUNC (SYSDATE, 'YEAR')

    18 = 12 + 6

    )

    TRUNC (SYSDATE, 'YEAR') is the 1st day of the 1st quarter of this year

    The first day of the new year is 12 months after that, and the first day of quarter 3 is another 6 months after that.

    user634169 wrote:

    ... But, how to find the first day of the third quarter of the year next (from the current year) based on any date entry (i.e. sysdate)

    for example if my entry date = 12/01/2001 should be released 07/01/2015

    If my entry date = 07/04/2005 should be released 07/01/2015

    If my entry date = 20/02/2013 should be released 07/01/2015

    ... etc.

    Thanks in advance

    You did some errors above?

    If the effective date in 2001, why is the output in 2015, not 2002?

    If the output is based only on the date of the day (currently in 2014), why even mention a start date?

  • Find the table number B &gt; = number in the table but &lt; then next entry b

    I'm trying to understand the following: find the table number B > = number in the table but < then next entry b

    Table A

    5
    10
    21
    20

    Table B

    8
    12
    16
    23
    40

    The 5 entry in table A, I would like to return 8 b
    For the 10 entry I would lke to return 12 b
    21 entry I would like to return 23 b
    20 entry I would like to return 23 b

    Edited by: Withnoe October 5, 2012 09:19

    Edited by: Withnoe October 5, 2012 10:54

    CREATE TABLE TAB_A (CLASS # VARCHAR2 (10), THE NUMBER OF TERM);
    CREATE TABLE TAB_B (CLASS # VARCHAR2 (10), THE NUMBER OF TERM);

    INSERT INTO TAB_A VALUES ('BIOL 520', 201010);
    INSERT INTO TAB_A VALUES ('BIOL 521', 201250);
    INSERT INTO TAB_A VALUES ('BIOL 522', 200980);

    INSERT INTO TAB_B VALUES ('BIOL 520', 201110);
    INSERT INTO TAB_B VALUES ('BIOL 520', 201150);
    INSERT INTO TAB_B VALUES ('BIOL 520', 201250);
    INSERT INTO TAB_B VALUES ('BIOL 521', 201250);
    INSERT INTO TAB_B VALUES ('BIOL 521', 201260);

    SELECT MIN (TAB_B.TERM) TERM, TAB_B.CLASS # TO TAB_A, TAB_B
    WHERE TAB_A.CLASS # = TAB_B.CLASS #.
    AND TAB_B.TERM > TAB_A.TERM
    GROUP TAB_B.CLASS #;

    Please let us know if you need anything else. Thank you

  • How to find the words that spans end of line to the next line in pdf format?

    I use Adobe Acrobat Pro X version for our development and form maintenance. I am writing a command Acrobat JAVA script which reads through all words and run the spell check and reports the wrong words spelled in an excel sheet. Because I run this script in batch for more than 1000 PDFs - I get a lot of words together. When I looked in the PDF files all these words are good looking because it makes its appearance at the end of the right margin, and the next word is in the next line. Since there is no space between them, it was mined in one word. Where the failure.

    I have used wordf = this.getPageNthWordQuads (i, j) to get the word start and end coordinates. When I look at my values create a rectangle, and extending through the lines. I got the coordinates for the ordinary Word and which cover the two lines acoross. the coordinates are same.

    I think I'm screwed I 8000 words and not the slightest idea how to get rid of them actual misspelled words.

    Help, please. Let me know if any /method class so I give the speech will give me the end of line or I have to go to the next layer to find this split.

    the addnot is somehow marking the words using this contact information - please hellp understand me how this works. Thank you.

    for all pages

    for (var i = 0; i < this.numPages; i ++)

    {

    For all words

    PG += 1;

    numWords = this.getPageNumWords (i);

    for (j = 0; j < numWords; j ++)

    {

    get spell checking

    ckWord = spell.checkWord (this.getPageNthWord (i, j))

    If (ckWord! = null)

    {

    Jn = 0

    ml = 0

    If the misspelled word found.

    wordf = this.getPageNthWordQuads (i, j)

    swordf = wordf.toString)

    var St = swordf.split(",")

    var diffx0 = parseInt(st[0])-8

    var diffx1 = parseInt(st[1])-8

    var diffx2 = parseInt(st[2])-8

    var diffx3 = parseInt(st[3])-8

    var diffx4 = parseInt(st[4])-8

    var diffx5 = parseInt(st[5])-8

    var diffx6 = parseInt(st[6])-8

    var diffx7 = parseInt(st[7])-8

    If (bparole is csword)

    {

    Jn = 1

    }

    If (m [1]! = m [3])

    {

    ml = 1

    }

    dataLine += "\r\n writing".

    }

    on the other

    {

    ml = 2

    }

    dataLine += "\r\n"+this.documentFileName. "

    + "\t" + this.getPageNthWord (i, j)

    + "\t" + pg

    + "\t" + j

    + "\t" + ml

    + "\t" + jn

    '\t st [0]' + diffx0 + '\t m [1]' + diffx1 + '\t st [2]' + diffx2 + '\t [3] st' + diffx3

    '\t st [4]' + diffx4 + '\t st [5]' + diffx5 + '\t [6] st' + diffx6 + '\t st [7]' + diffx7

    CK = 1

    }

    }

    }

    If Acrobat is reading each part of the word and the distinct words, you have a problem.

    The way I approached it in some of my tools was to check if a word ends

    with a hyphen and if so, to check if it is the last one on the line. If the two

    conditions are met, combined with the word on the next line. It comes

    do not fool proof, of course, as there are documents with columns are another

    structural elements that prevent this from working. Better than nothing,

    Although...

    However, it is also possible that Acrobat sees both as parts of

    the same word. In this case, getPageNthWordQuads() returns several

    tables of quads. As you know, this method returns an array of arrays quad.

    He is usually alone, but in principle it could be more... Something

    to check before giving up.

  • How to find the current or next role

    In an automatic activity, how to write the code PBL to find the current role and the next activity role.

    role of role;
    role = role.find (name: "");

    Sincerely

    Hey you,.

    There is a predefined variable that you can use to retrieve the current activity, if you're inside an automatic activity. You can use it to determine the current role also.

    // use this logic to retrieve the name of the activity and role inside an Automatic activity
    logMessage activity.name + " is in the role " + activity.role.name using severity = DEBUG
    

    Inside a screenflow, you must do this in a slightly different way. You would rather 'activity' instead of 'activity' to retrieve the name of the role current, as shown below:

    // use this logic to retrieve the name of the activity and role
    //  inside a Screenflow, a Global or a Gloal Creation
    logMessage Activity.name + " is in the role " + Activity.role.name using severity = DEBUG
    

    If you want to recover the role of another activity and all you know is the id of the activity (mouse click, activity-> click on 'Properties'-> name in the field of reading only "activity id" on the right), you will use this logic:

    // use this logic to retrieve the name of the activity and role
    //  when all you know is the activity id of the activity
    act as Activity = Activity("TheActivityIdHere")
    logMessage act.name + " is in the role " + act.role.name using severity = DEBUG
    

    It will fail if you run this by using the name of the activity inside the quotation marks instead of its id.

    Hope this helps,
    Dan

Maybe you are looking for

  • Slow Satellite Pro A300-1NT

    OK Then my ordered device an A300-1nt and a Dell e4300 for two members of our staff who arrived yesterday. Our IT Department managed the purchase and he restored to XP for us and all of our institutional and all software on board. The a300 is really,

  • Satellite 2400-S251: impossible to install the audio drivers XP

    I have a Satellite 2400-S251 and I just upgraded to Windows XP and now I have no sound.I looked in my device manager and I have drivers but I see 4 different audio codecs. I downloaded the audio drivers from the Web of Toshiba (s240sndx.exe) site is

  • Y40 - 70 won't hold battery charge

    I plug, 100% load, unplug the unit. Bed 100% charged battery. About 15-20 minutes later, computer laptop stops suddenly with a dead battery. When I plug it back in and get it restarted, it shows the battery charge again, 0%. I'm on Windows 10, but th

  • error on the stand-alone with Subvi application

    I developed a VI that call a Subvi with Labview 8.6. It works fine in VI or in an executable file on my development computer. I want to run it on another PC, so I have created an installer with the following additional installer: -4.4 NI-VISA run tim

  • music on a cd - r can not burn.

    It stops at waiting and the first song on the list will do, and then it ejects the cd and said try another brand or change burning speed. the brand of blank disc is the same brand that I've always used? No matter what body to know what the problem is