How to give Page break in XML
Can we give an page break instructions through XML file.
I have an xml file which i am importing and generating pdf.Is there any tag or paragrapg style that can be applied to xml element to indicate page break.
Can we give an page break instructions through XML file.
I have an xml file which i am importing and generating pdf.Is there any tag or paragrapg style that can be applied to xml element to indicate page break.
Hi Nishatry
I dont think so there is one command for pagebreaking from indesign. By this way you can try create tag for pagebreaking and apply a paragraph style then simply replace the pagebreak style to pagebreak
app.findTextPreferences = app.changeTextPreferences = null;
app.findTextPreferences.appliedParagraphStyle = "Pagebreak";
app.changeTextPreferences.changeTo = "^P";
app.activeDocument.changeText();
thanks
regards
a r u l
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.