Convert entire document to arabic style and layout

Hello everybody!
I'm currentyl working on a project where we need to convert a final document to a arabic version. We have all styles created and and the left-to-right settings on the text set correctyl. I have created a script that changes all the text content to the correct textcontent.
My problem is the following: I can recreate the actions done when you run "Reverse layout" by script. I found the possibility to "flip" all page items by running pageItem.flipItem(Flip.HORIZONTAL, AnchorPoint.CENTER_ANCHOR).
This dose not recreate the actions of the function "Reverse Layout". The textframes and the images boxes are flipped but the possitions of them are not flipped for example if a textframe is placed at the bottom left corner after I do a reverse the textframe is placed in the bottom right corner BUT when I do the flip the content is flipped but the textframe is still on the exact same place...
I hope somebody understands what I mean: Here is my code if you want to try it first:
var d = app.activeDocument;
var pis = d.allPageItems;
for(var i = 0; i < pis.length; i++){
     var pi = pis[i];
     if(pi instanceof Image){
          //we flip the rectangle not the image
     }else{
          pi.flipItem(Flip.HORIZONTAL,AnchorPoint.CENTER_ANCHOR);         
Oh yeah, you need to have the ME (middle east) version of InDesign to be able to run the "Reverse layout"-function.
Thank you
Regards,
Ruy Ramos

Peter,
The OP wants to change the order of the pages. To him the new order will not represent a confusing loop of the text string weaving backwards and forwards in the document. It will be as he wants.
Adding Section Breaks, even without creating a keyboard shortcut for it, only will take a few minutes for 100 pages. Then one is free to reorganize using the Thumbnails. Eliminating the Section Breaks when they have served their purpose takes only a few seconds using Find and Replace.
Any linked text boxes in PL mode will indeed create a serpentine text flow if Sections are shuffled.
Jerry

Similar Messages

  • Panel contents overlap when using borderSkin style and layout=absolute

    This problem has been reported on several occasions
    (http://bugs.adobe.com/jira/browse/SDK-14806)
    and there are several articles that talk about this:
    http://dougmccune.com/blog/2008/01/17/followup-about-flex-panel-bug/
    http://dougmccune.com/blog/2008/01/12/calling-********-on-a-resolved-flex-bug/
    I´m not an expert but think I found a fix/workaround for this.
    frameworks\projects\framework\src\mx\containers\Panel.as
    Must to be changed in the viewMetrics() method.
    Line:
    973- if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) 974- {
    Replace by:
    if ((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) || (getQualifiedClassName(border) != "mx.skins.halo::PanelSkin") || (getStyle("borderStyle") != "default") ) {

    Hi Andres,<br /><br />I haven't tried to verify your fix, but would you be willing to fill out a contributor agreement and submit an official patch?<br /><br />Matt<br /><br /><br />On 4/25/08 12:34 PM, "Andres Serral" <[email protected]> wrote:<br /><br />A new discussion was started by Andres Serral in<br /><br />Developers --<br />  Panel contents overlap when using borderSkin style and layout=absolute<br /><br />This problem has been reported on several occasions<br />(http://bugs.adobe.com/jira/browse/SDK-14806)<br />and there are several articles that talk about this:<br />http://dougmccune.com/blog/2008/01/17/followup-about-flex-panel-bug/<br />http://dougmccune.com/blog/2008/01/12/calling-********-on-a-resolved-flex-bug/<br /><br />I´m not an expert but think I found a fix/workaround for this.<br /><br />frameworks\projects\framework\src\mx\containers\Panel.as<br />Must to be changed in the viewMetrics() method.<br /><br />Line:<br />973- if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) 974- {<br /><br />Replace by:<br />        if ((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) || (getQualifiedClassName(border) != "mx.skins.halo::PanelSkin") || (getStyle("borderStyle") != "default") ) {<br /><br />________________________________<br />View/reply at Panel contents overlap when using borderSkin style and layout=absolute <a href=http://www.adobeforums.com/webx?13@@.59b51731><a href=http://www.adobeforums.com/webx?13@@.59b51731><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b51731!folder=.3c060fa3><a href=http://www.adobeforums.com/webx?280@@.59b51731!folder=.3c060fa3>  form to cancel your email subscription.

  • Style and layout for text item displayed in new window

    1. I publish a text item and selects "Link That Displays Item In Full Browser Window".
    2. When I open the item the layout and style of the window is not as wanted.
    Where can I find the template containing this layout and style? How can I create my own layout and style?

    Not possible in the current release of Portal. We're planning templates for text and other item types in a future release.
    Regards,
    Jerry
    PortalPM

  • How to set default to convert a document to a black and white pdf file?

    I have dozens of color Word files that I need to convert to black and white pdf files on a weekly cycle.  I figured out that I can do this for individual files by clicking "print", "properties", then choose the "paper/quality" tab, and then click on "black and white".  However, I cannot make the "black and white" selection permanent.  That is, the next file requires me to go through the same four-step process to convert a Word file to a black and white pdf file.  Any suggestions on how to make the "black and white" selection permenant?

    Sorry.  I forgot to mention that I am using Acrobat Adobe Pro 9.4.2.

  • Adobe 8 doesn't convert entire document

    I have Adobe 8 with windows XP professional. I have an excel document which I have used for over a year as the basis for creating a PDF. It has always worked without a hitch. Tow days ago it started cutting off the bottom third of the one page document.
    I tried creating the PDF as both a print job and with the adobe icon.
    I tried clearing the print area- large excel file with only a one page output to generate, and resetting it to no affect.
    The document prints correctly on all printers, and the print preview is correct. I do not believe excel is the problem here or it would happen on the printers.
    What can it be?

    Thanks for this, but I am using Office 2007 (forgot to mention sorry). At any rate, today I tried again and it is performing correctly. This is after I rebooted yesterday before posting a thread. It continued to be a problem after that reboot.
    Of course a shut down overnight. Kind of feels like a short in a car- intermittent and impossible to find. Perhaps Adobe should look into this.

  • Layout in Arabic, Russian and Chinese. Exporting text from a PDF

    I am laying out long documents in Arabic, Russian and Chinese. The text has been provided as a PDF when I copy and paste this into Indesign it comes up as boxes question marks and other characters having nothing to do with the text I am trying to layout.  I have set the typeface to the Myriad Arabic and the Arabic dictionary still nothing resembling Arabic or any language for that matter. Same with Chinese and Russian. Any suggestions on how to get the text in from the PDF where it is the actual language. Appreciate any help with this.  Thank you.

    Thanks for the callout, Ellis
    Soooo, KK: you are in for a world of hurt. The intials "WP" at the beginning of these fonts means that the text came out of WordPerfect. Doing multilingual layouts in WP was annoying, but possible. It was developed in the pre-Unicode world where every single method of complex-script layout was a dirty hack. If you like knowing All of the Nerdy Dirty Details, I can tell you how it worked, but suffice it to say that trying to harvest non-Latin-script text from WP and repurpose it for use in InDesign is just pure pain. The WordPerfect-specific codepages were never really supported anywhere outside of WP.
    That being said, I have a script laying around somewhere for conversion of WP-Cyrillic into Unicode. (Actually, I think it does Windows CP 1251, but that works just as well.) But that is only one out of forty-five languages? And the Chinese has been rasterized? And the PDFs were originally generated by Distiller 3? If you have any choice, it's time to walk away. If you don't have any choice, I really hope you are billing hourly. My experience in this area (painfully extensive) is that it will cost three to five times as much to extract the text as it would to have a translation professional rekey the text, and then to have a second translation professional review the rekeyed text looking for typos.
    Russian OCR is pretty damn good these days, but Chinese OCR is hit-or-miss. I have never seen good Arabic OCR - doesn't mean it's not out there, but I couldn't help you find it.  But chances that all 45 languages have reliable OCR available, and that the result of said OCRing will not need to be reviewed by someone who knows the language, are basically nil.

  • I have a mac mini, and I need to be able to submit online documents that are format APA style and as a word document. Can I do this in pages?

    I have a mac mini, late 2012. I need to be able to submit online documents in APA style and as a MSWord document. Can I do this using pages or another app??

    In addition to what lllaass wrote, I would add that you keep it simple, that is, keep to APA 6 formatting requirements, but watch use of bullets, as well as insertion of figures or charts.  It also might help if you had access to MS Office for Windows to open up your file before uploading to confirm that what you wrote in Pages is what the 'reader' on the other sees.

  • Why is the footer blurry when I convert my document to a PDF?

    When I am viewing my document in Pages (using the Club newsletter template) my logo in the footer looks fine.
    However, when I convert the document to a PDF and then view it as a PDF, the footer looks blurry, as though there are two of them.
    I've tried deleting and repasting and using a different format for the logo (e.g., jpg, png), and nothing seems to work.  Could it be a sizing issue?  (obviously I have to shrink my logo quite a bit to get it to fit into the footer....)
    Help appreciated!
    Thanks!

    In your version of Pages, I went into layout mode, selected the footer, and enlarged it enough to cram a 180 dpi 1024x768 image into a thumb-sized image. In the Wrap Inspector, I selected make background objects selectable, and enabled in background. I turned off Object causes wrap.
    I then chose Format > Advanced > Move Object to Section Master, and exported to PDF Best. At 400% enlargement in Preview, the image and footer looked normally sharp.
    Here is a screen grab of that PDF footer image at 400%.
    OS X 10.9.3

  • How to create a document with sections that differ in margin and layout

    I'm trying to add a pages document 'B' into my new pages document 'A'.
    A and B have two entirely different layouts and different document margins. So whenever i copy B into A, B's margins become A's margins and thus B's layout turns into a mess.
    I tried adding a section break, column break, layout break.. None resolves the issues.
    All ideas on this are appreciated.
    Thank you.

    A document has the same size, orientation and margins throughout.
    You can however set the minimum margins and use Layout breaks to position text and images within that.
    In practice it is best to keep the two separate and combine the finished sets as .pdfs.
    Peter

  • How to convert English PSD document to Arabic type engine? help...

    Right now we are making some English web files into Arabic.
    We are using CS 6, and have enable the type engine and adjsuted all settings.
    If I start a NEW document, I can copy and paste Arabic into Photoshop and it reads correctly.
    However, if I copy and paste into a file made in English previously - even after setting it it to Middle-Eastern Features under Type menu, and changing type direction in the Paragraph menu...it doesn't paste in correctly (wrong character order)
    Even if I make a new text box, with everything set, it still pastes in wrong.
    However, if I first copy it into a new PSD document, with options set...it appears correctly, and then if I copy and paste that into the previously made English file, it shows up correctly.
    Is there a way to "convert" a PSD document's recognized type engine besides having to use a "middle man" file as described above. I would really prefer to copy-paste from Word into the already exisiting English file without having to first copy-paste into a blank file. (Preferences are also set to Middle Eastern under Edit menu)
    Thanks
    EDIT: I figured out that if I draw a new box, it will paste in just fine. Would prefer to sue the text boxes that are there. I tried also "Reset Paragraph" and it seemed to sometimes, reorder things...however it also reordered the English that was sometimes mixed in.
    Any thoughts?

    Hi
    Refer this thread [Convert MS Word .doc to PDF;
    Regards
    Raj

  • When I sign in to the Adobe Reader XI (which is the only option that I have to open a pdf document, I will sign in to the Adobe ID sign-in page. After I do this, the "Convert To" box goes "gray" and I am unable to convert the document I have selected.  It

    When I sign in to the Adobe Reader XI (which is the only option that I have to open a pdf document, I will sign in to the Adobe ID sign-in page. After I do this, the "Convert To" box goes "gray" and I am unable to convert the document I have selected.  It was working great for the first week that I used it, but now it doesn't give me the converting option.  I am very frustrated as I have done nothing to change anything, and I was thinking this was so great...now I am just pulling out my hair and do not have the option of calling anyone since no phone numbers are listed. I am VERY busy and do not have time to sit and wait over a half an hour to "chat", which I tried to do yesterday.  All I want to do is very simply, convert pdfs to Word.  I have paid for this and am not getting any help. I am not very savvy when it comes to Adobe this program and Adobe that program...I feel I am being scammed as I do not get simple answers for something that appeared was going to be simple. You can't even call customer service to talk to someone live to help walk you through. 

    Hello Kathie,
    Sorry for the inconvenience that has caused to you.
    Please let me know if you have tried converting any other PDF to word with Reader.
    Alos, please sign up at "https://cloud.acrobat.com/" using your Adobe ID credentials. Click on 'ExportPDF' tab and upload the PDF that you want to convert to Word.
    Let me know if this converts fine.
    Hope to hear from you.
    regards,
    Anubha

  • How do I lift a picture in a document to print it without printing the entire document, and when I ask it to print at 400%, how do I get it to tell me how many pages there are and what is on them

    I have a pix of a quilt in a document. I would like to print the page of the document at 400% to enable me to see the quilt better. When I go to effects and put in my percent, it prints the entire document and will not allow me to move to other pages. It says its p1 of 1. I am taking a class for making this quilt. I need this pix for the class.

    http://www.kimberlyeinmo.com/classes/
    This the site. The tulip quilt is what I would like to enlarge and print without the whole document.

  • How do I convert a word document into a pdf and then upload it to a web site

    How do I convert a word document into a pdf and then upload it to a web site so people can read it from my
    site with Dreamweaver 4?. How can I do this? Can anyone please help? I'm only a newbie. Thanking you in anticipation.

    First you need to install a means of printing to pdf from word.  I like cutepdf writer ( http://cutepdf.com/Products/CutePDF/writer.asp ).  Once installed you will print the doc in word and under the printer selection you choose pdf.
    Once you have the file you put it in your local site folders and upload it using Dreamweaver.  Be sure to link to it from a page so users can get to it and I would recommend giving the link a target of _black so it will open in a new window (see the properties inspector in DW).

  • I know that how to convert any documents to pdf file, but don't know how to get barcode on it. I am using windows 8.1. and want to see barcode on my documents before the print. Please help.

    I know that how to convert any documents to pdf file, but don't know how to get barcode on it. I am using windows 8.1. and want to see barcode on my documents before the print. Please help.

    Hi Frank ,
    Please refer to the following link and see if this helps.
    https://helpx.adobe.com/acrobat/kb/error-organizer-database-damaged-reset-1.html
    Regards
    Sukrit Dhingra

  • How do I copy and paste text from a converted Word document?

    I just converted a pdf file into word.  I want to copy and paste the informatiuon into another document.  How do I do that?

    Hi Sara.  Tanks for responding.  If I cannot figure this out (I  was up
    until 2am last night), I want to cancel my subscription.
    Here are two files you can check on/help me with.  When I try again,  it
    comes up 'an error has occurred when trying to access the service.'
    Please advise.
    Pat Tomassi
    In a message dated 11/1/2014 12:55:23 A.M. Eastern Daylight Time, 
    [email protected] writes:
    How  do I copy and paste text from a converted Word document?
    created by Sara.Forsberg (https://forums.adobe.com/people/Sara.Forsberg) 
    in Adobe Acrobat.com Services - View the full  discussion
    (https://forums.adobe.com/message/6888908#6888908)

Maybe you are looking for

  • Vendor Down Payment Clearing: F-54 or F-44

    Hi I have made a down payment (with Spl. GL indicator) to a vendor, using F-48. Then I book an invoice using FB60. I kept the two amounts same and ignored WT to keep things simple. Now i want to clear the down payment against the invoice. I use F-54.

  • Download manager is saving images as .aspx notebook file, instead of jpeg

    when i save image from internet, the download manager says it is saving it as a jpeg file but when i click on save, it saves it as as .aspx notepad file and i can't change it.

  • How do I import stereo audio as pan centered, "Dual Mono?"

    Greetings, For most of my video recording, I'm running two wireless mics and am recording in stereo. 90% of the time, I'm working with one track or the other and, because I'm cutting for broadcast news, the pan for the audio needs to be centered. Is

  • Don't know the password

    My query is about the password of the Blackberry phone. I know the PIN-code of the Blackberry but I don't know the code. I desperately want to unluck the phone, in order to see what kind of data I still have on the phone (possibly some of my own). Pl

  • How to transfer music from older ipod to new ipod?

    Hi, I have an older Ipod touch 8GB that currently has about 1000 songs in the itunes library. I know this question has probably been asked a million times, but the replies i read seemed a little confusing! My question is, Is there an easy way to save