Find all Skew characters

Hi ALL,
Is it possible to find the Skew content in the document???
For example, if the skew is like as 1 to 180 etc.,
We can catch the skew characters like as below only
app.findTextPreferences.skew = 8;       //this is possible
app.findTextPreferences.skew = -20;    //this is possible
Thanks in advance
Siraj 

@Chinna – you can skew a text by -1.5 .
So it seems to be best:
If you do not have assigned any character styles:
1. First find all not skewed text and assign a character style
2. Search for text with character style "None" => all found texts are skewed by some value
Or, if there are already character styles into play:
1. First find all not skewed text and change the value of a property, that is never set to a special value throughout all texts in your document. Set this property to a special value.
2. Do a search where this value is set to default => all found texts are skewed by some value!
Here some code to show this with the property strikeThru that should be not used in the text!
Find a different one that is working with findTextPrefernces or changeTextPreferences, if you are using strikeThru in the formatting of your text!
//strikeThru is NOT used in the document!
var mySkope = app.documents[0];
app.findTextPreferences = app.changeTextPreferences = null;
//First find all text that is not skewed:
app.findTextPreferences.skew = 0;
//Format the found text with a property not used in the text:
app.changeTextPreferences.strikeThru = true;
mySkope.changeText();
app.findTextPreferences = app.changeTextPreferences = null;
//Find all text that is not set with that property.
//THAT must be the text skewed in various angles:
app.findTextPreferences.strikeThru = false;
var mySkewedTextsArray = mySkope.findText();
app.findTextPreferences = app.changeTextPreferences = null;
//Skewed texts contents written to console:
//Or do here something else with the skewed text!
for(var n=0; n<mySkewedTextsArray.length;n++){
    $.writeln(mySkewedTextsArray[n].contents);
//Reset the property used for the not-skewed text:
app.findTextPreferences.strikeThru = true;
app.changeTextPreferences.strikeThru = false;
mySkope.changeText();
app.findTextPreferences = app.changeTextPreferences = null;
Uwe

Similar Messages

  • Find All Special Characters in a SQL Server

    I would like to find all Special Characters in a table. I am currently using the code below. Not sure if this gets all of them.
    select  top 50 *
    from [dbo].[SV20150122]
    where street LIKE '%[^0-9a-zA-Z @\.\-]%'
    SQL

    Depends on what you want to count as a special character.  Depending on your collation, your query might not consider é (for example) as a special character.  The same goes for other accented letters.  If that's what you want, then fine. 
    If that is not what you want, you may want to do
    where street LIKE '%[^0-9a-zA-Z @\.\-]%' Collate Latin1_General_BIN
    In any case, you can see exactly which characters are NOT counted as special characters on your system (with and without the Collate clause) by running
    Declare @Test Table(ID int, MyData char(1));
    ;With cte As
    (Select 0 As Number
    Union All
    Select Number + 1
    From cte
    Where Number < 255)
    Insert @Test(ID, MyData)
    Select Number, CHAR(Number)
    From cte Option(MaxRecursion 256);
    Select ID, MyData From @Test
    Except
    Select ID, MyData From @Test
    Where MyData LIKE '%[^0-9a-zA-Z @\.\-]%'
    Select ID, MyData From @Test
    Except
    Select ID, MyData From @Test
    Where MyData LIKE '%[^0-9a-zA-Z @\.\-]%' Collate Latin1_General_BIN
    Note: the above code assumes the column street is char or varchar. 
    Tom

  • Finding all the characters in a character set

    How do I find out what all of the characters in a specific character set are? I'm trying to determine which Oracle character sets to recommend to customers using various Windows code pages, and it's easy enough to find a list of the characters in a code page, but it seems impossible to find a list of the characters in an Oracle character set. Can anyone tell me where to look?

    Hi.
    Oracle's ISO and Windows character sets are consistant to the code pages they support. If you have need for other character sets or you just want to check for your self the 9.2 version of locale builder supports displaying and printing all non Unicode code pages.

  • How to find out if all the characters in a string are digits?

    Hi, I want to write a program that is boolean & it returns true if all the charactrs in a string are digit. i have written a prgoram which returns true if String has digits where as I want it to return true if whole string is digit. can anyone help please?
    public class stringD {
              //construct String
    private String str;          
    public boolean isDigit (String str) {
    boolean answer=true;
    for( int i = 0; i < str.length(); i++ )     {
         if( str.charAt( i ) < (int)'A' )     {
              answer=true;
         else {
              answer= false;
         }//if & else
    }//end for
    return (answer);
    }//end boolean
    public static void main (String [] args)     {
              stringD str = new stringD ();
              System.out.println("String is Thank you 1234");
              System.out.println("If all the characters in string are digits. It will be true: " + str.isDigit("Thank you 1234"));
    } //end main

    boolean b = true;
    for (int i = 0; b && i < str.length(); i++) {
      if (str.charAt(i) > '9' || str.charAt(i) < '0') {
        b = false;
    if (b) {
      System.out.println(str+" is a number");
    } else {
      System.out.println(str+" is not a number");
    }

  • How to find all Hypercard documents in Leopard?

    When I upgraded to a Mac Pro from a G4, I lost my ability to work with Hypercard (I do use Sheepshaver occasionally, but it crashes frequently). I recently purchased Supercard, in order to be able to continue to work in a Hypercard-like environment (and it works great), but I have to convert my Hypercard projects and stacks to Supercard format.
    I have several old Hypercard documents scattered throughout my mac's hard drives, and want to be able to find them all using Leopard's find abilities. However, I have discovered that (unlike in Tiger), Leopard cannot search by Creator Code or file Type Code, only by "Kind". When I try to search by "Kind" for "HyperCard" or "Hypercard Document" (Leopard displays the latter in the Get Info box for a Hypercard stack), I get no results. It works for "Microsoft Excel", but not for Hypercard.
    None of content, size or date help work; there is a wide range of stack sizes and date (I was working on various projects from the late 1980s through last year). Content varies widely as well.
    Any ideas on how I can find all Hypercard stacks on my drives? Perhaps there is a 3rd party tool that allows me to do this (I've searched with no luck on this front yet).
    Thanks!

    I tried this and it works as you describe, but not all Hypercard documents appear to have the same content type, as described by Terminal.
    The first Hypercard stack I tried came up with the content type:
    dyn.ah62d4rv4ge8xe6u
    The search only found the one result with this type (the same stack).
    Then I tried using the Hypercard "Home" stack (a pretty central stack to Hypercard's functioning), and it had a content type:
    dyn.ah62d4rv4gk8zgzcbmq
    (note the type is longer with a different ending; only the first 14 characters are identical to the first stack).
    This search found 317 items, which is likely most of my Hypercard documents, so this is some progress.
    Unfortunately I know that since the first stack I tried had a different content type, there may be other Hypercard stacks on my hard drive with yet a different content type, not caught by these searches.
    I then tried a wildcard, thinking that if only the first 14 characters of the content type are identical, I focus my search on those characters only, using asterisk as a wildcard at the end. So I searched for:
    dyn.ah62d4rv4g*
    The result was 526 hits, including many documents that are not Hypercard. So this doesn't help.
    It appears that the content type is not exactly specific to a the File Type or Creator Code, so while I can find many of a particular document, this method cannot find all of one type of document.
    I tried searching using raw query by the Terminal-reported File Type Code (kMDItemFSTypeCode= "STAK"), but this revealed no items.
    Perhaps I should suggest this to Apple as a bug fix for Leopard, to restore the ability to search by Type Code or Creator Code as a choice in the OS Find service? I know these codes are no longer relied on as much as they used to be, since now the OS uses extension as much as anything else, but there is lots of older software that still run in Leopard that use Type and Creator codes. And Apple still recommends registering the creator code of any new software.
    Thank you!

  • How to find all bookmarked PDF documents in Preview in Mavericks?

    Hi there,
      the problem is that before upgrading to Mavericks I could view all my bookmarked PDF documents just via menu bar in Preview, but now in Mavericks I have no idea how to manage this bookmarked documents - I can see bookmarks only after opening these PDF files which have been bookmarked. Just imagine that you have thousands of documents of which only a couple have been bookmarked for later reading - as I can see the only way to find these documents in Maverick is to open documents one by one and see whether they have bookmarks or not... Is there any way to bypass this painful procedure?
    Thanks in advance!
    Kind regards,
    Alex

    I tried this and it works as you describe, but not all Hypercard documents appear to have the same content type, as described by Terminal.
    The first Hypercard stack I tried came up with the content type:
    dyn.ah62d4rv4ge8xe6u
    The search only found the one result with this type (the same stack).
    Then I tried using the Hypercard "Home" stack (a pretty central stack to Hypercard's functioning), and it had a content type:
    dyn.ah62d4rv4gk8zgzcbmq
    (note the type is longer with a different ending; only the first 14 characters are identical to the first stack).
    This search found 317 items, which is likely most of my Hypercard documents, so this is some progress.
    Unfortunately I know that since the first stack I tried had a different content type, there may be other Hypercard stacks on my hard drive with yet a different content type, not caught by these searches.
    I then tried a wildcard, thinking that if only the first 14 characters of the content type are identical, I focus my search on those characters only, using asterisk as a wildcard at the end. So I searched for:
    dyn.ah62d4rv4g*
    The result was 526 hits, including many documents that are not Hypercard. So this doesn't help.
    It appears that the content type is not exactly specific to a the File Type or Creator Code, so while I can find many of a particular document, this method cannot find all of one type of document.
    I tried searching using raw query by the Terminal-reported File Type Code (kMDItemFSTypeCode= "STAK"), but this revealed no items.
    Perhaps I should suggest this to Apple as a bug fix for Leopard, to restore the ability to search by Type Code or Creator Code as a choice in the OS Find service? I know these codes are no longer relied on as much as they used to be, since now the OS uses extension as much as anything else, but there is lots of older software that still run in Leopard that use Type and Creator codes. And Apple still recommends registering the creator code of any new software.
    Thank you!

  • Find non ascii characters on Table

    I am trying to find all non-ascii characters in a specific field on a 10.2G table.
    Any select statement that can help?
    Thanks!

    Charlov wrote:
    I am trying to find all non-ascii characters in a specific field on a 10.2G table.
    Any select statement that can help?
    Thanks!Perhaps something like this...
    select *
    from table
    where regexp_like(column,'[^ -'||chr(126)||']')Assuming you are taking ascii characters as being space to chr(126)

  • Address book: Find and replace characters?

    Hi all,
    I just imported VCF file from Outlook to Address book. I am in Iceland and the Icelandic characters came wrong. Is there any way to batch find and replace characters in Address book? That is in individual cards.
    Thanks,
    Hilmar

    I believe the only way would be to write an AppleScript.

  • Preview search doesn't work for all ASCII characters

    The title pretty much says it all. The behavior is completely broken. Any searches for words that contain a non-letter, non-number ASCII, non-standard punctuation character, e.g., @#$%^&*()+, kind of ignores the special characters. For example:
    Find: C++
    Finds all pages with the text "C++", but doesn't highlight that text. Instead, it highlights all "C" and "c" characters, and the find counts for those pages are the number of C characters. Note that it neither highlights nor counts C characters on pages that don't contain "C++"
    Find: "C++"
    Finds about half the pages and the find count is correct, but it highlights only C characters that are followed by ++ OR other special characters, e.g. it highlights the C in "C#".

    mentalwasteland wrote:
    I simply want it to work as the documentation says it works.
    By all means tell Apple it does not perform according to their documentation when you ask them to fix it.
    Does Adobe Reader do any better?  I don't know if it might have its own search system....

  • Does Adobe have a Serif font that has all the characters needed to transliterate the Arabic language correctly?

    Does Adobe have a Serif font that has all the characters needed to transliterate the Arabic language correctly?
    This question is Not Answered.(Mark as assumed answered)
    andrew mcgroarty Community Member andrew mcgroarty May 18, 2014 2:06 PM
    Does Adobe have a Serif font that has all the characters needed to transliterate the Arabic language correctly?
    These characters being: ā Ā Ḍ ḍ Ē ē Ḥ ḥ Ī ī Ō ō Ū ū Ṣ ṣ Ṭ ṭ Ẓ ẓ ʿ ʾ
    For more about these characters please see: http://www.brill.com/downloads/Simple_Arabic_transliteration.pdf
    Thank you

    Thank you for taking the time out to reply Ellis.
    I am aware of the fonts that you mentioned, but they each have a drawback for me, for example, there is no bold italic for Gentium etc.
    Given the high quality of Adobe fonts I was hoping that i could find out if they have one that works.
    Thanks and best wishes
    Andy

  • I need a Vietnamese keyboard. Recommendations? A keyboard that officially works with iPad and displays all the characters and their accent marks for typing.

    Where do I find an excellent and reliable Vietnamese keyboard for new iPad? A keyboard that displays all the characters and the accent marks so typing can be easily accomplished. The iPad keyboard selection for Vietnamese really only seems to change the Return key to the Vietnamese language. iPad is sold all over the world....my interest is Viet Nam.....the full keyboard.

    Thanks.....my Vietnamese expert spouse says this tip will work just fine.  I was not aware of the hold down function. Slow typing but accomplishes the objective native on the iPad.
    You are correct.....most Apps that I find seem to be based only on a copy/paste method of input.
    You solved the problem.

  • How do I get itunes do find all my music?

    iTunes cannot locate multiple files from my library; they have not moved or changed. How do I get itunes do find all my music again. There are over 15,000 songs in my library - about half have an exclamation mark in my playlists.

    Hmm, not sure I understand how that might have happened. It seems as if the media folder has been pointed to the wrong level, put in a pre-iTunes 9 layout and then updated. All the <Artist> folders should be moved from iTunes to iTunes\iTunes Media\Music. Assuming iTunes moved the files around the filenames should be as expected. WMP, for example. might use different character substitutions for illegal characters and can user longer file and folder names. If anything remains broken FindTracks can take up the slack.
    tt2

  • Find All Occurrences always fails within loop

    Dear forumers,
    There's this strange problem that requires a fix.
    Finding all occurences of '#' works fine here:-
    REPORT  zz_test.
    DATA: lv_text TYPE string,
          ls_result TYPE match_result,
          et_release type table of yytc_release,
          lt_result  TYPE match_result_tab.
    lv_text = '"RFC-1234#Create ""Payroll"" under NL directory"'.
      FIND ALL OCCURRENCES OF REGEX '#'
                IN lv_text
                RESULTS lt_result IGNORING CASE IN CHARACTER MODE.
      IF sy-subrc = 0.   " SY-SUBRC is always 0
        READ TABLE lt_result INTO ls_result INDEX 1.
        WRITE :'Offset: ' .
        WRITE: ls_result-offset .
        WRITE: lv_text+00(ls_result-offset).
      ENDIF.
    But it always fails here, within a loop at an internal table:-
    SELECT * .... INTO TABLE it_jira ...
    LOOP AT it_jira ASSIGNING <jira>.
      <release>-summary = <jira>-summary.
      IF <release>-type CS 'Subtask'.
        " <release>-summary is of data type CHAR255
        PERFORM get_subtask USING <release>-summary.  
      ENDIF.
    ENDLOOP.
    FORM get_subtask  USING    pv_summary TYPE yytc_release-summary.
      DATA:
        lv_string  TYPE char255,
        lv_final   TYPE char255,
        lv_summary TYPE string,
        lv_strlen  TYPE i,
        lt_result  TYPE match_result_tab.
      lv_string = pv_summary.     " LV_STRING = '"RFC-1234#Create ""Payroll"" under NL directory"''
      CONDENSE lv_string.
      lv_strlen = STRLEN( lv_string ).
      lv_strlen = lv_strlen - 1.
      IF lv_string+0(1) = '"' AND lv_string+lv_strlen(1) = '"'.
        lv_strlen = lv_strlen - 1.
        WRITE lv_string+1(lv_strlen) TO lv_final+1(254).
      ENDIF.
      lv_summary = lv_final.
    "  FIND ALL OCCURRENCES OF '#'
    "      IN lv_summary
    "    RESULTS lt_result IGNORING CASE.   * SY-SUBRC is always 4 here too
      FIND ALL OCCURRENCES OF REGEX '#'
          IN lv_summary
        RESULTS lt_result IGNORING CASE IN CHARACTER MODE.
      IF sy-subrc = 0.    " SY-SUBRC is always 4 here - why?!  :(
      ENDIF.
      CLEAR: lv_string,
             lt_result.
    ENDFORM.                    " GET_SUBTASK
    Only when the string LV_SUMMARY is edited from within the debugger (add space to the string prefix, etc), the SY-SUBRC will be 0 and there'll be data found in LT_RESULT.
    How can I resolve this issue? Please do help. Thanks.

    I think the subtle difference is that in your first example the character is actually '#' whereas in the second example it is actually another (unprintable)value such-as line-feed and only APPEARS to be '#'.
    You must find out what the value in question is(will it always be the same value?) and then replace that instead of '#'.

  • How do I find all the purchased items on my iPhone? When I try to update the iPhone iOS while connected to my MacBook it says there are purchased items on the phone that have not been transferred to my iTunes library and that I should transfer them.

    How do I find all the purchased items on my iPhone? When I try to update the iPhone iOS while connected to my MacBook it says there are purchased items on the phone that have not been transferred to my iTunes library and that I should transfer them before updating.

    Thanks. This seems to have worked easily.

  • When looking at my "About This Mac" it says that I have 60gb of space left on my hard drive, but when I go into finder to find all of these files there is not 300gb worth in anything I search, even searching, "All files on the Mac". Help!?

    When looking at my "About This Mac" it says that I have 60gb of space left on my hard drive, but when I go into finder to find all of these files there is not 300gb worth in anything I search, even searching, "All files on the Mac". Help!?
    It says I have over 150 gigs of video on my hard drive. But I have gone through and deleted almost all of what shows up, still it says there is roughly the same amount on the hard drive. Where are these files? I want to delete them so I can have my hard drive clear.
    Thanks for your help guys!

    Quote from the article.
    Time Machine in OS X Lion includes a new feature called "local snapshots" that keeps copies of files you create, modify or delete on your internal disk. Local snapshots compliment regular Time Machine backups (that are stored on your external disk or Time Capsule) giving you a "safety net" for times when you might be away from your external backup disk or Time Capsule and accidentally delete a file.
    So what makes a notebook any different then a desktop, other then with a desktop you might have your tm backup drive connected all the time.
    The object here is to not indiscriminately delete files you need or want to keep. I personally have never deleted a file I wanted to keep.
    In essence a backup is for catastrophic failure of your system. So it can be restored once that failure has been fixed. Not because you go in willy nilly and start deleting files.

Maybe you are looking for

  • Refresh internal table records in web dynpro

    Hi Guru's I am facing an issue in web dynpro abap. in my application there is a button called OPEN. when i click on open button internal table records should be refreshed. so i have written code like this DATA lo_COMPONENTCONTROLLER TYPE REF TO IG_CO

  • Minimum specs for a graphics card.

    I just changed over my PE9 to an i7 2600 on a Gigabyte motherboard Z86 UD 3R with 8g ram . 64bit Windows7 The improvement is trully amazing compared with my old Core duo I am using my 2 year old Radeon HD4350. It plays full HD AVCHD in full screen fl

  • Don't Like New Mailbox on iPhone

    I have the iPhone 3Gs and yesterday when I connected my phone to my itunes account, it said there was a new software version to download, so I did. Now my mailbox is too complicated and I don't like it at all. I wish they had given me a choice and ex

  • My license has gone stale

    out of the blue I cannot use visual studio professional 2013 .... the message says "your license has gone stale". I cannot use visual studio.  When I click "check for updated license" I get an error: "Sorry we ran into a problem"  Method not found ..

  • My airport time machine will not connect to iPhone?

    I can connect on my macbook air, and I've set up a guest network with no password, but "unable to join network?" What setting is wrong?