Report as text scalling

Hi all

I tried to get the character of scaling of report of my document, I have 400 pages and can not get the report with effectively (can be very slow). Can you please help to increase the speed based on my code?

var myscall = [];
myDoc var = app.activeDocument;
var mydoc.stories = monarticle;
for (var k = 0; k < mystory.length; k ++) {}
mywords var is mystory [k].words.everyItem () .getElements ();.
for (var w = 0; l < mywords.length; w ++) {}
If ((MyWords[w].horizontalScale!=100) |) (mywords[w].verticalScale!=100)) {
myscall.push ("number of Page:" + mywords[w].parentTextFrames[0].parentPage.name+"\tText:"+mywords[w].contents+"\r"))
}
}
}
Alert (myscall);

Thanks in advance,

Selva

Hi Selva,

I would not consider word objects, but objects textStyleRange .
A textStyleRange would indicate formatting changes (there are exceptions where the rendering of the characters changed, but no new textStyleRange is introduced, but it is a rare incident and will come with complex GREP styles).

Reason: There are different characters on the horizontal and vertical scale in one word.

The way the fastest to get all the stories would be:

var myStoryArray = mydoc.stories.everyItem().getElements();
var length = myStoryArray.length;
for(var n=0;n

Or to directly collect all the beaches of text style of stories at once:

var allTextStyleRanges = myDoc.stories.everyItem().textStyleRanges.everyItem().getElements();

Notes:
parentTextFrame and parentPage won't work with for example overset text.

parentPage. name will not also work with text blocks placed on the pasteboard.

And don't forget no notes and tables if there is.
(Also the properties of the object of history.)

Another approach might be to check first, if a definition applied paragraph is overridden, and then look at the textStlyeRanges in this paragraph. But which may vary according to the nature of the setting in the form that applies to all your texts.

Kind regards
Uwe

Tags: InDesign

Similar Questions

  • How to generate a report in text format

    How to build a report in text format and send it to both a file and a printer?

    Hi Chuck,

    Yes, it seems that the printed report and save the report to the VI file seen in the link above from smercurio_fc is going to do what you need.

    Also, here is an example of our community that can be useful to print to the printer by default by using report generation,.

    I hope this helps!

  • Standard report, change report Total text

    Using APEX, theme 26 5, I have a report that I need to change the text and the color of the text report Total at the bottom of the report.  Try dynamic action of charge with the following JavaScript code:

    URL: https://glassfish1.revion.com/apex/f?p=4550:1:2140114088822:

    Workspace: homeworld

    Login: demo

    password: demo

    Request 271

    Page 1...

    As a result, that does not change... I thought that it worked in APEX 4.x, cannot test now because I don't have access to an instance of 4.x...

    Any suggestions?

    Thank you

    Tony Miller
    Los Alamos, NM

    No need for JavaScript or dynamic action (but I think that the distinction uppercase / lowercase is the problem with what you have there).

    Set the required total text of report are Label in the report attributes and specify the color to aid online page CSS:

    #emp-586 .uReport tr:last-child td:first-child {
      color: #c00;
    }
    

    See the second report, which I have added to the page.

  • Interactive report Link Text

    Apex 4.2

    Theme 21

    I'm trying to add text to an infrared link

    I currently use:

    title = "click here to update the Configuration.

    I would also add a column value.

    I tried to use #MY_COL #, ' #MY_COL # ' and | ' #MY_COL #' |

    but the test is displayed as click here to update the Configuration MY_COL

    It works using #MY_COL # in a standard report, but not IR

    Thank you

    Gus

    COPY THE CODE FOLLOWING IN THE COLUMN FORMATTING

    use a dynamic action report after refresh

    In real action

    The action is

    ToolTip plugin

    -Action Dynamics Plugin - ToolTip

    and code like this plsql

    declare

    v_ID VARCHAR2 (10);

    v_ID2 VARCHAR2 (12);

    v_INFO VARCHAR2 (100);

    Start

    v_ID: = apex_application.g_x01;

    Select ID2 in v_ID2 from TABLE where ID = V_ID;

    for rec in (select ID1 separate from TABLENAME where ID2 = V_ID2)

    loop

    Select INFO from v_INFO from TABLENAME where ID1 = V_ID1;

    sys. HTP.p (v_INFO);

    sys. HTP.p (')
    ');

    end loop;

    end;

    Demo can be seen at: -.

    https://Apex.Oracle.com/pls/Apex/f?p=44321:410:

  • report in text format

    I have a report must send (output) to the format text form 6i, please help

    Published by: user7923654 on August 15, 2009 06:20

    Hello

    Try adding parameters when calling the report. (To view the report, the DESTYPE parameter will be SCREEN

         ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'FILE');
         ADD_PARAMETER(PL_ID, 'DESFORMAT', TEXT_PARAMETER, 'DELIMITED');
    -- If you didn't mention the DESNAME parameter, then the output will be generated in the application folder named report_name.lis
         ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '');
    

    Kind regards

    Manu.

    If this answer is useful or appropriate, please mark. Thank you.

  • configuration of the plugin simple text report

    I am updating a project of Teststand 4.2 for 2012. The original was a text via a report updated the sequential model and ICB code. I have trying to find current best practices to achieve a similar report.

    I installed the plugin to report simple text example but can find no documentation on how to configure it.

    The example works fine, but the columns have no limits or the measured value and have other items that I didn't need.

    Looking through the code I can see these are defined in the settings of the plugin, but I do not see where in my project to put.

    I'll also have to configure the report header and the name of the file.

    David

    What exactly do you mean by "key values"? Are you referring to the Key property in the NI_SimpleTextReport_CVI.seq?

    In order to get the type of comparison of a numerical limit test, for example, you can use an Expression like this post:

    Locals.ComparisonType = Step.Comp

    This would amount to "FROZEN".

    Regarding the addition of the results of the report, the key values are a string of research compared to a result object. In this case, you can add what you want to log on to the other results of this approach. Then, you can add a new column to the report in the NI_SimpleTextReport_CVI.seq file and the value of the key:

    AdditionalResults ["NameOfAdditonalResult"]

  • Text in the drop-down list used in the report

    Hello

    I want to use in my report, the text of the index selected in the combobox. Unfortunately, the variable for a ComboBox is L1, not as text T1. So, when I want to insert text in the report, I cannot write @L1 @ because it appears in the index, not the text.

    For example

    ComboBox1

    0 Red 1 green 2 yellow

    and if I choose 1. Green

    I want to put 'green' as a text in my report. I can't call as a variable because the variable L1 is not text.

    How can I do this? Please

    Hi andrea11hr,

    You can use a table for the exchange of information. Please take a look at the attached example

    Greetings

    Walter

  • APEX 5.0 - Classic - text not populated by LOV option report suggested a link

    Hi Experts,

    I created a few new classic reports in my application. I want to connect column to redirect to another page.

    When I change the Type of the column to the 'link' and add the page target and Link Text is necessary.

    When I press the button of the suggestion, it shows #COLUMN_NAME # and other things that I have used before for this column.

    But when I press one of the option with the click of a button, nothing is stuck int the link text field. I do complete manual.

    It is not full of LOV only if you do it for the first time — assign the text of the link.

    the same apex.oracle.com of samples. (but a simple statement such as select 1 test double).

    2015-05-27_143517.png

    Concerning

    J

    Hi Jozef,

    Yes it is a problem in the designer of the Page listed in our Application Express 5.0.0 Known Issues currently under

    20729435 interactive report column text property quick pick link does not set the value

    Concerning

    Patrick

  • What is the differece between a Standard report column and that is set to display text (escape special characters)?

    Hello friends,

    My requirement is

    I want to create a table. Presents some columns to display text.

    so my question is,

    What is the difference between a Standard report column and display text (escape special characters) in the attribute column property?

    Kind regards

    Arianne.

    Hi ujwala1234,

    ujwala1234 wrote:

    Hello friends,

    My requirement is

    I want to create a table. Presents some columns to display text.

    so my question is,

    What is the difference between a Standard report column and display text (escape special characters) in the attribute column property?

    Kind regards

    Arianne.

    Here is the difference:

    • Standard report column: this is used when your column in the SQL query returns the HTML markup. For example the query SQL with APEX_ITEM API columns or columns where you have mixed data in the column with the markup. In short, APEX rendering engine treats the column as HTML markup and analysis accordingly to display the required HTML element.
    • Display text (escape special characters): this type analysis the column data in the form of data stored in the database (no HTML). During analysis if the data contains special characters then it escapes and displays the data.

    Yes, you can mix the manual in the form of built on APEX_ITEM with normal standard report (display text) columns.

    I hope this helps!

    Kind regards

    Kiran

  • Right side of the text in the report are cut during report generated in PDF format

    Right side of the text in the report are cut during report generated in PDF format.
    In the report layout text is FLUSH JUSTIFIED. Text block is the same size as the outer frame.
    When the report is generated in PDF format, text is only JUSTIFIED to the LEFT and to the right looks like cut. Text beyond frame is invisible.
    But when I text selection in the PDF report that all the text is selected and I can copy and paste this text into any editor.
    What is a cause of this error and how can I solve this problem? In my view, there is error in report engine.
    Report Server Version: 10.1.2.3.0

    See photo. [http://1.bp.blogspot.com/_tSW8j23gT08/TKXn84zyRMI/AAAAAAAAAGE/KkNibanTSao/s1600/report_error.JPG]

    Don't know what your operating system and it could make a difference. If you're on Unix/Linux, try changing the uifont.ali file. (make a backup first!).

    Here is an example of the changes that I made to correct a similar problem:

    # Mapping of MS Windows

    #Arial = helvetica
    # 'Courier New' = courier
    # "Times New Roman" = times
    #Modern = helvetica
    #"MS Sans Serif" = helvetica
    # "MS Serif" = times
    # "Small fonts" = helvetica

    #Arial = 'arial.ttf '.
    Arial = helvetica.8
    "Courier New" = courier.9
    Arial.12 = helvetica.8
    #helvetica.12.Bold = helvetica.9
    #ArilMT is helvetica.9
    # "Albertus Extra Bold" = helvetica.9

    [PDF]

    #Arial = courier
    #arial = courier

    # Support for the languages of the far East:

    #itcadvantgardegothic = arial
    # "ITC front guard Gothic" = arial
    #itcadvantgardegothic = arial
    # "ITC Avant Garde Gothic" = Arial
    # changed to courier 06-25-2009
    itcadvantgardegothic = Helvetica
    #itcadvantgardegothic = arial
    "ITC Avant Garde Gothic" = Helvetica.11

    # Required
    #itcadvantgardegothic = arial
    # "ITC Avant Garde Gothic" = Arial

    [PDF:Subset]

    #times = "times.ttf".
    #courier = "cour.ttf.
    #helvetica = 'arial.ttf '.
    #arial = 'arial.ttf '.
    #helvetica = 'arial.ttf '.
    # 'Avant Garde' = 'arial.ttf '.
    #arial = 'arial.ttf '.
    #helvetica = 'arial.ttf '.
    #arial = 'arial.ttf '.
    #itcadvantgardegothic = 'arial.ttf '.
    #helvetica = 'arial.ttf '.
    #courier = "cour.ttf.

  • No additional text region report view report items below details

    I have a report based on EMP which displays EMPNO, ENAME and JOB and two text items disabled in the report area above the report. When the user clicks a row in the report these text elements are filled with the additional information of the date of HIRING and SAL for the selected employee. Layout below.

    HireDate February 20, 81
    SAL 1600

    Job name empno
    7698 SMITH CLERK
    7499 ALLEN SALESMAN

    What I want is for additional information (hiredate, sal) to display below the State lines.

    Note that I can't put these extra fields in a separate under the report area as the ratio in the region is a region of Hide and show. I tried the separate region approach by changing the report model to lose the table end tag at the end of "after rows', it seemed to work until I pressed Next on the report and then second region had not at all.


    Details of the page: -.

    HTML Page header - has the function

    function selectEMPRow (phiredate, psal)
    {
    $x('P9002_HIREDATE').value = phiredate;
    $x('P9002_SAL').value = psal;
    }


    Page in the region of report items
    P9002_HIREDATE - text field (disabled, only records do not state)
    P9002_SAL - text field (disabled, only records do not state)


    Region report
    definition
    (SQL query)

    SELECT
    E.EMPNO, E.ENAME, E.JOB,
    E.MGR, E.HIREDATE, E.SAL,
    E.COMM, E.DEPTNO
    OF EDP. EMP E

    Model UI - hide and show the region.

    Attributes
    All columns defined to display
    Report template - P9002_EMP_ROWTEMPLATE.

    Custom Report Template P9002_EMP_ROWTEMPLATE.
    Model name column Type (model line)
    Model - Standard class

    Model of line 1
    < tr #HIGHLIGHT_ROW # onclick = "selectEMPRow (' #HIREDATE #',)"
    #') ; ">
    < class td = "t15data" > #EMPNO # < table >
    < class td = "t15data" > #ENAME # < table >
    < class td = "t15data" > #JOB # < table >
    < /tr >

    Front of the lines
    < table class = "t15standard" summary = 'Report' >
    < class th = "t15header" #ALIGNMENT # > employee no. < /th >
    < class th = "t15header" #ALIGNMENT # > name < /th >
    < class th = "t15header" #ALIGNMENT # > job < /th >

    After the lines
    < b >
    < td colspan = "99" class = "t15afterrows" >
    < span class = "left" > EXTERNAL_LINK # CSV_LINK # # </span >
    < style table = "float: right;" text-align: right; ' Summary 'pagination' = >
    #PAGINATION # < /table >
    < table >
    < /tr >
    < /table >

    Published by: Pete @ LSC on January 6, 2010 01:18

    Published by: Pete @ LSC on January 6, 2010 01:22

    Hello

    Did you try to place your report point of view "Page Template Body (2. (Les éléments ci-dessous le contenu de la région) '?

    BR, Jari

  • extra spaces in TEXT report format

    Hello

    I have a report in text format, when I generate this report, it generates a space (bottom of page) between pages, and when I save the file as a text file these spaces are still their.

    How can we remove these spaces before you generate the text file? , I donot want to change the text file after generating it

    any tips?

    Mahdi Charara

    Select the main image, repeating property setting-->--> variable vertical elasticity.
    don't give not property is 'fixed', expand

  • How to change the report options to show only the results of success/failure?

    Hello

    in the report Options I have report = ASCII text file Format.

    In the Expression of filtering the results, I can choose between four preset selections (all results, exclude,..).

    But if I want to put together a custom then the first word 'Result' expression is highlighted in red
    Result.Status == 'past ' | Result.Status == "failed".

    And the error message in the ToolTip indicates: property name or an unknown variable.

    What happens then?

    THX

    OK, I lied!

    It worked for me, just by using Result.Status.

    It's ok that it shows red like that because it will assess correctly during runtime.

    Kind regards

  • Labview report video creation online tutorials?

    Is there a good video report from Labview tutorials online of creation?

    I am inexperienced with Labview and would like to read a stream of data to a serial port and place the content in a document of ASCII text (under some custom header information) and would be a useful video.

    Thank you

    Control OK, apparently, there is something of a difference between the size of the font in a header in relation to the font size of test in the body of a report and I added a report are Set"in the body text change font size of the report to size about half of the font size of this topic , and when it prints the report body text font size is a bit larger...

    Don't know why it is and thought, it might have something to do with the size of the font highlighted below...

  • View 2 reports with a performance in the operator Interface


    Paul

    The solution suggested by Nestor will work, but I think I have a simpler solution.

    1. download TestStand to show the report in text format using the existing mechanism.
    2. remove another ReportView control over your user interface. Do not connect it to one of the managers.
    3. generate your html and post report a custom UI message give the UI, the path of the html report.
    4. obtain the reference for the webBrowser control from the ReportView control using "ReportView.GetHTMLCtrl".
    5. call the Navigate method of the webBrowser control and pass it the path of the html report that you created.
    6. by clicking on the button print of the ReportView control should print the html report.

Maybe you are looking for