Home
XSLfast 5.0
Contents
1. 15 ROn TINO RR ERE Em 15 ADA A OE P E E EE E a cae or DIRE a are cos 0 MIRDE IM EE URIEP ERU E REI UNE E DIDI R MU E enereuese 15 XSL fast InstallablOli scnesee eoe n Uooa ben EUUPE TRUE EEE Een SE UBET PERPE EE BEES 16 XSLfast Functionality Diagram 2252522 5io3 09 4 bai 99009945901 0y249 99100902908 490429 o4 0o Q4 dde 17 GS OU PINS Stes has crests ro cory nes once ve arts es aww be hare OU DUE PERPE OC SKI EPI ME OU UU PIU NER 18 SAU RENI EI AE TETTE TE TTE EO T TETTE TTD T 18 Intended Audience e dio nienebonte Atos nae aU RI OR PCR Ne mI M RUNE CN ORE DRE 20 hi zin gerer 22 axlzf jp c r 24 xad eer T 25 lal Pu mv ES 27 PIS EME MEIN one doit Gore ca r 29 Arrange Menu cxcccunctonddcnsenehesssteaddentenabeendeendecnteuwseund eadecnbsewbGunbeoedecneswndeunneeedecseeened 32 PASE MENU MOI 34 MU ab g E E E E E E E E aun E E E 35 TOOS ROU e E E E A 36 WGO OME ETE 45 EDAN I E II D E E A A 46 Igne E E E E EE E E T E 49 3 Page VARI MES ejes RUNE E ER 49 Frame Dependent Toolbars euis ntesatdiededum estesa duse dup tenateba ded sup o ebaid e suR NN e a dU Don 50 M Inn M 55 MSDEC Or WIDOOW an eid ua
2. M Productgroup PEN P n SSI APA o Y NOR NTS SEA FIC RNS S KNEE NT DE ETRY II TRA ECCE If you check this option the layout is not bound to the top node as shown in below figure 89 Page Data Format 4 m a 4 Report 4 Productgroup Name Img 4 Product Name Description Img Data The page is bound to the root node if Do not bind layout to top node is checked Every element grouped to XML contents that is placed on the sheet now shows the path to the node with Report e g Report ProductGroup Name gt Custom Data Format 4p 5855 88 SBR BRE BB BY B 4 Report 4 Productgroup Name QUCYEOUUDYUTT E E NU Ur nr i nr n n rs Tr es 3 Ima 4 Product Mame Description Img Data EE portiProductgroup B i c ANC Y pe 90 Page Note This setting can also be done in Layout settings window Select Layout gt Layout settings menu The Layout settings window appears Check Do not bind layout to top node option under Input Output settings tab Layout settings version ES Additional templates Layout description Advanced options Security Input Output settings Generation options Input XML File linput Demo xml Edit Do not bind layout to top node Load CSV File The Load structure from csv file option loads the structure of csv file into XSLfast This helps to view the str
3. 11 Choose the start menu folder that you want to add the shortcut and click Next button 490 Page ie Setup XSLfast 4 0 Select Additional Tasks Which additional tasks should be performed Select the additional tasks you would like Setup to perform while installing XSLfast 4 0 then click Next Additional icons Create a desktop icon If you activate the check box Create a desktop icon an icon with a shortcut to XSLfast appears on your desktop The check box Create a Quick Launch icon creates an entry in the Windows Start menu 12 Confirm your settings with the button Next The next screen shows you an overview of the installation information 491 Page ie Setup XSLfast 4 0 Ready to Install Setup is now ready to begin installing XSLfast 4 0 on your computer Click Install to continue with the installation or click Back if you want to review or change any settings Destination location C Program FilesvXSLfast sSL East 4 0 Setup type Full Installation Selected components Main Files Documentation Examples Java Runtime Environment Start Menu folder 13 Click Install button to start installation 492 Page iS Setup XSLfast 4 0 Installing Please wait while Setup installs SLfast 4 0 on your computer Extracting files C Program Files SLtast sS Lfast 4 O docs xsltast pdf MO 8 Ll L lo jJ Now you see the files which ar
4. Look In E input v i Al m EJE EJ Tutorial D Demo xml Demodata_de xml Demodata en xml File Name Files of Type DTD XML XSD schema files xsd xml dtd v TEJ Ce Cette Note The new layout appears as New layout 1 New layout 2 and so on if the layout is not saved 6 Select the XML file to load the XML into XSLfast and click Open button else click Cancel button Refer Load Structure section for more details 7 Page 7 Insert elements on the worksheet and save the file in xsf format Refer Insert Elements and Save Layout sections for more details Open Layout XSLfast offers you to open an empty layout existing layouts recently used layouts and templates through Open window The Open Window The Open window consists of the following options e Open existing layout e Open recently used layout e Empty layout e Templates 78 Page Open ES t N 1 Create Open layout 2 Attach XML DTD data file 3 Modify layout 4 Render layout i Open existing layout Create new layout Open recently used layout Open from template C Documents and Settings Footnotes xsf C Documents and Settings nasgor Table xsf E Business report Text document P C Documents and Settings nasgor Text xsF F Assessment E C Documents and Settings nasgor 1 xsF B Order D XSLFfast xslfast table background
5. Bring Forward Send backward Groupings WR Undo use alternate colors true Ctrl Z X Cut Ctrl X Copy Ctrl C B Paste Ctrl V Row Column Cell Table header Table footer G Add slave table Background image dT wv v vw vyv vyv Lam RR ARR S ee ee CD RR ee RR ee ee ODD ee ARR ee RR OD ee ee m Background color bi Roll cells to nested table Fix table layout Set all borders Generate template Locked e Row Sets the properties of a row 327 Page Bring Forward MR Sa At St te a a S E Send backward Groupings Ld WF Undo use alternate colors true Ctrl Z 3 cut Ctrl X Copy Ctrl C Paste Ctrl aaa a aaa a Row gt SB Add row after Column gt am Add row before Cell gt EP Remove row Table header d keep together L Table Footer d Keep with previous P amp 5 Add slave table Keep with next gt Background image k Fixed row height Background color d Background image Roll cells to nested table Background color b Fix table layout Convert to Set all borders Move up Generate template Move down Locked Split oOo or Ooo ooo 3s e Add row after Adds a row after the selected row e Add row before Adds a row before the selected row e Remove row Removes the selected row e Move up and Move Down Option to re order the rows e Split Option to split the merged rows This option is enabled only if you join two or more rows It is e
6. xsEtst Version 5 0 User Manual Imprint jCatalog Software AG Lindemannstrasse 79 44137 Dortmund Germany Tel 49 0 2 31 39 67 0 Fax 49 0 2 31 39 67 100 http www xslfast com This manual and all its parts are copyright protected Any use without consent from jCatalog Software AG is illegal This applies in particular to reproduction translation microfilming and its storage or processing in electronic systems Text images and examples have been created with the utmost care The publisher shall not be liable for any damages whatsoever arising out of incorrect information This manual makes use of registered trademarks trade names and common names Even if these are not specifically indicated the copyright protection rules are applicable jCatalog reserves the right to make changes without prior intimation Copyright 2001 2012 jCatalog Software AG Table of Contents Welcome to XSLfast 5 0 ccc ccc cc ccc ccc ee e e e eososoocececcececceee IL RSL T ASC Me e H 12 Bener S or ASLI ASE sporerne DUMP PCR Uu UE M cease UP FROM PEDEM DIR PME MEUS 13 Technologies Used In XSLfaSt 252599534999 eudd elUERS tU Sale Yu Eva VETE Vale GI EUN UA AUR sene enn secs 14 4 9 T 14 CIN rCTT HM 14 o X
7. 213 Page Inspector Window The Inspector window of Chart element has similar properties of Text element except the following options e Type Option to select either Bar chart or Pie chart You can also use fbar x from the toolbar or Chart type option from Context menu Pie Chart ap Ch Y e Chart Type Option to render charts in 2D or 3D charts You can also use from the toolbar 214 Page e Values Defines the value based on which the Chart should be created Specify the path of the numeric value nodes Click Values option in inspector window or click 2 Set chart value icon from the toolbar The window to specify path appears Select an XML node which has numeric values and click Ok button Chart 1 XML node E 28 Edi Recent Paths A XAL 4 Report Productgroup Product Data 4 Productgroup Name Img 4 Product Name Description Img Data Node Set String Boolean Number Date Time Math Today Templates t i Al a a 3 w Column 26 line 1 Ok Cancel The select node is assigned to the chart value 215 Page Value Description Defines the path to the text string that is displayed under the bars for Bar Chart or to the right of the pie for Pie Chart Click Value Description option in inspector window or click CU gt Set chart description icon from the toolbar The window to specify path appears Select an XML node and click
8. The XML file is also very simply structured zz Report 2 Product ef Color so Material Img Data The respective PDF output now would look like this 304 Page xs t st Group by content Example we JELE Descripson of product A Description of product B Daescnpton of product C Oescrpton of product O Descripson of product E Description of product E Desecripbon of product F Description of prodact G Description of product H Descnpton of product I Descripton of product J Description of product K Deecremon of product L Descnposon of product M Descnomon of product N Descriomon of product O Descripton of product P Descnpton of product Q Descrpton of product R Descnpton of product S You can see the data for the products name description material and color You can also see that the products are currently sorted by their name With the Group by content function you can now influence the display of these data sets Open the Grouping dialog for the table and switch to the tab Group by content Grouping properties 23 Group by position Filtering Group by content Grouping 4 Report Use Attribute name Expression 4 Productgroup C Img 0 Name Name Img Product 0 b Product Product Data Product Description Product Img Product Name v Auto XPath completion Relative nested grouping Conditional region XSL IF instea
9. Value cTexkFlow 2 LJ Edit 14 pt Line stacking strategy Select line stackin w Footer Heading 1 Heading 2 Heading 3 Heading 4 Normal strong 181 pt To apply logical style to a table cell select a table cell in a table and select Parent Table gt Cell properties gt Logical style in the inspector window Aa cTextFlow_6 E Property Object name Locked Text Background color Expand to right Line height Line stacking strateay Logical style Last line alignment 4 Parent table 4 Cell properties Cell border Background color Background image Column span Row span gt Row properties gt Column properties value cTextFlow_6 LJ Edit a 21 6 pt Select line stackin Select style ball Auto cTable 1 Border Normal w rma Strong Cell Emphasis Cell 40 Page To apply a logical style to a table row select a row in the table and select Table gt Row properties gt Logical style in the inspector window EH cTable 1 Property value Object name cTable 1 Locked E 4 Table 4 Grouping ProductGroup 4 Use alternate c Alternate c Sort Lise custom rep Background image jackground color Omit header page b C Omit Footer page br 4 Row properties Normal H Fixed row height E oue Table Minimum row h 89 pt XSLfast allows you to create new styles edit existing st
10. 201 Page Generation Type Generation type is used to specify whether the bar code should be static text or dynamic content from the XML source and whether it should be based on a barcode font SVG graphics or barcode 4j The advantage of SVG graphics is the clearer display of the bar code and the scalability with hardly any loss of quality XML Based text Barcode font Static text SVG graphics XML Based text SVG graphics Static text barcode4j XML Based text barcode4j Barcode kind In case you prefer SVG bar codes or barcode 4j it supports different kinds of barcode as shown below Barcode hind EAN 13 Bar codes depend on the text you enter so EAN 13 e g requires 13 digits In case SVG graphics are used the checksum number will be calculated automatically if you do not enter it or the XML source contains only 12 digits in this example The missing checksum number will not be added to the number but XSLfast will produce a correct bar code with it It contains the bar code font EAN 13 that is the most common bar code font in Europe and Fi2of5 often used in the US 202 Page Note If you need accurate bar codes which are readable by bar code scanners use SVG based bar codes Module Another difference is the function Module when you work with SVG bar codes This indicates the current size of the bar code depending on the height Setting the value to 0 5 the bar code
11. Uh fon ot Ct hursP ad WA Reset soon CM Pest Faer ty type Tp a ing 1 Date Wer newt Arrange Page Run Took Window Neb far preferences x ii r af Look and fees E JU iu asi C BB I amp at 4 Jn Shoe SAL in alohabetical crier b ue 3828 aaa 728 ALAB P PT NNI NS TER D M les GALLICI ICI A an Cr Mam ad 2000 tut Dy Mam ad A Saint 220m Cor Mame ad Pier bry typa o Devore eg Outs If you uncheck Highlight to tree selection option the XML tree element is not highlighted Filter by Type The Filter by type option shows or hides the elements with respect to element type like text numeric field XSL code and so on The Filter by type menu consists of two sub menus e Show all types 68 Page e Hide all types It also has filter options to display certain type of elements Show All Types To show all types of element click View gt Filter by type gt Show all types option The Insert Arrange Page Run Tools Window Help Grid preferences Look and feel Show XML in alphabetical order Highlight to tree selection A Zoom in Ctrl NumP ad quem A Zoom out Ctrl NumP ad Reset zoom Ctri NumPad Ll Show all types Hide all types X Show objects TextFlow ionDate ionTime gedBy 4 Show objects PageNumber geDate 4 Show objects Image geTime wf Show objects InternetLink X Show
12. 440 FAG INOLION M T ee 441 DOA e E E E E 442 BENNETT TT IEEE 443 Internet TAK orosssisieisied9221902091059109 919292320910 29i029iOIUPPISPOR ied ho UP IUEOUPI SE RU PPPUUR RU DiRS iN 444 VE TETTE TTL E E E E EE EE IEE E T 445 B COGS R LT DITE 446 WM 2 Cee ee eee A E A R 447 ROMET F RETE ET E E EEN 448 9 Page Other Features of XSLfast ceceeeeeeeee eee eo o oo ococcececccecs FIO eSI DI c 451 XPA MODICON sss potruFrERPSUQETERPETREPIRPRETEPENFSEREEERPSEREERMERSERIU ROUEN MEM MEPFREE NEUE PUES 453 Generate FODEMELTIIES 6 cdecestccetetsiotettsstedatessieteranetesetosstesaceestusetenereceteentes 455 ic isilelgipr i opo erp A E 460 Convert ASESFO to Layout sess Cus ss cca OPNS NEEDPVIETE SPP IP VEPIM EE Ed ca cu raserscaents 463 Convert HIME EO EaVOUL diues cursa venosees end caturcccces sen tesctueede ues Ea 3 PRUTP CERE FU EE PUEROS 465 Merge XML TIS ooo E ERR I EU MIR ION PME REDUMINEREPURMI REPUNINAEEURMN RE ONUS 467 Release Notes osea s ERFOUERCUPEXESREEEFUEEESERUENEAS VE ERIKPECOO PRA EIS EK 469 drole 469 dineros m C U 470 MECA RETE TTE EE IIIS 471 ADDODODC AG 9992 99999090299999 93999 9 9 2 9122919999909 0 9592 30 222 2209 0 0 4 7 4 UN OCS mer Tc 474 RE GUTF CIN GIVES caror rrn ARN OU ISI ORE S DUREESQEACOUEOD
13. Novus block stapler Felikan ik Block staper Low priced anc simpy serving standard depanment stap er Novus long stapler Stikkan ue The professional document staper complete metal and plastic shroud magazine guidance made of metal double clip guidance Skrebba stapler Slikan 50 0 Document stapler attaching firmly and solvable 5Star staple remover Seltikan D 5 281 Page The same template is called every time Note As long as you do not activate the check box Generate Template belonging to the element it cannot be used as a template Enter the name of the template in the field Template Name This name is the name of the template itself In the field Template Parameter you have the chance to enter a parameter that can be addressed via the Call template function The template selection dialog then shows the parameter for the template Wa call template Call Pelikan Template parameter s Parameter name Data type Parameter value REIR This is useful when the called template needs to evaluate a parameter for further processes XSLfast also offers to define more than one parameter at the same time by offering a new empty entry field after each specification of a parameter value Note The menu items in the menu Call template are only available if you checked the check box Generate XSL FO block Inspector Window The Inspector window of Template element is shown below
14. Product group A Product Product group A Product 2 Product group A Product 3 Product Product 2 Product 3 Product 4 Product Product group Product 2 Example for page grouping via the node ProductGroup With the start of a new product group there is an automatic page break The new product group starts on a new page Definition JName 96 Page Result Page 1 Product group A Product 1 Product group A Product 2 Product group A Product 3 Page 2 Product group B Product 1 Product group B Product 2 Product group B Product 3 Product group B Product 4 Page 3 Product group C Product 1 Product group C Product 2 Example for page grouping via the node Product For every product there is a new page Definition 97 Page Result Page 1 Product group A Product 1 Page 2 Product group A Product 2 Page 9 98 Page Product group C Product 2 Refer Page chapter for more details 99 Page Filtering Filtering does not access all nodes of an XML file but only a filtered amount of nodes In addition filtering can contain especially specified node sets All limitations are written in brackets behind the node name The content of a limitation is a valid XPath expression which returns TRUE or FALSE Examples All product groups which are not empty and therefore contain products ProductGroup count Product 0 All product groups whos
15. string duration number Math Functions number max node set number min node set number power number number number sqrt number Returns the day of the date in a year as a number Returns the day of the week in a month of a date as a number e g 3 for 3rd Tuesday in May Returns the day of week given in date as a number Returns the minute of the hour as a number Returns the second of the minute as a number Returns the date time resulting from adding two durations together Returns the duration resulting from adding two durations together Returns the duration between the first and second date Returns a duration string representing the number of seconds specified by the argument string Description Returns the maximum value of the nodes passed as the argument Returns the minimum value of the nodes passed as the argument Returns the value of base expression taken to a specified power Returns the square root of a number 148 Page Today Today Now Yesterday Tomorrow Note For these functions you require XSLT skills Refer http www w3 org TR xslt or http msdn microsoft com en us library ms256138 VS 85 aspx for more information Recent XPath The Recent XPath option displays all the recently used and created XPath expressions Recent XPath helps you to reuse the existing XPaths instead of typing it again Report Click Recent XPath option and selec
16. 18 Page 19 Page Intended Audience XSLfast is used in different sectors like banks insurance companies service and manufacturing industries to produce documents like e Quotation Forms e Illustrated Price List e Technical Documentation e Client Specific price list e Product Manuals e Delivery Notes and e Invoices 20 Page XSLfast Interface The XSLfast interface is the area to create layout It is a place holder of different elements like text image table and so on The XSLfast interface is divided into the following options e Menu Bar e ToolBar e Worksheet e XML Window e Inspector Window e Element List Box e Status Bar 21 Page ee ee et pe ee A le ss to ld epo o Aa 2 wo OFT EE ia ge c oe 9 LO r ua anai 7a8e7 730 a 8 4 oimesme 7 t LI we pa bt E p Ra b ad r i Menu Bar Here the menus of the elements and all other menus with their submenus can be found The menus change or expand depending on the currently selected element on the sheet and are described later with their corresponding element The standard menu bar of XSLfast is show below File Edit view Insert Arrange Page Run Tools Window Help Note A new menu is added in the menu bar when you select an element on the worksheet or select an element from the Element Listbox Depending on the element selected the menu varies For example if you select Text element on the works
17. 4 Generate XSL FO bl Keep together Custom attribut Value DateTime 1 LJ 2012 01 16T11 16 06 Static text yyyy MM ddTHH mm ss Font Absolute position tru 269 pt 377 pt 113 8 pt 17 1 pt Left padding 0 0 pt D pt D pt D pt D pt Border 11 none be auto 257 Page Context Menu The context menu options of Date Time element are available in Text element Refer Context Menu section of Text element for details ea Bring forward Send backward WA Undo position size changes 128 288 113 17 Ctrl Z S cut Copy B Paste Copy as text Font Family Font size Font style Alignment Vertical alignment Text color Background color Move texts to one Convert Eo Generate template Locked Ctrl X Ctrl C Ctrl M P oIOGCM l wv Oo GE Note Refer DateTime xsf under 29 DateTime in Tutorial folder to work on Date and Time 258 Page Square The Square object is used to place a colorful rectangular or squared element on the worksheet There are two ways to insert a square Insert Square Click the Square icon on the tool bar OR Click Insert menu and select Square ew layout X54 bed UH Ple es kost Amang Page Squire fon Toe Whore ep BHEAN MRweig wt OM 1 BAH Data Fama 8 23 quee 1 Property Weckge und c The Square menu appears in the menu bar if you select a square from the work
18. 4 Generate XSL FO block Keep together auto v Custom attribute name 1 Custom attribute value 1 Link Id Generate xsl apply templates instead o Escape comparison signs LIISIEIL Collapse spaces Linefeed treatment preserve 7i Whitespace treatment preserve Y Normalize spaces inside XML Disable output escaping Generate template If ForEach E L E 197 Page Context Menu The Context menu options of XSL Code are also available in Text element context menu Refer Context Menu section of Text element for details Bring forward Send backward WA Undo position size changes 64 240 227 17 Ctrl Z x Cut Ctrl X Copy Ctrl C E Paste Chr Copy as text Font Family Font size Font style Alignment Vertical alignment Text color Background color WE X IE ow Move texts to one Convert Eo b Generate template Locked Note Refer XSL_Code xsf under 19_XSL_Code in Tutorial folder to work on XSLCode 198 Page Barcode XSLfast offers to create bar code for static and dynamic values It is possible to generate the bar code using bar code fonts or using SVG graphics this goes for both static bar code or bar code generated from XML nodes The result is identical Insert Barcode To insert Barcode element on worksheet select Insert Barcode menu or click 2 Barcode icon form the toolbar Click on worksheet and drag the cursor point The Barcode element is inserted empty
19. input Demodata de xml Reason Documents have different root elements The Edit button is used to edit the selected XML file The Delete button is used to delete the XML file Check Use this XML as a template source to use the merged XML file as a template 468 Page Release Notes This chapter lists all the enhancements of XSLfast 5 0 with respect to its usability functionality and integration Usability e Completely redesigned user interface e Code completions and highlighting e Guides e New Table wizard you can create table and fill it with real data in few clicks e MDI and office style menus e Templates now can be used like functions e New view of page sequences and regions e Preview on the fly e Multi monitor configurations support e New zooming makes comfortable editing for all zoom levels e Previews in file operations dialogs e Search everywhere e Support of sample XML files during layout creation e Comparison of layouts 469 Page e More details available in workarea e New dialogs Functionality e FOP 1 0 inside e Images in internet links e Supported XEP strict validation e Many elements has IF clauses managing its contents and visibility in output PDF e Custom attributes overrides the settings form XSLfast e Removed dependencies of Acrobat Reader now we have embedded PDF viewer e Auto simplification of expressions while converting elements e Advanced features avai
20. 165 Page 5 Select the same link id from Enter or choose link drop down 6 Click Ok button Now in the output file when you click on the internet link Go to AAA the cursor points to the frame which has the link id AAA HTML markup conversion HTML markup conversion allows converting some basic HTML markup in the object s text like b for bold br for page break By enabling this option use html tags for text formatting Collapse spaces The command Collapse space will remove all blanks spaces in texts which are not in the correct place e g between word and dot output will return output All remaining runs of two or more consecutive spaces are replaced by a single space and then any remaining space immediately adjacent to a remaining linefeed is discarded Linefeed treatment Linefeed treatment property allows manipulating new line symbols For example There are many empty lines between two sentences 166 Page Set Linefeed treatment value as ignore ext Text Text Text ext Text Text Text Whitespace treatment Whitespace treatment property allows manipulating white spaces There are many whitespaces between the words 167 Page Set Whitespace treatment value as preserve et Text Text Text Text Ted Set Whitespace treatment value as ignore Normalize spaces inside XML Normalize space is used for dynamic data from the XML file which contains two or
21. 4 Frame properties 4 Bounds Absolute position 4 Paddings Left padding Top padding Right paddina Bottom padding Border Horizontal alignment Span ASL FO options Collapse spaces Normalize spaces inside XML Dynamic text XML 227 6 pt 17 1 pt 0 00 Nat Absolute position true Paddings Left paddina Left padding 0 0 pt Top padding 0 0 pt Right p D pt D pt D pt D pt Border Left none S Value v Restore default settings Ok Cancel 448 Page Text The Text properties are available in inspector window of Text in Text element for more details General options View options Additional options Performance options Compatibility options MSL output settings J 5D DTD settings CSV settings Cadet ault settings Page call template Line chart List Pivot table Table Citation index Pagination Square Date Time JInternet link Image Barcode MSL Text Numeric field Text XSLfast preferences Categorized Alphabetic Property Background color Width Height Line height 4 Frame properties 4 Bound Absolute position 4 Padding Left padding lop padding Right padding Bottom padding Borde Horizontal alignment Span a 3L FC aption Leber Spiacing HTML markup conversion Wrap text Collapse spaces Normalize spaces Inside XM Disaat le out pi it es opr IJ
22. But you can also select another directory Use to change the path The browser window appears Select the path Enter file name file type and click Save button 126 Page XSLfast also creates a temporary XSLT output file every time when the layout is processed This file contains the information to insert the data from the XML source and the preliminary formatting structure By default this file is named as tmp xsl and saved in tmp But you can specify another name and directory for it Use Em to change the path You can also view the XSLT file using View button XSLT output Jinput Tutorial Q7 Multilayout XSL FO Multilayout xsl Specify the name and the target directory for the XSL FO output This file contains the contents of the entire document which are inserted from the XML source and the formatting instructions Open the file to read in order to check the processes that have been performed with a click on the View button However it cannot be edited here Manual modifications of this file are overwritten with every processing of the layout ASL FO output Jinput Tutorial 07 Multilayout xSL FOjMultilayout xsl Fo Generation Option This tab provides four options which influence the output Input Output settings Generation options Additional templates Layout description Advanced options Security Options Suppress custom entity descriptions Supp
23. Cut Copy Paste Delete Text Styles Font Font Size Bold Ctrl Insert Format Format Recent XPaths Font wl Color Wo Background color Align Font Font size ri yv vyv Ww Font style wv Insert Convert to gt Add conditional attribute gt Properties 139 Page l1 mais Underline Bo 0 det Center ene Justify L dd p S Text Color You can use either menu or toolbar to format the text To enter static or dynamic text use text editor field loatt im 1 Jori G x C ew roet ues fec MEMMNNNNNNQQQQQQQQQQ PRES n v vw ii B USr S3 5 OS 4 Report 4 Prodactgroup Nene in 4 Product Name Decr gtr TextFlow 1 ProductgroupiProducr 3 Insect rote tres e Pv m ri LAJ rosty Condition r gt Colum 36 ira 1 Fr Cane Apply styles from the text style drop down The text style drop down consists of in built system styles You can apply these available styles or create your own text styles To create your own text styles refer Create Text Style section To apply style to the text select the text and select any styles from Text Style drop down 140 Page To change the font font size and font style use Font drop down Font size drop down and Font styles Arial Narrow Bold Italic Font Drop down Font Size Drop down Font Styles To change the alignment of text use alignment buttons To
24. Finished Confirm the installation with the button Quit IzPack Installation of XSLfast Installation progress Made with IzPack http www izforge com 500 Page XSLfast is now installed and ready to run Start it with a double click on the icon on your desktop if you had had it created or use the link in the Windows start menu 501 Page Installation on Linux To install XSLfast on a Linux system you need an RPM file XSLfast 4 0 1386 rpm Use linuxconf or YaST to install this package For YaST you need to start YaST2 from KDE Gnome shortcut type your root password if prompted add the installation path to the XSLfast files being stored choose software installation custom packages from menu and just specify the RPM files mentioned above If no graphical administration is available or if you prefer installing manually login as a user that has administrator rights usually root open a command window and change to the directory where you saved the XSLfast files Now enter the following command lines to start the installation gt FOM i Mobtastl 5 0 1506 2om 502 Page XSLfast Un Installation This section explains how to un install XSLfast on different platforms like e Windows e Java e Linux Un Install on Windows To un install XSLfast on windows follow the below steps 1 Click Un install XSLfast 4 0 from the menu option fap XSLFast 4 0 Ff Docume
25. Group Grouping Grouping J Report Report 2 69 E oh Name i mes Img Product amp 3 Product Check Highlight option Uncheck Highlight option e Length of history for XPath expressions The function Length of History in XPath expressions refers to the Recent XPaths s option in editor window It controls the number of XPath expressions which are saved during a session This number of used XPath expressions can be viewed and reselected in a list box count Productaroup Name Productgroup position 1 Mame Productagroup last Name e Clear history This button removes or clears all the XPath entries from Recent XPath s e Default precision Due to the calculation from e g mm inches into pt there can be lot of decimals The Default precision specifies how many decimals should be displayed in the entry field in the inspector window Note After you changed the precision value you need to restart the application to apply the setting Choose the precision you need to apply in your layout in Default precision field Default precision 9 406 Page Note Minimum precision is 2 decimals and maximum precision is 15 decimals e Default system font The function Default System Font allows you to specify the font which is used by default in your layout The XML nodes are displayed in this default font style Note For Windows the default font is Arial Unicode rather Arial
26. X5Lfast preferences Categorized Alphabetic Property Absolute position 4 Paddings Lett padding Top padding Right padding Bottom p ding Force span Refer Inspector E3 Value Dar 142 3 pt 142 3 pt 3D chan L Absolute position true Paddings Left padding O Iv Left padding 0 0 pt Top padding 0 0 pt Right pa O pt O pt Opt 0 pt Border none Restore default settings ck Cancel 435 Page List The List properties are available in inspector window of List element Refer Inspector Window section in List element for more details General options View options Additional options Performance options Compatibility options XSL output settings J4SD DTD settings csv settings Default settings Page Call template Line Table Citation index Pagination Square Date Time JInternet link JImage Barcode XSL Text Numeric Field Text XSL fast preferences Categorized Alphabeti Property kind Width Height ront Background color Text color Label start indent Label end indent Provisional distance between starts Provisional label separation keep together keep with next Keep with previous 4 Frame properties 4 ours Absolute position 4 Paddinas Left padding Top padding Right padding Bottom padding Bordet Horizontal alignmerit Soar 4 XSL FO options Wrap text
27. amp 213 amp 2214 amp 215 amp 216 amp 217 amp 218 amp 219 amp 220 amp 221 amp 222 amp 223 amp 2224 amp 225 amp 226 amp 227 amp 228 amp 229 amp 230 476 Page C Latin small letter c with cedilla amp 27231 e Latin small letter e with grave amp 232 Latin small letter e with acute amp 233 Latin small letter e with circumflex amp 234 e Latin small letter e with diaeresis amp 235 i Latin small letter i with grave amp 236 Latin small letter i with acute amp 237 Latin small letter i with circumflex amp 238 1 Latin small letter i with diaeresis amp 239 6 Latin small letter eth amp 240 n Latin small letter n with tilde amp 241 Latin small letter o with grave amp 242 Latin small letter o with acute amp 243 Latin small letter o with circumflex amp 244 Latin small letter o with tilde amp 245 O Latin small letter o with diaeresis amp 246 t Division sign amp 247 Latin small letter o with stroke amp 248 Latin small letter u with grave amp 249 Latin small letter u with acute amp 250 Latin small letter u with circumflex amp 251 Latin small letter u with diaeresis amp 252 y Latin small letter y with acute amp 253 b Latin small letter thorn amp 254 y Latin small letter y with diaeresis amp 255 For the Euro sign not the number but the character string is entered The whole ex
28. 0 0 O D K ig oe FFFFOOOD Ok Cancel To change the Square to transparent check Make transparent check box Rounded Rectangle Square Specifies the rounded angle of a rectangle X rounding value and Y rounding value specifies the rounded angles of a rectangular These numeric values represent the distance between the rectangle lines and the angle of the curve The rectangle is rounded only if you check the Rounded rectangle option and set the X and Y rounding values more than zero Enter similar values for both the rounding values Below figure shows a rounded rectangle which has X and Y rounding values as 15 261 Page Note You can view the rounded angle only in the output file not in the XSLfast worksheet Bounds Specifies the size and position of the square Check the Absolute placement check box to set Bounds value true Borders Specifies the color width and style of the rectangle border You can set three different styles of border in one rectangle like Dashed Dotted and Solid Set different width and color of all the borders in one rectangle All these are achieved using Left Right Top and Bottom borders To set the border of a square Select the square and click Border function The Borders window appears Check the required checkbox and click Ok If you uncheck the Border checkbox all other checkboxes are enabled This way you can change all the borders of a rectangle at once
29. 4 m s Line 1 v Property value Object name Line 1 Locked Line width 1 pt Line color Se Pattern x1 269 pt yi 377 pt x2 411 26 pt Y2 377 pt 4 5L FO options Generate template 286 Page Context Menu The context menu options of Line element are available in Text element except the following options Line width and Line Color which are already explained in Inspector Window section Refer Context Menu section of Text element for more details Bring forward Send backward MP Undo y2 328 0 x Cut Copy e Paste Line width Line color Generate template Locked Ctrl Z Ctrl X Ctrl C Ctrl V 287 Page Table The Table element in XSLfast is used to insert a table and provide XML information in a tabular format using other elemnts of XSLfast Table allows to insert any type of element in its cells These cells contain static or dynamic data from the XML file To accomplish this several steps are necessary arranging the frames on the sheet filling the table and assigning the nodes Types of Table There are three types of tables available in XSLfast e Normal Table e Slave Table e Pivot Table The functionality of these tables is explained in the proceeding sections Normal Table The Normal table is a table which consists of XML or static data represented in a table format Insert Table To insert a normal table click Insert gt Table menu or click E Table icon fr
30. Arial Bold Italic Note The Font listbox is available only for Text Numeric field XSLcode Barcode Internet link Date Time Pagination Index Citation List and Choose elements e Display system fonts first This option displays all system fonts first and then lists all other fonts in alphabetical order in Font listbox 402 Page Displays system fonts first e Show layout options in status bar The check box Show layout options in status bar displays the output format and the current Renderer in the lower right corner of the layout status bar S New layout 1 FOP 0 20 5 Portable Docume Click the output format and renderer to change XSL FO HTML Document FOP 0 95 FOPO205 XEP No fov rl n iii AGZALSEE Portable Document eiO Fop0 20 5 Portable Document Portable Document FOP 0 20 5 Portable Document This function also controls if you see the current coordinates of your mouse cursor in the lower left corner e Show XML in alphabetical order Sorts the XML nodes alphabetically in XML window without changing their structure You can also perform this from View menu Select View Show XML in alphabetical order 403 Page ce Report B Report a Productgroup a Productgroup Hee Img 4 Name Name 4 Img S L Product SCD Product e Show log in status bar This option displays so information about the layout in the status bar Mi 05 05 2009
31. Column m 1 You can also create your own group and assign the group to the chart 224 Page Grouping properties D Group by position Filtering Group by content Grouping 4 Report Copy subtree 4 Productgroup Name Copy From Productgroup Product count Data lt 10 Img ee A v gt Product Node Set Add Strin Update Boolean Number Delete Date Time Evaluate Math Today Templates The result of XPath expression JPLOIB AA WwR A M v Auto XPath completion Relative nested grouping Conditional region XSL IF instead of XSL FOR EACH Remove grouping Ok Close Assign the group to the chart If you process the chart the output is displayed as shown below i 4 X Pe M f A JF 1 IBI i t imi Bud TE EB P fi NA M X SS MON u NASA te NM KS If you do not set the Group by property the result would look as follows 225 Page f E c E I LA E I eh i i ee a ma m Se eee i Kee naa ATA a a a m a alg in aie aaa or A cuc Saas iI aaa rd c any rd S AIAS e 2 ee FoF ef 7 SEES partir fate Tru afi ONN Ok 72926202 CC RAS A aN cw fet fag gt ape Pry r rie wr grad gres gra gra qium gru wre pia y The major difference is that the bars are not grouped Thus the 3 bars referri
32. In case you need to change XPath expression do not type it manually Use Applicable XML nodes option from the context menu Select the element and right click select Applicable XML nodes and the node name 104 Page A Productaroup Productm Bring Forward Send backward WA Undo position size changes 72 118 154 79 Ctrl Z fa plicable xl VIL ri des 4 Productaroup C cut Ctr X em Img 2 Co Ctrl C di 4 Product Paste Ctrl Msn Alignment Description vertical alignment Img Select XML image Data Remove xML image w Fit in Frame 4 Keep aspect ratio Select base path Remove base path Convert to b Generate template Locked The Xpath expression is changed as per the selection I Productgroup Product D 105 Page Layout Settings Process Layout The option Process Layout processes the layout and converts the layout into an output formats like PDF HTML and so on It allows you to view intermediate steps during the creation of your layout like e Generating XSL Creating style sheet combining XSL and XML and generating XSL FO e Invoking FOP Invoking renderer program to convert XSL FO into output formats XSLfast enables you to process a single layout or multiple layouts Process a Layout To process a layout select Layout Process layout menu or click gt gt Process Layout icon from toolbar or press Ctrl P Process Multilayout Process Multilayout p
33. Math Math Img Data Today Templates Add Delete Ok Cancel To delete the sort attribute select the sort attributes and click Delete button To edit the sort attribute select the sort attributes and click Edit button The Sort properties window appears 320 Page For example use Example Manual xsf from Tutorial 10 Example Manual It contains a table with seven columns and two rows grouped to Product Example 10 Spring Collection Product agr i n iahh Name ProductPri zum Properti Properties gy Propertiesiimg Now process the layout The generated output appears as shown below 321 Page Example 10 Spring Collection Now set sort property to Product Name NOW process the layout The Product Name is sorted in descending order 322 Page Example 10 Spring Collection Background Image and Background Color Tables can also be given background images and colors With Background image you can assign or remove a background image to the entire table Background color specifies a color for the table which can be set back to default with Back to default Note The use of alternate colors will overwrite a background color or a background image Omit Header Footer page break These options display header and footer of a table only in the first or last page 323 Page If you use a header or footer for a table in a multipage layout and you
34. Process the layout to display result 302 Page p demo 1 pdf Productgroup 1 Product A Product B Product C Product D Product E End of Productgroup 1 Productgroup 2 Product E Product F Product G Product H Product End of Productgroup 2 Productgroup 3 Product J Product K Product L Product M Product N End of Productgroup 3 Productgroup 4 Lesezeichen Q c D A sl Oo e de This is the final result with a nested grouping inside a table Conditional region XSL IF instead of XSL FOR EACH Tests whether the selected node or expression exists It does not display any data If there is no matching node or expression it shows nothing except in headers and footers Because the function refers to the body and tables and the grouping commonly refers to the body The Remove grouping button is used to remove grouping of the selected table Group by Content 303 Page The Group by content function supplements filtering sorting and grouping of table contents It allows you to quickly define a condition if contents should be displayed for example together or not at all A simple example to demonstrate how group by content can be used Create a simple table and fill it with some data as shown below Refer Content Settings section to assign content to table headers Product n 3 Tp 7 m UT Ed rodu ct Descnption Material Color TARLE HEADER ame Description aterial color
35. Produ uctG roup Product r The processed layout looks like this 171 Page p demo 1 pdf Lesezeichen Chairs Chairs Chairs Chairs Chairs Chairs Tables Tables Tables Tables Tables Tables Tables Tables Tables Tables Tables Tables Chair A Chair B Chair C Chair D Chair E Chair F Table A Table B Table C Table D Table E Table F Table G Table H Table Table J Table K Table L Let us assume you want all products with product numbers smaller than 4 to be hidden You have to create a condition for the XML element containing the product name Select that element and click the function If in the inspector window As the condition depends on the product number you need to drag that node into the first entry field You can also enter the name manually but make sure to consider all cases The condition is display the product name only if the product number is bigger than 3 Select the gt operator from the middle box and enter 3 into the right field 172 Page Xsl If Editor gp sx XML structure xPath expression 4 Report P mum sae String w gt Productgroup Boolean Number Date Time Math Today Templates dea Evaluate With this dialog you can specify conditions under which the contents of the current element will be displayed Example If the current element should only be displayed if one of the contained ProductGroupIDs equa
36. Set the line height for your text using Line height option Usually the line height should be 20 25 bigger than the font size Note Currently this value is only considered for the space between text lines not text lines and element border Logical style Logical style allows to apply the in built or user created styles to the text frame The Logical style drop down lists all the available styles Select any of the styles The style is applied to the text frame Refer Edit Text Frame section for more details Frame Properties In the group Frame properties the command Bounds shows the current element settings for that group Absolute Placement Check Absolute placement option to fix the position of a text frame In this mode the frame will appear in this position Uncheck the option to align the frame to the next available empty top left position Note The appearance of a fixed frame depends to a certain degree on the other elements on the sheet If a fixed frame is placed below a table with dynamic contents the frame will appear below the table after it is finished which may even take many pages When the frame is placed absolute you can also determine the frame coordinates by entering values in the fields Left and Top Enter the distance between the frame and the left rim of the sheet and between the frame and the top rim of the sheet The coordinates will also show the change of values if you drag the element with
37. This font provides support CJK and Arabic glyphs in user interface on non CJK Arabic Windows Click the Font button to select another font and click OK button The application will now use this font everywhere in XSLfast also in the display of the XML tree Default system Font Arial Unicode MS YA Font gt Report Font 3 0 Productgroup Font Font size H Name r 4 rFont style e Ing Trebuchet M5 u Product Symbol nm Bold Italic Tahoma 12 Description Tahoma Bold 14 r Img Tempus Sans ITC 16 Linderline Times 18 Times New Roman 20 Times New Roman Bold 22 rFont effects Times New Roman Bold Italic 24 M Times New Roman Italic 36 Superscript B Trebuchet MS L Trebuchet MS Bold i CI Subscript Preview e Language Select the Language for the tool from the drop down and click Ok button 407 Page Language 408 Page Performance Options The Performance options are used for an efficient performance of XSLfast The Performance options have the following check boxes e Transparent while dragging e Enable level indicator e Enable type indicator e Enable collisions indicator e Enable region indicator e Use syntax verification XSl fast preferences Xi Performance options JGeneral options Wiew options Transparent while dragging Jaddtional bee Enable type
38. You can view this setting only if Show grid option is enabled Grid point of origin Determines the start position of grid points Usually left top point of page is 0 0 Grid point of origin allows to change the grid points start position All coordinates will be re calculated against new point of origin You can also do this setting through View menu Select View Grid preferences Grid size Refer Customizing Interface section for more details Snap grid Snap grid arranges elements to grid points In other words when this option is turned on and the grid size is specified as 10x10 you can place move elements only to positions 10 20 30 and so on but not to 25 17 6 and so on You can also do this setting through View menu Select View Grid preferences Grid size Refer Customizing Interface section for more details Show grid Enables the grids on the worksheet You can also do this setting through View menu Select View Grid preferences Grid size Refer Customizing Interface section for more details 401 Page Other Properties e Enable preview of fonts in font listbox This option displays the preview of the fonts in the font listbox It displays the name of the fonts in its corresponding font style so you can see the look of the font right away Arial Bold Italic If you uncheck Enable preview of fonts in font listbox option the font names are displayed in Default system font Arial Black Arial Bold
39. because the elements are in a dependency on the page grouping If the page grouping is changed groupings of tables and other elements must probably be changed as well That is the reason why page groupings should be specified in an early stage of the layout design Example An XML file with 3 Product groups Product group A contains 3 products Product group B contains 4 products Product group C contains 2 products In XML shape 94 Page z Publication ProductGroup lt Name Product group A lt Name lt Product gt lt Name gt Product 1 z Name lt Product lt Product gt lt Name gt Product 2 lt Name lt Product lt Product gt lt Name gt Product 3 lt Name gt z Product z ProductGroup zProductGroup lt Name gt Product group B lt Name lt Product gt zNamesProduct 1 lt Name gt lt Product Product lt Name Product 2 lt Name gt lt Product lt Product gt lt Name gt Product 3 lt Name lt Product lt Product zNamesProduct 4 lt Name gt lt Product lt ProductGroup gt lt ProductGroup zName Product group C lt Name lt Product zNamesProduct 1 lt Name gt lt Product lt Product gt lt Name Product 2 lt Name gt lt Product ProductGroup z Publication Examples for page grouping via the node Publication The result is a list with all products The page break only happens after the page end was reached 95 Page Definition Result
40. e Right e Top e Bottom e Paper margins This option is used to set the paper margin size such as e Left e Right e Top e Bottom Inspector Window The inspector window options are similar to Properties window option Refer Page Properties section for more details 389 Page Pick Element Property Value Size Ag v width 598 pt Height 845 pt Orientation Portrait x Columns 1 Gap between columns 10 pt Alternate page numbers Grouping Report Custom title Expression Description Background color Force page count no force v Locked Background image 4 Region precedence Top LI Bottom 5 4 Regions Left 28 pt Right 28 pt Top 26 pt Bottom 28 pt 4 Paper margins Left 10 pt Right 10 pt Top 10 pt Bottom 10 pt 4 Custom page attributes Custom attribute nam Custom attribute valu 390 Page Context Menu The Context menu of a page has the following unique options e Grouping Groups a page to an XML node e Reset page grouping Removes page grouping e Insert page Inserts a page e Delete page Deletes a page Click this option Confirm deletion window appears Confirm deletion ES The page will be deleted Are you sure Xes No Click Yes button to delete the page else click No e Portrait Landscape Option to change a Portrait page to Landscape and vice versa 391 Page f Undo addPage Pagelkind cther 1 Chiz X c
41. e Template Name Assign a name to the template using Template Name 282 Page e Parameter name1 and value1 Assign parameter name and value Refer above section for more details Data Format 4 m TemplateCall 1 mE Property Value Object name TemplateCall 1 Locked Template name Parameter name 1 Parameter value 1 4 Frame properties 4 Bounds Absolute position False Absolute position Level 11 4 5L FO options Generate XSL FO con Generate XSL FO block Suppress if empty H Page break after Auto Break before Auo vw Break after Auto ts IF ForEach The other options of inspector window are explained in Inspector window section of Text element Refer Inspector Window section of Text element for more details Context Menu The Context menu options of Template are available in Text element Refer Context Menu section of Text element 283 Page Bring forward Send backward MP undo template parameters x Cut Copy i Paste Alignment Vertical alignment Text color Background color Templates Convert Eo se ee ee ee ee ee ee ee ee ee ee ee Pn Ctrl Z Ctrl X Ctrl C Ctrl MV w v v ow v v Note Refer Template xsf under 06_Template in Tutorial folder to work on Template 284 Page Line The Line element is used to draw line with different line width style and color Insert Line To i
42. lt ENTITY XML http wew w3 org TR REC xmL gt 8 lt ENTITY XMLNames http www w3 org TR REC xml names a lt IENTITY XSLT ns http www w3 org 1999 XSL Transform 10 lt ENTITY XSLTA ns http www w3 org 1999 XSL TransformAlias 11 lt ENTITY XSLFO ns http www w3 0rq 1999 XSL Format 12 lt lIENTITY copy amp 169 gt 13 lt IENTITY trade amp 5484382 13 EHTITY deg amp x00b0 gt v lt ENTITY gt amp f 62 16 lt ENTITY sup2 x00b2 gt 17 lt IENTITY fracl4 s x00bc gt 18 lt ENTITY quot amp 34 gt 777 i frani rcfv lflhd Column 1 line 1 Close This is a shortcut to the window which opens if you click the View button of XSLT output in the Layout settings window under Input Output settings tab 451 Page Layout settings versionO ES Additional templates Layout description Advanced options Input Output settings Generation options Input XML File finput Tutorial 03_Table xMLjexample xm Edt Do not bind layout to top node Output Output type Portable Document v V Open in viewer FO Processor FOP 0 20 5 stable Le e FOP 1 00 m view EP Output filet input Tutorial 03_Table Table pdf SLT output XSL FO output JinputfTutorial 03 _Table XSL_FO Table xsl fo mm Encoding UTF 8 m 452 Page XPath Monitor The XPATH monitor allow
43. mundum Generate template KORONE E EE ET E EE SOKE Paste Text in XSLfast object 182 Page watt u Egt Vew ineat Format Recent Pate EM ue 70 wt RE B Paste Text in External Program Untitled Notepad Be Edt Format view Hep Hello Productgroup Product Name Font Family Size and Style These options are used to change the font settings of the text Alignment Neds jet Sinn bockean fa cbe Del Time Math They Twrelates Mute insert from tree a orwret bo B Fropernes L9 emen 183 Page Aligns the content of text frame to left right center and justify Refer Arrangement of Elements chapter for more details Vertical alignment Aligns the content of text frame to top center and bottom of the text frame Refer Arrangement of Elements chapter for more details Text Color Allows change the text color Backeround Color Allows change the background color of the text frame Move text to one Moves the text of multiple text frames to one frame Split texts Splits the text of a text frame which has more than one XPath Convert Converts the text element to other elements Generate Template Generates template Locked Converts element to read only element Refer Locked section for more details 184 Page Number The Numeric field element allows you to enter and display formatted numbers You can use it as a static fram
44. or drag and drop a dynamic data from the XML node The Data window differs depending on the type of data Dynamic Data Window 254 Page Edit Recent XPaths xe Data Format 4 Report Node Set gt Productgroup String Boolean Number Date Time Math Today Templates t a R Ep Column 1 line 1 Ok Cancel Static Data Window When choosing static text for date time you have the possibility of changing the font type size and style the text alignment the text color and the background color 255 Page DateTime 1 Date Time B m Edit view Insert Format Recent XPaths AkPBS oo jwiino Be Uae z PLI Data Format 204 2 01 16711 16 06 t a 3 E Column 1 line 1 Ok Cancel Inspector Window Refer Inspector Window section of Text and Inspector Window section of Numeric Field for details 256 Page 4j DateTime 1 Property Object name Locked 4 Text Output Format Text before Text after Path before Path after Translate date sep Translate date uU ep Translate Lime sepa Translate time sepa Font Text color Background color 4 Frame properties 4 Bounds 4 Absolute position Left Top Width Height 4 Paddings Left paddina Top padding Right padding Bottom pad Orientation Border Horizontal alignment Vertical alignment Level Span 4 5L FO options 4 Generate XSL FO c Custom attribut Custom attribut
45. 136 pt 136 pt 113 pt 227 pt Left padding 0 0 pt D pt Opt D pt 0 pt Border 11 _ none v 211 Page Context Menu The context menu options of List element are available in Text element except the following options e Kind Refer Inspector Window section e Add or edit grouping This option is used to group the list frame similar to Grouping option in Inspector window Refer Grouping List section for more details e Remove grouping This option is used to remove grouping of a list Refer Context Menu section of Text element for more details Bring Forward Send backward Groupings Applicable XML nodes b P Undo grouping Productgroup Ctrl Z X cut Ctil X Copy Ctrl C Paste Ctrl M Font Family Font size Font style Alignment Vertical alignment Text color Background color Kind Convert to TT ww woo YoY F F Generate template Locked Note Refer list xsf under 24_List in Tutorial folder to work on List 212 Page Chart Chart object is used to build charts of data just like some text editors can do XSLfast allows you to create two types of chart e Bar Chart e Pie Chart You can also render charts in two ways e 3D Chart e 2D Chart Insert Chart To insert Chart element on worksheet select Insert gt Chart menu or click cal gt Chart icon form the toolbar Click on worksheet and drag the cursor point The Chart element is inserted
46. 199 Page Edit Barcode To edit Barcode double click on the frame or click Text option in inspector window The editor window appears The Barcode editor allows you to enter static or dynamic data Barcode 1 New Text 3 Z XDE 4 Report Node Set gt Productgroup String Boolean Number Date Time Math Today Templates t E 3 amp Column 1 line 1 Ok Cancel Inspector Window The Inspector window of Barcode has similar properties of Text element except the following e Generation type e Barcode kind 200 Page Refer Inspector Window section of Text element for more details Bas Format Ls Barcode_1 Property value Object name Barcode 1 Locked rr Generation type XML Basedtext S Barcode kind E amp N 13 v Barcode height 18 pt Module 1 pt Font Font 4 Text Background color 4 Frame properties 4 Bounds 4 Absolute position Left Top Width Height 4 Paddinas Left padding Top padding Right padding Bottom padding Orientation Border Horizontal alignment Vertical alignment Level Span 4 XSL FO options 4 Generate xSL FO con Custom attribute Custom attribute 4 Generate XSL FO block Keep together Custom attribute Custom attribute Link Id Generate template IF ForEach Absolute position true 269 pt 377 pt 113 8 pt 28 5 pt Left padding 0 0 pt T 0 pt 30 pt D pt 30 pt 0 Border Left Top 11 none auto
47. 34 eae Recent xt ocuat dQd dQa a a a a GaMaaAGALALA AAeCOLLAAALAVLALAALtALAALADAK A XAL T 4 Report exsl text Text 1 lt xsl text gt Node Set gt Productaroup String Boolean Number Date Time Math Today Templates XSLT XSL FO t EN 4 gt nd Column 28 line 1 Ok Cancel Apart from the simple editor and the missing function to group this element to an XML node it has the same handling as text elements Unlike text element XSL Code has XSLT and XSL FO functions to enter XSL and XSL FO commands Refer http www w3 org Style XSL for more details Inspector Window The Inspector window of XSL Code has similar properties of Text element except the following e Generate xsl apply templates instead of text e Escape Comparison sign 196 Page Refer Inspector Window section of Text element for more details XSL Text 1 v Property Value Object name Text 1 Locked 4 Text xsltexE Text 1 lt jxslitext gt Font Font Text color Background color Line height 14 5 pt 4 Frame properties 4 Bounds Absolute position true Paddings Lef 4 Absolute position Left 269 pt Top 377 pt Width 227 6 pt Height 17 1 pt Orientation 0 Border Border Horizontal alignment let Vertical alignment Top Level 11 Span none v 4 SL FO options 4 Generate XSL FO container Custom attribute name 1 Custom attribute value 1
48. CSV settings tab contains the settings option of CSV files The CSV settings tab has the following options e CSV encoding e CSV delimiter e CSV quote e Root element name e Row element name e Column element name X SL fast preferences as L Mew options CSV encoding UTF 8 Dr sanc odi CS delimiter Kompatib ity options CSV quote a LPS p Root element name _XSDJDID settings LCS settings Row element name eau settings Column element name e CSV encoding The encoding of the assigned CSV files e CSV delimiter A character that separates values in the CSV file e CSV quote A quotation character used in the CSV file e Root elements name The name of the top level node in XML that the CVS files are converted to e Row elements name A node of this name is created to include values of each line in the CSV 429 Page e Column element name The name of nodes that contain actual data from the CSV 430 Page Default Settings XSLfast offers you to make default settings for all the elements This feature is useful if you need to create several identical objects with the same values for different parameters The folder in the list on the left contains more options for this purpose X5L fast preferences ES General options View options Additional options Performance options Compatibility options a Frame properti XSL output settings 4 Bounds Absolute position true Paddin
49. Data type combo box you can choose Text Numeric and Custom QName but not NCName types of data umeric Text lt Custom QName but not NCName gt Note It is possible to use the type Text for nodes which contain only numbers But the numeric data considered as Text are sorted alphabetically for example if you have numeric data like 3 2 and 10 The sorted result will be 10 2 and 3 However it is not possible to use the type Number for nodes containing text or text and numbers In the select box Case order you specify Lower first and Upper first sorting modes Case order Lower First Lower first Upper first Note The case order choice will work only with the Text type 319 Page After setting all the properties click Add button to add the attributes The sorting attribute is displayed in the Sort properties window There are two columns in the first column there is the Attribute name in the second column there is the Expression containing all the settings you have made here It is possible to enter more than one sorting mode Sort properties ES 4 Report Attribute name Sort order Data type Case order Recent XPaths 4 Productgroup Name Descending Text Upper First Mode Set Mi Img Ascending Text Lower first String m D 3 Product Descending Text Lower First Boolean 4 Product sieve Name Product Description Ascending Text Upper First umoa ooa Date Time Description
50. EACH Remove grouping Ok Close 4 Click Ok button to group the table to the selected filter Now process the layout The resulting output is shown below 88 Description of product B The Update button is used to update or modify the groups Drag a drop the existing groups modify the group and click Update 296 Page Grouping properties ES Group by position Filtering Group by content Grouping 4 Report Copy subtree 4 Productgroup Name Copy from Img ED gt Product Node Set Add gt Productgroup Product Name Product D String Update Boolean Number Delete Date Time Evaluate Math Today Templates The result of XPath expression Auto XPath completion Relative nested grouping Conditional region XSL IF instead of XSL FOR EACH Remove grouping Ok Close The Delete button is used to delete the existing group Select the group from Grouping column and click Delete button The Evaluate button is used to evaluate the XPath expression and view the result 297 Page Grouping properties Xi Group by position Filtering Group by content Grouping 4 Report 4 Productgroup Name Imq gt Product Copy subtree Copy from Productgroup Product Name Product B Productgroup Product Name Pr Node Set Add oduct B Skrin ta 4 Update Boolean m f Number Delete Da
51. Example F Table with alternating color Ta HELL PO ES pM sn d a E 71 Page Vertical Arrangement To arrange the windows vertically select Window gt Tile Vertical M R ETA uL SS Bs M B a s a a a a o a E 72 Page Cascaded Arrangement To cascade multiple window select Window gt Cascade He m Yer Dee Aewge foe Be T wae wv i E j I o LA LA JRE SPO AP ail onm BB Piim ig Qo Teen jam Lost lege I Chium ud Ue _ Locate tipa ia Pd ab a anm sd t ame Ple sera anon t d end em aF Corne b p i 2 1 her uni e I r ve L 164 d Ponte Gene P D i i ac i E Lg i t 8 a time LU fem Gaa 73 Page Layout The arrangement of elements on a worksheet is called layout By arranging frames on the worksheet you determine the look of your document In order to achieve a satisfying result it is advisable to plan the look and layout before beginning the creation and then referring to it The elements or pages of the layout are connected to the XML nodes in order to display the content as per the created layout An example of layout is shown in the below figure 74 Page Publication o j You can specify superscript and subscript using Font dialog Here each element is connected to
52. FO to Layout The Convert XSL FO to layout option converts the XSL FO file to XSLfast layout To convert XSL FO file to layout follow the steps below 1 Click Tools Convert XSL FO to layout The XSL FO to XSLfast layout convertor 1 0 beta window appears a ini xi E xsi Fo to xstfast layout converter 1 0 bet 7 This tools converts XSL FO files into XSLFast layouts XSLFast is one of the leading graphical editor For XSL FO Details can be Found at our webside http www xslFast com For Further assistence or questions please send your email to suppork amp xslfast com Please choose input XSL FO file Please choose output XSF file Convert Close c 2006 2010 jCatalog Software AG 2 Choose an XSL FO file that needs to be converted Click button to select XSL FO file 3 Choose an XSF file Click button to select XSF file 4 Click the Convert button Once the conversion is complete an Info window appears 463 Page 1 Converkation is complete The converted XSF files are now available in the path specified in Please choose output XSF file field 464 Page Convert HTML to Layout The Convert HTML to layout option converts the HTML file to XSLfast layout To convert HTML file to layout follow the steps below 1 Click Tools Convert HTML to layout The HTML to XSLfast layout convertor window appears FJ HTML to XSLfast layout converter Oj xl With help this converter vo
53. Font Name KS Reference Speciaicy Font File Pach C WINDOWS Fonta REFSPCL TTF Feamily Nerletct Font Name Gerlett Font File mariettr ttf Path Cii VINDOGS Fonta meariecct ctce Ferti Symbol Font Name Sembol Font File s9ymbol trf Path WVINDO S Fonts symbol tti Family Webdings Ffont Name Webdings Font File webdings ttf Pmth CiVWINDOUS Fonts webdings ttf Fmmilg Vingdings Font Nmmne Wingdings Font File vwingding t f Pmth CilWINDPOUS Fonts wingding ttf Family Wingdings 2 Font Newe Vingdings Zz Font File WINGDNG2 TTF Path C WINDOGS Fonts VINGDNG2 TIF Familyi Vingdings 3 Font Neswe Wingdings 3 Font File WINGDNG3 TTT Path C WINDOGS Fonts VINGDONGS TI REF3PCL TTF The fact that they are listed here does not necessarily mean that they cannot be used in XSLfast but they may not be displayed correctly To exclude these fonts uncheck these fonts from the selection box and make them unavailable for XSLfast add the font name to the document bad fonts txt in the XSLfast bin directory On the next start of XSLfast the fonts contained in bad fonts txt will not be available in the font selection any more 459 Page Transformation The menu Transformation offers you the option to convert HTML tags placed in CDATA blocks into XSL FO XSL FO Renderers cannot interpret HTML tags Therefore almost any settings made with HTML inside the XML file will not be eval
54. Markers EI 46 Scripts E 47 Business trip planne b Files of Type All Files a Directory Cancel 4 Select the folder which contains the source files 5 Click Directory button 6 Check Search in subfolders checkbox to search the source file in all the subfolders of the selected folder Here Tutorial 7 Click gt button to display all the subfolders of the selected folder 116 Page Combine pages and layouts z i Av adable layouts Cripocunments and Settings panga Destop TEMP Tutoria t Cif Documents and SettingsinasgoriDesktop TEMP JT utor 03 T able T able cof 301 Serpla Flyer Simple yer cul Lien anam 12 Siol SmolePtyer ISimplettyer 1 5 GRO Misya oid variant iMiki Coe Mulisyout TempistePMutiyout Tenglse s dot Meist Templsim citi Mola Twerplate sul F Serch n abtodes E Lanse oue 8 Double click the folders to view and add layouts Combine pages and layouts 2 CifUocuments smi SettingsinasgoriDesdtopl TIVPIT utor T sble T able xf Mna nam 17 Lue If you select the main page under Combines pages header the menu bar and the toolbar are enabled 117 Page Menu Bar Toolbar Pie Po 8S Export layout tay Add page to the end be Delete layout H be een eT ed cs Los Tabl Change kind to main Change kind to title Change kind to tail Change kind to First Change kind to last Change kind to r
55. Note You can view the arrangement of intersected squares only in the output file 262 Page Context Menu The context menu offers some functions which are similar to text elements Refer Context Menu section of Text element for details Bring Forward Send backward P Undo background color red Ctrl Z lt cut Ctrl x Copy Ctrl C B Paste Ctil V Background color Convert Eo gt Locked Note Refer Square xsf under 30_Square in Tutorial folder to work on Square 263 Page Pagination The Pagination element allows you to display numbers of pages in the layout It allows you to create different formats of pagination Insert Pagination To insert a Pagination element on worksheet select Insert Pagination menu click gt Pagination icon form the toolbar or press Ctrl Shift P Click on worksheet and drag the cursor point The Pagination element is inserted You will see a frame containing a character string in which N stands for Number Edit Pagination The Pagination editor window allows the user to format page number To edit pagination frame double click on the frame The editor window appears 264 Page PageNumber 1 Pagination Z Text before Text after Use page numbering n of N Separator of Ok Cancel Text before Option to insert text before the page number Here Page is inserted before the page number Text after Option to insert text after the pa
56. Ok button Productgroup Productc Hume 216 Page The select node is assigned to the value description In the output file the description is displayed as shown below 217 Page Productgroup 1 Description of product C 3 _ Description of product D 81 1 2 5 3 54 4 5 3 B 2 1 8 0 9 Description Productgroup 1 The options under Value description differs for Bar and Pie chart E Value descriptions Preferred cell width 3 Descriptions text E Value descriptions Description Maximum descript 100 Description Font Font Description text c Description Font Description text c e Chart legend Defines the path to the values shown to the left of the Bar Chart It may be some useful information not necessary equal to the one defined in the Chart value descriptions Click Chart legend in inspector window or click Fai gt Set chart legend 218 Page icon from the toolbar The window to specify path appears Select an XML node and click Ok button Chart 1 XML node Edit Recent XPaths Axo Node Set 4 Report Productgroup Product Description 4 Productgroup String Name Boolean Img Number 4 Product Date Time Math Today Templates E 3 v m 33 line 1 Ok Cancel Note Chart legend is active only for Bar chart 219 Page In the output file the chart legend is displayed as shown below Following are the options under C
57. Old Fashioned object placement Compatibility Options e Smart vertical alignments FOP specific If you use the function Smart vertical alignments FOP specific XSLfast applies top padding in text elements depending on the font size This is helpful because FOP does not support top middle or bottom alignment for text For example you need to have text of different size in one text frame Without smart vertical alignment it could look like this Small text Big text Small text Check Smart vertical alignments FOP specific it changes into 414 Page Small text B ig text Small text A top padding is automatically set so that the bigger text is not stuck to the top rim of the element Merge cell and object borders in old layouts In old layouts the cell and object of the cells had two different borders this lead to a problem in the output PDF Objects in cells had two line borders one for the object s border and other border for the cell Now the Merge cell and object borders in old layouts merges both cell and object borders into a single border and the width value is set to the greater of the two Seek missing files near layout This option helps users to exchange layouts with one another very simpler When the layout is moved to another system layout s external paths images templates and so on it might be incorrect So XSLfast tries to find them in the layout s folder because the users often pl
58. PDF generation into that PDF file Embed all fonts also Base 14 necessary for PDF A The function Embed base 14 fonts provides non standard embedding even for well known standard fonts like Courier and Helvetica This option is useful to make PDF files close to PDF A standard XSL output encoding XSLfast offers the possibility to choose the encoding which the XSL output should have select the encoding from the list box XSL output encoding Default XSL FO processors The option allows selecting the default XSL FO processor Whenever you open XSLfast the default XSL FO processor will be selected 426 Page XSD DTD Settings The XSD DTD settings tab contains the setting options for XSD DTD files The XSD DTD settings tab has the following options General options View options Additional options Performance options Compatibility options Lys output settings MSD DTD settings CSV settings Default settings Enable custom entity descriptions DTD file path Enable custom namespaces XFN file path XSLfast preferences 93 XSD DTD options Enable custom entity descriptions DTD file path pm Enable custom namespaces XFN File path di Enable custom entity description Some special characters cannot be entered as plain text in XSLfast but must be defined as an entity If you want to have your own custom entity descriptions added to the target XSL and XSL FO files ch
59. RERUM erna DON RIKUORUS DreE E E 237 CONTEXT MOU TET 239 nvcpzidh qe M 243 meere InEe nie LINK erreneren se pue aru dU EARS p IE Uu cane ene ET 243 EGIC IMECHE C is RET 244 spector WIDOOW aes teeskedy alee reds Eure iror EENE sede EErEE EET vedo Fera TETE EET vers EEE TEENE ENEE tur 247 Gar iM UM T 249 DE TIMO cnet 249 Mere DItO TIME orreri E E A ET 250 PE DACE een E E E E meaeveneen 250 H PSC WINO OW oaa A AAA E A EA EAT 256 CONEX MORI 2522 2992990999195992091459909 10 919 A S E A 258 S E EE E EE A E AE 259 Ine aR E ci EEEE EEEE AEE A A as on se S A os OES A IE T 259 Spector WINGOW NEUE ONE EEIEIEE PES 260 Ee E GIN E E A E O E E 263 6 Page PAG IMAUION a E 264 Ser E PasIDabloll sesescsecousctcescuesosecousccee seus E seauceusesee seus seauceuscoee seus seaecousnes 264 PVG PAN 1 OM aor sao ceases ences ra Snes te a acta a ERI ESPRIME se ones nse senees IM KR PISA RI EE n P IPIS 264 HISDECLOR WING OW EE T OO OU Decr 265 end dM MENU TREE I I i i UU IM 268 ais and CHION occas cic cosas ciccicinc EET E E cesses cnneseeecueaseaies 269 insert Maex or Citation E TERI T I T M MMMM MS 269 Edit nde cor CICA OM cote cncdcstacee tos dudactenncbdelecucsentescenstudas IP DEN Do DEPR LU NIA a 6s 269 Inspector Window essseeeeeeeeeee enne hehehe hne hehehe hehehe 273 Se
60. Refer Context Menu section of Text element for more details M Bring forward Send backward FS Undo position size changes 160 336 113 17 Ctrl Z x Cut Ctrl X Copy Ctrl C Paste Ctrl V Copy as text Font Family Font size Font style Alignment Vertical alignment Text color ur Se Seo Om oe Background color Move texts to one Convert to t Generate template Locked 2 Page Template With these commands it is possible to create templates representing conditional input for table cells depending on defined conditions Templates and the elements they are called from Call template and XSL code frames do not necessarily have to be part of tables but can also be independent elements placed outside the actual working sheet In the XSLfast tutorial there is an example for this in 06 Template But you can also create your own table to use templates This is a simple example for the use of a template You define the condition that every time one of three specified manufacture makes a product its logo should be displayed and XSLfast is supposed to pick the correct logo template You create the templates outside the table as small independent elements in this case they are static image frames showing the respective logo in the size you determine Then declare them as templates by clicking the check box Generate Template for each and giving them names e g Leitz Edding and P
61. Suppress if empts Refer Inspector Window section Value 227 6 pt 17 1 pt D pt ES Absolute position true Paddings Left padding O v Left padding 0 0 pt Top padding 0 0 pt Right pa pt O pt pt O pt Border Lett none Restore default settings Ok Cancel Select the element you need from the tree on the left Then set the parameters values for it in the inspector window on the left The settings you make in the folder Default Settings itself refers to all elements you create after you make these settings 449 Page Other Features of XSLfast This chapter explains about the special features of XSLfast The following features are explained in this chapter e View XSLT output e XPath Monitor e Generate font metrics e Transformation e Convert XSL FO to layout e Convert HTML to layout e Merge XML files 450 Page XSLT Output The menu View XSLT output opens an XSLT file which was generated after you processed the layout To open XSLT output window click Tools gt View XSLT output or press Ctrl Shift V The XSLT output window appears XSLT output s z A x C C Case sensitive 7 Whole words only 1 lt xml version 1 0 encoding UTF 8 a 2 amp 3 File was generated by XSLfast 5 0 build 16 01 2012 4 Dayout versi 5 lt Please leave unchanged manage layouts instead gt 6 lt DOCTYPE xsl stylesheet
62. To create an index of the items in a table you have two buttons in the button bar Index and Citation zu You need to create two layouts one for your document one for your table of contents In the first layout you need to have a table containing data which will produce a document with several pages This data is grouped to a certain node of your XML data source The index will list those items belonging to the node that you grouped the index field to If you put the index field into a table grouped to e g the node Product the index will show the products contained in that node Example Create a simple table with three columns and one row just for demonstration You can use the XML file from Tutorial Example_manual Group the table to the node Product because we want to see all products displayed in it Drag the node Report ProductGroup Product Name from the XML window into the first cell of the table then open a dynamic image frame in the second row and set it up to display the product images group to 270 Page Report ProductGroup Product Properties img and select the path to the image base Then make the table row a little bigger by pulling its bottom boundary line and select the function Fixed row height so that the table is guaranteed to extend over more than one page in the document The table could look like this now FroductGroupiPradurt a Fropertiesiimg on denm um eri soon er e Dm RE E d mr er Em m
63. UOS 389 Gen quM 391 Preferences ico ri RETRETUEEERERERKUERSEASERAREURUERMARIESI RUPACUP MUR A SPI 002 9 2 General ODON S ier sau s Vx REPE URINE ERE EE EEEE EE HN ER SIU EU MEAM 394 View OD GOING quxesumppET eS oe tn CDU CUI oe cs eee 0 E LORD eee ses QUEM UDEN UP IN CUPEEDEN IDA IE 399 GH IPE OD CSS EROR TTE EET ETT m 401 DEner PEROBBIEIBS 2 si225290 2362522 90n19090 E PURI UP NdORP PRI PU RISUS EdOR IP PURI SUP Ni GRU DPI EURI SUE NU DIU 402 Performance Options cseessecescecsoessecscessoessecsoesseesoecsoesseesoecsoessessoesseeoooo 409 Compatibilty ODUONS d aura PIRE SUP a A E MESA A AAAA 413 CompatplY ODUONS ctecacqendcenctcececactendsenretetecactendsens ste ANE AEAN 414 POV INE eree E EE A 416 ASL ONHEDUE SEINES aisiara A 420 XSD DTD SEINES c anA AEAN AAE EAEAN 427 CSV do saeir E E I E E E A 429 Default Settings ERIT OTT TETTE 431 uo TER TNT PI 432 SENEC TIT 433 AR 434 Ul dc 435 EL er 436 abis UE e 437 B e 438 Sido r 439 PENG OK ato t TR
64. Width Height 4 Paddings Left pad Top pad Right pa Bottom Orientation Border Horizontal alignm Vertical alignment Level Span 4 XSL FO options 4 Generate XSL F Custom attri Custom attri 4 Generate XSL F Keep together Text TextFlow_1 v Edit D pt max height 100 19 Aar AAAA Gal Gal Bal Oa Gal Gal Gal T Gal Gal al Oal Gal Gal al Gal Gal Gal T al Gal Gal al al T Gal Gal Gal Gel TAC ACTA Bal TTH TT MOX euo eta C Ful eal sl bal tlm al bal al bal alQalPalQal alQal al al bal aloal alesl alQal alQal alQal alealbal al al alpal alealealbalbaleal bale eS Neri Oil bal Oat al ul bal al bal al Pal Pal Bul Bal Gal alQal bal QslOalQalQal al al slbal aloul alQulPalQsl al sl bal al al ulpal aleal aleal Pal ale Sey tiseebe Pil al bal Pil Gal Bal al al sl al al n mmt nmm rr fal Qal Qal alQal bm nb tr al eal ulPalQal ul altalealealpaleal ulpaleale H OR e EC eil lt tiltitutirt ni Dt ERROR REOR EROR E EROR ERE EROR IHEER U PE PNE FE ERE bul bal Quleale E edt tilt il lul bal AAAA AAAA BORSE UMP eife eifrifififtillte M o 4444 4449426969944 2 NNNNA N AAA AAA ANAT RAAN mlt EINNA A d 4444449 III X EX l ENINING Bring forward Send backward OZU n HD ENF OPO hee te Gal Mel Pel Oil hele n i Cee foe A OE 0 Oe SE OR MP Undo locked true Ctrl Z anes aaa Applicable XML nodes IR qaa EIER E ccc Chix Left padding 0 0 p ted aI
65. XSLfast provides the function Translate from Translate to to display a customized abbreviation Please note that the abbreviation should not exceed 2 characters because only N and a are available as different characters in the NaN string and more than 2 characters will not be considered 192 Page Inner Translate From and To Inadvertently it can happen that entered content is not a number NaN Processing this content will lead to the faulty output NaN XSLfast provides the function Translate from Translate to to display a customized abbreviation Notes The abbreviation should not exceed two characters because only N and a are available as different characters in the NaN string more than 2 characters will not be considered It is possible to substitute several characters simultaneously The characters are substituted in the exact order in which they have been entered into the fields Character 1 in the field InnerTranslateFrom is substituted by character 1 in the field InnerTranslateTo and so on It is also possible to substitute characters with a blank if you only enter a character into the field InnerTranslateFrom and leave the field InnerTranslateTo empty This is only possible at the end of the sequence because if the field InnerTranslateFrom finds no counterpart for the substitution in the same sequence place it will use the next character of the sequence Replace Zero Values Re
66. already shows the node name including the correct path up or down the XML structure depending on where you grouped the table to Te i uo T Note XML elements display their content in curly brackets whereas static text does not display any automatic brackets The curly brackets inside text elements are usually used to indicate XML nodes or functional elements It is nevertheless possible to write static text in curly brackets these text parts will then be displayed in a box with a blue dotted line around it in the text editor window PXEER om vou BUJE 4 Report mem 4 Productos hene Teg V Product This effect does not influence the display in the output however If you would like to add XSL code to control table cells use the icon XSL code Insert Image Element in Table To insert a constant image into your table click the icon Image static and open a frame in the chosen cell after that An empty frame appears in the cell 332 Page Double click the field and enter the image path of the desired constant image The handling of static image frames in tables matches the handling outside of tables It is not possible to drag a node containing image information from the XML tree into a table cell You can however insert a Text element by dragging a node into a cell and convert it to an Image through Convert option either from Context menu or from Editor window Create Table Style You can creat
67. an index for a document The index page can certainly be designed as you like it Note The index frame reads and generates IDs for all the items in the table grouping that it was grouped to The citation frame on the index page reads these IDs and assigns these to the correct pages when the layouts are combined in the multilayout manager Inspector Window Index The Inspector window of Index is shown below The Index element has the properties similar to text element except the following e Node Click this option to open Index Editor window e Name Assign a name to the Index Refer Inspector Window section of Text element for more details 273 Page Property Object name Value Index 2 Background color 4 Frame properties 4 Bounds 4 Absolute position Left Top Width Height 4 Paddings Left padding Top padding Right padding Bottom pad Orientation Border Horizontal alignment Vertical alignment Level Span 4 XSL FO options 4 Generate XSL FO c Custom attribute Custom attribut 4 Generate XSL FO bl Keep together Custom attribut Custom attribut Link Id Wrap text Collapse spaces Linefeed treatment Whitespace treatm Normalize spaces in Disable output esca Generate template IF ForEach zZ Absolute position tru iv 269 pt 377 pt 113 8 pt 17 1 pt Left padding 0 0 pt D pt D pt D pt D pt NU Border Left hd Top v 11 v
68. and right of the page indicated by blue lines Elements placed in these regions will appear on every page of the generated document The use of the regions gives you lot of possibilities to design your document in a sophisticated way XSLfast offers you to design the layout of a multipage document in a comfortable way using regions There are different regions which can be combined to control the look and feel of the document You start with a page which will be used as the body of the document where the actual contents are placed Let s create a quick layout with a simple table which runs over several pages Select the XML file from NTutorial3fO Example manualNExample xml Create a table with one row and two columns Group the table to ProductGroup Product Now drag the node Report ProductGroup Product Name into the first cell 376 Page ProductGroupio T 2 Name Add an XML image frame to the second cell and assign it to the node Report ProductGroup Product Properties img UCE raoductG roup Pra Select the image base where the images are located Tutorial Example_manual img to make sure XSLfast can find the images Image base path linput Tutorial Example manual Image Image node Properties img As you do not specify the commands Fit in Frame and Keep aspect ratio the images will be displayed in their original size If you process this layout now it would have three pages
69. color Custom chart color Background color 4 Frame properties 4 Bounds 4 Absolute position Left Top Width Height 4 Paddings Left padding Top padding Right padding Bottom pad Orientation Border Level Span 4 SL FO options 4 Generate xSL FO c Custom attribut Custom attribut 4 Generate XSL FO bl Keep together Value 3D Chart v Absolute position tru 269 pt 377 pt 142 3 pt 142 3 pt Left padding 0 0 pt 0 pt 0 pt 0 pt 0 pt i T Border 11 none auto v 228 Page Context Menu The context menu options of Chart element are available in Text element except the following options e Title color Assigns color to the title name e Description color Assigns color to description e Group color Assigns color to each group e Chart color Assigns color to chart similar to custom color in inspector window e Background color Assigns background color to the chart e Chart type Option to select bar or pie chart Refer Context Menu section of Text element for more details Bring forward Send backward Undo position size changes 88 200 142 142 Ctrl Z amp Cut Ctil X Copy Ctrl C Paste Ctri V i Title color Description color Group color Chart color Backaround color wm wr o wor Chart type Generate template Locked 229 Page Sample Example This section provides an example to use chart element 1 Create new layout using D
70. do not want to see them in your table on every page of your document but the header only on the first page and the footer only on the last page use the functions Omit header page break or Omit footer page break Omit empty rows This option omits or removes empty rows from a table Logical Style This option is used to apply styles to table Refer Create Table Style section for more details Row Properties The Row properties drop down allows you to select rows and displays more properties of rows 3 Row properties 1 Fixed row height iz Row height 30 pt hs image selected Background image Background color Grouping Keep with next Keep with previous Keep together Omit empty rows Logical style Select stvle If Fixed row height Assign a fixed height to the row using Fixed row height Row height Enter a value in Row height filed or drag the row to the height you want with the mouse The Row height is set 324 Page Background image Assign a background image to a table row using Background image Background color Assign a background color to the table row using Background color Use this option if you do not want to use the Alternate color function for the entire table Grouping Similar to grouping an entire table to a node it is also possible to group single table rows to XML nodes This helps for a broader control of the output of the table The grouping of rows also offers you m
71. du eain ous AE d s due Pod Pau EEEO eis Ads 56 TAE WOKS NOOL T TU TT ME 58 Element LISD oce seserdtee saver orm oTPROHDEPINE FE PEEWI D OPEN ERO POP EID Eu E 60 SEALUS Bal 5559012599999 59 90399999900 9992 9954 0 99499 00 002999 G9 194403999 A TOIT II S QUIA ss aaeecanseasecn 61 CUSTOMIZING Interface 2o eeptic dere Eerepbo VeRe TD Led ep DI Vere UD Lalepbo Vene pub Ledobib dad 62 Gnd Prel oreNC COS 2 22 sn acdusceasoenhowuas vanoiensueseeenerancurnt een oe ssounserenorenenraedeporescueieessorasonrs 62 Kore del 4 RERUM 65 Show XML in Alphabetical Order cccceeeseeeeeeeeeeee enhn ehh hohes esee 67 Highlight to Tree Selection ceeccceeeeeeeeee eene eher hehehe os 67 midi Ao mr 68 MUIDE WIBODW IDEST aCe ioris rasiri rI EAEE AAEE EA EAEE 70 LAV OUG erc 14 Cea Hay OG C 76 Open Ay OU e 78 TNE Open WiNGOW T ss 78 vUa UU T PCT 82 Close HA OU o oos be eos nore PERDE E VOTI UPEObEUU sons re UUOSU NER DENM 85 bod SEF CEUTO aa E E E E 86 LOG AMC DED srar rr oreren S E E E E E E 86 octa k Eea a a E C EE 91 Grouping Layout oos uisi pots cies n E aa 93 KOU POST MOMiscnctascetactenscosseoecedactenecoes ET E AE a OENE EA 94 FIUCOTIO E
72. edited after clicking the Edit button and must be well formed XML files containing XSL code This code is copied into and used in the generated XSL output but it is not checked for errors at that time 128 Page Layout settings version2 eS Input Output settings Generation options Additional templates Layout description Advanced options Security External templates Add Edit Remove Internal imports includes Addfile AddURL Edit Delete Import Include Internal templates Internal variables Edit Internal templates Edit ok Cancel XSLfast offers you to use multiple external templates and multiple internal templates and includes in your layouts You can add edit or remove external templates To add a template press the Add button in the right area of the External templates section Select the file you want to use as an external template in the file dialog Note Modifications you make in these external files are saved with the file The file you have chosen will appear in the left area of the External templates section If you add several external templates they all will be shown in a list 129 Page External templates E test xslFast dist libj Templates 2ofSi svg tpl Add E test xslFast dist lib Templates 2ofSi tpl 4 EE 7 EA WOL G EE EN pees RT 108 anf svg t y x Edit Remove If you want to remove or e
73. elements to grid points Grid preferences T Determines the distance between the Grid Size grids Grid point of origin Change the start position of grids PlasticXPLookAndFeel Metal Windows Look and Feel Offers different interface styles Windows Classic Pago Liquid 2 7 Page Symbol Options Sub Options Functionality Substance Sorts the nodes and their contents Show XML in j alphabetically without changing the alphabetical order structure Highlight to tree Illuminates element from XML tree section structure Zoom in Zooms in the layout Zoom out Zooms out the layout Reset zoom Resets the layout to its default size Hides and Displays certain level of Levels elements Displays and hides similar element Filter by type types 28 Page Insert Menu The Insert menu consists of options to insert different elements on the worksheet Refer Elements chapter for more details The Insert menu options are shown in the below figure EB cTable 1 Property Value Object name cTable_1 Locked 4 Table 4 Grouping Product 4 Use alternate c Alternate c Sort Use custom rep Backaround image Backaround color Omit header page b Omit Footer page br po Logical me Normal Row properties GM A Summary Table 4 Column properties ima Auto width Column width 67 pt IF 29 Page In
74. front in case the frame is overlapped Arranges the selected frame back in case the frame is overlapped Aliens the selected frames towards left Aliens the selected frame horizontally Aliens the selected frames towards right Aligns the selected frames towards top Aligns the selected frame vertically Aliens the selected frames towards bottom Ensures all the selected frames have same width Ensures all the selected frames have same height Ensures all the selected frames have same space horizontally Ensures all the selected frames have same space vertically Tiles selected elements in line Displays the mirror image of the selected elements vertically Displays the mirror image of the selected elements horizontally Moves selected element from page to non workspace 33 Page Page Menu The properties for the page are found in the menu Page Refer Page chapter for more details The Page menu options are shown in the below figure Page Run Tools Window Insert page i Delete page Groupings gt F Page properties AltP Options Functionality Insert page Inserts different types of pages like main title tail first page region odd even and so on Delete page Deletes the selected page Grouping Establish a connection between XML file and the page Page properties Set the properties of page like size width height type and so on 34 Page Run Menu The Run menu co
75. is half the size setting it to 2 0 it will be twice the size Context Menu The Context menu options of Barcode are also available in Text element context menu Refer Context Menu section of Text element for details Bring Forward Send backward WS Undo add Ctrl Z Applicable XML nodes s X cut Ctrl X Copy Ctrl C Paste Ctrl V Copy as text Font Farnily Font size Font style Alignment Text color A Fae E Background color Move texts to one Convert Eo b Generate template Locked 203 Page Note Refer Barcode xsf under 20 Barcode in Tutorial folder to work on barcodes List The List element allows you to display the contents of a node in a list inside one frame without the need to create a table for it Insert List To insert a List element on worksheet select Insert gt List menu or click a gt List icon form the toolbar Click on worksheet and drag the cursor point The List element is inserted No grouping selected Please assign grouping to enumerate items Before editing the list you can group the list to the XML nodes similar to Page and Table 204 Page Grouping List Like a table a list frame needs to be grouped to a node from the XML tree to specify the place to begin from in the XML structure To group a list frame click List gt Add or edit grouping or select Grouping option in inspector window or select Add or edit grouping from Context menu The G
76. more blanks in places 168 Page Disable output escaping XSL works with an array of special characters like amp or lt gt If you would like to use these characters in your text frames activate the check box Disable output escaping Now all characters are actually shown as letters not as code in your text frame Suppress if empty If the text object is empty then this element is not shown in the output file if Suppress if empty option is checked Generate Template It is possible to turn a frame into a template that can be used in conditional cases controlled by XSL code Check Generate Template checkbox to declare the element as a template XSLfast generates a name to the template but you can also name the template You can also specify template parameters which can be helpful when calling that template If XSLfast offers an if editor which allows you to design conditions for a selected element 169 Page Xsl If Editor s Z RML structure Path expression 4 Report b Productgroup Node Set String Boolean Number Date Time Math Today Templates Clear Evaluate With this dialog you can specify conditions under which the contents of the current element will be displayed Example If the current element should only be displayed if one of the contained ProductGroupIDs equals 123 the expression should look like this ProductGroupID 123 Attention The grouping node of the current elemen
77. more details General options View options JAdditional options JPerFormance options Compatibility options MSL output settings 5D DTD settings JCS settings C pef ault settings Page call template Line Chart List Pivot table Table Citation _Jindex Pagination Square Date Time JInternet link JImage Barcode XSL Text Numeric Field Text XSLfast preferences Categorized Alphabetic Property Name Width Height Background color 4 Frame properties 4 Bound Absolute position 4 Paddings Left padding lop padding Right padding Bottom padding Borde Horizontal alignment 113 8 pt 17 1 pt Value Absolute position true Paddings Left padding 0 iv Left padding 0 0 pt Top padding 0 0 pt Right pa pt O pt pt Opt Border Lett none Restore default settings Ok Cancel 440 Page Pagination The Pagination properties are available in inspector window of Pagination Refer Inspector Window section in Pagination element for more details X5Lfast preferences General options Categorized Alphabetic View options Additional options Performance options Compatibility options ext after MSL OUlpul settings Lise page numbering n of N 5D OTD settings Font Font Property Text before Value _JES settings Text colar _ OMdefault sett
78. next Keep with previous 4 Frame properties 4 Bounds Absolute position tru 4 Absolute position Left 184 pt Top 264 pt Width 227 pt Height 17 pt 4 Paddings Left padding 0 0 pt Left padding Opt Top padding Opt Right padding Opt Bottom pad Opt Orientation 0 o Border Border Horizontal alignment Left v Vertical alignment Top v Level 11 4 XSL FO options 4 Generate X5L FO c Custom atkribut Custom attribut 4 Generate XSL FO bl Keeptogether awo Custom atkribut Custom attribut Link Id 248 Page Context Menu The context menu options of an Internet link element are available in Text element Refer Context Menu section of Text element for details Bring Forward Send backward Gs Undo type false Ctrl Z cut Ctrl X s Copy Ctrl C Paste Ctrl V Copy as text Font Family Font size Font style Alignment Vertical alignment Text color Background color v vy r ow x Ed rrr Move texts to one Convert Eo gt Generate template Locked Note Refer InternetLink xsf under 28_InternetLink in Tutorial folder to work on Internet link Date Time The Date Time element allows you to display a date or time in the layout You can use it as a Static frame or fill it with dynamic data from the XML source 249 Page Insert Date Time To insert a Date Time element on worksheet select Insert Date Time menu cli
79. node is first converted to set a number value before summing number floor number Returns the largest integer that is not greater than the argument ipit asd Returns the smallest integer that is not less than the argument ceiling number DUC Returns an integer closest in value to the argument round number Date Time BITTE string date time number year string boolean leap year string number month in year string number week in year string number day in maonth string number day in year string number day of week in month string number day in week string number minute in haur string number second in minute string string add string string string add duration string string string difference string string string duration number Functions Description string date time Generates current date and time number year string Extracts year from string boolean leap year string Indicates if year is leap number month in year string Returns the month of a date as number number week in year string Returns the week of the year in number number day in month string Returns the day of the date in number 147 Page number day in year string number day of week in month string number day in week string number minute in hour string number second in minute string string add string string string add duration string string string difference string string
80. objects Square ickGroup 4 Show objects Page 4 Show objects Line 2 D D Insert Arrange Page Run Tools Window Help Grid preferences Look and feel BS aga B Highlight to tree selection TN Popes Levit VETT Ust Show XML in alphabetical order Lion The A Zoom in Ctrl NumP ad qme lements as Zoom out Ctrl NumP ad field type is a Reset zoom Ctrl NumP ad NN MM Show all types Hide all types ionDate erus Show objects TextFlow gedBy Show objects PageNumber geDate Show objects Image t geTime Show objects InternetLink l Show objects Square a 69 Page ictGroup na 4 Show objects Page Show objects oor Bare DA ch ch che ch ch ch ch ch Se AS chl chl ch ch ch ch cheb TTT Multiple Window Interface XSLfast offers multiple window interfaces where you can arrange multiple windows horizontally vertically and cascaded The Window menu enables you to arrange multiple windows in different styles By default the MDI interface is disabled you need to follow Properties menu to enable it first Horizontal Arrangement To arrange the windows horizontally select Window Tile Horizontal 70 Page Fe fm few Uem mrp hp hp he was E L5 E E in i TE P OR TER CUOI M Wna ae A ee I PeO PREO pw DM PA VO VPS VOO 47
81. other e g odd and even regions and a title page Note Some of these functions are not operational with FOP or that they need to be combined in a special way to work correctly Using FOP requires e g the specification of both odd and even regions and does not allow to use the first page last page function Command Add first page regions Add last page regions Add rest page regions Add any page regions Add even page regions Add odd page regions Add any page regions odd or even May be used with Add rest page regions Add last page regions Add first page regions Add rest page regions Add first last page regions May be combined with all other regions None None None Result The first page has a specified region all other pages have different specified regions or no specified regions First and last page have the same regions all other pages have different regions or no specified regions First and last page have the same regions all other pages have different regions or no specified regions The last page has a specified region all other pages have other specified regions or no specified regions See above All pages will have these regions including first or last pages All even pages will have these regions All odd pages will have these regions All pages will have these regions To be considered FOP does not allow this function FOP requi
82. position Ok Cancel IEEE PERTEN tiajn AN edes poderes podere pes t poten sind bana Note In the select box of Call template element all templates used in the layout both external and internal will be displayed Through the Internal Import Include function it is possible to specify XSL files which are then used in the layout Include is a reference to the entire external file which is then imported at runtime An import is also a reference to an external file You should use import rather than include when you want to overwrite definitions e g styles inside your layout Press the Edit button and there will open Edit internal templates window 131 Page Edit internal imports includes Edit w x l L Case sensitive Whole words only n2 1 0 encodindg 7 rzs 0 8859 1 2 cC xml versi DOCTYPE xslistylesheet lt ENTITY anchor xel apply templates seleote Gid xmins xel http www w Imur ry ee lerr Jor orm i ee er mom t ond Pet om rm ng Hil B Column 1 liner 1 Ok Cancel To specify the XSL file you want to include enter lt xsl include href name xsl gt or just specify that file into Internal imports includes This will include the file with the name name xsl which should be placed in the same folder as the current XSL file but you can also define the complete path to the XSL file that you want to include or import Note The refere
83. product B Description of product D Description of product I Description of product C Description of product E Description of product L Material xsEt st The current sorting type is neither ascending nor descending but both are certainly possible Select Sort order ascending Expression Mode auto sort ascending Sort order Sort order none e Sort order ascending Auto Sort order descending Custom The result Group by content Example Description Materai Product C Product E Product L Product A Product E Product F Product G Product Q Product B Product D Product Description of product C Description of product E Description of product L Description of product A Description of product E Description of product F Description of product G Description of product Q Description of product B Description of product D Description of product 307 Page The Sort order descending has this effect Group by content Example Product B Product D Product I Product A Product E Product F Product G Product Q Product C Product E Product L For example you can also specify that you need to display only green products Use Color Data Description Img Material Name The result Description Material Color Description of product B Description of product D Description of product Description of product A Description of product E
84. section for more details The Window menu options are shown in the below figure Window Hep Tile Vertical Tile Horizontal Cascade Close Ctrl F4 Close all 4 Table xsf Options Functionality Tile Horizontal Arrange multiple windows horizontally i fg S C 2 Tile Vertical Arrange multiple windows vertically al Cascade Arrange multiple windows diagonally er Close Closes the active layout Close all Closes all the open layouts 45 Page Help Menu The menu Help shows help files and additional information about the application The Help menu options are shown in the below figure Help a XSLfast Help iB System information n XSLfast Online 4 About Symbol Options E XSLfast Help a System um Information d About XSLfast Help Functionality Opens XSLfast online help Offers information on XSLfast and the system that XSL fast is currently running on Shows information on version build of XSLfast and date when it was built Click XSLfast Help the XSLfast online help opens the help documentation from XSLfast doc sub folder To view the help files you need a HTML browser 46 Page System Information The System information offers you information on XSLfast and the system that XSLfast is currently running on System information System information Current settings Output format Portable Document Selected renderer FOP AL f
85. some have no decimal places and some have three You like to display in a uniform way One of the permitted placeholders is the hash sign Original Placeholder Result 10589 1 HHHH HH 10589 1 10589 10 HHH HH 10589 1 10589 99 HHH HY 10590 The hash sign placeholder will not fill empty spaces with 0 or consider 0 at the beginning or the end of a sum as a number However it will round up or down sums to match the decimal places you have determined with the placeholders Another permitted placeholder is 0 This will fill decimal places with 0 to match the number of decimal places that you have determined Original Placeholder Result 10589 1 00000 00 10589 10 524 00000 00 00524 00 191 Page Decimal and Thousand Separators Refer Format section for details Text Before and After The fields Text before and Text after can also be used to have numbers labeled e g Sales Price before the number and in after the number Note It is necessary to insert a blank after the text in the field Text before and a blank in front of the text in the field Text after otherwise there will be no space between Text and number XPath Before and After Insert XPath statements before or after the number to enhance the navigation or filtering possibilities Translate From and To Inadvertently it can happen that entered content is not a number NaN Processing this content will lead to the faulty output NaN
86. template into the layout Export Exports file as xsl pdf java fo and html files Recently used files Lists all the files that were recently used Exit Exits from XSLfast Edit Menu The Edit menu consists of basic editing options like copy paste undo and so on The Edit menu options are shown in the below figure Eg M Undo Cti Z 2x Cut Ctrl X 2 Copy Ctrl C 0 Paste Ctrl Vv 8 Delete Delete Select all Ctri A CM Find Ctrl F Replace 25 Page Symbol p T 9 9 Options Undo Cut Copy Paste Delete Select all Find Replace Functionality Undo last step Cut selected items out Copy selected items to buffer Paste buffer content Delete selected items Select all items on the sheet Find strings on your sheet and template Replace strings in the layout and template 26 Page View Menu The View menu consists of different view options Refer Customizing Interface section for more details The View menu options are shown in the below figure manoa o View Insert Arrange Page Run Tools Wir Grid preferences k Look and feel gt Show XML in alphabetical order Highlight to tree selection A Zoom in Ctrl NumPad A Zoom out Ctrl NumP ad A Reset zoom Ctrl NumP ad Filter by type Symbol Options Sub Options Functionality Show grid Shows grid on worksheet Snap grid Aligns
87. this dialog at startup checkbox is used to open the start wizard every time you open a new layout or open XSLfast If you uncheck this checkbox the start wizard does not appear every time you open a new layout or XSL fast tool You can also do this setting in XSLfast preferences window Select Tools Preferences menu The XSLfast preferences window appears Check Show startup wizard checkbox under General options tab Open File To open an xsf file select File gt Open menu click m Open icon from toolbar press Ctrl O The Open window appears 81 Page Open ES LookIn 3 05 Footnotes v E A ESE Default templates U Trees File Name Footnotes xsf v Open Cancel Files of Type Layout Files xsF lay Select an xsf file and click Open button else click Cancel button Save Layout The Save option saves the layout in xsf format Following are the save options available in XSLfast e Save 82 Page e Save as e Save all Save As To save a new layout follow the steps below E j 1 Select File gt Save as menu click gt Save icon from toolbar press Ctrl Shift S The Save window appears 83 Page Save ES SaveIn 52 Documentation v E i E EJ ssl Default templates m Templates File Name Documentation xsf Files of Type Layout files xsF v save cene 2 Select the path from Sa
88. window uncheck this option Use alternate color You can create a table with many alternating background colors for the table rows Note You can assign alternate colors only if the table is grouped to XML node If the table is not grouped to an XML node Use alternate color option is not available in inspector window By default there are only two alternate colors Color1 and Color2 Click on these options the Text color window appears Select the color and click OK button By default the two 316 Page alternating row colors are set to white and grey meaning that in a generated PDF one row will be colored in white and the other one in grey To add more alternate colors click Tools gt Preferences gt Compatibility options gt Advanced check Use advanced alternate colors wizard and click Ok button Click AlternateColors option under Use alternate color The Alternate colors properties window appears Alternate colors properties eS Colors Up Add Change Delete Ok cancel To change a color select the color and click Change button The Text color window appears Select the color and click OK button The selected color is changed To add more colors click Add button The Text color window appears Select the color and click OK button The selected color is added To delete a color select the color and click Delete button The selected color
89. you want to support in XSLfast from the list of available fonts If you are not sure select all fonts You can always add more fonts later 3 Select the renderer you need to work with so that all selected fonts are registered with the renderer The available renderers are e FOP 0 20 5 e FOP 0 95 e XEP e XSLFormatter By default XSLfast works with the Renderer FOP You can also select all three Renderers simultaneously and generate the corresponding font information at once if you have installed all three renderers You need to register the fonts again if you install new fonts or use another Renderer Note PDF supports the following fonts TIMES_ROMAN TIMES_BOLD TIMES_ITALIC TIMES_BOLD_ITALIC HELVETICA 456 Page HELVETICA BOLD HELVETICA OBLIQUE HELVETICA BOLD OBLIQUE COURIER COURIER BOLD COURIER OBLIQUE COURIER BOLD OBLIQUE b li SYMBOL ZAPF DINGBATS All other fonts need to be embedded in the PDF document to make sure that everyone can view the document correctly 4 Click Generate button to generate the font metrics The Progress can be seen in Log field 457 Page Font metrics ES Font metrics List of available Fonts Arial Arial Black Comic Sans MS Courier New Dejavu Sans Dejavu Sans ExtraLight Select all Select system Fonts only Unselect all Detailed Font metrics are required to make accurate XSL FO rendering possible Please select the Fonts that you woul
90. 0 0 pt Top padding 0 0 pt Right pa Pivot table iTable Lent p ding pt Citation Top padding Opt JIndex Right padding 0 pt Pagination Bottear padding 0 pt Square Border Border Date Time Forigeaorntal alignment Lett JInternet link image pan none Barcode 4 V option X l Text Generate ish er Iply bernpl ates instead of text Numeric Field Use Spe comparison signs Text Wi 4p te v Coll apsec Spaces E Normalize spaces inside XM Disable output escaping rj Restore default settings Ok Cancel 447 Page Numeric Field The Numeric field properties are available in inspector window of Numeric field Refer Inspector Window section in Numeric field element for more details General options view options Additional options Performance options Compatibility options XSL output settings XSD DTD settings CSV settings CI Default settings Page Call template Line Chart List Pivot table Table Citation JIndex Pagination Square Date Time JInternet link Image Barcode SL Text Numeric field Text XSLfast preferences Categorized Alphabetic Property Height Format Decimals separator Thousands separator Text before ext after Translate from Translate to Inner translate From Inner translate to Replace zero values to Text color Background color
91. 11 29 01 Please change the path to POF resder e Autozoom in Text editor Autozoom in Text editor is used when the text in some objects is unreadable very small So when you try to edit the text it may be indistinguishable The Autozoom option will automatically zoom in the text and makes it readable e Show node value tooltips in Grouping dialog Option to view the node values as a tooltip in Grouping properties window Check this option to view the node values of a selected XML node in Grouping properties window If you uncheck this option the tooltip is not displayed in Grouping properties window 404 Page e Im Productgroup 1 prod101051 gif Product Description of product A prod101 CQ Pr w Tooltip pe Description ans 6 Img Pe 9 Data Auto xPath completion Relative nested grouping Conditional region XSL IF instead of XSL FOR EACH Remove grouping e Highlight recommended nodes in Grouping dialog Option to highlight the recommended XML nodes that can be used for grouping in Grouping properties window Note This option is particularly meant for beginners of XSLfast which helps them to choose worthy nodes for grouping Check this option and open Grouping properties window to view highlighted nodes If you uncheck the nodes are not highlighted 405 Page XC Grouping properties Group by position Filtering I Grouf Group by position Filtering
92. 12 Page Benefits of XSLfast XSLfast has a tremendous time saving technology and correspondingly has high savings potentials Following are the benefits of XSLfast e Design templates for database publishing or print on demand e Create forms catalogs product sheets invoices price lists e Page oriented layout for XML documents e No programming skills necessary e Easy to use What you see is What you get WYSIWYG drag and drop e XPath and XSL support for advanced users e Create layout templates in minutes instead of hours e XML documents neutral of formatting e Neutral XML documents used with different layouts to produce documents for different media 13 Page Technologies Used in XSLfast XSLfast uses the following technologies to generate style sheet and convert the XML data to a desired output format e Extensible Style sheet Language XSL e Extensible Style sheet Language Transformation XSLT e Extensible Style sheet Language Formatting Object XSL FO e Rendering e XPath XSL The Extensible Style sheet Language XSL is a W3C standard programming language It describes how to process input XML file and convert it into specific documents like XSL FO or HTML XSLfast generates XSL file stylesheet while creating layout XSLT The Extensible Style sheet Language Transformation XSLT is a W3C standard programming language XSLfast generates XSL file while creating layout and applies to XML docume
93. 12 Page Yet another point concerning Linux is also related to fonts Windows uses exactly the same fonts for printing and for screen Linux does not So XSLfast operates with fonts available both for screen and for printing by default the font list is small due to licensing limitations Of course the different file names path separator rather than V case sensitive file names common mount point etc are supported differently but this point is important only if you will be moving layout files with related components from Windows to Linux Linux is really a multi user system rather than Windows and XSLfast provides the ability to have multiple users with one host All your data including layout files samples and registration information is collected at your home directory with your usual access rights 513 Page
94. 3 Page BELINEA 101705 TFT 17 0 ANALOG SPEAK718 Reveliont fot photon preenntations whaa work letters ginctipg nards sod many crore evervduy Lowe sad ollice proyecta it works with s wide vurvety of papers including piam paper and DPSOR premime papers The EPSON 8tylus C62 comhines everyday onventirore with extz ottiinary renta Designad hs all types af projecta the EPSON Stylus 62 ie verzstile and last Featuring 5760 a 720 optimised dpi usiag Reewletiveg Paitu moans Mauagemsnt horderiess photo pimts an EPSON 4 26 fHeesy Photo Paper att swtumatie Wet plete prinfiteg uptantiszatioe Can Pisat pour fawersite photos quickly and conweasentiy Lioyd Mens shoe Basra Lioyd Lady s shoe 56425 05 pew As a result the first and second values are displayed once Because there is only 1 ProductGroup with DescShort equal to flat screen pc and DescShort equal to printer The third value is displayed twice Because there is no expression specified and there are 4 ProductGroups matching ForEach clause and 2 of them would match the previous 2 expressions thus 2 more ProductGroups need to be processed In other words the process of printing values can be described in the following way e f expression condition is true display print value e Expression condition is recalculated at iterations the number of iterations depends on the external conditions that are in our case presented by ForEach property e f Expression is not sp
95. 377 Page So far we have not specified any elements in regions at all Let us place pagination for this document We would like to have the page number on the right side for odd pages and on the left side for even pages Use the command Page gt Insert Page Add even page regions A new page opens which displays the page body in grey and only the regions in white 3 8 Page Your body page now shows its body in white and the regions in grey Only the regions should be edited here elements placed in the grey region are not considered in the generated document They are also marked with a red frame Place a pagination element into the left bottom corner because these are the regions for even pages and we want it on the left side Now use the command Page gt Insert Page gt Add odd page regions and place a pagination frame into the right bottom corner 379 Page Now you have three tabs open body even regions and odd regions Process your layout now On the first page the pagination is on the right side on the second page it is on the left side on the third page it is back on the right side With regions you can control the elements shown in your document even if the design is different for odd or even pages or you can add a title 380 Page and a tail page or a first or last page or use different designs for the first page and all other pages and so on The regions can be combined with each
96. 9 e Ed Look and feel b 4 Snaptogrid fi TTL pa Show XML in alphabetical order Gridsze 8 2 Highlight to tree selection BERI i amp amp Zoom in Ctrl NumP ad A Zoom out Ctrl NumP ad A Reset zoom Ctrl NumP ad Filter by type gt m BEEN NELLE U 1 een columns 10 pt 1 D page numbers 0 The grid size settings can also be done in Preferences menu Click Tools gt Preferences select View options tab enter size in Grid size field and click Ok button XSLfast preferences General options Grid properties View options ew options Show grid JAdditional sss san on grid Performance options Compatibility options Grid size 8 ont Look and Feel The Look and Feel menu offers different Interface style It changes the interface views as per the style selected Following are the styles available in XSLfast e PlastixXPLookandFeel e Metal 65 Page e Windows e Windows Classic e Pago e Liquid e Substance e System specific like native MacOS X look and feel for MacOS X To change the interface style click View Look and Feel and the select the interface style required View Insert Arrange Page Run Tools Window Help Grid preferences gt fmm mal c FE Look and feel l J Jf Tiny Default Show XML in alphabetical order Metal Highlight to tree selection Sable sg Substance A Zoom i
97. Arrange gt Backward menu or right click the element and select Backward from Context menu A B Before applying Backward function After applying Backward function In the above figure both element A and B has level value as 10 Apply Backward function to element B the element B is placed backward and its level value is changed to 11 Note The level value changes in ascending order 359 Page Align Left The Align left menu aligns the elements to left side of the window To align the elements towards left follow the steps below 1 Select more than one element 2 Select Arrange gt Align left menu or click F gt Align left from the toolbar Before Alignment After Alignment 360 Page Align Center Horizontal The Align center horizontal menu aligns the element in center horizontally The mid points of the selected elements are aligned in a vertical axis and the elements are placed in horizontal plane To align elements to center horizontal follow the steps below 1 Select more than one element 2 Select Arrange gt Align center horizontal menu or click 8 Alien center horizontal from the toolbar Before Alignment After Aliqnment 361 Page Align Right The Align right menu aligns the elements to right side of the window To align the elements towards right follow the steps below 1 Select more than one element 2 Select Arrange gt Align right menu or click 3 Ali
98. Background color U Underlined L Border Left Paddings Justify Add grouping E Top i Remove grouping Line Icon Function con Function Line Color 1 0 iy Line size 53 Page Chart Function Y Type Y Chart Type Set Chart Legend Only for Bar Chart Border Chart Background Color Icon Function TEXT I lina Set Chart Values Set Chart Description Set Chart Caption Paddings The icons for the horizontal and vertical alignment are only displayed if more than one element on the sheet is selected Icon uuu v Doo m L imi Function Same space vertical Same width Same height Alien top Align center vertical Icon lito Function Align bottom Same space horizontal Alien left Align center horizontal Alien right The toolbar can be separated into three smaller bars General Insert and Properties by dragging them from their original place to another place in the application window and outside the window To place the toolbar back into its place close them with the cross in the upper right corner 54 Page XML Window The window which displays structure of an XML file is called XML window Selected an XML file the file s structure is displayed in this window The nodes can be opened closed and dragged and dropped into the worksheet using mouse Data Format 4 m 4 Publication LayoutType PublicationID Description Publicatio
99. Bring Forward Send backward WA Undo position size changes 152 280 100 30 Ctriz cut Ctrl X rl Ctrl C Paste HN Copy as text Font Family Font size Font style Alignment Vertical alignment Text color ED Se DER CM CUR E cM Background color Move texts to one Convert to 4 Generate template Locked Sample Example This section provides an example to use choose element Example 1 1 Opena new layout 351 Page 2 Select Demodata en xml as the source data 3 Insert a Choose element 4 Set ForEach property in inspector window as ProductGroup ProductGroup qe roductG roup ProductG roury 5 Open the editor window 6 Add three dynamic values 7 Set their values to Product DescShort Product DescLong and Product DescShort respectively 8 Set the Expression values to DescShort flat screen pc DescShort printer and leave Expression empty for the third value 352 Page Choose T bone B pm value Expression Fort Color Background Recent Paths Product group Product De Anat italic 1 a Product groun Product De ProductgroupiProdact Descn Productgroup Product De Verdana 1 Ok Cane i Th Adi a 9 Click Ok button b rT 10 Process this layout The generated output is shown below 35
100. Collapse space Normalize spaces inside xM Disable output escaping Value Ti 113 8 pt 227 6 pt Font J30 pt 10 pt 24 pt 16 pt C w Absolute position true Paddings Left padding 0 iv Left padding 0 0 pt Top padding 0 0 pt Right pa D pt 0 pt O pt 0 pt Border Left Y hone iv L LJ Restore default settings Ok Cancel 436 Page Pivot Table The Pivot table properties are available in inspector window of Pivot table Refer Inspector Window section in Pivot Table element for more details XSL fast preferences Ei Categorized Alphabetic View options iet m JAdditional options LORS re Performance options 4 Pivot table Compatibility options Number of rows l XSL output settings Number of columns 1 v fi settings Row heichi 30 0 CSV settings Column width 60 0 tJ Default settings A m Default cell border Border Page cal template litle column width 00 0 Line Title row hight 30 0 Chart List Pivot table Table Citation Index Pagination Square Date Time JInternet link JImage Barcode XSL Text Numeric field Text Show values as Use grand total summery Grand total text Lise labels Columns sort attribute Rows sort attribute Background image Background color Logical style Row properties Calum propi t es 4 Frame properties 4 Boul id Ab
101. DescLong DescShort printer Bookman cy Arial Product DescShort e Delete Deletes the existing value e Up and Down Moves the values up and down Inspector Window The Inspector window of Choose element has similar properties of Text element Refer Inspector Window section of Text element for details 349 Page Data if Choose 1 Property Object name Locked Text 4 Frame properties 4 Bounds 4 Absolute position Left Top Width Height 4 Paddings Left padding Top padding Right padding Bottom padding Orientation Border Horizontal alianment Vertical alignment Level Span 4 XSL FO options 4 Generate XSL FO con Custom attribute Custom attribute 4 Generate XSL FO block Keep together Custom attribute Custom attribute Link Id Wrap text Collapse spaces Linefeed treatment Whitespace treatment Normalize spaces insi Disable output escaping Suppress if empty Generate template If ForEach value Choose 1 L Edit Absolute position true v 269 pt 377 pt 100 pt 30 pt Left padding 0 0 pt T D pt D pt D pt D pt ED Border det 5 T Top 00 OX 11 nne T v v auto vi LJ preserve F LJ LJ LJ LJ 350 Page Context Menu The context menu options of Choose element are available in Text element Refer Context Menu section of Text element for details
102. Description of product F Description of product G Description of product Q Description of product C Description of product E Description of product L Attribute name Expression Mode custom green sort none x Sort order Aun amp Custom green red _ blue xP ath po 308 Page Group by content Example Product Product A Product E Product F Product G Product Q XSL st Description Material Color Description of product A wood green Description of product E steel green Description of product F steel green Description of product G wood green Description of product Q green If you only want to display those green products made of wood add one more attribute to your Group by content rule _ un m LAISIETETETISI Color Data Description Img Material Mame The result Attribute name Expression Mode custom green sort none Mode auto sort none T Sort order Bua e Custom wood steel Path Group by content Example Description of product A wood Description of product G wood 309 Page The Group by content function is very convenient to filter and sort data to achieve the display you need All attributes can be combined even attributes which are not actually used in the table can be used to group and sort the data In case you cannot achieve the result you need with the options offered in the dialog you can also ent
103. E E E EE E E E ESE E V E E E EE 100 Group DY CONTONE erenn TI T TU UT 101 Sere ESNE aE TT E TE ENE m 102 DANA E aaen ETE E E E A E E se nein E mnees fabeines 102 Drag and Drop Nse ON T OR OU ORTOS 103 Layour EUNE eee 106 Process Layout sioe a osOederbinieessiseDederDis sees Age DeRecDisDages ipe DRE solis wane ipeDaD sold Passt Ese aD urbis 106 PROCESS aay OU rM TT E 106 Process MULOINAY OUD icio deus sates casts tuv eds selee saute Eur tardy sales seule EoratedV Mun sede EEE ITEE E vats ESENIN 106 Ew OU OA Mr 112 COTON ay OUCS RETIRER TRTC 114 NO RET RTT TIT EEnR 125 ElemelilS cccccacecasscusescsevesussscueeniwescessevescseseieseenseesenseceissscases 150 oi P 136 dii gs E dd IPIE EODD 136 zapafsedirgu met e T 137 Inserting Other Elements in Text Field cece cece cece cence cence ceeeeceeneeeeeeeceeeeceeeeeeeeeees 150 COMM GNSION OT TEEME E tee cence sete cers Tm 151 FAS VO ye ETT gnats Saas E E E 152 CONIIUIO tibi MORTE TETTE TT 154 lakes eue NING ON CR INO E m 158 Seni idu lip CT ceases 180 NOMET dert err AEE S A 185 NSERC INUIMEHC FICIC mm 185 EIE iUa originis ERE ELTE E ITI LT 186 llisbector WIDGOW ousauicU Ub ES AUD PIU NP E MAU DIU EMDPA EU M DIU EUPA UU ME D DUE EUPA ae NE DEDE anes 190 COMCEXE DITE T OR UT 194 KE CO
104. E PEEHPOLREPE I DUNS 480 bile E 480 Bi c T 482 MACOS Cr 484 MALI e 485 lista tallo Ob WOTICIOWS cas esuieapt daa diua vues dev EM MEPEDEUUDOU MCI EU MMNDON DENADRM DN DNM DEMENS 485 STAM AION ION i i7 e 495 aeeie enee na IQ creer m 502 ASLfast UN Mestalla ON oseces iau ai uud NA Ono iaa ovem RI IqUPEUAS EI IU pe uad ene ved inq edE 503 UA STE ON WIDOONS socccvnterccevaceesseestecscecaceeeceecteesceuavceceuvateeseccatceceuvaccesdscatsecqueaes 503 LINAS a ONV e EE E E T E E 505 Sag lacie Rog 0 ee er E E E re 506 Ui er ne nn a or re ee M PS 507 Upgrade XSLfast LINUX Version c lt dscecerencsessaadsontecenebes candseuaesnsenesecedoewaseaeewesesesoesaaeneors 507 installed File SUCTUS c cceccccteccctcavsceascoveccates wmetemtaaastecmaneccesmecumesecmasecse 508 Iinstallation of RENGSKETS occ cceschcsnsessncsedecshecsosseseacnenesenasesaseussesstesaaesencnaneaetes 509 Installing Other Renderers cccceecccccccccccccceescceesccesesccsessceeeccesescceessseseccesesceeeess 509 11 Page Welcome to XSLfast 5 0 In order to grant customers complete easy and simple access to their products and eventually seize the chance to make use of the publicity potenti
105. EF Paths to external tools XSLFormatter path T Use internal pdf viewer V Wee Internal pdf viewer 393 Page General Options The options under General options tab refer to the layout creation settings The General options tab contains the following options e Show startup wizard e Disable layouts without XML e Track all changes as separate versions of layout e Initial layout root directory e Source files base path e Default image base path e Default xsl base path e Path mode 394 Page General options Wiew options Additional options Performance options cCompeatibility options MSL output settings X5D DTD settings C SV settings Ls Def aul settings X5Lfast preferences General options vw Show startup wizard Disable layouts without XML Iw Track all changes as separate versions of layout External tools Initial layout root directory Source files base path Default image base path Default xsl base path Path mode Path mode Updates Cheek for updates Graphic library E3 Relative paths Here you can eet the graphic library used to paint Figures in editor You should restart XSL Fast For these changes to take effect Select active graphic library Paths to external tools XSLFormakter path Lise internal pdf viewer v Wee Internal pdf viewer GEF a d 2k cancel e Show startup wiza
106. GS E UHOO 195 HSCS COGS TTC M 195 BONG ASL COGS qe 195 Inspector WINGOW cacceadatuctancusaceentatectascuenceeatconetaucweac eonlatestascuewcaeed cower A AEOS 196 oni rU 198 Bal COG mM 199 SCE Bal COS Met I M 199 zajdisrigso icons tus E 200 MPEC dh LA qiero RR EV 200 Gars ad i M T 203 BE o 204 licis quim o r 204 OMI NS ENS a actos TT eee 205 sed eee ee ee Te E ee 206 Inspec top WINGOW secsecdccussnederacseeancnetnederaesonsseneened orcs tee da ORO once SUN EE EA 208 CONTEXT MON PCT 212 RVI pares con orate 213 PS UAE SA cT 213 M PEOL VW IMGOW ETE 214 apicis ee 229 Sample Dan DUC on Gia cele te bereit sow cele fa Geren ees a ciele ta crete sacle ha anette eg ocmie sa anette cece pA be pIS 230 JUPE DT TT 233 PAS OU li TidOD aio 2002025200000 102202 2000 E ec tio EU POP nee S SPD OP EE REPE UE 233 IliSDEctOP WINGOW ecisecesanbobet vent ornaPeduUDPN PETE Pensa DRN Pe Don
107. IProductgroup i J ee at sena je E E E E 3 z E E Before applying command After applying command 372 Page Move Out from Page The Move out from page menu moves the selected element from work area to non work area To move an element out of page follow the steps below 1 Select an element s 2 Click Arrange Move out of page menu The selected element is moved from work area to non work area 373 Page Page A page in XSLfast allows you to insert and arrange the elements as per the requirement This in turn produces a style sheet Types of Page XSLfast has different types of pages which makes it easier to create a multipage brochure or a booklet Following are the pages available in XSLfast e Main page e Title page regions e Tail page regions e First page regions e Last page regions e Rest page regions e Any page regions e Even page regions e Odd page regions e Any page regions odd or even 374 Page These pages are used with the combination of other pages as specified in table below Command Add first page regions Add last page regions Add rest page regions Add any page regions Add even page regions Add odd page regions Add any page regions odd or even Use with Add rest page regions Add last page regions Add first page regions Add rest page regions Add first last page regions None None None None Resul
108. Justify function does not apply to Bar code elements The Text color function does not apply to Bar code elements generated using SVG graphics It is applicable only for barcodes generated using barcode fonts Number element Internet link Date Time element Pagination element Index element Citation element Icon Function CO Function n Arial Font E Top 11 x pt Font size E Center B Bold Bottom I Italics Text color 51 Page IC Underlined Left Center Right Image element static dynamic data Icon Function Icon Function Dynamic fv Image Type Left Center Right It Top nmm Center Bottom L Border Paddings Background color Border Paddings Image Base Path The Square element only possesses the two functions Background color n and Border Bl Table Slave Table Icon Custom I hf Function Style Add row after Add row before Remove row Add column after Add column before Icon Function Add header Remove header Add footer Remove footer Table grouping Remove table grouping 52 Page Pivot Table Remove column E4 Function Icon Style Es Add row after amp Add Slave Table Function Add column after Add column before HES Add row before He Remove column am Remove row List Icon Function con Function Arial v Font Center pt Font size Bottom B Bold zl Text color I Italics iB
109. ProductGroupID and ProductGroup Name located in the parent node ProductGroup To move up in the XML tree you need to replace the node ProductGroup with two dots like this ProductGroupID and Name The generated output will now show this 178 Page ri demo 1 pdf Lesezeichen c o E d Chairs Chairs Chairs Chairs Chairs Chairs Tables Tables Tables Tables Tables Tables Tables Tables Tables Tables Tables Tables Note Make sure the text element is big enough as it will not be sized to the content other than tables 179 Page Context Menu The Context menu of Text frame is below Bring forward Send backward WA Undo locked false Ctr z Applicable XML nodes S cut Ctil X Copy Ctrl C E Paste Ctri V Copy as text Font family Font size Font style Alignment Vertical alignment Text color EE ETE pue ow ur Background color Move texts to one Split texts Fit to content Convert Eo b Generate template Locked Forward and Backward The commands Forward and Backward influence the arrangement of frames if you work with overlapping frames Refer Arrangement of Elements chapter for more details Apply XML Nodes 180 Page With this command you can group the element to an XML node without having to double click Because it offers you a small window with the XML tree displaying all nodes which you can Bring forward Sen
110. SOFTWARE End User License Agreement IMPORTANT This software End User Licence Agreement CEULA is a legal agreement between you and jCatalog software AG Read it carefully before completing the installation process and using the software It provides a license to use the v 6 Click Next button 7 Click Browse button to select the path where you need to install XSL fast Note By default XSLfast is installed in the Program files directory C Program Files XSLfast XSLfast 4 0 487 Page iS Setup XSLfast 4 0 Select Destination Location Where should SLfast 4 0 be installed lel Setup will install amp SLfast 4 0 into the following folder To continue click Next If you would like to select a different folder click Browse At least 51 3 MB of free disk space is required 8 Click Next button Note If the folder already exist where you install XSLfast The Folder Exist window appears Folder Exists 2 The folder e C Program FilesyxSLFastXsLFast 4 0 already exists Would you like to install to that Folder anyway Click Yes to install in the same folder If you click No the Folder Exists window closes You are still on the screen where you should enter the correct path for the installation 488 Page 9 Click Next The next screen will offer you a choice of XSLfast components to be installed IS Setup XSLfast 4 0 Select Components Which compone
111. SRAN none Y 4 XSL FO options P Generate XSL FO c b Generate XSL FO Letter spacing D pt Word spacina D pt HTML markup conv C Wrap text Collapse spaces E4 LineFeed treatment preserve v Whitespace treat ignore if surroun v Normalize spaces i Disable output esc Suppress if empty L Generate template Page break inside Auto v Page break after Auto v Space before D pt Space after D pt Break before Auto v Break after Auto v PublicationLanguagel The properties of text element are displayed in the inspector window They are grouped into groups belonging together Use button to expand the properties or useP 158 Page Object Name Object name displays the name of the element XSLfast automatically displays the element name Double click the object name to edit ext Element The name available in the object name is listed in the List box drop down Texk Element Text Element TextFlow_2 Locked Locked option makes the element as read only element if the option is checked You cannot perform any actions on the element The Context menu options of the locked element are disabled and the tool does not allow to open the editor window 159 Page Aa TextFlow 1 Property bied dama Locked 4 Text Background color Line height Line stacking str Logical style Last line alignment 4 Frame properties 4 Bounds 4 Absolute pos Left Top
112. Text Top padding 0 pt Numeric field Right padding 0 pt Text Bottom padding 0 pt Border Border horizontal alignmerit Left imde Crone Restore default settings Ok Cancel 438 Page Citation The Citation properties are available in inspector window of Citation Refer Inspector Window section of Index and Citation elements for more details XSLfast preferences E3 JGeneral options Categorized Alphabetic View options Additional options Property value Performance options Name JCompatibility options Width 227 6 pt XSL output settings Height 17 1 pt L JXSD DTO settings Text calo Do ARS L XAkJ csv settings f jo roi Et i i C pef ault settings 4 ram proper Page Call template a Bound Absolute position true Paddings Left padding D Line Absi ii jte msition Chart 4 Paddings Left padding 0 0 pt Top padding 0 0 pt Right pa List Left padding Opt Pivot table Tod DAMAN Q pk Table citation Hu iit p well Ww pt JIndex RBotbko m padding pt Pagination hieorder Border ti Square IHortzonkal alignment Left Date Time Span none a internat link tmage Barcode XSL Text Numeric field JText Restore default settings Ok Cancel 439 Page Index The Index properties are available in inspector window of Index Refer Inspector Window section in Index and Citation element for
113. _neu jpg pages File Name g Files of Type Images jpg jpeg tif svg png gif tifF 4 Select the image and click Ok button Ok Cancel 234 Page Insert Dynamic Image To insert static image follow the steps below 1 Insert an image element 2 Select Image type as Dynamic in inspector window Tus Image F 3 Double click on image element The Select background image Window appears 235 Page Select background image ORE Edit Recent xPaths A XDD 4 Report Productgroup Img 4 Productgroup Name Img gt Product Node Set String Boolean Number Date Time Math Today Templates t el Column 17 line 1 Ok Cancel 4 Select the image There are three ways to select an image e f the XML data has the image path select the XML node which has the image path Note Do not enter an Image base path here because these two specifications would clash Make sure that the path information is correct Tus Producigroupimg 236 Page e f the XML data do not have image path specify the directory where the images are found in the field Image base path You can enter the image base path directly or use the search dialog e A third way to select the correct XML node is to use the context menu and select the function Applicable XML nodes Inspector Window The Inspector window of Image has similar prope
114. a new layout The main page in the left frame is the currently open page 2 Select the folder path which contains the xsf source files The Available layouts field specifies the source files along with its path To specify the source file 3 Click Browse button The Directory window appears 115 Page Look In Default templates Folder name C Program Files XSLfast XSLfast 5 DlinputlTutorial Directory 3 Tutorial E 01 SimpleFlyer rj 02 Pagination EJ 03 Table EJ 04 Columns 3l 05 Footnotes E 06 Template E 07 Multilayout C 15 Expand E 16 Page columns fe 17 Text 3 18 Numeric Field Cj 19 XSL Code 20 Barcode 21 Images EJ 07 Multilayout old variant 9 22 Table E 08 Multilavout Template E 23 Filter E 08 Multilavout Template old ET 24 List E 09 Multilayout regions C 25 Call Template 09 Multilavout regions old 26 ComplexTable Sa 10 Example Manual E 11 DTD CJ 12 Group by content a 13 Namespace C 14 Suppress redundant E 26 Virtual Page Columns 27 Borders E 28 InternetLink 29_DateTime Cil 30 Square Aid es BE i 31 Pagination EI 32 SVG Graphic E 33 Business Cards 34 Certificate E 35 Invitation letter EJ 36 Grant Application Gil 37 Saving Plan d 38 Visa Form c 39 Choose EJ 40 Chart fll 41 XEP 3l 42 Conversion ET 43 Pivot Table EJ 44 Conditional options E 45
115. ace all the files necessary for layout together Use system locale settings XSLfast uses system locale settings for numeric field representation such as decimal and group separators Allow empty row omitting This option omits or deletes empty rows in tables Indicate bad elements in output This option prints the string empty XSL for every empty XSL code in the output file It is useful to clean up the layouts and avoiding empty objects in the layout If disabled the output does not display empty XSL String Use different border for cell and its content This option uses a different border for the cell and its content of a table Do not treat white background as transparent color This option do not treats white background as a transparent color if applied to any of the elements 415 Page Add templates with match pattern Whether or not XSLfast should use match templates lt xsl template match gt in files specified as External templates in the Layout settings Adjust line height automatically The function Adjust line height automatically provides way to re calculate line height XSL FO attribute for FOP on the fly Show registered fonts only The font list box displays only the fonts that are registered for a renderer Advanced Use simple filter dialog in inspector This option allows entering the grouping XML node manually It does not allow the Grouping properties windo
116. ace start Linuxconf YaST select the XSLfast package named XSLfast and remove it from the system To do the same via the xcommand line interface just type the following command rpm e XSLfast Refer Frequently Asked Questions if any error occurs 506 Page Upgrade This section explains how to upgrade XSLfast Upgrade XSLfast Linux Version Make sure that XSLfast is already installed Look for installed software through Linuxconf YaST or type the command rpm qa grep XSLfast If there are no lines produced by this command XSLfast is not installed on your computer so refer to the Installation on Linux section To upgrade XSLfast via the command line interface use the following command s tom U X5hftast Refer Frequently Asked Questions if any error occurs Note You can only upgrade XSLfast with a later version If XSLfast is already installed you cannot upgrade it with the same version you are currently using 507 Page Installed File Structure XSLfast installs the following directory structure on your system all contained in the directory XSLfast or depending on the name that you gave the directory during the installation backup Stores backup files which can occur during working with XSLfast bin Contains the startup files docs Contains the help files and the documentation fonts This directory will take the font information when you generate the font metrics input Co
117. ackground image or Select background color buttons Note This step is optional 6 Click Ok button to create a table cell style 337 Page Similar to table style the created table cell style is now available in Logical styles editor window and in Logical styles option of Cell properties under inspector window Note Refer table1 xsf table2 xsf table3 xsf and table4 xsf under 22 Table in Tutorial folder to work on Table 338 Page Slave Table The Slave Table element is used to add a slave table to a parent table The pre requisite of a slave table is to have a parent table Select a table and click E gt Add slave table icon from the toolbar or right click the table and slecet Add slave table option from the context menu The Create table window similar to the normal table wizard appears Select table type ES O Create a table Number of rows 2 Number of columns 2 Create a table from XML data Please select which XML nodes you would like to represent the rows of the table Filters Groupings Example of selected nodes Report Productgroup Product 1 GdResult C3 Product Name Product A P Description Description of product A P Img prod101051 gif dl Product Sl Product Sal Product 3l Product 3l Product E Product Sal Product E Product New filter Back Next Finish Cancel The functionality of slave table is
118. al of a beautifully designed document including images most suppliers and vendors present their range of products in the form of a printed document Or think of the vast number of forms that you encounter every day and the speed in which these are modified and adapted to the changed requirements Even in the age of electronic commerce printed documents still have their place But how do you bring voluminous digital product data into the shape of a printed document without external help XSLfast helps you to combine layout and content easily and quickly to produce PDF or print documents as a result XSLfast XSLfast is a style sheet creator editor which helps you to create style sheets or layouts without the knowledge of any programming language Basically XSLfast combines the XML data with the layouts and produces a professionally look document XSLfast assigns content of an XML file to placeholders on the sheet and uses formatting styles to give the document a professional look It creates a single page layout brings content and form together and generates a multipage document It follows the principle of Write Once Use Many XSLfast enables to render the same content in different media or format by using different layouts The usability and the result of XSLfast are divided into two phases 1 Creating the Layout Generating Style Sheet 2 Applying the layout to the actual data and produce a professional look document
119. are and hardware requirements of XSLfast on windows platform Operating System e Windows XP recommended e Windows 2003 e Windows Vista all editions 32bit and 64bit 480 Page e Windows 7 32bit and 64bit e Windows 2008 32bit and 64bit Software Requirements e Sun JRE JDK 1 5 x or 1 6 x e Werecommend Sun JRE 1 6 x e Our version containing JRE inside ships Sun JRE 1 6 e Adobe Acrobat Reader 5 x or later or Foxit PDF Reader Hardware Requirements Minimum e Intel Pentium IV 3GHz e 1GB RAM e 500 MB free space on hard disk e High color resolution 1024x768 Recommended e Intel Core2Duo 2GHz e 2GBRAM e 500 MB free space on hard disk e High color resolution 1280x1024 or better 481 Page Linux This section lists the required operating systems software and hardware requirements of XSLfast on linux platform Operating System e SuSE Linux professional Intel 32bit architecture e SuSE SLES Intel 32bit architecture e RedHat Linux 8 x and 9 x Intel 32bit architecture e RedHat RHEL all versions Intel 32bit architecture e RedHat RHEL all versions AMD64 64bit architecture e SuSE Linux professional AMD64 64bit architecture e SuSE SLES AMD64 64bit architecture e RedHat RHAS all versions Intel 32bit architecture e RedHat RHAS all versions AMD64 64bit architecture e RedHat Fedora Core AMD64 64bit architecture e RedHat Fedora Core Intel 32bit architecture e Ubuntu 10 04 Inte
120. ast build 12 01 2012 FOP version Memory properties Memory currently used 27IMIb Maximum memory pool being used 259IvIb JVM properties Java TND SE Runtime Environment 20 2 b06 sun IMicrosystems Inc java runtime name java vm version java vm vendor http java sun com Java HotSpot TM Client VIVI act trann man mma V maman anmann m Tarr Tha hinantin Chan nn Banat man 4 TT java vendor url java vm name Force memory cleanup Refresh Close 47 Page The Force memory cleanup button clears the memory of cached items and improves the performance The Refresh button updates the information in the window Click Close button to close the window About About XSLfast window displays information on version build of XSLfast and the date when it 7 was built This information is helpful to support if any problem exist Click OK or gt Close button to close the window About XSLfast ES Version 5 0 Date 12 01 2012 P jcatalog Software AG Info http www xslFast com jCatalog Software AG 2011 PERE 48 Page ToolBar The tools in the toolbar reflect some of the commands described in menu bar Many of these tools also have matching commands in the context menus of the elements Main Toolbar These are the tools in the fixed toolbar Icon Function Create new file Open file Save file Undo last step Process Layou
121. ata in the editor field You can enter a static data or drag and drop a dynamic data from the XML node The Data tab also consists of XSLT functions FormattedNumber 1 Numeric field Edit Recent XPaths M XB Format Node Set String Boolean Number Date Time Math Today Templates e Column 6 line 1 Ok Cancel 189 Page Inspector Window The properties of numeric field element are displayed in the inspector window They are grouped into groups belonging together Use button to expand the properties or use Inspector zg Scit 7 1 000 Forma 2 221 0 Sati soit D 4 Fiare propertes P Boa Absalube posibon true Paddings L Fenton 3 hd Bede Borde Sorortal shonmere efi i etics same Top Y DEVE 11 Span none v 4 X3 F snare JF v exea EZ sito v apte Eped ce preserve Escace treatme oresenve T 190 Page Few properties of Numeric Field are similar to Text Refer Inspector Window section of Text element to know about similar properties Data Field Allows entering a static or dynamic data If you assign an XML node to this element the path is displayed in this field Format The field Format opens the editor again where you can also enter placeholders for a certain number format For example you would like to display in this frame the product prices of the products contained in the XML source file The prices all have different formats
122. ath Option to specify the path where you can save the images and select the images from The image base path acts as a reference and XSLfast picks the images from the specified path and displays in the output file e Default xsl base path Option to specify the path where the generated output files such as XSL and XSL FO are saved e Path mode The Path mode option consists of two types of mode e Relative paths The relative path mode indicates that all files currently used images templates and so on are referred to the output files relative to the XSLfast installation directory for example input mylayout xsf in the output files e Absolute paths The absolute path mode indicates that the absolute path name is saved with the layout for example C Program Files XSLfast input mylayout xsf Note The absolute path mode may lead to problems if the layouts are used on another machine with a different file structure 398 Page View Options The View options tab helps to set the look and feel of a layout display layout information and so on The View options consist of the following options Grid size Grid point of origin Snap on grid Show grid Enable preview of fonts in font listbox Display system fonts first Show layout options in status bar Show XML in alphabetical order Show log in status bar Autozoom in Text editor Show node value tooltips in Grouping dialog Highlight recom
123. bedding options v Embed Fonts Embed all Fonts also Base 14 necessary For POF A V Create separate block elements for empty lines X5L output encoding urr a Default x5L FO processor POP 1 0 Ok Cancel e XSLT 2 0 features enabled This option enables XSLT version 2 0 standard possible adds such menu items in XSL code objects as xsl for each group xsl analyze string xsl next match and so on as well as extra items to the Text editor function panel e Use SVG graphics for lines If you need to use lines which are not orthogonal in your layout check the check box Use SVG graphics for lines If this check box is not active lines are created by FO Blocks which will lead to problems with non vertical or non horizontal lines Such other functions like SVG bar codes and crop marks will not be available too e Include Java Namespaces possible problems with non Java XSLT systems Activate the check box Include Java namespaces possible problems with non Java XSLT systems if you want to use Java namespaces Namespaces make static functions e g from the Math library available in XSLfast 421 Page Note There may be problems using the XSL output with Non Java processors if you activate this check box Example 1 Java namespaces are not included in the layout In the beginning of the XSL file you can see strings such as these xsl stylesheet xmlns fox http xml apache org fop ex
124. bility options Grid size 8 sont To disable gridlines uncheck Show grid option through View menu or Preferences window Snap to Grid Snap to grid arranges elements to grid points In other words when this option is turned on and the grid size is specified as 10x10 you can place move elements only to positions 10 20 30 and so on but not to 25 17 6 and so on To arrange elements to grid points click View gt Grid preferences and check Snap to grid menu 63 Page Grid preferences 4 v Show grid Look and Feel N v Snap to grid Element placed exactly Element palced in on the grid points between grid points The snap settings can also be done in Preferences menu Click Tools gt Preferences select View options tab check Snap on grid check box and click Ok button XSLfast preferences ES Grid properties L JGeneral options View options Show grid Additional seal sna on grid Performance options Grid size 8 Compatibility options l wmi i i E To disable snaps uncheck Snap to grid option through View menu or Snap on grid option through Preferences window Grid Size The grid size determines the distance between each grid points To change the grid size click View Grid preferences and select the size from Grid size menu 64 Page Insert Arrange Page Run Tools Window Help pe i i Show grid s Grid preferences 0 0 0 0 MV
125. ble layouts C Program Files XSLFast xSLfast 4 0 input Tutorial 2j 01 SimpleFlyer SimpleFlyer xsfF tos 02 Pagination Pagination xsf j 03 Table Table xsf Layout 1 Select all pages 2 Drag and drop the page into Combine pages header or click E icon from the toolbar or select Page Add page to the end menu Combine pages Available layouts C Program Files X5LFast xSLfast 4 0 input Tutorial 7 06 Template Template xsf SimpleFlyer main D 07 Multilayout Multilayout xsf e Tem Ee ames main Regions 1 Select the region 120 Page y 2 Drag and drop the page into Combine pages header or click E icon from the toolbar or select Page Add page to the end menu Combine pages Available layouts C Program Files XSLFast xXSLfast 4 0 input T er le oo _Multilayout _regions Multilayout_regions xs 4 SimpleFlyer main e D main i e Multilayout main Db I Persius id 4 even ions a Loo title o gt 10 Example Manual Example Manual xsf Note The changes you do in Combine pages and layouts window are reflected in the worksheet only if you aL mJ Export The Export option allows exporting the entire current layout or only the pages and or regions you need To export layout page region follows the steps below 1 Select layout page region from Combine pages or Available layouts columns 2 Select File gt Export layout m
126. ce to be an even page o end on odd Force the last page in this page sequence to be an odd page o No force Do not force either an even or an odd number of pages in this page sequence Expression The function Expression for pages is used only in layouts which were created by combining pages from independent layouts Refer Combine Layouts This expression represents a way to apply conditions to the page and is only available on main pages Entering One 1 or leaving the function empty always displays the page If you want to hide this page in the layout enter Zero 0 It is also possible to enter a condition on which the page should be hidden or displayed similar to if condition of elements Description Enter some information about this page when it should be used or why it is used for Background color Set a background color of the page Click Background color option the Background color window appears Select the color and click OK button Background image Set a background image of the page Click Background image option the Select background image window appears Select an image and click Ok button Locked Check this option to make page as read only The page cannot be altered it is locked This affects all modifications like grouping adding regions or changing the background color or image Regions This option is used to set the size of the regions such as 388 Page e Left
127. change the text color eleal The Text color window appears Select the color and click OK button 141 Page DA 0 F Transparent CMYK 0 0 0 100 Red CMYK O 100 100 0 m Green CMYK 100 0 100 0 Blue CMYK 100 100 0 O Black CMYK 65 53 51 100 White CMYK 0 0 0 0 Text color OK ao 0 o S0 D Yo 0 o C 65 9o M 53 So Y 51 K 100 Yo 3 ffoo0000 Cancel 142 Page Insert Symbol You can also insert symbols in text frame using Symbol option under Insert menu Click Insert gt Symbol or press Ctrl nsert The Symbol window appears Symbol X Font Tahoma Character code Unicode 01 8 9 9 amp CO t jg rng ar OW 2B AE Gr Be EF i GEI ABCDEFGHIJKLMNO PORSTUVWXYZ _ ia bc de f g h i j k l mn o p a r s t u v w x y z ise i E ox Q3 252 eE it 2 89 P py B Eb Ww Bele LA A AJA AA ECG E E E EY EL 1 EL B Noooook uUUUUNY BP Blak insert Cancel The Symbol window consists of Mathematical Currency and Greece symbols Select the symbol and click Insert button else click Cancel button The Font drop down changes the font style of symbols The Character code Unicode field displays the character code of the selected symbol 143 Page Functions The functions in XSLfast provide a facility to operate on a part of content not with the complete content It enables to mod
128. ck B Same width from the toolbar Yernety Before applying After applying command command 366 Page Same Height The Same height menu aligns all the selected elements to the same height To align all the elements to same height follow the steps below 1 Select more than one element 2 Select Arrange Same height menu or click Same height from the toolbar Before applying After applying command command 367 Page Same Space Horizontal The Same space horizontal menu aligns the elements horizontally with the same space between the elements To align all the elements to same space horizontal follow the steps below 1 Select more than one element 2 Select Arrange Same space horizontal menu or click eon gt Same space horizontal from the toolbar 4m a dio a i i i Tem temy H d H Before applying After applying command command 368 Page Same Space Vertical The Same space vertical menu aligns the elements vertically with the same space between the elements To align all the elements to same space vertical follow the steps below 1 Select more than one element 2 Select Arrange Same space vertical menu or click i i 5 Same space vertical from the toolbar At Tere After applying command 369 Page Tile Objects The Tile objects menu aligns the selected elements in line Its functionality is same as Tile windows option but for selecte
129. ck EQ gt Date Time icon form the toolbar or press Ctrl Shift D Click on worksheet and drag the cursor point The Date Time element is inserted 0012 01 19118 36 58 z Edit Date Time The Date Time editor window allows the user to enter and format date and time To edit date time frame double click on the frame or click Text or Format option in inspector window The editor window appears 250 Page Edit View Insert Format Recent XPaths PxeBbe Fs ov BU ES Se Data Format 2012 01 15T11 16 06 Column 1 line 1 Ok JI Cancel Format The Format tab allows you to format date and time You can specify your own Input and Output formats for date and time 251 Page Date Time format 5 23 Input format Date separator Time separator v Date time separator T v Date order YYYY MM DD v Use predefined output Format Predefined output formats Date Date separator Time separator Time MMMM HH mm MMMM dd yvyyy HH mm ss EN 2 t Date and time dd MMMM yyyy HH mm ssT 2 dd MMM yyyy HH mmT z dd MmM hh mm dd MM yyyy hh mm a yyyy MMMM hh mm ss yy yy MMMM hh mm ss a Example Input Output Use custom output Format Custom format 9 yyyy MM ddTHH mmiss Ok Cancel The Format window is divided into three sections e Input format Defines the format in which the input data has to be formatted into da
130. ct box at the bottom of the XPath expression field It is also easy to clear XPath expression fields just by pressing the Clear button 176 Page By pressing the Evaluate button you can see the result of the XPath expression you have entered above For Each The function For Each can be used to address each element in a selection This allows you to process all data contained in the selection TextFlow_1 XML node E X tk Recent Paths fL e xb5b 4 Report Node Set gt Productgroup String Boolean Number Date Time Math Today Templates t Q p 3 ei Column 1 line 1 Ok Cancel Example You want to display the ProductGroup ID and the ProductGroup name in a text element as many times as there are products in the XML source and you do not want to use a table for it Use the Example xml file from the tutorial 10_Example_Manual Create a text element and drag the nodes ProductGroup ProductGrouplD and ProductGroup Name into it 177 Page If you generate a layout now it will only show the first product group and its name a4 demo 1 pdf 100 Chairs Activate the For each property and select the node ProductGroup Product A generated layout will now be empty because you need to specify the correct path As the For each property that we set to ProductGroup Product means that this is our current position in the XML tree you need to move one step up to address the nodes ProductGroup
131. ctor Window The properties of Pivot table inspector window are available in Table element inspector window except the following properties 341 Page e Show values as The Show values as drop down has the following options e Quantity view The amount of objects is printed in the body e Occurrence view A mark is printed in a cell if any amount of objects is found An additional property Occurrence mark is available when this view is selected Select the Occurrence mark that has to be displayed Show values as emen ven _ view Occurrence mar e Quantity for non numbers view If the value of the cell is non numeric the amount of object or their sum is displayed e Asis plain view The plain value of the object the first available during XML parsing if they are more than one is printed e Summary view The sum of values are displayed e Percentage view The portion of total amount of values in the current row is displayed in percentage e Use grand total summary If this option is enabled grand total columns and rows are added to the table Use grand total summary and Grand total text are available only for Quantity Quantity for non numbers Summary and Percentage views e Grand total text Option to specify titles for grand total columns rows This option is available only if Use grand total summary is enabled 342 Page e Use Labels If this option is enabled labels are added to title c
132. d d d Element Pasted Vertically Five elements pasted vertically along with the copied element Element Pasted Diagonally Five elements pasted diagonally along with the copied element i Styles The feature Styles is useful when you need to apply fixed text styles to whole table table rows table cells or text elements available in a layout To apply style for an element select 38 Page the element to which you need to apply a style Choose style from logical styles in Inspector window offered by XSLfast or create your own style and apply To apply a style to a table select the table and use the function Table gt Logical style in the inspector window EH cTable 1 p l Property Value Object name cTable 1 Locked C 4 Table 4 Grouping Product 4 Use alternate c Alternate c Sort Lise custom rep Backaround image Background color Omit header page b Omit Footer page br Row properties 4 Column properties Auto width Column width IF To apply a logical style to a text element located in a table cell or in a worksheet select it and use the function Text gt Logical style in the inspector window 39 Page Aa cTextFlow 2 Property Object name Locked 4 Text Background color Line height Last line alignment 4 Frame properties 4 Bounds 4 Absolute position Left Top Width Height
133. d backward Mf Undo locked false Ctrl Z eo cut Ctrl X ml iR 4 C E Paste Ctrl V Nam Copy as text Description Font Family b Img Font size 3 Data Font style d Alignment Vertical alignment d Text color gt Background color Move texts to one Split texts Fit to content Convert Eo Generate template Locked Note This option appears for text frame only if the frame is empty Cut Copy and Paste These options are used to cut copy or paste the text element Copy as text 181 Page Copy as text option copies only the content of the text element not the frame This ability allows to copy text from selected object to clipboard The copied text can be placed in another XSLfast object or in external program Helio Productgroup ProductName a Bring Forward rere Send backward VI HN RR RE RESI NOSS MPS Undo object addition Ctrl Z Vida deena d M CUE pex apad d qus Ctr iu sanenen eed Ml Paste ee TT Nabobetofokofotatotolos Font Family Wei e qe eei ed Font size S eC age RU SM baw CQ C36 GU ego tae a Font style stab ego QU Ga G0 Qd CS QI tao QR Vertical alignment ntidoulatadadulatadiadurne Text color Ld d mdatgdatubatudatudatude Alignment b gt b d Background color Move texts to one Malubababuuhutahahdie Split texts POR RHONSOR SORORE rie Convert to d
134. d elements To tile the elements follow the below steps 1 Select more than one element 2 Select Arrange 2 Tile objects menu r fempty a OR y r empty i i f 1 Cha i iul gg 4 k 4 After applying command Before applying command Notes All the elements are aligned or sized with respect to the first selected element Except Forward Backward and Move out of page menus all other menus are enabled only if you select more than one element 370 Page Mirror Vertically When you selected two or more elements the elements are bounded to virtual box This box also has virtual lines vertical and horizontal and it is passed through the center of this virtual box Therefore mirror command changes the position of elements against these virtual lines like mirroring To mirror elements vertically follow the steps below 1 Select more than one element 2 Select Arrange 2 Mirror vertically menu The selected elements are mirrored against the virtual horizontal mirroring line iProductgroup Name gt Ato Ah Productgroup Name pplying command After applying command 371 Page Mirror Horizontally To mirror elements horizontally follow the steps below 1 Select more than one element 2 Select Arrange gt Mirror horizontally menu The selected elements are mirrored against the virtual vertical mirroring line G e EFProductaroup P ANN Ef Name
135. d like to work with in XSLFast so that they can be registered with the Renderer This is only necessary on the First start of XSLfast if you choose another Renderer or if you want to add new fonts Please select the Renderer you are currently working with XSLFast uses FOP by default FOP 0 20 5 FOP 1 00 XEP XSLFormatter Log Processing File DejavuSansCondensed Bold Etf Processing file DejavuSansCondensed Bold ttf Processing File DejaYuSansCondensed BoldOblique ttf Processing File DejavuSansCondensed BoldOblique EtF Processing File DejavuSansCondensed Oblique ttF Processing file DejavuSansCondensed Oblique ttF Processing File DejavuSansCondensed ttF Processing File DejavuSansCondensed FtF Processing Font Dejavu Sans Mono Processing File Deja uSansMono Bold ttf 14 ok Cancel Some fonts may not be compatible with the XSLfast conditions They will be listed in a window which opens after the registration is completed 458 Page ra st of unsupported tants The folowing fonts may not be aperabonwi n FOP Font Fmmilyg Bookshelf Symbol 7 Font Name Bookshelf Symbol 7 Font File i BDSSYRHT7 TTIF Pmth Cil WINDOUS FontsVBn52sSYN7 TTY Fmmily Cambria Font Name Cambria Font File CAMBRIA TTC Path C WINDOGS Fonts CAMBRIA TIC Familg MS Ouclook Font Neawe ES Outlook Font File OUTLOOK TTF Path C WINDOGS Fonts OUTLOOE TTF Family MS Reference Speciality
136. d of XSL FOR EACH Remove grouping Ok Close 305 Page In the right frame you can see all nodes contained in the node Product where we grouped the entire table to Every node listed here offers a selection of expressions To view these click the symbol in the column Expression For example for Color select Color from Attribute name column and then click the double arrow symbol to open the expression overview Grouping properties Group by position Filering Group by content Grouping 4 Report 4 Productgroup Name Img gt Product v Auto XPath completion Relative nested grouping E wi t LAYDDDDDD Attribute name Img Name Product Product Data Product Description Product Imag Product Name Conditional region XSL IF instead of XSL FOR EACH Expression Sort order Auto Custom prod101051 gif prodi01057 gif prod101058 gif xPath LL _ Remove grouping Ok close The function Auto has the effect that you only have those data sets displayed which actually possess a value for this attribute In this case the values for color 306 Page Product A Product E Product F Product G Product Q Product B Product D Product I Product C Product E Product L Descnphon Description of product A Description of product E Description of product F Description of product G Description of product Q Description of
137. displayed the properties 57 Page The Worksheet 0 50 100 150 Page grouping is not specified v 2 This is the document page where you create layout All needed elements are placed onto this sheet and can be arranged as preferred The horizontal and vertical rulers support the easy arrangement of the elements The hint indicates that the page is not related with any XML file yet 58 Page The Node tab context menu offers you the options to change the properties of the page Here you can group the page to a node insert different pages change the page type change the background color and image of the page ax Cut BB Copy Paste Groupings Insert page ki Delete page Portrait Landscape Background image Background color MP Undo xml file tinputiDemo xml Ctrl Z Ctrl AX Ctrl C Ctrl M 59 Page Element ListBox The listbox between XML window and Inspector window is called Element Listbox All elements on the sheet are listed with either their default name or the name you give them The element which is currently selected is displayed in the list box It works both ways if you select an element from the list box it is selected on the sheet This function is very helpful if you have many different items on your sheet or if you placed elements outside the sheet because they depend on a condition and are only needed if the condition is fulfilled If you select an eleme
138. dit a template select it in the list and click Edit or Remove Note Only the contained templates from these files are used in the layout not the entire file To use external templates in your layout place a Call template element on the sheet and double click it The Call template editor opens TemplateCall 1 Call template s 3 Call Templates Template parameter s Ok Cancel In the Call template select box you can choose one of the templates to be called 130 Page TemplateCall_1 Call template s ES Example 7 i Call Templates murat i remp Eternal templates gt barcode 2of5i value string print text addchecksum module wide to narrow height quiet horizental quiet vertical Font Farmily Font height convert to basic units 2of 5i length convert to basic units 3of9 length draw barcode 2of 5i sequence string print text module wide to narrow height quiet horizontal quiet vertical Font Family Font height draw barcode 3of9 sequence string print text module wide to narrow height quiet horizontal quiet vertical font family Font height get unit scaling f actor 2 of 5i irit get unit scaling factor 3of9 unit makethecksum 2of 5i value position sum odd sum even recursive coder 2of5i valus recursive draw 2of5i sequence narrow real wide real height real position recursive draw 3of9 sequence narrow real wide real height real
139. e at once Horizontal alignment 164 Page The Horizontal Alignment option determines the alignment of the frame content You can align the content to Left Center Right or Justified Span You will only need the command Span if you work with several columns on your sheet It makes a frame span all columns if you select alU from the drop down or just one column if you select none XSL FO Options Generate XSL FO block and Generate XSL FO container This is XSL FO specific and controls the creation of blocks and block containers for the frame In short the FO Block Container is required to apply padding to its contents padding can only be set between a block and a container or a container and a container not between a block and another block or between a block and plain text A FO Block Container can also contain more than one FO Element You can create custom attribute names and their values for each XSL FO containers and XSL FO blocks if you need to use XSL FO attributes which XSLfast does not provide currently Link Id The Link Id option allows you to specify some identifier for an object from an Internet Link element For example 1 Insert a text frame and edit the frame say AAA 2 Apply link id to the frame or enter a new link id in Link Id option say linkAAA 3 Insert an Internet link element and edit the frame say Go to AAA 4 Select Document Link as destination type in Inspector window
140. e currently installed and the status bar which shows the progress of the installation It is still possible to abort the installation with the button Cancel 14 When the installation is finished the last screen opens 493 Page Completing the XSLfast 4 0 Setup Wizard Setup has finished installing XSLfast 4 0 on your computer The application may be launched by selecting the installed icons Click Finish to exit Setup 15 Click Finish button to finish the installation routine XSLfast is now installed and ready to run Start it with a double click on the icon on your desktop if you had it created or use the link in the Windows start menu soLfast 4 0 gt fai Documentation 9 XSLfast 4 0 User Guide CHM SLfast 4 0 Licensing Information XSLfast 4 0 Release Notes xSLfast 4 0 User Guide HTML T XSLFast 4 0 User Guide PDF 9 Uninstall XSLFast 4 0 7L oC MG oxmfet4o 0 xSLFast 4 0 Online 494 Page Installation on JAVA After you purchase XSLfast you will receive a file with the extension jar This is an executable file which runs platform independently Follow the steps below to install XSLfast on Java 1 Double click on jar file The Open File window appears 2 Click Run button to start installation The Language selection window appears Please select your language for install instructions 3 Select the language from t
141. e options Compatibility options MSL output settings J45D DTD settings CSV settings C3pefault settings Page call template Line chart JList Pivot table Table Citation index Pagination Square Date Time Internet link limage Barcode MSL Text Numeric field Text Width eight Categorized Alphabetic X5Lfast preferences Property Image base path Fit in Frame t oop ispect ratio 4 Frame propertie 4 Bound Al mr ih ihe pi aition 4 Paddir Ws Lett pai iding Top padding Right paddin Bottom padding Bor li Ferien al allonmeri Sp FP option Suppress I empty 113 8 pt 113 8 pt iv v Dynamic Value Absolute position true Paddings Left padding O vw Left padding 0 0 pt Top padding 0 0 pt Right pa 0 pt O pt D pt O pt Border ien none Restore default settings ok Cancel 445 Page Barcode The Barcode properties are available in inspector window of Barcode Refer Inspector Window section in Barcode element for more details General options View options Additional options JPerFormance options Compatibility options MSL output settings J45D DTD settings jcsv settings C pet ault settings Page Call template Line JChart JList Pivot table Table citation index Pagination Square Da
142. e or fill it with dynamic data from the XML source Insert Numeric Field To insert number field frame element on worksheet select Insert Numeric field menu or Click 12 gt Numeric field icon form the toolbar Click on worksheet and drag the cursor point The numeric field element is inserted iE E000 to 1 000 w 185 Page Edit Number Field The Numeric field editor window allows the user to enter number and format the number To edit the numeric field double click on the frame or click Data field or Format option in inspector window The editor window appears FormattedMumber 1 Numeric field co 3 M X Format Data Node Set Strina Boolean Number Date Time Math Today Templates t E 9 uc Column 1 line 1 Ok Cancel 186 Page Format The Format tab allows you to format the number FormattedNumber_1 Numeric field I 3 Edit Recent XPaths M X Format Data Input format Decimals separator v Thousands separator v Use predefined output Format Predefined output formats Decimal digits 2a Decimals separator v Thousands separator v Number Formats 12345 10 PO aaa 00123 10 00 123 10 No currency C5 Currency before O Currency after 5 Use custom output Format Custom Format Column 1 line 1 Ok Cancel The Format window is divided into three sections Input format Defines the format in which the in
143. e position Left 269 pt Top 377 pt Width 113 8 pt Height 113 8 pt 4 Paddings Left padding 0 0 pt T Left padding 0 pt Top padding 0 pt Right padding Opt Bottom padding Opt Orientation oi O Border Border Horizontal alignment Left wj Vertical alignment Top Level 11 Span none 4 SL FO options 4 Generate XSL FO con Custom attribute Custom attribute 4 Generate XSL FO block Keep together auto v Custom attribute Custom attribute Link Id Suppress if empty OO Generate template If ForEach 238 Page Context Menu The context menu of an Image element changes depending on the type of image selected Context Menu for Static Image M Bring Forward Send backward M Undo image type true Ctrl Z Se cut Ctrl X f Copy Ctrl C E Paste Ctri V Alignment Vertical alignment b Select image Remove image f Fit in Frame x Keep aspect ratio Convert Eo b Generate template Locked 239 Page Bring Forward Send backward ff Undo position size changes 200 216 113 113 Ctrl Z Applicable XML nodes k cut Ctrl X Copy Ctrl C E Paste Ctrl V Alignment b vertical alignment b Select XML image Remove XML image Fit in Frame Keep aspect ratio am 4 Select base path Remove base path Convert Eo b Generate template Locked Context Menu for Dynamic Image The Image element
144. e position tru 269 pt 377 pt 113 8 pt 17 1 pt Left padding 0 0 pt 0 pt 0 pt 0 pt 0 pt v Border Top x 11 BELL preserve i preserve hdi 267 Page Context Menu The context menu options of Pagination element are available in Text element Refer Context Menu section of Text element for details Bring Forward Send backward f Undo add lt fo page number gt Ctrl Z cut Ctil X Copy Ctrl C Paste Ctrl Copy as text Font Family Font size Font style Alignment Vertical alignment Text color Background color WR po E amp S4 WOO ee Move texts to one Convert Eo e Generate template Locked Note Refer Pagination xsf under 31_Pagination in Tutorial folder to work on Pagination 268 Page Index and Citation The Index and Citation elements are used to create index and citation of a document Insert Index or Citation To insert Index or Citation element on worksheet select Insert gt Index menu or Insert gt Citation or click gt Index icon or gt Citation icon form the toolbar Click on worksheet and drag the cursor point The Index or Citation elements are inserted Edit Index or Citation To edit index or citation frame double click on the frame The editor window appears 269 Page Litafion XNL mds 2 Edk Receck Paths Penductgroue Coles 1 ine 1 o
145. e product group id starts with 2204 ProductGroup starts with ProductGroup 2204 All product groups with a product group ID between 20 and 30 ProductGroup ProductGrouplD amp 9t 20 and ProductGroupID amp lt 30 All products supposed to be for sales should be displayed Product IsForSales Y In these filters not only elements of the XML file can be used in complex layouts very often variables are used Example Variable SMarkName is defined as Audi This means that only products whose manufacturer is Audi should be displayed Product ManufacturerName SMarkName As the XPath expressions for the filtering can be rather complex it is important for the user to know which elements of the XML file he can access from where so he should use relative paths and which XPath functions he can use with what syntax 100 Page Special node sets address from one place inside the XML tree to another place For the page grouping this is not very important Group by Content The Group by content function supplements filtering sorting and grouping of table contents It allows you to quickly define a condition if contents should be displayed for example together or not at all Refer Group Table section for more details 101 Page Insert Elements There are two ways to insert an element on the worksheet e Manual Insertion e Drag and Drop Insertion Manual Insertion You can insert elements manually us
146. e representing the expanded name of the node in the node set argument that is first in document order string concat string string string boolean starks with string string boolean contains string string string substring before string string string substring after string string string substring string number number number string lengthi string string normalize space string string translate string string string node set str ireplace string object object Functions string string object string concat string string string boolean starts with string string string substring before string string string substring after string string string substring string number number number string Description Converts an object to a string Returns the concatenation of the arguments Returns true if the first argument string starts with the second argument string otherwise returns false Returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string or the empty string if the first argument string does not contain the second argument string Returns the substring of the first argument string that follows the first occurrence of the second argument string in the first argument string or the empty string if the first argument string does not contain the second argument string Retu
147. e your own table style using style editor window To create a table style follow the steps below 1 Click Edit Styles The Logical styles editor window appears 2 Click New Table button The Table logical style editor window appears 333 Page Table logical style editor X Settings Advanced Style properties Style name Parent style Mo Syke v Formatting Preview Select background color Ck Cancel 3 Enter a unique name in Style name field Note Do not enter an existing style name 4 Select parent style from Parent style drop down if required 5 Select background image or background color using Select background image or Select background color buttons Note This step is optional In Advanced tab you can set the Frame properties 334 Page Table logical style editor X Settings Advanced Property Value 4 Frame properties Horizontal alignment Rigt 2 Vertical alignment Top Ok Cancel 6 Click Ok button to create a table style The created table style is now available in Logical styles editor window and in Logical styles option under inspector window Create Table Row Style To create a table row style follow the steps below 1 Click Edit gt Styles The Logical styles editor window appears 2 Click New Table row button The Table row logical style editor window appears 335 Page Sem Style prop
148. eas chic Opt Ob A E 7L Ctr Opt RSs SAAT IN CCC a a oi RUP remefanie 7 2i ERs TOT TT IT a M gt o X ARR GOTT ST NIMM E adr QU gt Border ated ac ac acc ignia Left v ox rele imr tl tl e el t e e III IR ar Vertical alignment I Ta z EEEIEE IO reeeo 1i vios AA REP aR CE C AL Background color gt Crone PES mavetentstoene TGR TTR TT TT aa OY E 7078255 I et hs los SA Generate template ca AU A AA ULL wo eni o n SEU QUREQURCRUA TACT TOT IO 21242120 e nogaang iniaa a ccs REST eX e OTs Gil bal bal Pil bil I nii al al al al al al al al al al al al al al al al ar al al al al al al al al al alQalQul al alQalQalQal al ene Fees Nees lbs PeL al Bal Pal Pal Pal Bal Pal al al al al al al al al al al al al al slal al al al alal el al ulQal al al al al alPal al al al ale Say t Woes Bal Bal Gal al Gal Gal Gal Oal Oa Gal Gal Gal Gal Oal Gal al Oal Gal al Oal Gal al Gal al Gal Gal Gal Oal Ol Gal Oal al Bal Oal Oal al Oal Gal al Gal Ol al Oal Gal Text option allows editing the text element setting background color setting the line height and applying style Edit to the element 160 Page The Edit option opens the Text Editor window You can enter or modify the content in text element using Edit option Refer Edit Text Frame section for more details Backeround Color The Background color option allows the user to set a background color of the element Choose the background color you want to a
149. ecified it matches every condition and is treated as Otherwise condition Values with no expression will be displayed last Example 2 It is also possible to use Choose objects inside Text Flow objects Let us make a table that shows the amount of Data entries for each Product 1 Make new layout use Demo xml as source 2 Add new table with 2 columns and 1 row 3 Set the table grouping to Producteroup Product Type some static data in the left cell How many data entries are there for product Name 354 Page 5 Double click on right cell 6 Select Choose icon 7 Setthe Type as Static Value as Less than 2 maybe 1 or 0 Expression as count Data 2 8 Click the button to specify another condition 9 Set the Type as Static Value as 2 or more leave the Expression field empty An empty Expression field means that this condition applies the last in case there are no other conditions k Veusf tow 4 in Tabi 2 dox 2 1 Text D ms EX vew ape T wa s RX EB co 7 Monepaced un B UNJ Beae A i Node Set irg Boolean Number Date Time Math Today Tenga ne unt en Weert from tree D Convert to ig Properties Expressin Font Color Barkgraond Less tan 2 maybe Lor O court Deta lt 2 2 or more Arial 12 nmn EL TIL Jh Oh Cancel 10 Click Ok button 355 Page owmany data entres are there Less then 2 maybe l or O Z or or product Name no
150. eck Enable custom entity descriptions and select the file containing the descriptions with the browser window It is usually a simple text file with the extension xfd where the required entities are listed e g ENTITY euro amp Zx20ac which can be used to add the Euro sign as amp euro This function allows you to add your own custom entity descriptions to the target XSL files and enhance the range of entities in XSLfast A typical entity file could look like this lt ENTITY euro amp x20ac gt IDOCTYPE xml lt ENTITY pound lt 163 gt gt 427 Page All entities can be listed this way e DTD file path Specify the path of the DTD files e Enable custom namespaces Enable custom namespaces is used e g for Java namespaces or your custom XSLT engine extensions like Saxon or MS XSLT component This is typically a simple text file with the extension xfn Custom namespaces are used to add custom functions like Java mathematical functions and custom elements inside XSL like Saxon variables Just a simple example is xmlns saxon http icl com saxon A typical namespace file could look like this xmlns jcat http jcatalog com jCatalog xmlns xslfast http jcatalog com XSLfast lt xsl stylesheet xmlns date http www jclark com xt java java util Date All namespaces can be listed this way e XFN file path Specify the path of the XFN files 428 Page CSV Settings The
151. ee ee ooo ooo oo oooececececesee SOF doe ea 358 BACK W Al M 359 ANON EO ML ee 360 Align Center Horizontal 5 or a aa EEFFEVERTIE IV ESI PFEVANT IRIURE FEVER VANS MEIST 361 Aaw REONE ccccapcusccaspedenccapenstennpementepenstennhaduntenpensteauhadunteupensiuantadencaunensaes 362 AHON TOD c Srei EE EEN EENE EEEE EE E EE TAE 363 Alion Center VertiCalsssssisrrorourersrn aeiee E a a EE 364 Align BO ON icare iana E A a E INE 365 Same Wid erea E E EE MN EAE 366 Same HEIEN RETI Tm 367 Same Space Horizontal ocararcnaninaaa nna AEAEE a EA 368 Same Space Vertical sieve cronic cre eros sssia secre sv seers wie nieno nn NE NEE ENEON E Eai 369 TUE DDIGC ES eaan A 370 Mirror Vertically REED 371 Mirror HOFI ZOM aly eoria EE E E EA 372 Move OGG from PAC Cai cccacisee cn cacseecccicenensccaseeccnscaneswacenasccesdeweacacanweacecceuedeea 373 WCDI NTC TQ QD cues engeneaeGenecseancesesavosee secerseuon T TVDOS OL PAGE wnccoscercceevecocsescnacececerenseaoeraeseesctesaceesectsecesscnssecssetaceesteastaase 374 REGIONS IN dU P aCe sscuncececumasecwscencsqecweacoanesenosqecueacequesesonqweuaaceanenesesaccusaceeueuescseccuuces 375 NINSOD GG PAGO Imm 382 Pass GFOUDIDE S o e rote UV E OU E EPIO ssnserncisaen isd caneeweneis ss iseerevae cesses 383 PACS PODS SS NER T TD O 384 lliSpector W IDdOW eessscacsedeou ss da aqoa osdesuse daas ac psdesunc dated opiPsdesUE dad a PIS UPUde aa E
152. egion Note The added layouts should bound to the following constraints All layouts should use the same XML 108 Page The same page sizes The same region and margin sizes To remove layouts select the layout from Layout list and click Remove button The Apply button is used to edit path of the files selected Here you can correct path manually if it is wrong after copying layout from other computer In Layout list you can specify the following e Page Sequence e Regions e Order The entry fields Selection and Expression are used for XSL or XPath expressions They are set to the first node of the XML file and 1 by default 109 Page Create Page Sequence Create page sequence name for each layout To do this enter the values in Expression and Group name fields In the above figure you see two page sequences e Empty group name equal to Title page e Shoes group name main page sequence Assign Regions Regions are assigned only within one group For each region specify one body and two or three region types To assign a layout as body page select the layout and check Use body checkbox Note The layouts should have the same group name Expression Sequence conditions Assign regions to the body page You can define odd even left or right page regions as header and footer To do this 1 Select the layout 110 Page 2 Check Use header foo
153. elikan Note Make sure the templates are not placed absolutely There are two ways to call templates in your document The first one offers more control possibilities by far but requires XSL skills 1 Create an XSL frame where the template should be displayed later with XSL code in it e g lt choose the logo of the manufacturer gt xsl choose xsl when test contains ManufacturerName Leitz lt xsl call template name Leitz gt lt xsl1 when gt lt xsl when test contains ManufacturerName Pelikan gt 278 Page lt xsl call template name Pelikan gt xsl when lt xsl when test contains ManufacturerName Edding lt xsl call template name Edding gt xsl when xsl otherwise xsl otherwise xsl choose Your working sheet now could look like this This is the X 5L code element that controls the condition I Choose Ma aS urchaisPri 290 of the Pe oo ta LETA iia And these are the three templates for the three manufacturers The templates can be placed completely outside the working sheet An exemplary PDF file could now look like this 279 Page image Product No Product deecription Le amp z biock stapler neights Ever a one way cartridge of the leg length are provided Color grey 3 years warranty Novus biock stapler Novus stapler Low priced and stancard simply serving depanment stapler Eddi
154. emo xml as the source for the xml data 2 Group the page to Report Productgroup 3 Insert the two chart elements for Bar and Pie chart one below the other 4 Group the chart to Product using Group by option 5 Enter Title in Title option and set font 6 Select Data as Values 7 Select Name as Value description 8 Select Description as Chart legend only for bar chart 230 Page Now if you process this layout The output is displayed as shown below 231 Page Example 40 Chart ntp sua eats rto om Note Refer Chart1 xsf and Chart2 xsf under 40 Chart in Tutorial folder to work on Chart element 232 Page Images The Image element is used to insert images XSLfast allows to insert two types of images e Static Image e Dynamic Image XSLfast supports gif and jpg image formats Insert Image To insert an image element on worksheet select Insert gt Image menu click ina gt Image icon form the toolbar or press Ctrl I Click on worksheet and drag the cursor point The Image element is inserted Ejmage Insert Static Image To insert static image follow the steps below 1 Insert an image element 2 Select Image type as Static in inspector window 233 Page x SUC VW V WI n i 3 Double click on image element The Select background image Window appears LookIn EJ img 3 loyd EJ loyd woman B box_xslFa
155. enu or click j gt Export icon from toolbar The Save window appears 121 Page X Save t gt B ij SaveIn 03 Table Default templates La Templates File Mame Table xsl Files of Type XSL xsl Save Cancel 3 Select the path and enter the file name 4 Select file type as Layout files xsf 5 Click Save button Change Page Kind All added pages are placed as main page of the layout tree by default They also lose the Status of a specific page or region in the worksheet In Combine pages and layouts window the title of the imported page or region the name of the file this element was imported from and its original status in the parent file are visible 122 Page Multilayout tail As you can see above the element was imported from the file named Multilayout In the parent file this element was a tail page The Tail page is imported as Main page in the worksheet You can change the page kind using Change page kind option 1 Select the page which you need to change 2 Select Page Change page kind menu and select the kind of page or click P gt Change page kind from toolbar Change kind to main Change kind to title Change kind to tail Change kind to First Change kind to last Change kind to rest Change kind to position any Change kind to odd Change kind to even Change kind to oddjeven any 3 Click and Close butt
156. er XPath expressions into the entry field After making all entries click OK button to apply or click Close Once the grouping is done the next step is to define the content for headers Click Next button to open Content settings window 310 Page Content Settings The Content settings window allows assigning XML nodes to the table Select data columns ES Available columns Columns Name Img Product Product Name Product Description Product Img Product Data E x a A Place cells from top to bottom Place cells from left to right Table header Omit header page break Add captions F Table footer Add partial summary Omit Footer page break Add accumulative summary Add summary Repeated content on page 10 Back Next Finish Cancel The Build table content check box allows assigning XML nodes to the table If you uncheck this option the lists are disabled The left list contains all the XML nodes of the selected grouping Select any node from the left list and move them to right list using navigation keys The nodes in right list are assigned to the table 311 Page Move selected left Move selected right Move all left Move all right Option to re order the nodes Combo boxes Place cells from left to right and Place cells from top to bottom lets you choose a scheme for placing objects in the table The Add captions and Add summary properties
157. ert icon available on the right side of text editor window else select Convert option in Context menu The available conversions available for text are e Numeric Field e XSL Code e Barcode e Image 151 Page e Internet Link e Date Time e Index e Citation B You can change the properties of the converted field using Properties Icon The Properties window appears Create Text Style You can create your own text styles using style editor window To create a text style follow the steps below 1 Click Edit Styles The Logical styles editor window appears 2 Click New Text button The Text logical style editor window appears 3 Entera unique name in Style name field Note Do not enter an existing style name 4 Select parent style from Parent style drop down if required 5 Select Font style and size from the drop down menu 6 Click Ok button to create text style else click Cancel button 152 Page Text logical style editor Settings Advanced Style properties XSL FO options Stve nme Normalize spaces inside XML Disable output escaping Parent style No Style v Colapsaspa es Formatting Arial ivi 1i20 B 7 Ul 3 B Preview F Selected style Ok Cancel You can also change the text format by using formatting tools italics 153 Page To change the text color use gt Text Color icon To change the background color use gt Backgrou
158. erties St vhi harva Fayet style No3he Formatting Preven Keep with newt Meet 77 Nest within Ine Nest thin column FI Nest within page LL dem f Presuous within column T Present eat page Select badagound mage Setect background color Ok Cancel 3 Enter a unique name in Style name field Note Do not enter an existing style name 4 Select parent style from Parent style drop down if required 5 Select background image or background color using Select background image or Select background color buttons Note This step is optional 6 Use Keep with next and Keep with previous check boxes if required 7 Click Ok button to create a table row style Similar to table style the created table row style is now available in Logical styles editor window and in Logical styles option of Row properties under inspector window 336 Page Create Table Cell Style To create a table row style follow the steps below 1 Click Edit Styles The Logical styles editor window appears 2 Click New Table cell button The Table cell logical style editor window appears Styte prupertyes Style name Parent style No Style Formatting Preview Oo Canca 3 Enter a unique name in Style name field Note Do not enter an existing style name 4 Select parent style from Parent style drop down if required 5 Select background image or background color using Select b
159. est Change kind to position any Change kind to only Change kind to odd Change kind to even Change kind to odd even any Properties Export layouts as xsf file Ejm a b Add selected page to the end of the list Change page kind Delete selected page from the list 118 Page Combine Pages The Combine pages field on the left shows the pages and regions structure of your current layout If the main page contains one or more regions then this page is shown as parent node with its regions as the child nodes If there are several main pages they are all on the same level of the tree Combine pages E Jinput Tutorial 09 Multilayout regions Multilayout regions xsf 5 3 main odd even title Note If there is text displayed after the title of the main page this means that this page has an expression to be checked before the generation of the PDF output a 123 xsf C title aC 9 main contains ProductGroup ProductGroup ProductGroupID 401010 m main starts with ProductGroup ProductGroup ProductGroupID 4 amp C3 main 4 main 119 Page Import To import a page layout region to the current layout Page 1 Double click the folder and select the page 2 Drag and drop the page into Combine pages header or click E icon from the toolbar or select Page Add page to the end menu Combine pages Availa
160. etween columns The columns are marked on your sheet with blue dashed lines 386 Page Gap between columns e Alternate page numbers If you want to add pagination check this option e Separate numbers for every page sequence Every page sequence created by the page grouping will have its own set of page numbers and numbering will begin at 1 again or the initial page number every time when a new page sequence starts e Initial page number specifies the number the page numbers should start with It is also possible to start with another number than 1 e Forced page count There are many options in the select box Force page count is used to impose a constraint on the number of pages in a page sequence In case that this constraint is not satisfied an additional page will be added to the end of the sequence This page becomes the last page of that sequence The values have the following meanings o auto Force the last page in this page sequence to be an odd page if the initial page number of the next page sequence is even Force it to be an even page if the initial page number of the next page sequence is odd If there is no next 387 Page page sequence or if the value of its initial page number is auto do not force any page o even Force an even number of pages in this page sequence o Odd Force an odd number of pages in this page sequence o end on even Force the last page in this page sequen
161. fast allows you to load the structure of a single xml csv file into a layout Binding Layout to Top Node The function Do not bind layout to top node allows to select the root node in the layout This root node can be used as a general node to support the creation of layouts with different XML files containing different root nodes If you need to specify an alternative XML root XSLfast offers not to automatically bind the layout to the top node If you uncheck this option the layout is bound to the top node as shown in below figure 88 Page Data Format 4 Report 4 Productgroup Mame Img 4 Product Name 4 m Description Img Data The page is bound to the top node of the XML file if Do not bind layout to top node option is unchecked For example Report Every element grouped to XML contents that is placed on the sheet now shows the path to the node without Report e g ProductGroup Name Data Format 4 Report 4 Productgroup Mame Img 4 Product Name Description Img Data v R E so amp R j8 B EY B d Re a 100 150 200 250 300 350 400 450 500 550 M
162. ge Here the table is grouped to Productgroup and row 1 is grouped to Product All other rows are grouped to Table grouping itself If you uncheck Apply grouping to selected rows only option the grouping is applied from current row to the last row of the table 419 Page XSL Output Settings The XSL output settings tab provides some settings for the XSL output The XSL output settings tab has the following options e Use saxon extensions e XSLT 2 0 features enabled e Use SVG graphics for lines e Include Java Namespaces possible problems with non Java XSLT systems e Prefer CMYK color space if possible e Use selected unit of measures in XSL output e Paint cropmarks e Use bookmarks e Embed fonts e Embed all fonts also Base 14 necessary for PDF A e Create separate block elements for empty lines e XSL output encoding e Default XSL FO processor 420 Page General options View options Additional options Performance options compatibility options XSL output settings JX5D DTD settings CSV settings 1s Default settings X5Lfast preferences tas XSL output settings XSLT 2 0 features enabled w Use SVG grapics for lines Include Java Namespaces possible problems with non Java XSLT systems Prefer CMYK color space if possible Use selected unit of measures in XSL output Paint cropmerks Use bookmarks Please use Extra Generate font metrics to apply font em
163. ge number Use page numbering n of N Option to generate the number of the current page and number of all pages in the layout For example if the layout has 10 pages and you are in 7 page the pagination is displayed as 7 of 10 Separator Option to separate current and last page For example 7 of 10 Here of is the separator After defining the format click Ok button Inspector Window The Inspector window of Pagination element has similar properties of Text element except the following options e Text before e Text after e Use page numbering n of N 265 Page e Separator These options are already explained in Edit Pagination section Refer Inspector Window section of Text element for more details 266 Page Data u PageNumber_1 Property Object name Locked Value PageNumber 1 L Text before Text after Use page numberin Font Text color Background color 4 Frame properties 4 Bounds 4 Absolute position Left Top Width Height 4 Paddings Left paddina Top paddina Right padding Bottom pad Orientation Border Horizontal alignment Vertical alignment Level Span 4 SL FO options 4 Generate XSL FO cC Custom attribut Custom attribut 4 Generate xXSL FO bl Keep together Custom attribut Custom attribut Link Id Wrap text Collapse spaces Linefeed treatment Whitespace treatm Normalize spaces in Font Absolut
164. gn right from the toolbar Before Alignment After Alignment 362 Page Alien Top The Align top menu aligns the elements towards top of the window To align the elements towards top follow the steps below 1 Select more than one element prre 2 Select Arrange Align top menu or click t gt Align top from the toolbar jempty A Yempty Before Alignment After Alignment 363 Page Align Center Vertical The Align center vertical menu aligns the element in center vertically The mid points of the selected elements are aligned in a horizontal axis and the elements are placed in vertical plane To align elements to center horizontal follow the steps below 1 Select more than one element 2 Select Arrange Align center vertical menu or click Lr Align center vertical from the toolbar Before Alignment After Alignment 364 Page Align Bottom The Align bottom menu aligns the elements towards bottom of the window To align the elements towards bottom follow the steps below 1 Select more than one element 2 Select Arrange Align bottom menu or click Wied gt Align bottom from the toolbar fempty A fempty Before Alignment After Alignment 365 Page Same Width The Same width menu aligns all the selected elements to the same width To align all the elements to same width follow the steps below 1 Select more than one element 2 Select Arrange Same width menu or cli
165. gs Left padding O XSD DTD settings Absolute position v CSV settings 9 Default settings Page Call template Top pectin 0 pt Line Right padding o pt Chart Bottom padding 0 pt Just Bor det Border Pivot table isi tna Table Citation apan none Jtndex 4 XSL FO options Pagination Wrap tert Square Collapse spaci Date Time Jtnternet link image Barcode Suppress if empts XSL Text Numeric Field Text Categorized Alphabetic Property Value Port Font 4 Padding Left padding 0 0 pt Top padding 0 0 pt Right pa Left padding O pt Horizontal ali gnmert Left E ww I lt Normalize spaces inside xMI Disable Cub pul esceopiru aim Restore default settings ok cancel All functions and features for all the elements can be seen here Settings made here are considered as default and are saved within the application If you want to restore the original settings click Restore default settings button 431 Page Page The Page properties are already explained in Page Chapter Refer Inspector Window section in Page chapter for more details XSL fast preferences ES Categorized Alphabetic View options NI i JAdditional options TO Value Performance options ZUM Ad Compatibility options Width 596 pt XSL output settings Height 845 pt L amp SD DTD settings Orientation Portrait jesv settings Colu
166. h The function Do not bind layout to top node allows to select the root node in the layout This root node can be used as a general node to support the creation of layouts with different XML files containing different root nodes Refer Binding Layout to Top Node section for more details In Output area specify the type of output document 125 Page Output FO Processor Output type Portable Document v V Open in viewer Portable Document 1 gt POP 0 20 5 stable Output Hle Rich Text Format out paf Ah 1 FOP 1 00 XSL FO XSLT output HTML Document yMultilayout xsl nm View 3 XEP amp SL FO output fDocunments and Settings masgor Desktop TEMP Tuterial O7_ Mulbilay out A SL FO Multilayaut xal fo View normata XSLfast offers you to generate documents in the PDF format XSL FO format and so on which can be used with XSL FO editing tools If you activate the check box Open in Viewer the result file is automatically opened in the matching viewer after its generation Choose the FO processor Renderer with the radio button of the same name Note The results from different rendering programs may look different because not every Renderer can process every function of XSL FO Processor FOP 0 20 5 stable e FOP 1 00 C XEP 5 XSLFormatter Specify the directory where the generated output file should be saved in Output file field By default it is set to output
167. h acute Latin capital letter E with circumflex Latin capital letter E with diaeresis amp 177 amp 178 amp 179 amp 180 amp 181 amp 182 amp 183 amp 7184 amp 185 amp 186 amp 187 amp 188 amp 189 amp 190 amp 191 amp 192 amp 193 amp 194 amp 195 amp 196 amp 197 amp 198 amp 199 amp 200 amp 201 amp 202 amp 203 475 Page OC O Or Latin capital letter with grave Latin capital letter with acute Latin capital letter with circumflex Latin capital letter with diaeresis Latin capital letter ETH Latin capital letter N with tilde Latin capital letter O with grave Latin capital letter O with acute Latin capital letter O with circumflex Latin capital letter O with tilde Latin capital letter O with diaeresis Multiplication sign Latin capital letter O with stroke Latin capital letter U with grave Latin capital letter U with acute Latin capital letter U with circumflex Latin capital letter U with diaeresis Latin capital letter Y with acute Latin capital letter thorn Latin small letter sharp s Latin small letter a with acute Latin small letter a with grave Latin small letter a with circumflex Latin small letter a with tilde Latin small letter a with diaeresis Latin small letter a with ring above Latin small letter ae amp 204 amp 205 amp 206 amp 207 amp 208 amp 209 amp 210 amp 211 amp 2212
168. hart legend e Legend Font Assign Font style and size e Legend text color Assign text color Chart which has similar description and legend value 220 Page FAT Product OS Product D Legend Value Description e Title Defines the path or just a static string value that is displayed as Chart title TEE Click Title in inspector window or click 2S gt Set chart caption icon from toolbar The window to specify path appears Select an XML node and click Ok button 221 Page Jg s Pzoctuccgroup Product Hume TIU zI e oh carent Following are the options under Title e Title font Assign Font style and size e Title text color Assign text color 222 Page L Description of product C J Description of product D 8 1 13 B 3 54 4 5 3 B 2 T 1 8 0 9 e Group by Defines the path of the logical group that the chart values should be arranged to technically it is the parent node to the value node Data of the same group are displayed with the same color After defining this parameter the Chart values should be set relatively to that path Click Group by option in inspector window Select the node to which you need to group the chart 223 Page Edit Recent XPaths AXD 4 Report Productgroup Product Node Set Productgroup String Name Boolean Img Number gt Product Date Time Math Today Templates f z esj
169. has similar options of Text element except the following e Select XML image The image selection can be done with the command Select image which opens a file browser window 240 Page Edit Recent XPaths AXD Mode Set 4 Report Productgroup Img 4 Productaroup String Mame Boolean Img Number gt Product Date Time Math Today Templates Ok Cancel e Remove XML image Removes the XML image and clears the frame e Fit in Frame The image is resized to fit it into the given frame e Keep aspect ratio Determine whether the image proportions should be maintained to prevent a distorted image e Select base path Selects the base path This option opens the Directory window where you can select the base path The selected path is now available Image base path option 241 Page Directory SG x LookIn ii bin x E iei EJE Folder name Es test xslFast dist bin Files of Type AllFiles Ok Cancel e Remove base path Removes the base path Note Refer Images xsf under 21_Images in Tutorial folder to work on images An example with a very simple logo is shown below 242 Page ES Acrobat Reader demo pdf E 1l ies ni x Datei Bearbeiten Dokument Anzeige Fenster Hilfe 8 x l d holte Y M 1von1 M 211x2981mm O A m Internet Link The Internet link element allows you to display Internet links in the layout Yo
170. he drop down and click Ok button The License agreement window appears 495 Page IzPack Installation of XSLfast Please read the following license agreement carefully XSLfast SOFTWARE End User License Agreement IMPORTANT This software End User Licence Agreement EULA is a legal agreement between you and jCatalog Software AG Read it carefully before completing the installation process and using the software It provides a license to use the software and contains warranty information and liability disclaimers By installing and using the software you are confirming your acceptance of this software and agreeing to become bound by the terms of this agreement If you do not agree to be bound by these terms then select the Cancel button do not install accept the terms of this license agreement Yes No Made with IzPack http www izforge com 4 Click Yes radio button to accept the license and click Next button Note Click Quit button to quit installation The Quit button prompts a warning window Are you sure you want to quit B x This will cancel the installation Please read the agreement carefully Click Yes if you agree and proceed with the installation Click No to abort the installation and close the window 5 Click Browse button to select the path where you need to install XSL fast 496 Page Note By default XSLfast is instal
171. he element is placed in Header Footer Left and Right The frame will appear on every page of the document AA HB Check Enable region indicator Uncheck Enable region indicator Note All indicators can be active simultaneously e Use syntax verification This option displays error in syntax as you type in editor window The errors are highlighted in red and display the proper syntax The syntax verification is usually displayed in editor window and XPath preview XC XPath preview i m Ed XPath expression _ Node Set AML Source 9 Reports a Sten lt Producteroup gt Encountered at line 1 column 33 Was expecting one of Boolean eit Number f Report Productqgroup position 4 String 1 lt Productgroup gt o j jl id dE s lt Productgroup gt and div mod key self child ete te 4 lt Productgroup gt parent ancestor Following preceding attribute Math namespace descendant ancestor or self descendant or selF Following sibling preceding sibling text node comment processing instruction Today 411 Page If you uncheck this option the editor does not highlight error a XPath preview pression Node Set m Report Productgroup positionQ String Boolean Productgroup gt Number a lt Productgroup gt Date Time H lt Productgroup gt Math Today 412 Page Compatibility Options The Compatibility options are used to make XSLfast compatible with the re
172. heet the Text menu is added in the menu list as show below 22 Page File Edit View Insert Arrange Page Text Layout Team Extras Window Help Added Menu The menus Text Barcode Image Internet link Date Time Square Page number Index Citation Table Pivot table List Chart Choose Line and Call Template are added to the menu list depending on the element selected 23 Page File Menu The File menu consists of options to create open save and close layouts Also contain options to load data to XSLfast and export templates The File menu options are show in the below figure File Edit View Insert Arrange Page Run 3 Mew 53 Open Ld Save Save as Save as template Save all 3 Close Close all Load structure From XML DTD file Load structure from CSV File fs Import XSL templates ES Export Recently used files Exit Option New Open Save Save as Save all Close Ctrl N Ctr O Ctr S l Ctrl Shift S Ctri F4 Ctrl c Functionality Opens Creates new layout Opens existing layout Saves already saved layout Saves the unsaved layout Saves all the opened layouts Closes the current layout 24 Page Option Functionality Close all Closes all the open layouts Load structure from XML DTD file Loads XML DTD structure into XSLfast Load structure from CSV file Loads CSV structure into XSLfast Import XSL templates Imports XSL
173. hes a connection to specify the path through the tree file to the node containing the data which you want to display in the element As the application reads the XML tree always from the top this must be considered in the path to the correct node There are some factors that influence the path to the correct node XSLfast allows you to group tables for e Existing groups e New groups Once you set the table properties click Next button 290 Page Select data columns ES Available columns Columns Name Product Name Img Product Description Product Product Img Product Data Place cells from top to bottom Place cells From left to right _ Table header Omit header page break Add captions Table footer Add partial summary Omit Footer page break Add accumulative summary Add summary Repeated content on page i0 Back Next Finish Cancel Click any filter from Filters column and click Next button Using Existing group OR Click More filters button to create new filters and assign to table XSLfast allows you to group the table in three different ways e Group by position e Filtering e Group by content 291 Page Group by Position The Group by position tab groups the table as per the position of XML nodes Grouping properties PX Group by position Filtering Group by content Grouping 4 Report 4 Productgroup Name Img gt Product Auto XPath completio
174. hich the user enters in text editor is called static text Enter text and click OK The text is displayed in the frame on your sheet 137 Page This is my static text lE y Dynamic Text The text which is dragged and dropped from the XML tree structure is called dynamic text The actual data is displayed in the output file The worksheet displays the path of the text as shown below 7 7 Productgroup Product Descrip lon m The output file displays the content that the XML tag Producteroup Product Name contains Report lt Productgroup gt lt Name gt Productgroup 1 lt Name gt lt Img gt prod101051 gif lt Img gt ProductA lt Product gt lt Name gt Product A lt Name gt XML Content XSLfast Worksheet Output File 138 Page Menu and Toolbar The Text editor window contains the Menu and Toolbar specific to text Menu Bar Edit Edit View Insert For View Insert Format Recent XF Insert Format Recent XPath Zs Undo Ctrl Z 2 cut Ctrl X Copy Ctrl C E Paste Ctrl V 98 Remove Li Select all cCtmA CO Find ctr 33 Replace ctr R Toolbar View Insert Vl Zoomin Cti NumPad modb la ig XPath VA Zoomout CtiNumPad L xP Barcode eset zoom Ctrl N Pad iene Citation 4 Date Time 12 Numeric Field E Index C3 Internet link ii Choose Functionality Undo Redo
175. ick Edit button The Style editor window appears Depending on the styles you select the style editor window appears like 1 Text logical style editor for text 2 Table logical style editor for table 3 Table cell logical style editor for table cell 4 Table row logical style editor for table row To remove a style select the style from the list and then click Remove button The Confirmation window appears Click Yes to remove else click No Confirmation ES Remove style Xes No Registration If you want to install license version XSLfast after the trial period is over use Registration menu jCatalog provides the registration information Follow the steps below to register the license version 43 Page 1 Select Registration from Tools menu The Registration window appears Registration Lo Company Serial number e J emen 2 Enter the Name and Company information into the corresponding fields 3 Enter the license key in Serial number field 4 Click OK to proceed or Cancel to abort the registration Note Make sure that all entries are spelled correctly including upper and lower case otherwise the license key will not work If you experience any problems with respect to the license key please contact jCatalog at support 2xslfast com 44 Page Window Menu The Window menu consists of different window view options Refer Multiple Window Interface
176. iew c3 s EX KML structure APath expression Node Set 4 Result String 4 Report Boolean ProductGroup Number a ProductGroup Date Time ParentProduckGrpID 20 Insert Math ProduckGroupID 2030 Racer pati o ingens a ObjPropertyGrouplD i EG TASSI MTM mi ProductGroup Product HierarchyCode 002002 I undo Cte oascthort ot dad L Se Cut Ct x Def aultPrice ValidFromcOQuantity escShort Write implemer f PPP Poi LLLLLL sn n This field is helpfulte check E Copy Chee Daten rein Product ProductSNe 203001 n DefaultPrice GrossPrice b Product PraductSNa adno structure You can drag and 5 Paste Cte roduct Productae eua expressions The context menu amu urrers youre coeur Report Product ProductSN 20300 gt Product ProduckSNe 20300 Evaluate Close b Product ProductSNe 203005 Ec Sal o gt Product ProductsN 20300g he result of Path expression Product ProductSNe 203005 Product ProductSNe 20301 ProductGroup ProductGroup The result can be numbers plain text or tree depending on your request When you enter XPath expression the syntax is checked and mistakes are highlighted if Use syntax verification option is checked under XSLfast preferences gt Performance option Refer Performance Options section for more details Enter the XPath expression and click Evaluate button to view the result in The result of XPath expression field The Close button cl
177. ify or enhance elements which have been inserted into your text For example if you need to operate not with full string but with its length You can use these functions instead of typing Drag and drop the XML content and click String number string length function The output file displays the string length of the content available in selected node To use the functions drag and drop an XML node and click any of the functions XSLfast contains the following functions Node Set Node Set number last number position number count node set node set id object string local name node set string namespace uri node ser string name node set Function Description The last function returns a number equal to the context size from the number last 0 expression evaluation context Returns the position or index number of the node relative to all the number position selected nodes in the node list number count node set Returns the number of nodes in the node set argument node set id object Selects elements by their unique ID 144 Page string local name node set string namespace uri node set string name node set String string string object Selects elements by their unique ID Returns the namespace Uniform Resource Identifier URI of the expanded name of the node in the node set argument that is first in document order Returns a string containing a QNam
178. im me m am cmd ra m ER ED E d To create the index you place an index frame into the third table cell The index we want is supposed to display the products in the table and the page they are on FraductiGraupiProaduct Marne 4m Propertiesimg You do not need to enter anything into the index frame just pull it to the right place Save your layout file e g with the name table xsf Now create the layout for your Table of Contents page We also use a simple example here where we want to have the product and their page number displayed This layout only contains a table for the index with one row and two columns 271 Page Note You need to set the same XML file as data source Drag the node Report ProductGroup Product Name into the first table cell and add a Citation frame to the second cell That is all there is to do right now ProductG roupiProd TRES Save this layout as well e g with the name index xsf Now use the Multilayout manager in the file index xsf Refer Process Multilayout section to combine these two layouts Add the two files to the list and generate the layout hhh CO CO oO CO Wh wh N m o0 oo 272 Page The result is a five page document where the last page is the index for the previous four pages showing the product name and the page it is on If you put the file index xsf first in the list the index will be the first page of the document This is the general principle to create
179. image xsf 3 Brochure with columns C table background image xsf P Brochure C Documents and Settings Pivot_Table xsf Master Slave i C Documents and Settings nasgor list xsf E Chart Fi Jib Templates Layouts Business report xsf E Business card Show this dialog at startup Cancel Open Existing Layout The Open existing layout option opens the layouts available in the system If you click this option a window appears which lists all the existing layouts 79 Page Open ES LookIn 05 Footnotes w i Al EJE Footnotes xsf Default templates U Templates Preview not Found File Name Files of Type Layout files xsf lay Open Cancel Select the file and click Open button else click Cancel button Note While opening an existing file recently used files and templates the XML structure of the selected file also loads into XSL fast Open Recently Used Layout The Open recently used layout option opens the recently used layout It lists all recently used layouts along with its path Select any layout the selected file opens 80 Page Empty Layout The Empty Layout option opens an empty layout where you can create a new layout Refer Create Layout section for more details Templates The Templates option opens the existing template in XSLfast Show Dialog at Startup The Show
180. indicator Performance options Compatibility options Enable collisions indicator XL output settings Enable region indicator L_ SD DTD n Use syntax verification cesy settings 3iDefault settings e Transparent while dragging When dragging frames the background is sometimes covered by the frame which makes it hard to place the frame exactly in the desired place If you select the check box Transparent while dragging all frames are semitransparent and allow seeing the background while they are dragged over the sheet 409 Page e Enable level indicator This option displays the level of the frame it belongs to Check Enable level indicator option the frame is displayed with its level on the worksheet Check Enable level indicator Uncheck Enable level indicator e Enable type indicator This option displays the type of the frame it belongs to Check Enable type indicator option the frame is displayed with its type on the worksheet Check Enable type indicator Uncheck Enable type indicator e Enable collisions indicator This option indicates that an element is collide with other regions of a layout Start End Header or Footer other than body It considers the collide element belongs to the region and not the body of the worksheet 410 Page Check Enable collisions indicator Uncheck Enable collisions indicator e Enable region indicator This option indicates the region where t
181. ing Insert menu or using icons from the toolbar mee E NUEUORM V CRUCE Pu HE L u 095 24887 48 R28 Example 3 Table with itinatag color 102 Page Drag and Drop Insertion To place element on the work sheet use drag and drop from structure tree It will assume proper XPath expression according to your current groupings filters The typical example is Cute Porast 8 E Custom aw i oe prey Exam M55 28 HX 4 Report l New layout 1 i t1 D a bn tuo mo aa As you can see the placed element is text For such cases you need other element type like image bar code and so on However there is no need to place elements and type XPath expressions manually Select the element and right click select Convert option from context menu as follows 103 Page JProductgroup g Bring Forward Send backward f Undo object addition Ctrl Z lt cut Ctrl X Copy Ctrl C Paste Ctrl V Copy as text Font Family Font size Font style Alignment Vertical alignment Text color Background color Move texts to one Split texts yes Convert to 35 Generate template Locked wplw ww wwe 12 Numeric Field XSL XSL Code Barcode E Image Internet link L Date Time B Square 7 Index 7 Citation As a result the text element is replaced with image element by few simple clicks s Productaroup ProductaAma 5
182. ings page Background color Call template Width 113 8 pt Line Height 17 1 pt Chart a rame propertl 5 List 4 Bounds Absolute position true Paddings Left padding 0 Pivot table A Table Abs li ite position citation 4 Paddings Left padding 0 0 pt Top padding 0 0 pt Right pa JIndex Left padding 0 pt Pagination Top padding pt JSquare Right padding 0 pt Date Time Bottom padding 0 pt Internet link Image Hurt li I Border ere Barcode Morkantal iii orient Left XSL Text pen none Numeric field Text Restore default settings Ok Cancel 441 Page Square The Square properties are available in inspector window of Square Refer Inspector Window section in Square element for more details XSLfast preferences 3 General options Categorized alphabetic View options a _JAdelitionval options in d ove Performance options Background color Compatibility options Width 113 8 pt 5l output settings Height 113 8 pt SD DTD settings a Round corners m i Licsv settings rounding salue 15 0 C pet ault settings rage rounding valki 15 0 Call template a Frame propertie Line hordei Border oer Chart List Pivot table Table Citation JIndex Pagination Square Date Time Internet link Image Barcode MSL Text Numeric field Text Restore default setti
183. is deleted from the Alternate colors properties window To change the order of the colors select the color and use Up or Down buttons 317 Page Sort The Sort option allows you to sort the contents of the table as per the expression To enter a sort expression double click on Sort expression option and enter the expression manually To enter many sort expressions click Tools gt Preferences gt Compatibility options gt Advanced check Use advanced sort wizard option and click Ok button Click Sort option in inspector window the Sort properties window appears Sort properties 4 Report Attribute name Sort order Data type Case order Recent Paths 4 Produckgroup Node Sel Name Img Product String Boolean Number Dates Tine Matt Today Fenplabe Add Dol te Ok Cancel You can sort the table by a node which is not currently a part of the table but must be contained inside the exact node the table is grouped to no subordinated nodes To add sort expression click Add button The Sort properties window appears Enter name in Attribute name field according to which you would like to sort 318 Page Note Consider the table or row grouping because the attribute name should be written correctly according to this grouping In the select box Sort order you specify the Ascending and Descending order for your sorting Sort order Ascending escending In the
184. it from Windows XP to Windows 7 e MacOS X 10 5 10 7 e Linux 473 Page Appendix Unicode These are the most common Unicode signs and their codes which may be used in XSLfast Sign Description No break space Inverted exclamation mark Cent sign Pound sign Currency sign Yen sign Euro sign Broken bar Section sign Diaeresis Copyright sign Feminine ordinal indicator Left pointing double angle quotation mark Not sign Soft hyphen Registered trade mark sign Macron Degree sign Unicode HTML amp 160 amp 161 amp 162 amp 163 amp 164 amp 165 amp euro amp 166 amp 167 amp 168 amp 169 amp 170 amp 171 amp 172 amp 173 amp 174 amp 175 amp 176 474 Page gt gt I D m De gt iT Plus minus sign Superscript two Superscript three Acute accent Micro sign Pilcrow sign Middle dot Cedilla Superscript one Masculine ordinal indicator Right pointing double angle quotation mark Vulgar fraction one quarter Vulgar fraction one half Vulgar fraction three quarters Inverted question mark Latin capital letter A with grave Latin capital letter A with acute Latin capital letter A with circumflex Latin capital letter A with tilde Latin capital letter A with diaeresis Latin capital letter A with ring above Latin capital letter AE Latin capital letter C with cedilla Latin capital letter E with grave Latin capital letter E wit
185. ive Tools allusers Altova XMLSpy 2007 Enterprise Edition Antenna XSL Formatter V3 gt current user xSLfast Reset v Create shortcut on the desktop Create Shortcuts Made with IzPack http www izforge com 4l Previous lb Next Quit In this screen the button Next is inactive because now you need to create the shortcuts in your menu Check Create shortcut on the desktop an icon with a shortcut is created on your desktop Check all users to create shortcuts for all user who has access to your system or check current user to create shortcut only to you Choose the start menu folder that you want to add the shortcut to If you do not want to use the default settings enter a new name for your directory The button Reset sets the name back to XSLfast Now click the button Create shortcuts This operation may take some time After it is finished the button Next is active again 9 Click Next button to start installation 499 Page IzPack Installation of XSLfast Installation progress C Program Files XSLfast_new lib JimiProClasses zip XSL fast Made with IzPack http www izforge com Now you see the files which are currently installed and the status bar which shows the progress of the installation It is still possible to abort the installation with the button Quit After the installation is finished the status bar also says
186. k Cancel 433 Page Line The Line element has the following options e Line width e Line color e Pattern These properties are already explained in Line section of Elements chapter Refer Inspector Window section in Line element for more details XSLfast preferences 3 General options Categorized Alphabetic View options Additional options Property Value Performance options Line width 1 pt Compatibility options Line colo SSS XSi output settings Pattern 1 J 5D DTD settings C5V settings C3 petault settings Page Cal template ine Table Cit ation JIndex Pagination Square Date Time JInternet link Image Barcode XSL Text Numeric field Text Restore default settings Ok Cancel 434 Page Chart The Chart properties are available in inspector window of Chart element Window section in Chart element for more details General options View options Additional options Performance options Compatibility options XSL output settings J4SD DTD settings jcsv settings C 3pefault settings Page Cal template Pivot table Table Citation JIndex Pagination Square Date Time Internet link Image Barcode JJXSL Text Numeric field Text Type Width Height Chart type Value iu tom ch ut color Background colo 4 rem properties
187. l 32bit architecture e Ubuntu 10 04 AMD64 64bit architecture 482 Page Software Requirements Sun JRE JDK 1 6 x We recommend Sun JRE 1 6 x We can ship XSLfast for other versions of Unix Linux on request Hardware Requirements Minimum e Intel Pentium IV 2GHz e 1GB RAM e 500 MB free space on hard disk e High color resolution 1024x768 Recommended e Intel Core2Duo 2GHz e 2GBRAM e 500 MB free space on hard disk e High color resolution 1280x1024 or better 483 Page MacOS X This section lists the software and hardware requirements of XSLfast on MacOS X platform Hardware Requirements Minimum e Intel Core e 1GB RAM e 500 MB free space on hard disk e High color resolution 1024x768 Recommended e Intel 2GHz e 2GB RAM e 500 MB free space on hard disk e High color resolution 1280x960 Software Requirements MacOS X 10 5 or later Java Runtime Environment 1 5 x or 1 6 x 484 Page XSLfast Installation XSLfast can be installed on Windows Java and Linux platforms This section explains how to install on different platforms Installation on Windows After you download or purchase XSLfast you will receive an exe file This is an executable file for the Windows platform Note It is also possible to purchase an XSLfast Windows version which includes JVM Java Virtual Machine if you have not already installed it JVM is necessary for the use of XSLfast on your syste
188. l these measures are converted internally into points pt in the generated XSL file To avoid converting the unit of measures used in the layout XSLfast offers you to use the selected unit of measures in the XSL output Use selected unit of measures in XSL output means that the currently selected unit of measure mm pt inch and cm is assigned for the XSL output If this option is unchecked all units of measure are converted into pt in the XSL output e Paint cropmarks This option provides ability to draw crop marks at PDF Basically crop marks are necessary to indicate the size of page including regions and margins and will not be seen in case the printer paper is the same as layout size and will be played only if you need to print small page on large paper Note This option requires SVG support to be activated e Use bookmarks This option is used to display bookmarks in the generated PDF This helps to view the topics of the document and navigate to the topics directly Page master pdi Adobe Reader File Edit View Document Tools Window Help l Bookmarks x d Options Hj Page EK Types of page E Regions in a Page aeg Fage i Loves udi amp E ciem Properties except the page elements Bookmarks If you uncheck this option the bookmarks are not displayed in the PDF 425 Page Embed Fonts The function Embed fonts are necessary if you are planning to embed fonts used for
189. lable in latest FOP XEP and XSLFormatter engines including markers n of N page numbering bookmarks rotation and much more e Many new useful functions 470 Page Integration Now XSLfast has basic support of conversions of HTML and XSL FO documents into layouts Of course it does not convert everything just most important contents like tables texts and images No JavaScript no CSS3 no tricks XSLfast supports e FOP 0 20 5 inside e FOP 1 0 inside e XEP e XSLFormatter It can produce XSL with embedded functions for e Saxon6 XSLT 1 1 e Saxon9 XSLT 2 0 e Xalan e MS XML XSLT XSLfast supports images directly e JPEG JPG e PNG e TIFF e SVG 471 Page e More formats are available if JAI installed XSLfast supports the following elements e Text multi style variables and conditions inside date time choose internet links and more e XSL text e Squares including rounded boxes e Lists e Tables e Pivot tables e Slave tables e Chooses e Charts e Template calls e Bar codes e Images e Specific text types date time internet links formatted numbers and more e Lines e All elements except template calls can be used as templates XSLfast has the ability to manage for unlimited set of page sequences with separate regions for every layout 472 Page XSLfast has official support for the following platforms e MS Windows 32bit and 64b
190. le E Table F Table G Table H Table Table J Table K Table L It is possible to create several conditions which can be combined by AND meaning that all conditions have to be true or OR which means that one or the other condition has to be true 175 Page Conditions you have entered before entered can be reselected in the select box below the conditions The number of entries available there can be specified with the function Tools Preferences gt View options gt Length of history for XPath expressions All entries can be removed from the select box with the button Clear history More examples You need to generate data only if the number of the specific elements is 5 This condition will look like this Xsl If Editor s 3 ML structure 4 Report xPath expression 4 Productgroup String Mame AND Boolean You can enter several conditions to one element generation They can be listed with the AND OR statements Xsl If Editor s 3 xPath expression 4 Report dd Node Se Productgroup Ing e Node Set 4 Productgroup String Name ae ee AND v Boolean Img Number 4 Product Productgroup Product Name Date Time ate Time Name Math Description OR v To i ogay 1 se mg Productgroup Product Data Templates Data AND d For your convenience it is possible to choose one of the recently created conditions by choosing them in the sele
191. led in the Program files directory C Program Files XSLfast IzPack Installation of XSLfast fi Select the installation path C Program FilesvXSLfast t3 Browse Made with IzPack http www izforge com 4l Previous ite nex E Quit 6 Click Next button The directory will be created in the specified path and a confirmation window appears The target directory will be created C Program Files XSL fast If the directory already exists a Warning window appears 497 Page xi Warning The directory already exists Are you sure you want to install here and possibly overwrite existing files Click Yes to overwrite the existing directory The next window appears Else click No to enter another path 7 Select the Components from the list IzPack Installation of XSLfast 3 Select the packs you want to install Note greyed packs are required v XSLfast v Documentation v Samples Description 150 MB Quit Total space Required Made with IzPack http www izforge com You can see the total disk space required for the chosen components above the Quit button 8 Click Next button to navigate to next window 498 Page IzPack Installation of XSLfast i PS mj xj Select a Program Group for the Shortcuts ABBYY Lingvo 12 Accessories create shortcut for Administrat
192. les Preferences Alt O Functionality Opens a window with the XSLT file generated during layout processing Evaluates the XML data using Xpath expression Select the fonts that XSLfast has to support with respect to the renderer Option to convert HTML tags placed in CDATA blocks into XSL FO Converts XSL FO files to XSL fast layouts Converts HTML files to XSLfast layouts Option to merge many XML files Enables to do various settings of XSLfast like Input output external tool settings and so on 36 Page Options Functionality Registration Register XSLfast license version Paste Special The Paste special option provides the ability to paste the copied elements from the clipboard multiple times with an alignment order Follow the steps below to use Paste special 1 Select Copy from Edit menu or pres Ctrl C to copy an element from the worksheet 2 Select Paste special from Edit menu The Paste special window appears Paste special ES Please enter number of copies 5 Please select copies orientation Horizontal Vertical Diagonal Ok Cancel 3 Enter number of copies in Please enter number of copies field 4 Select the orientation from Please select copies orientation field 5 Click Ok to paste the copied element Element Pasted Horizontally Five elements pasted horizontally along with the copied element 37 Page M amen A
193. lowing layout target directory is XSLfast lib XEP XEP lib xt jar to XSLfast lib XEP lib xt jar XEP lib xep jar to XSLfast lib XEP xep32_trial jar All other files from XEP lib are unnecessary because XSLfast already contains them You can also copy these files into your current XSLfast folder but it is not required e XEP license xml to XSLfast lib XEP license xml e XEP xep xml to XSLfast lib XEP xep xml 509 Page XEP fonts to XSLfast lib XEP fonts XEP hyphen to XSLfast lib XEP hyphen XEP images to XSLfast lib XEP images Launch XSLfast and set the FO Processor to XEP in the Layout Settings under Layout gt Layout settings Open the Layout which you want to execute to see the changes 510 Page FAQs Q see a package already installed error message Upgrade XSLfast rather than installing it Try removing the existing version before the new installation if needed see the message XSLfast 4 0 1386 rpm is not installed when try to remove the package Use XSLfast rather than XSLfast 4 0 1386 rpm for removal tried typing rpm i XSLfast but got the message package not found Use fully qualified file names for install update commands got the message package XXX is required by XSLfast during the manual installation Install package XXX first or use Linuxconf YaST to solve dependencies automatically Which programs do XSLfast req
194. ls 123 the expression should look like this ProductGroupID 123 Attention The grouping node of the current element is very important For the correct evaluation of the condition It is possible to specify more than one condition which can be linked either with an AND or an OR The result of XPath expression Ok Cancel Click Ok to apply the condition The resulting PDF looks like this now 173 Page 1 2 3 4 5 6 1 2 3 4 5 6 6 3 The product name is only displayed for products with product number bigger than 3 If you like you can also hide the product numbers for the hidden products Simply apply the same if condition to the XML element containing the product number This will be the result 174 Page Seiten E Evenen E urterscriten Chairs Chairs Chairs Chairs Chairs Chairs Tables Tables Tables Tables Tables Tables Tables Tables Tables Tables Tables Tables Chair D Chair E Chair F Table D Table E Table F Table G Table H Table Table J Table K Table L In this style you can also suppress the display of the ProductGroup for the suppressed products If a row shows no entries any more due to the conditions it is suppressed entirely 34 demo 1 pdf Lesezeichen Chairs Chairs Chairs Tables Tables Tables Tables Tables Tables Tables Tables Tables co 7 40 of DO amp Chair D Chair E Chair F Table D Tab
195. m Follow the steps below to install XSLfast on windows 1 Double click on XSLfast exe file The Open File window appears Open File Security Warning The publisher could not be verified Are you sure you want to run this software E Mame xslfast 4 1 0 JRE 1 6 0 2009 08 20 setup exe Publishe Unknown Publisher Type Application From 10 0 0 81 Always ask before opening this file publisher ou should only run software from publishers you trust x This file does not have a valid digital signature that verifies its How can decide what software to run 485 Page Select Setup Language Select the language to use during the installation Tn 3 Select the language from the drop down and click OK button The Setup wizard appears iS Setup XSLfast 4 0 Welcome to the XSLfast 4 0 Setup Wizard This will install S Lfast 4 0 on your computer It is recommended that you close all other applications before continuing Click Next to continue or Cancel to exit Setup Cancel 4 Click Next button to continue else click Cancel 5 Select accept the agreement option to agree the License Agreement 486 Page ie Setup XSLfast 4 0 License Agreement Please read the following important information before continuing Please read the following License Agreement You must accept the terms of this agreement before continuing with the installation XSLfast
196. m i CJ Default settings A s e LAP betweern columrns p LPage Call template Custom title Line Description chart lh Jr our Ut Ji Ww List Force page cot il ho oree O OOO ow Pivot table Background image Table SERIA VERS ANTA p 4 Fegion pre eclence Jindex Top a Pagination Bottom 1 Square 4 Region Date Time Left 28 pt JInternet link Right 28 pt JImage Barcode Top 28 pt XSL Text bottom 28 pt Numeric Field 4 Paper Margine Text Left 10 pt Right 10 pt Top 10 pt Bottom 10 pt 4 Custom paga Attributes Custom attribute name 1 Custom attribute value Restore default settings ok cancel 432 Page Call Template The Call Template properties are available in inspector window of Call template element Refer Inspector Window section in Template element for more details X5L fast preferences ES Categorized Alphabetic View options x Additional options roperty Value Performance options 4 rame properties Compatibility options a Bound Absolute position False SL output settings Absolute position _ XSD DTD settings Width 100 pt C5V settings Height 30 pt Default settings Page Call template Line JChart List Pivot table Table Citation Index Pagination Square Date Time internet link Image Barcode XSL Text Numeric Field Text Restore default settings 3J O
197. mended nodes Grouping dialog Length of history for XPath expressions Default precision Default system font Language 399 Page General options Mew options JAdditional options Performance options rem options XSL output settings SD DTD settings esy settings JIDefault settings X5SL fast preferences Grid properties v Show grid wv Snap on grid Grid size Other properties Create preview when saving the layout vw Enable preview of Fonts in Font listbox v Display system fonts First v Show layout options in status bar vw Enable search in XML tree Show XML in alphabetical order 7 Show log in status bar Autazoor in Text editer Enable hints for XML structure in filters dialog vw Highlight recommended nodes in Grouping dialog Do not show bad groupings notification dialog Office like menus v Show details while dragging v Show page tooltips Show XML tree and Inspector in tabs Use multi document interface Use old behavior For tables v Smart guides Length of history for XPath expressions T sen 400 Page Grid Properties Grid size Determines the distance between each grid points in the layout Grid properties Distance between grid points You can also do this setting through View menu Select View gt Grid preferences gt Grid size Refer Customizing Interface section for more details Note
198. n Relative nested grouping Conditional region XSL IF instead of XSL FOR EACH Remove grouping Ok Close Example of Grouping by Position A new layout page is grouped to the top node of the XML file in our example it is Report Every element connected to XML contents which is placed on the sheet now shows the path to the node without Report for example ProductGroup Name 292 Page Product eed ProductNumber Name oo ProductPrice Properties If the page is grouped for example to the node Report ProductGroup Product the elements on the sheet now already refer to those nodes contained in Product and show only the name of the node because the first part of the path is already determined by the page grouping And if an element like a table is itself grouped to a node in this example it is grouped to Report ProductGroup Product Properties the elements placed into the table will only show the name of the node because the first part of the path is already determined 293 Page Of course it is also possible to place nodes from all levels of the XML file on the sheet or in tables XSLfast will automatically add the necessary elements for the right path This example is supposed to give you a general idea what grouping is and what it is used for 294 Page Filtering If you create a table most of the time it will be grouped to a node of the XML file To have more possibilities usi
199. n Ctri NumP ad M A Zoom out Ctrl NumP ad Sibetanice Neb la a Reset zoom Ctrl NumP ad Substance Emerald Filter by type gt Substance Graphite Tm Lune TT a Substance Blue Steel 1 Substance Office2007 Once you select the interface style a dialog window appears Message ES Please restart xSLFast For the look and Feel changes to have effect Lek 66 Page Click OK button and restart XSLfast to use the selected interface style Show XML in Alphabetical Order Show XML in alphabetical order sorts the xml nodes alphabetically in XML window without changing their structure To sort the xml nodes check Show XML in alphabetical order from View menu or in XSLfast preferences window under View option Grid preferences Look and Feel Show XML in alphabetical order 73 Report O Report Ei Productgroup 5 473 Productgroup 4 Name 4 Img Name 2 43 Product TU 4 Data zl Description Before Sorting After Sorting Highlight to Tree Selection Highlight to tree selection option highlights or illuminates the elements from XML tree To highlight the XML tree element select View menu and check Highlight to tree selection option 67 Page E Gee UN BE ee ce TT Show XM in akchabtcd order Moto D EN 95 Eh l Bs v Esa B a2 i 9M aa ea a le P i PETTUS Z SNWIPRLL PPPERPI o POOOR 1o PEIOR brn bv OTT bh Toon n Chi Pur ad
200. nCurrencyID PublicationLanguageID CreatedBy CreationDate CreationTime ChangedBy ChangeDate ChangeTime 4 Text TextTvpe TextContent gt ProductGroup 55 Page Inspector Window The window which displays the attributes properties of an element selected on the worksheet is called Inspector window Here you can also change the properties of a selected element as required If no elements are selected the inspector window displays the properties of a page The Properties are displayed category wise or in alphabetical order To view the properties category wise click Categorized tab Data Format 4 m Aa cTextFlow 3 Property Object name Locked 4 Text Background color Line height Line stacking strategy Logical style Last line alignment 4 Frame properties 4 Bounds 4 Absolute position Left Top Width Height 4 Paddings Left padding Top paddina Right padding Bottom pad 2s Value cTextFlow 3 Edit 36 pt Select line stackin w FSSedse v Auto Absolute position tru 98 pt 37 pt 472 pt 62 pt Left padding 0 0 pt Opt 0 pt Opt Opt 56 Page Element properties are also available in the context menu To view the context menu select the element and right click Note A double click on an element offers to modify what should be displayed in the frame the content and the right mouse click offers to modify how it should be
201. nable password protection Old password to exclusive access Password to exclusive access Re type password to exclusive access Modification access Enable password protection Old password For modification Password For modification Re type password For modification Generation options Layout settings version2 Additional templates Layout description ES Advanced options Security Ok Cancel You have two possibilities to restrict the access to a layout The first way is the Exclusive access If you use this option a password is required to open the layout in the first place but then full access to the layout is granted to those users who have the password On the next start of this layout the user will be asked to enter the password if you select to use Exclusive access 134 Page Password 34 Password Type password LC The second way is the Modification access This option allows you to restrict the access to the layout in two ways password 0 Password Type password or skip password to take read only access If the user does not have the correct password the access to the layout is Read only meaning that the user can view the layout make some modifications which last only during this session and even generate PDF or XSL output but he cannot save the modified layout In this case the user should click the button Read only If the user pos
202. nabled whenever any cells in the row are spanned over more than one row actually e Join Option to join two or more rows This option is enabled only if you select two or more rows Refer Inspector Window section for Keep together Keep with Previous Keep with next Fixed row height Background Image and Background color details e Column Sets the properties of a column 328 Page Bring Forward Send backward Groupings gt ME Lindo use alternate colors true Ctrl Z 3 cut pups SS Copy Ctri c S Paste Civ eee E E ee eee Row b 7 Coumn Ez Add column after Cell gt d Add column before Table header gt HB Remove column Table Footer d Add a new summary Ges Add slave table Add to existing summary Background image gt Replace summary Background color gt Add a new partial summary Roll celi tonestred table Add to existing partial summary T Replace partial summary Fix table layout z Add a new count Set all borders Add to existing count Generate template Replace count Locked TPR Add column after Adds column after the selected column e Add column before Adds column before the selected column e Remove column Removes the selected column e Add a new summary Adds summary to a selected column e Add to existing summary Updates the existing summary e Replace summary Replaces the existing summary e Adda new pa
203. nced files cannot be edited here The Internal variables function offers you to specify global variables for this layout e g if your XML images are located on another server and you need to specify the basic URL After the definition of the variables it is possible to use them in your layout Example You can call for a defined variable like this lt xsl value of select Svar Note You should specify the entire path if you want to use elements from the XML source in the definition of variables To create templates that can be only applied in the current layout and cannot be reused in other layouts use the function internal templates These can be called via XSL code elements 132 Page Layout Description The fourth tab Layout description offers you the option to add some Meta information to the layout Layout settings version2 Input Output settings Generation options Generation options Additional templates Layout description Advanced options Security a Title Multilayout Author nasgor Description Multilayout example Ok Cancel The field Author is filled with your user name in Windows but you can also edit this field This Meta information is saved with the layout file but is not contained in the output in any Way 133 Page Security The last tab contains information on access rights for the layout Input Output settings Exlusive access E
204. nd Color icon Select any of the XSL FO options if required You can change the frame properties of the text element which uses the style created by the user To set the frame properties click Advanced tab and make changes The created text style is now available in Text Editor window and also under Logical Style in Inspector window cTextFlow 2 Text m Ede Mew Insert Fome Recent xPaths mx5gpS ceo Ans Biuvx ksam 38 ieacombined text td Conditional Styles This property allows to display text depending on conditions Follow the below steps to apply conditional styles 1 Select the text in text editor field and right click 2 Select Add conditional attribute option 3 Set the condition property using Font family Font size Font style or Text color option 154 Page J Beas JV Se NSN 10 BLY 4 Double click the Condition column to set the condition The If Editor screen appears 155 Page Xsl If Editor E 8 XML structure Path expression d mid ii LayoutType String PublicationID E Boolean Description Number PublicationCurrencyID Date Time PublicationLanguageID Math CreatedBy Today CreationDate Templates CreationTime ChangedBy ChangeDate ChangeTime gt Text gt ProductGroup x Clear Evaluate With this dialog you can specify conditions under which the contents of the current element will be displayed Example If the cu
205. nderers The Compatibility options consist of the following options Smart vertical alignment FOP specific Merge cell and object borders in old layouts Seek missing files near layout Use system locale settings Allow empty row omitting Indicate bad elements in output Use different border for cell and its contents Do not treat white background as transparent color Add templates with match pattern Adjust line height automatically Show registered fonts only Use simple filter dialog in inspector Use advanced sort wizard Use advanced alternate colors wizard Apply grouping to selected rows only 413 Page XSLfast preferences ES Compatibility options General options view options Smart vertical alignments FOP specific Additional options Merge cell and object borders in old layouts Performance options comp atibility options Seek missing files near layout i3L output settings Use system locale settings SDIDTD setti _ 50 Allow empty row omitting csv settings default settings Indicate bad elements in output Use different borders For cell and its contents Do not treat white background as transparent color Add templates with match pattern Adjust line height automatically Show registered Fonts only Advanced Use grouping dialog in inspector Use sort wizard Use alternate colors wizard Apply grouping to selected rows only
206. ng Product C displays different colors If you take a look at the xml data you will see that each Product node has 4 sub nodes e Name e Description e Data e Img Some of the Products do not have Data some of them have 3 or more Data entries When we specify Group by we tell the system to display each Data entry with the same color for that Product and that the Description will be rendered for the whole Product not each of the Data entries Note The Products that do not have Data entries are not rendered For example Product A does not have any Data So Product A is not available in the chart e Custom chart color Option to specify all the bars to have the same color 226 Page Title Name Group by Produc Values Data Value descriptions Name Chartlegend Name e Background color Option to assign chart background color e Use bookmark Lets you specify the bookmark for the pdf the Description will be printed in the Bookmarks list of the pdf viewer All other properties in inspector window are also available in Text element Refer Inspector Window section of Text element for more details 227 Page Data Format 4 e Chart 3 Property Object name Locked Type Chart type Group by e 4 Value descriptions Preferred cell width Descriptions text a Description Font Description text color 4 Chart legend Legend Font Legend text color 4 Title Title Font Title text
207. ng stapler Document stapter attaching Srmly solvable Lenz stapler Stapler with upper toad mechanics open and closed attaching plastic mechanism parts made of metal Electrical stapfer noie carrier with 5 differen Every time the manufacturer is one of the three manufacturers you specified before its logo is displayed 2 A fast and simple way but with limitations Open a Call template frame in the table cell with this button instead of the XSL code element there is a Call template cle ment here The three templates are still there but only one can becalled now On double click the frame switches to selection mode 280 Page In the select box all existing templates for this layout are listed Select the template you want to display in the frame The template will be displayed in the Call template element after processing the layout Note If you choose this method it is not possible to define a condition on which the template will be called as it is in method 1 if the condition is matched display the correct template if the condition is not matched do not display the template etc In this option the specified template is always called The layout we created the second way looks like this penc net pr Pelikan Cartridge system for the exchange of clips for different sheet p e heignts Ever a one way cartridge of the leg engt are provided Color grey 3 years warranty
208. ng the XSLfast requirement of grouping tables to nodes you can create helpful additional nodes in your XML file These additional nodes are not saved within the actual XML file But they allow you to perform functions which could not be achieved with only the regular structure To do this follow the steps below 1 Click Filtering tab 2 Enter the filter in the editor Grouping properties ES Group by position Filtering Group by content Grouping B 7 tee Copy subtree 4 Productgroup Name Img gt Product Copy from Productgroup Product Productgroup Product Name Product Node Set Add B String Update Boolean Number Delete Date Time Math Today Evaluate Templates The result of XPath expression Auto XPath completion Relative nested grouping Conditional region XSL IF instead of XSL FOR EACH Remove grouping Ok Close 295 Page 3 Click Add button to add the new filter Grouping properties ES Group by position Filtering Group by content Grouping Report 4 Productgroup Copy subtree Name Copy from Img gt Product Node Set Add gt Productgroup Product Name Prod String Update Boolean a Number Delete Date Time Evaluate Math Today Templates The result of XPath expression Auto XPath completion Relative nested grouping Conditional region XSL IF instead of XSL FOR
209. ngs Ok Cancel 442 Page Date Time The Date Time properties are available in inspector window of Date Time Refer Inspector Window section of Date Time element for more details General options View options c econ options Performance options Compatibility options KSL Output settings JXSD DTD settings CSV settings C39 pef ault settings Page Call template Line Chart List Pivot table Table Citation Index Pagination jSquare Date Time Internet link tmage Barcode XSL Text Numeric Field JText Categorized Alphabetic Type Width Height cCiubput Form Text harori Text nf bet XPakh before xPath afte Translate date separato Translate date separator Translate time separator Translate tine separator ror taxt color Background color 4 rame properties 4 Bounds AL iSi ite po tir 4 Paddir LR LET Lett padding op p ddini XSLfast preferences Property from to from Rii it t per telir A Bottom padding Bol i Jey Horizontal alignment pan Dynamic text XML 113 8 pt 17 1 pt dd MMMM yyyy Font ES Value Absolute position true Paddings Left padding O v Left padding 0 0 pt Top padding 0 0 pt Right pa 0 pt 0 pt pt D pt Border sr 3 none Restore default settings Ok Cancel 443 Page Internet Link The Internet li
210. ni qm ge 277 Eno EE M 278 ASECO db ile A 282 COCO Mel is wa decease secant uid PCPLPNMMEd IP M UEM DINE E MP UU M O S 283 Bj q 285 In db T nT Ter 285 Iekjorzlerdo ub WOW PERRO T EO OO DRE 285 Socii 287 Ulo 288 Types NICO T 288 INGUIN TaD sana cee rears et 9 288 UAVS WING cq 339 PIVOU Tale p ETA 341 INSEE PIVOE Table cessos srein neran A EE IE DPA PUN CEU 341 inspector WINGOW ectsssosduUepepPPeti Te duDoPUPETebI NO d uDoPeDED bU UE PODOPUPUP DIEN prr n nr n tr UD OPE 341 Go MS METEO T II mm 346 Gul 347 incidi rere ci RR 347 Edit Choose US AG sic ect sie ws eum ENARE EEEN EEE EEEE EES 347 NYSP eue VY COW MITT T A E O 349 egi MS NET T Tq I T Ts 351 DEEDE 2osucesssoou ee et ee en hn ee ne PM UR MI MAN SIE DM ICI UT PU rere 351 7 Page Arrangement of Elements cce eee ee e
211. nk properties are available in inspector window of Internet link Refer Inspector Window section in Internet Link element for more details General options View options Additional options Performance options Compatibility options XSL output settings J 5D OTD settings csv settings C pet ault settings Page Call template JLine JChart List Pivot table Table Citation JIndex Pagination Square Date Time Internet link Image Barcode MSL Text Numeric Field Text XSLfast preferences Categorized Alphabetic Property Line height Width Height Destination type Typi Object ind Font Text color Background color keep together Keep with next keep with previous 4 Frame properties 4 Bounds Absolute position 4 Padding L ft padding lop padding Right padding Bottom padding Border Horizontal alignment Sp an 12 0 pt Z27 6 pt Value Dynamic text XML Text Font ead Absolute position true Paddings Left padding 0 iv Left padding 0 0 pt Top padding 0 0 pt Right pa O pt pt 0 pt 0 pt Border Left l none Restore default settings Ok Cancel 444 Page Image The Image properties are available in inspector window of Image Refer Inspector Window section in Image element for more details General options View options Additional options JPerFormanc
212. nsert a Line element on worksheet select Insert Line menu or click 4 Line icon form the toolbar or press Ctrl L Click on worksheet and keep the left mouse button pressed on the sheet and draw a line in the desired length After releasing the button the line is visible on the sheet Alter the position by picking up the line with the mouse and pulling it into the new position Alter angle and size by clicking on one of the blue squares at each end of the line keeping the left mouse button pressed and moving the box up or down or back and forth After releasing the button the line has a new angle Inspector Window The Inspector window of Line element has the following properties e Object name and Locked Refer Inspector Window section of Text element e Line width Option to increase or decrease the line width Double click the default width of 1 pt and enter the new width e Line Color Option to change the Line Color e Pattern Option to change the pattern of the line The Pattern has the following options select any of them as per required 285 Page Pattern e X1 Y1 X2 and Y2 X1 and Y1 are the coordinates of the line s starting point X2 and Y2 mark the end point They can be entered manually but they also change according to the position of the line e Generate Template As all elements a line element can also be declared as a template Use the check box Generate Template Data Format
213. nsists of options to process check quality change settings of a layout Refer Layout Settings section for more details The Layout menu options are shown in the below figure Run Tools Window Help B Process layout Ctrl P Check layout quality Process multilayout Ctrl Shift M amp Combine layouts S Layout settings Ctrl Shift A Layout preview Options Functionality Process layout Starts generation of XSL XSL FO and PDF files Check layout quality Checks the quality of the layout and finds errors Process multilayout Processes multilayout documents and generates XSL XSL FO and PDF Combine layouts Combine layouts from independent XSL fast files and forms a new file Layout settings Option to modify the layout settings 35 Page Tools Menu The Tools menu consists of extra options of XSLfast Refer Preferences and Other Features of XSLfast chapters for more details The Tools menu options are shown in the below figure Tools Window Help Compare layouts View XSLT output Sa xPath Monitor al Generate Font metrics Bg Transformation Ctri Shitty Ctrl Q Convert XSL FO to layout Convert HTML to layout Merge XML files Paste special Styles EP Preferences A Registration Options View XSLT output Xpath Monitor Generate font metrics Transformation Convert XSL FO to layout Convert HTML to layout Merge XML fi
214. nt This application of XSL to XML document using XSLfast is known as XSL transformation or XSLT 14 Page XSL FO The Extensible Style sheet Language Formatting Object XSL FO is a W3C standard programming language used for printable documents It describes the arrangement of text images and other elements on a page in turn it describes the flow of the document XSL FO is created as an alternative to proprietary Portable Document File PDF and Post Script PS files It is the actual output of XSLfast later it is converted to PDF or other formats using render engines Rendering The process of converting the XSL FO file to other formats like PDF HTML and so on using render engines is known as Rendering Render engines are the conversion tools which converts XSL FO to PDF and other formats XSLfast supports the following render engines e FOP xml apache org XSLfast has both old version 0 20 5 and new version 0 95 There are open source projects so it has this version naming XSLfast ships the FOP along with the application e XEP RenderX commercial product should be installed separately e XSLFormatter AntennaHouse commercial product should be installed separately XPath XPath is an expression standard which describes how to operate with XML contents For example Report Productgroup Product describes the nodes of an XML file 15 Page XSLfast Installation XSLfast can be installed as a Windows ve
215. nt in the list box it is selected disregarding its place Data Format 4 Pick Element v Image 3 Image 4 J Line 1 Square 1 I Square 2 Square 3 Aa TextFlow 2 Aa cTextFlow 2 60 Page Status Bar The Status bar represents the X and Y co ordinates and file name It also displays the layout option and some message about the layout if the Show layout options in status bar and Show log in status bar option is checked in Preferences window under View option 239 i 450p lazta POPLO T M LE 7 61 Page Customizing Interface This section explains how to customize the XSLfast Interface Grid Preferences The grids help to place the elements in a proper alignment on the worksheet They are mainly helpful in positioning The Grid preferences in View menu have the following sub options e Show grid e Snap to grid e Grid size e Grid point of origin Show Grid The Show grid option enables the grid lines on the worksheet To enable gridlines click View gt Grid preferences and check Show grid menu 62 Page Grids enabled on worksheet The grid settings can also be done in Preferences menu Click Tools gt Preferences select View options tab check Show grid check box and click Ok button XSL fast preferences ES Grid properties JGeneral options View options _ Show grid Additional options F snap on grid Performance options S Compati
216. ntains the tutorial directory with some examples for layouts and you can save your own layouts and image directories lib Contains system data of XSLfast log If any errors occur they are logged here and can be reviewed output XSLfast saves your output files in this directory by default unless you enter another path tmp This is the directory where files are temporarily stored during the generation Uninstaller This is the uninstalling mechanism which you use if you want to remove XSLfast from your system You access this directory with the command Uninstall XSLfast in the Windows start menu 508 Page Installation of Renderers This section explains the process of installing renderers Installing Other Renderers FOP and Raster Images Quality Install JAI from java sun com to achieve a better quality of images as the FOP manual describes We recommend installing JAI to your JDK JRE directory Our version contains no JAI because JAI is platform specific XSLfast supports RenderX XEP software and Antenna House XSL Formatter If you want to install e g XEP you need to take the following steps 1 Download XEP from www renderx com if you already did this simply move to step 2 or 3 2 Install XEP to any directory you prefer in all cases XSLfast will not use this folder in future XSLfast just needs an unpacked copy of XEP to get particular files to the XSLfast directory 3 Copy these files to the fol
217. ntation iy Uninstall xSLFast 4 0 XSLfast 4 0 XsLfast 4 0 Online 2 Click Yes button to un install XSLfast XSl fast 4 0 Uninstall J Are you sure you want to completely remove XSLFast 4 0 and all of its components The Un installation of XSLfast begins 503 Page XSLfast 4 0 Uninstall Uninstall Status Please wait while XSLfast 4 0 is removed from your computer Uninstalling SLfast 4 0 3 Once XSLfast is completely un installed a message window appears Click OK button XSLfast 4 0 Uninstall 504 Page Un Install on Java To un install XSLfast on java follow the below steps 1 Click Un install XSLfast from the menu option The Uninstaller window appears d bss Lisensing Information Ej Release Notes 2 Uninstall XSLFast XSLfast Online Ew XSLfast User Guide HTML 3 xSifast User Guide xstfast Em XSLfastJavaversion 2 Click Uninstall button to start un installation else click Quit iz IzPack Uninstaller E cif xj This will remove the installed application s C Force the deletion of C Program Files xSLFast Nathing Uninstall Quit Note If you need to remove the folder which was created during the installation check Force the deletion of checkbox to remove XSLfast completely from your system 505 Page Un Install on Linux To uninstall XSLfast via the administration user interf
218. nts should be installed Select the components you want to install clear the components you do not want to install Click Next when you are ready to continue lt Back Cancel XSLfast offers three installation options e Full installation Installs the system files documentation and the examples e Custom installation Offers to skip the documentation and or the example files e Minimal installation Installs only the system files Note If you choose the second or third option and you already have the documentation and example files on your machine from an earlier installation you will see a message window informing you that XSLfast has detected files on your system 489 Page Components Exist Q Setup has detected that the Following components are already installed on your computer gt Documentation Examples Deselecting these components will not uninstall them Would you like to continue anyway The existing files are not deleted during the installation You can see the total disk space required for the chosen components above the Back button 10 If you confirm with Next the next screen appears i Setup XSLfast 4 0 Select Start Menu Folder Where should Setup place the program s shortcuts Setup will create the program s shortcuts in the following Start Menu folder To continue click Next If you would like to select a different folder click Browse Sl fast d rs Browse
219. ocument Arrange Page Run Tools Bring forward Send backward i Add horizontal quide Add vertical quide pe se Clear guides Align Left Align center horizontal ui BH Align right Align top Align center vertical Align bottom TT Same width jui Same height v EL Same space horizontal ann s v Same space vertica Tile objects Mirror vertically Mirror horizontally Move out from page mete s Compact relative elements The functionality of each sub menu options under Arrange menu is explained in below sections 357 Page Forward The Forward option places the selected element in front and change its level value if the elements overlap To bring an element forward follow the steps below 1 Select an element from the worksheet 2 Select Arrange Forward menu or right click the element and select Forward from Context menu Before applying Forward function After applying Forward function In the above figure both element A and B has level value as 10 Apply Forward function to element B the element B is placed in front and its level value is changed to 9 Note The level value changes in descending order 358 Page Backward The Backward option places the selected element backwards and change its level value if the elements overlap To bring an element backward follow the steps below 1 Select an element from the worksheet 2 Select
220. of the XML file e g Report Every element grouped to XML contents that is placed on the sheet now shows the path to the node without Report e g ProductGroup Name If the page is grouped e g to the node Report ProductGroup Product the elements on the sheet now already refer to those nodes contained in Product and show only the name of the node itself because the first part of the path is already determined And if the element like a e g table is itself grouped to a node the elements placed into the table will only show the name of the node because the first part of the path is already determined Of course it is also possible to place nodes from all levels of the XML file on the sheet or in tables XSLfast will automatically add the necessary elements for the right path There are three types of grouping e Group by Position e Filtering e Group by Content 93 Page Group by Position Groupings are used in different elements in XSLfast Page groupings are used for an automatic page break after a node e g ProductGroup or a node set e g Publication ProductGroup ProductGroup has been processed Behind a page grouping there is a loop over the selected node or node set All elements in regions and in the body refer to the page grouping which means the current path is the selected node of the page grouping This means that all frames have a path relative to the page grouping This is often the cause for problems
221. olumns and rows By default node names are used as labels For example in the below figure the Grand total text is specified as Total and the Use Label is checked Use grand total sum Grand total text Total Use labels If you process the layout the text Total is displayed 100 00 101 35 103 00 98 00 10400 123 05 100 00 99 00 10000 101 0C 10100 108 00 990 0C 1 07800 10400 12300 10000 99 00 100 00 245 34 600 00 10100 10100 10300 100 00 99 00 4720 12300 14605 1293 0C 41200 697 00 470 60 397874 This property can also be changed for each cell separately To change this select a cell and edit the value of Parent table gt Cell properties gt Use cell label and Cell label in Inspector 343 Page EJ Parent table Cell properties Use cell label Cell label e Column Row sort attribute Rows and columns may be ordered according to expressions in Columns sort attribute and Rows sort attribute Refer Inspector Window section in Normal Table for more details 344 Page pota XM ict Show values as Use grand total su Grand total text Use labels Columns sort attribute Rows sort attribute Background image Background color Logical style 4 Row properties Row height Column properties 4 Frame properties 4 Bounds Absolute posi
222. om the toolbar or press Ctrl Alt Shift T The Create table window appears 288 Page Select table type 23 Create a table Number of rows 2 Number of columns 2 Create a table from XML data Please select which XML nodes you would like to represent the rows of the table Filters Groupings Example of selected nodes va m d Report Productgroup Product C3 Productgroup Name Productgroup 1 Img prod101051 gif 3 Product Sal Product 3 Product Gal Product Sa Product Sa Productgroup Sal Productgroup Sal Productgroup New Filter Back Next Finish Cancel The Create table window consists of three sections e Row Column settings e Header Footer settings e Preview Row Column Settings The Row Column settings allow you to enter number of rows and columns for the table e Number of rows Select number of rows 289 Page e Number of Column Select number of columns e Omit empty rows Check the check box to omit or remove empty rows Header Footer Settings The Header Footer settings allow to create header and footer to a table e Table header Option to add header to a table e Omit header page break e Table footer Option to add footer to a table e Omit footer page break Group Table Connecting the XML nodes to the elements on the worksheet to display the XML content is called Grouping Grouping the page or elements to certain nodes of the XML tree establis
223. on 123 Page ED 522 DED F9 T d B Multiayoat wat l go i main E mo e mo p lane am s LIT IET Ir ST TIE be fl Te p avaed r mor Example 7 Multilayout vidus i Prodati Men Short Arco 1 P O IC ascLungi teen te tu rm mm Here the Multilayout Tail page is changed to Title page Change page kind is limited to the function range of the currently used Renderer For example FOP does not support last pages The pages you combine appear on your working sheet as separate tabs and can now be modified according to your requirements and saved as parts of a new layout Delete Delete option deletes the page layout region from the current layout To delete page layout region select Page gt Delete layout menu or click ral gt Delete icon from toolbar 124 Page Settings The Layout Settings windows allow you to do the following layout settings Input Output Settings Generation Options Additional Templates Layout Description Security Input Output Settings In Input area under Input Output settings tab you see the XML file that you selected for your layout If you need to choose a different file enter the complete path or click ER button to open a file browser window You can also edit the selected XML file using Edit button if you specified the path to a text editor in Tools gt Preferences gt External tools XSLFormatter Pat
224. onsists of two parts the table rows and columns with the table cells all colored in blue and the table frame which may be bigger than the actual table and even extend over the boundaries of the sheet The bigger table frame gives you access to single table rows and table columns The table cells should not be extended over the edge because they will not be entirely visible after the generation of document Black dotted vertical lines mark the columns the black horizontal dotted lines mark the rows To select columns or rows click the left mouse button inside the desired part The selected parts are colored To select the entire table click the bottom right cell of the table frame The table above is grouped to Producteroup Inspector Window The properties of Table element is shown in Inspector window 314 Page EB Table 4 Property LL Value Object name Table 4 L Height 110 pt Locked 4 Paddings Left padding 0 0 pt a 4 Table Grouping Grouping is not specified Backaround image Background color Omit header page b C Omit Footer page br Logical style l Select style v Row properties F Column properties we 4 Frame properties 4 Bounds Absolute position tru Left padding Opt v Is 4 Absolute position Left 48 pt Top 256 pt Width 522 pt Top padding Opt Right padding Bottom pad Orientation Border Collapse border 8 e so 2 Oo o a Gr oT p 4t 4 Hori
225. ore sort options for the contents of the row Refer Group Table section for more details Note It is not only possible to add groupings to table rows consecutively The string moves you one level higher from the current grouping level two levels higher in the structure require the string twice and so on The name of the next lower level and the slash move you one level lower Keep with next previous These functions help you to specify that the selected row will not be separated from the next previous row in a page break Keep together This function keeps the selected row together with the other rows Omit empty rows This option omits or removes empty rows from a table Logical style 325 Page This option is used to apply styles to row Refer Create Table Row Style section for more details If The If option is used to set condition for the row Refer Inspector Window section of Text element for details Column properties The Column properties offer the possibility to enter a value for the Column width Of course it is also possible to determine the width by dragging the column to its desired size The Frame properties and XSL FO options are already explained in the Inspector window section of Text element Refer Inspector Window section of Text element for details Context Menu The context menu options of Table element are available in Text element except the options mentioned below 326 Page
226. orialimg xsl logo neu jpg Used fonts Arial Total number of elements 20 Number of templates 0 Collisions Close This is just an overview over all your elements and document information At the bottom of the window XSLfast shows warnings if it detects any invalid XSLcode in elements Warnings cTextFlow 2 Contains invalid XPath cTextFlow 4 Contains invalid XPath It also indicates clearly which elements should be reviewed and corrected 113 Page To check the quality of a layout select Layout Check layout quality menu The Check layout quality window appears Click Close button to close this window Combine Layouts The Combine layouts options enable to combine layouts pages and regions of multiple xsf files and create a new layout To combine layouts follow the steps mentioned in below sections Specify Source Folders P 1 Select Layout Combine layouts menu or click J gt Combine layout icon from toolbar The Combine pages and layouts window appears Combine pares and layoutt Fie Pape A31 Tobie pages M avakbie Wats Documents sni Setturgsinazge Desktop TEMPIT utor T m CrfDoocuments and SettingsieamgoriDeddop INP Tuton mI _ Table Taie nd imam main 17 Prewiew nor found Search n subholsders 2 1 Monse 114 Page With this dialog you can combine parts and regions from independent layouts and create
227. oses the window 454 Page Generate Font Metrics When you first install XSLfast you need to register the fonts that are supposed to be supported otherwise the output files may not be legible or cannot be generated Use the menu Generate font metrics that opens when you first start XSLfast You should also register the fonts when you install a new renderer To generate font metrics follow the steps below 1 Click Tools Generate font metrics to open Font metrics window Font metrics ES Font metrics List of available Fonts Arial Arial Black Comic Sans MS Courier New Dejavu Sans DejaVu Sans ExtraLight Select all Select system Fonts only Unselect all Detailed Font metrics are required to make accurate XSL FO rendering possible Please select the Fonts that you would like to work with in XSLFast so that they can be registered with the Renderer This is only necessary on the first start of XSLFast if you choose another Renderer or if you want to add new Fonts Please select the Renderer you are currently working with XSLFast uses FOP by default FOP 0 20 5 FOP 1 00 xXEP XSLFormatter Log 0 Ok Cancel 2 XSLfast inspects the system fonts and displays the available fonts in List of available fonts field Select the fonts from the list there are options available select and unselect fonts 455 Page e Select all e Select system fonts only e Unselect all Select the fonts that
228. ou open a new layout with the function Disable layouts without XML or to turn this function off uncheck the check box 396 Page Open ES LookIn Eil input E Al EJES Lb Demodata de xml Demodata en xml File Name Demo xml Files of Type DTD XML XSD schema Files xsd xml dtd v Do not bind layout to top node Open Cancel e Track all changes as separate versions of layout The function Track all changes as separate versions of layouts allows you to keep the original layout unchanged while performing changes on it All changes will be saved as a separate independent file versions the next time when you save the layout The new files will be saved in the same folder as the original file where the file name is suffixed with the v1 v2 followed by xsf for example from the original file name nvoice xsf to Invoice v1 xsf and so on Note A separate layout version is saved but the new file is not automatically opened The original file stays active If you want to save the original file without suffix i e v1 v2 use the function Save as or turn the function Track all changes as separate versions of layouts off e Initial layout root directory Option to specify the path where all the layouts can be saved 397 Page e Source files base path Option to specify the path where you can save the source or input files like XML XSD and DTD files e Default image base p
229. out Check Fixtable layout Set all borders Sets all the borders of a table to single color and width and style 330 Page Insert Other Elements in Table XSLfast allows to insert other elements inside a table cell The handling of these elements is identical with the elements inserted outside a table The major two elements which are frequently used in table are text and Image Insert Text Element in Table Moving the horizontal and vertical lines modifies the size of the table cells Move your mouse over a line until the cursor turns into a double arrow Now pick up the line and move it to the desired position To create a field containing text information click on the icon Text and open a frame in the desired cell in table header or footer You will see a text frame containing the word empty appear in the cell The handling of these text frames is identical with the text frames outside a table Double click the frame to enter the text directly into the editor or drag and drop an XML node into the right frame to make a connection For your convenience it is also possible to directly drag XML nodes into a table from the XML tree Select a node from the XML data source on the left side click on it with the mouse keep the mouse button pressed and drag the node into the table cell where you want it to be Release the mouse button You will see that an XML frame has been placed in the cell but now 331 Page it
230. places the Zero values to the value entered in the field 193 Page element for details Bring forward Send backward X cut f Copy IB Past aq Copy as text Font Family Font size Font style Alignment Vertical alignment Text color Background color Move texts to one Convert Eo Generate template Locked Context Menu MF Undo text data 1 000 Ctrl Z Ctrl X Ctrl C Ctri V vt yY yvy vyv y y Y The Context menu for Numeric field is same as Text Refer Context Menu section of Text Note Refer Numeric_Field xsf under 19_XSL_Code in Tutorial folder to work on XSL Code 194 Page XSL Code The XSL Code element is used to enter XSL or XSL FO commands It allows you to work with more advanced XSL functions that are not covered by the WYSIWYG interface of XSLfast Insert XSL Code To insert XSL Code element on worksheet select Insert gt XSL Code menu or click gt Numeric field icon form the toolbar or press Alt Shift T Click on worksheet and drag the cursor point The XSL Code element is inserted E xsitexteText 1 xsltesdt Edit XSL Code To edit XSL Code double click on the frame or click Text option in inspector window The editor window appears The XSL Code editor allows you to operate on a part of content You can also set conditions using the available functions drag and drop the XML nodes 195 Page Text_1 New Text
231. pression for the euro sign is entered without the pound key 477 Page Common Keyboard Shortcuts for XSLfast Shortcut Ctrl N Ctrl O Ctrl S Ctrl Shift S Ctrl F4 Ctrl G Alt O Ctrl Z Ctrl X Ctrl C Ctrl V Delete Ctrl A Ctrl F Ctrl NumPad Ctrl NumPad Ctrl NumPad Alt Shift T Ctrl l Ctrl Shift L Ctrl Shift D Ctrl Shift P Ctrl L Ctrl Alt Shift T Meaning New Open Save Save as Close Load structure from XML DTD file Preferences Undo Cut Copy Paste Delete Select all Find Zoom in Zoom out Reset zoom Insert Text frame XSL Code Insert Image frame Insert Internet link Insert Date Time Insert Pagination Insert Line Insert Table 478 Page Alt Shift P Alt P Page properties Ctrl P Ctrl Shift M Process multilayout Ctrl Shift A Ctr Shift V View XSLT output Ctrl M Multi Layout Manager Ctrl Q Alt L Properties Line only Alt P Properties Page only Ctrl P F1 Grouping Process layout Layout settings XPath Monitor Process layout Help 479 Page Installation This chapter explains the hardware and software requirements of XSLfast how to install XSLfast and renderers and uninstall XSLfast Requirements This section provides details of hardware and software requirements on different platforms like e Windows e Linux e MacOSX Windows This section lists the required operating systems softw
232. properties or press Alt P The Properties window appears Categorized Alphabetic Property Size Width Height Orientation Columns Gap between columns Alternate page numbers Custom title Expression Description Backaround color Force page count Locked 4 Region precedence T op Bottom 4 Regions Left Right Top Bottom 4 Paper margins Left Right Top Bottom 4 Custom page attributes The options in Properties window are also available in inspector window of Page Custom attribute name 1 Custom attribute value 1 Properties Size Sets the size of a page AA 595 pt 845 pt Portrait 1 10 pt no force E 265 pt 28 pt 25 pt 28 pt 10 pt 10 pt 10 pt 10 pt value Ok Cancel 384 Page Size e Width and Height Width and Height are preset with the paper size you select in Tools Preferences Default settings Page but can be modified here with the corresponding entry fields If you enter a custom size here the paper size in that menu changes to Custom and displays the values you entered here e Orientation Sets the type of page either Portrait or Landscape Portrait e Columns If you want to have your page divided in columns use the command Columns Enter the number of columns into the field A page with two columns 385 Page e Gap between columns Modify the gap between columns with the command Gap b
233. put data has to be formatted into a numeric data 187 Page For example if the text data is 123 456 and is the thousand separator Hence the numeric value of this string depends on these options The input format consists of e Decimal separator Separator for decimal digits e Thousand separator Separator for thousands Predefined output formats Defines the format in which the output data has to be formatted and displayed in the output files For example if the input data is 12345 and the thousand separator of the output is defined as Then the output is displayed as 12 345 The Predefined output format consists of e Decimal digits Defines number of decimal digits after the decimal point If you define the decimal digit as 3 and the input data is 12345 The output displays as 12345 000 e Decimal separator Separator for decimal digits e Thousand separator Separator for thousands e Number formats Defines the format of the number e Currency before and Currency after If you require a number along with currency symbols use Currency before to insert it before the number or Currency after to insert it after the number e No currency Use this option to avoid currencies Use custom output format Use this option to customize your output format If the predefined options do not contain the format you require 188 Page Data The Data tab allows you to enter the input string d
234. rd Option which pops up the startup wizard when you open XSLfast or open a new layout The startup wizard allows you to open a new layout an existing layout recently used layouts or the Templates If you do not want this wizard to open every time you start XSLfast or open a new layout uncheck the check box Show startup wizard 395 Page T 4 1 Create Open layout i gt Open existing layout Open recently used layout an C Documents and Settings Footnotes xsF C Documents and Settings nasgor Table xsf P C Documents and Settings nasgor Texk xsf C Documents and Settings nasgor 1 xsf D xSLFast xslf ast table background image xsf F C Jtable background image xsf C Documents and Settings Pivok Table xsfF E C Documents and Settings nasgorJ list xsF F Jlib Templates Layvouts Business report xsf Show this dialog at startup 2 Attach XML DTD data file oa 3 Modify layout 4 Render layout Create new layout Open from template E Business report Text document F Assessment Order Brochure with columns Brochure Master Slave Chart Business card Cancel e Disable layouts without XML Usually a layout requires an XML source Also there will be layouts which do not require XML source For your convenience it is possible to set XSLfast to ask you for an XML source every time when y
235. re 11 Process this layout The generated output is shown below How many data is there for product Product A How many data is there for product Product B How many data is there for product Product C How many data is there for product Product D How many data is there for product Product E How many data is there for product Product E How many data is there for product Product F How many data is there for product Product G How many data is there for product Product H How many data is there for product Product How many data is there for product Product J How many data is there for product Product K How many data is there for product Product L How many data is there for product Product M How many data is there for product Product N How many data is there for product Product O Note Refer Choose xsf under 39 Choose in Tutorial folder to work on Choose Less then 2 maybe 1 or 0 Less then 2 maybe 1 or 0 2 or more 2 or more Less then 2 maybe 1 or 0 2 or more Less then 2 maybe 1 or 0 2 or more Less then 2 maybe 1 or 0 2 or more 2 or more Less then 2 maybe 1 or 0 2 or more Less then 2 maybe 1 or 0 2 or more 2 or more 356 Page Arrangement of Elements The menu Arrange enables you to arrange the elements on worksheet It helps in proper alignment and accurate positioning of elements This inturn helps in formatting and a better look and feel of the d
236. require Table footer and Table header properties respectively in the first tab to be checked Add partial summary and Add cumulative summary require Saxon extensions to be enabled which is be performed in the Preferences window 312 Page X5Lfast preferences DX _ General options XSL output settings View options XSLT 2 0 features enabled Additional options Performance options Compatibility options Include Java Namespaces possible problems with non Java XSLT systems L XSL output settings vi Prefer CMYK color space if possible JX5D DTD settings CSV settings Side ault settings T Paint cropmarks Use bookmarks Iw Use SVG grapics for lines V Use selected unit of measures in XSL output Please use Extra Generate Font metrics to apply font embedding options V Embed Fonts Embed all Fonts also Base 14 necessary For PDF A V Create separate block elements For empty lines X5L output encoding Um se Default XSL FO processor FOP 1 0 7 Ok Cancel For an accumulative summary you have to define the number of nodes per page to be printed Repeated content on page Click Finish and drag the mouse on the worksheet to insert a table 313 Page Ite u Product Nam J 3 xsl if test Product Name E GEO 00 to 7 380 00 to number su number sum repeatCounterO 0 or position last exu g TABLE FOOTER You will notice that the table c
237. res odd and even regions FOP requires odd and even regions 381 Page Insert Page To insert a page click Page Insert page menu or select any of the page icons from the toolbar or right click on the page and select Insert page option from the context menu The selected page is inserted By default when you open a new layout the main page is inserted Jg amp 250 24882 248 B3 8 XSLfast allows you to insert different types of page in the similar way 382 Page Page Grouping The Grouping command is used to establish a connection between the page and the XML file The page is grouped to the top node by default If no XML file has been grouped the entry shows During the layout process you will probably group the page tables and XML frames to nodes from the XML file The grouping functionality of a page is similar to table grouping except the page is always grouped to the higher level node than the grouping of other elements For example if the page is grouped to the node Report ProductGroup Product the elements on the sheet now already refer to those nodes contained in Product and show only the name of the node Because the first part of the path is already determined by the page grouping Ses Product Refer Group Table section for more details 383 Page Page Properties The properties of the page can be set through the Properties window To open Properties window click Page gt Page
238. ress custom namespaces Do not generate system wide variables Omit text Formatting templates The option Suppress custom entity descriptions is used to suppress the custom description of XSL and XSL FO file in output file The entity descriptions are not displayed in the output file 127 Page Suppress custom namespaces does the same with namespaces that you added Both custom namespaces and custom entity descriptions perform in the similar way XSLfast offers two predefined variables CurrentDate which reads the system time and IMAGEEXT which allows e g to use image names created by combining the productlD with a certain file extension like gif to avoid time consuming maintenance of image pools If you do not want to use these variables in xsl code check Do not generate system wide variables checkbox that will suppress the use of these variables With the check box Omit text formatting templates you suppress the use of the HTML tags for text Additional Templates The tab Additional templates allows you to edit templates used in this layout file not matter if they are external other layout files or internal and it allows you to edit internal variables External templates files are used during the processing of the layout and contain user defined templates and global variables Other than imported templates via File Import XSL templates they are not embedded into the layout but only linked Nevertheless can be
239. result z8 demo 1 pdf Productgroup 1 Product A Productgroup 2 Product E Productgroup 3 Product J Productgroup 4 Product O Lesezeichen _ des Bu o 15 e im o Be 5 299 Page Only the first contained product is displayed with the product groups Now right click the second row and add Product as the break level Check Relative nested table function and Auto XPath completion check boxes Now process the layout to view results All product groups are displayed with their products 300 Page r demo 1 pdf Productgroup 1 Product A Product B Product C Product D Product E Productgroup 2 Product E Product F Product G Product H Product Productgroup 3 Product J Product K Product L Product M Product N Productgroup 4 Product O Product P Product Q Product R Product S 5 D 2 2 Ta Ebenen 5 B Seten You can also add the line End of and display the name of the product group at the end of the list Add a break level to the third table row and group it to the node ProductGroup Make sure to uncheck the check box Relative nested grouping for this case now because the nesting would refer to its superior node in that place which would be Product Now drag the node ProductGroup Name into the first cell of the third row and double click it Enter the words End of in front of the node and give the entire text the color red 301 Page
240. rns the substring of the first argument starting at the position specified in the second argument and the length specified in the third argument Returns the number of characters in the string 145 Page length string string normalize space string string translate string string string node set str replace string object object Boolean Boolean boolean lang string Functions boolean boolean object boolean not boolean boolean true boolean false boolean lang string Number Humber number number object number sum inode set number floor number number ceiling number number round number Returns the argument string with the white space stripped Returns the first argument string with occurrences of characters in the second argument string replaced by the character at the corresponding position in the third argument string Replaces any occurrences of search strings within a string With replacement nodes to create a node set Description Converts the argument to a Boolean Returns true if the argument is false otherwise false Returns true Returns false Returns true if the xml lang attribute of the context node is the same as a sublanguage of the language specified by the argument string 146 Page Functions Description number number object Converts the argument to a number number sum node Returns the sum of all nodes in the node set Each
241. rocesses multilayout and produce an output Process Multilayout makes use of Multilayout manager window to combine layouts from different location and produce an output file without creating a new layout For example see the below figure 106 Page os Me i X ui E rase Jae A2 5 OM Here we have four layouts from different location These layouts are combined in Multilayout manager to produce an output file To process multiple layouts follow the steps below 1 Select Run gt Process multilayouts menu or press Ctrl Shift M The Multilayout manager window appears 107 Page Multilayout manager EZ Layout list File list Gd C backup Cdl bin docs C fonts Input E fre s lib log La output tmp Apply E Iw Apply on selection by expression Ade Remove Apply selection by expression Selection Expression Sequence conditions Group name Page position Odd or even First Odd Lise body Use header Footer left right Generate Close Note The Layout list region is used to add layouts from different paths The File list region is used to browse files 2 Select the drive from the drop down box E The File list region lists all the folders contained in the drive selected 3 Double click the folders and select the layouts 4 To add the layouts select the layout and click Add button or drag and drop into Layout list r
242. rouping Properties window appears Grouping properties X Group by position Filtering Group by content Grouping 4 Report 4 Productgroup Name Img gt Product v Auto XPath completion Relative nested grouping Conditional region XSL IF instead of XSL FOR EACH Remove grouping Ok Close Select the XML node and click Ok button The List frame is grouped to the selected XML node By default the enumeration type is set to 1 Rn 205 Page 0 oam P PCR Productgroup f Edit List The List editor window allows the user to assign contents to the list To edit list frame double click on the frame The editor window appears Select the XML node drag and drop the node to the editor field List 1 List E x Edit Recent XPaths AXAD 4 Report Node Set 4 Productgroup String Name Boolean Img Number gt Product Date Time Math Today Templates A e Column 1 line 1 Ok Cancel 206 Page Now process the layout the frame would look like this Praductgraup 1 Productgroup 2 Fraductaraup 3 Froductgroup 4 207 Page Inspector Window The Inspector window of List element has similar properties of Text element except the following options e Grouping This option is explained in Grouping List section e Use alternate color The Use alternate color option is used to apply alternate colors to the alternate list Check Use alterna
243. rrent element should only be displayed if one of the contained ProductGroupIDs equals 123 the expression should look like this ProductGroupID 123 Attention The grouping node of the current element is very important For the correct evaluation of the condition It is possible to specify more than one condition which can be linked either with an AND or an OR The result of XPath expression ok cancel 5 Set the condition and click Ok button The condition is displayed in Text Editor window 156 Page i BIU x EX 3 JB Node Set org Somer Mure Date Time Math Today Targi m Mele Vert from trae D Convert to emm Colum 7 ine 1 Loh Can 6 Click Ok button and process the layout to view the result Result his is my static text Productgroup 1 his is my static text Productgroup 2 his is my static text roductgroup 3 his is my static text roductgroup 4 157 Page Inspector Window Data Format 4 cm Aa cTextFlow 4 T Property Value Object name cTextFlow 4 Locked 4 Text Edit Background color Line height 14 pt Line stacking strat Select line stacki w Logical style Select style X Last line alignment Auto v 4 Frame properties 4 Bounds Absolute position Fal Absolute position Paddinas Left padding 0 0 pt Border Border Horizontal alignment Left v vertical alignment Top Level 10
244. rsion or as a platform independent Java version To start XSLfast on the different platforms Windows UNIX LINUX and so on different starting files need to be executed Windows xslfast exe Unix Linux xslfast sh MacOS X XSLfast Other The startup script like file xslfast sh is required 16 Page The functionality of XSLfast is divided into two phases e Design Phase Style Creation e Run Phase Printing 17 Page Design Phase The process of creating style sheet happens in Design phase The content data is loaded into XSLfast in XML XSD or DTD formats Create layout s for the loaded data XSLfast starts creating XSL file while creating layout XSLfast helps you to create styles describes how to print the document but does not produce any output directly Once you create layout apply it to the loaded data and see how the formatting goes on You can see the formatting of the document using XSLfast s preview option or use tools like XSLfast Print Server Document Structure i XSLfast XSL for further XHL XSD DTD appliance Run Phase The process of combining XML and XSL and generating PDF from XSL FO file happens in Run phase The styles created are applied on the XML data through XSLT and generates XSL FO file The XSL FO document can be used directly or converted to other formats like PDF HTML and SO on using render engines XHL XSL XSLT like XSL F0 Document Saxon
245. rtial summary Adds a new partial summary e Add to existing partial summary Updates the existing partial summary e Replace partial summary Replaces the existing partial summary e Add a new count Adds count to the selected table e Add to existing count Updates the existing count Replace count Replaces the existing count e Cell Sets properties of a cell 329 Page e Background Image Sets a background image to the cell e Background color Sets background color to the cell e Cell border Sets cell border color e Split cell Splits the merged or joined cells e Join cell Joins two are more cells Table header Adds or removes table header Table footer Adds or removes table footer Table grouping Groups the table to the selected node If you select this option Grouping properties window appears Refer Group Table section for more details Remove table grouping Removes the table grouping Add slave table Adds slave table to the selected table Roll cells to nested table Arrange the cells in selected rows and columns of the nested table To do this you need to select a column and a row or a set of rows columns and the cells that are within the crossing would form a table Fix table layout Check this option to align or fix the table frame to the borders of the tables and set property Fixed row height true for all of the table s rows too Uncheck Fixtable lay
246. rties of Text element except the following e Image base path Specify the image path for a static image or directory of the image if the XML does not have image path e Image Image node Specify the XML node which has image After you specified an image file the path will be displayed in Image Image node Depending on the settings in Tools Preferences Path mode it is an absolute path or a path relative to the XSLfast home bin directory e Fit in Frame The image is resized to fit it into the given frame e Keep aspect ratio Determine whether the image proportions should be maintained to prevent a distorted image e Image type Define whether the image is static or dynamic image e Orientation If you use XEP or XSLFormatter as your Renderer the menu item Orientation is available It allows you to give the contents of the frame four orientations O regular orientation 90 turned 90 degrees counterclockwise 180 upside down and 270 turned 270 degrees counterclockwise 90 degrees clockwise Note The orientation is not visible on the working sheet but only after the processing of the layout Refer Inspector Window section of Text element for more details 237 Page Data Format 8 3 Image 1 ad Property value Object name Image 1 Locked Image base path Pe Image Image node No image Fit in frame Keep aspect ratio vw 4 Frame properties 4 Bounds Absolute position true 4 Absolut
247. ructure is displayed in XML window To load the structure of an XML file follow the steps below 1 Select File gt Load structure from XML DTD file menu click E Load grouping structure from XML DTD file press Ctrl G The Open window appears Note The Open window pops up only if you check Disable layouts without XML checkbox in XSLfast preference window Select Tools Preferences The XSLfast preferences window appears Check Disable layouts without XML checkbox under General options tab and click Ok button If you uncheck this option the Open window does not pop next time when you open a new layout 86 Page XSLfast preferences ES General options Show startup wizard Disable layouts without XML Wiew options Additional options Performance options Compatibility options L mi l kbl hb l lLkLlII oe Track all changes as separate versions of layout Open ES aid e BS LookIn El input 4 Demodata_en xml File Mame Demo xml Files of Type DTD XML XSD schema files xsd xml dtd v Do not bind layout to top node Open Cancel 2 Select the xml file and click Open button The XML structure is loaded into XSLfast For example in the above figure the structure of Demo xml is loaded into XSLfast 87 Page Data Format 48m 4 Report 4 Productgroup Name Img 4 Product Name Description Img Data Note XSL
248. s Line element to insert different styles of line Inserts Table element to insert different tables Inserts Pivot Table element to insert a pivot table 31 Page Arrange Menu The menu Arrange offers you the command to align the frames on the sheet Refer Arrangement of Elements chapter for more details The Arrange menu options are shown in the below figure Note Unlike other options under Arrange menu the options Forward Backward and Move out from page is enabled when you select a single frame But other options are only enabled only if you select more than one frame Arrange Page Run Tools Bring Forward m Send backward i Add horizontal guide Add vertical quide ix Clear quides F Align Left IS Align center horizontal 33 Align right I9 Align top I Align center vertical iu Align bottom I Same width El Same height Same space horizontal ees Same space vertical as Tile objects Mirror vertically Mirror horizontally Move out from page 8 Compact relative elements b 32 Page Symbol ES Bs e 89 EI EJ 3 8 amp Options Forward Backward Align Left Align Center Horizontal Alien Right Align Top Align Center Vertical Align Bottom Same width Same height Same space horizontal Same space vertical Tile objects Mirror Vertically Mirror Horizontally Move out from page Functionality Arranges the selected frame in
249. s to link another element within a document using Linkld 246 Page Web link Allows you to specify an URL Web link helps to link to websites The Enter or choose link field allows to specify the target address of the link which the browser will open after clicking the title of the link type the target in the field Enter or choose link or choose it in the select box of that field Inspector Window The Inspector window of Internet link has similar properties of Text element except the following e Destination type Define whether the link is Static or Dynamic e Type Define whether the text of the link is Static or Dynamic e Destination Enter the target link e Keep together This option is used when an internet link is placed in table It keeps together with other rows e Keep with next This option is used when an internet link is placed in table The row will not be separated from the next row in a page break e Keep with previous This option is used when an internet link is placed in table The row will not be separated from the previous row in a page break Refer Inspector Window section of Text element for more details 247 Page Q InternetLink 1 Property Value Object name InternetLink 1 Locked 4 Text xslFast com Destination type Weblnk Object kind Tt Font Text color Background color Destination http fi Line height 12 0 pt Keep together Keep with
250. s you to apply XPATH code on your document if you have the necessary knowledge To open XPath preview window click Tools gt X Path Monitor or press Ctrl Q The XPath preview window appears XPath preview m H X ML structure 4 Result Report XPath expression Node Set String Boolean Number Date Time Math Today Templates This Field is helpful to check XPath expressions in general or For certain parts of the XML structure You can drag and drop tree nodes into this window to add them to the expressions The context menu also offers you a choice of XPath expressions Evaluate Close The result of XPath expression amp di P The result can be numbers plain text or tree depending on your request Path origin The user who has knowledge of XPath will know and appreciate the possibilities that this monitor offers them This section explains the general function of this monitor for the users without the knowledge of XPath XPath is a language for addressing parts of an XML document 453 Page If you have already loaded an XML file you will see the XML structure in the monitor An XPath expression is entered in the field XPath expression and the XML structure level from which the expression is supposed to be applied is selected It is also possible to drag nodes from the XML file into the window The context menu also offers some XPath expressions to choose from XPath prev
251. sert Arrange Page Run Tar a Text 12 Numeric field XSL XSL Code PMI Barcode List fga Chart E Image Alt Shift T Ctrl C3 Internet link Ctrl Shift L 1j Date Time Square w Pagination Index Citation ii Choose Ctri Shift D Ctrl Shift P Call template U Line amp H Table EB Pivot table Symbol Ctrl L Ctri Alte Shift T Options Text Numeric Field XSL Code Barcode List Chart Image Functionality Inserts text element to enter text Inserts numeric field element to enter numbers Inserts XSL Code element to enter XSL code Inserts Barcode element to generate barcode Inserts List element to generate list Inserts Chart element to generate chart Inserts Image element to insert an image 30 Page Symbol e 9 i E I k E nm E EB S Options Internet Link Date Time Square Pagination Index Citation Choose Call Template Line Table Pivot Table Functionality Inserts Internet Link element to enter web address Inserts Date Time element to enter the date and time Inserts Square element to decorate worksheet Inserts Pagination element to insert page number Inserts Index element to generate index Inserts Citation element to generate citation Insert Choose element to select single value of an XML node Inserts Call Template element to call internal or external template Insert
252. sesses the correct password he has access to all available functions after clicking the button Ok 135 Page Elements The Insert menu and the tools enable the user to insert elements on the worksheet and create a layout Using elements you can graphically represent the layout or format of a document The functionality of each element is explained in the below sections Text The Text element is used to enter text It can be a character word line or paragraph XSLfast allows you to enter two types of text e Static text e Dynamic text You can also enter both types of text in a single text element Insert Text Frame To insert text frame element on worksheet select Insert Text menu or click Aa gt Text icon form the toolbar Click on worksheet and drag the cursor point The text element is inserted Tempty Cm 136 Page The frame displays empty if it does not contain any content Inside the frame you can enter static or dynamic text Edit Text Frame To edit the text frame double click on the text frame or click Edit option from the Inspector window The Text editor window appears Lead low 1 Tout o x Ed Wen kest Format Recent XPathe PRE IDB cut bein ii Bi UA ESSE JN TextFlow 1 ane Ang hoc le Nonstit Date Time Matt Toda Tarore lorhers g Insert from tren ig Core to Ay fro 4 LL 7 7 ae is Columr b We E e 7 Static Text The text w
253. sheet The Square menu consists of two functions e Background color to change the background color of the square or revert to default color Choose the color you need or set it back to white with the function Revert to default e Convert to change the square object to Text or XSL Code 259 Page Inspector Window The functions in the inspector window mainly refer to color rounded rectangle size borders and position of the square Data Format 4 Square 1 v Property Value j Object name Square 1 Locked Background color lt s gt Round corners E 4 Frame properties 4 Bounds Absolute position true 4 Absolute position Left 128 pt Top 72 pt Width 322 pt Height 141 pt Border Border Level 11 Background Color Specifies the background color of a square There are three ways to change the background color of a square e Double click the square e Select the square and select Square gt Background color gt Background color menu from menu bar e Click the Background color value from Inspector window 260 Page The Background color window appears Select the color and click OK Backeround color ES Static color Colors by condition sz na al eMe Ol jo 100 5 100 Red CMYK 0 100 100 0 R 255 Green mc CMYK 100 O 100 0 G0 O Blue Boo CMYK 100 100 0 0 B Black Co Yo CMYK 65 53 51 100 TIPS 2 1 White y o 100 CMYK 0
254. similar to normal table Refer Normal Table section for more details After you set necessary properties and click Finish button a slave table is added to the layout It is placed outside the sheet to the right from the parent table The slave table is created as a template and a Template Call object for it is placed in the parent table in the intersection of the rows and columns being selected or in the first available cell if none is selected or current selection is somewhat inappropriate for adding objects 339 Page The inspector window and context menu of slave table is similar to normal table 340 Page Pivot Table Pivot table is data summarization table which automatically sorts counts and totals the data stored in the one table and creates another table displaying the summarized data Insert Pivot Table To insert pivot table click Insert gt Pivot table or click 9 gt Pivot table icon from the toolbar Click on worksheet and drag the cursor point The Pivot table is inserted By default the pivot table is created with one row and column The rows and column can be added through buttons in the toolbar or menus dio HE TE There are two ways to add data to pivot tables You can drag and drop elements into row column cells or pivot table body or with a double click in a cell you can call an editor and select the cell value in it The object will be added to the cell simultaneously Inspe
255. solute position 4 Paddings Left padding Top padding Right padding Bottom padding Borde Horizontal alignment Span Quantity for non numbers view Iv Ll Select style Absolute position false Paddings Left padding i CI 4 Left padding 0 0 pt Top padding 0 0 pt Right p 0 pt D pt 0 pt 0 pt Border Lett none y Restore default settings Ok Cancel 437 Page Table The Table properties are available in inspector window of Table Refer Inspector Window section in Table element for more details o XSLfast proferences E General options Categorized Alphabeti View options hi Val JAdditional options roperty ue Performance options 4 Table Compatibility options Number of rows 2 XSL output settings Number of columns 2 XSD DTD settings table header csv settings T Able roata tJ Default settings C a Row height 30 0 Page Call template Column width 60 0 Line Background image Chart Background color List mit haai Jii auge br sal ro Pivot table Quit Mator thine Hebel LTable Logical style Select style Citation Pat Index Row properties Pagination 4 Frame properties Square 4 Wourids Absolute position False Paddings Left padding 0 bate Time AI mt ii ity wie i IOl internet link ee image 4 Paddings Left padding 0 0 pt Top padding 0 0 pt Right pa Barcode Lett padding 0 pt MSL
256. ssign to your text element You can also enter color values on the tabs HSB RGB and CMYK Backeround color ES Static color Colors by condition Sl E m Transparent lef 5 Yo ioiii fg Bai o Red B 100 o CMYK 0 100 100 0 R 255 Green CMYK 100 0 100 0 G 255 E3 Blue B 255 CMYK 100 100 0 0 ERN Black Eo as CMYK 65 53 51 100 Mig Yo White Iv 5 le cMYK 0 0 0 0 Kp o S FRFFFFFF Ok Cancel 161 Page Note The values you enter may differ from the color displayed on the sheet The function Make transparent allows you to give the text element a transparent background This is helpful if you want to place the text element in a table which has a background image or a background color or if the work sheet has a background image on it Click OK to apply the color or click Cancel You can set the color back to default using Reset button Expand to right If the text element is in a table use Expand to right option available in the inspector window This option is used to indicate that the content of a text frame in a table cell may exceed what it shows Note This option is available only if you insert text element in a table eM Currently you can only see a small part of the string inside the text frame Using Expand to right XSLfast indicates that there is more text without the need to resize the cell Line height 162 Page
257. st jpg edding jpg EPSON_C82 jpg pD Epson ink bw jpg pD Epson ink c jpg OKI Products 407 jpg pelikan jpa prodi101051 gif prodi01052 gif prod101053 gif prod101054 gif prod101055 gif prodi01056 gif prod101057 gif B Epson_styc1520_r2_c1 jpg D prodi01058 gif P Epson_styc3000_r2_c1 jpg D prod101059 gif ri EpsonC_42Plus jpg holzstempel gif HP5150 gif HP c6487c gif HP c6657an 150 gif HP c8925a gif HP dj450 ipg prod202001 gif D prod202002 gif prod202003 gif prod202004 gif P prod202005 gif prod202006 gif prod202007 gif prod202008 gif prod202009 gif C prod202010 gif Select background image prod202011 gif prod202012 gif prod202013 gif prod202014 gif prod202015 gif prod202016 gif prod202017 gif prod202018 gif prod202019 gif prod202020 gif prod202021 gif prod202022 gif prod202023 gif prod202024 gif prod202025 aif prod202026 if prod202027 aif prod202028 if prod202029 gif prod202030 gif prod202031 gif prod202032 gif prod202033 gif prod202034 gif prod203001 gif prod203002 gif prod203003 gif prod203004 gif prod203005 gif C prod203006 gif prod203007 gif prod203008 gif prod203009 gif C prod204001 gif prod204002 gif prod204003 gif prod204004 gif prod204005 gif B xsl_logo
258. start indent of the list item body in short this property specifies how far the left side of the label is away from the left side of the body Provisional label separation specifies the provisional distance between the end of the list item label and the start of the list item body in short this specifies the separation between the right side of the label and the left edge of the body Keep together Keeps the complete list together in a page Keep with next The list will not be separated from the next list in a page break Keep with previous The list will not be separated from the previous list in a page break Refer Inspector Window section of Text element for more details 210 Page sm ist d Property Object name Locked Grouping 4 Use alternate colors Data Format 4 value List 1 LJ Productaroup Sort xPath Kind Font Background color Text color Label start indent Label end indent Provisional distance bet Provisional label separa Keep together Keep with next Keep with previous 4 Frame properties 4 Bounds 4 Absolute position Left Top Width Height 4 Paddings Left padding Top padding Right padding Bottom pad Orientation Border Horizontal alignment vertical alignment Span 4 SL FO options 4 Generate XSL FO c Custom attribut Custom attribut a Font 30 pt 10 pt 24 pt 16 pt LI LI LJ Absolute position tru
259. t Fi L3 export Template A gt EN Find lt Choose Citation Combine layouts Icon F ede m i k a Function Text Number Text field XSL code Barcode Image Internet Link Date Time Square Pagination Index 49 Page gal Chart f Lie zn Call template Table Pivot Table List Frame Dependent Toolbars The dynamic toolbar changes according to the element which is currently selected on the sheet If no element is currently selected it shows the icons for the working sheet Icon a m i m Function Export Grouping Load grouping structure from XML DTD file Check layout quality Add odd page regions Add even page regions Add Main page Icon DE ms e mA Function Add title page regions Add tail page regions Add first page regions Add last page regions Add rest pages regions Add any page regions Add any page regions odd or even The following tables show the tools which appear in the dynamic toolbar according to the selected element on the sheet 50 Page Text element XSLcode element Bar code element Icon Function Icon Function Arial Font Right 11 v pt Font size E Top B Bold Center I Italics m Bottom U Underlined ia Background color Left L Border Center Paddings The Style function does not apply to XSLcode or Bar code elements The
260. t The first page has a specified region all other pages have other specified regions or no specified region First and last page have the same regions all other pages have different regions or no specified regions First and last page have the same regions all other pages have different regions or no specified regions The last page has a specified region all other pages have other specified regions or no specified regions See above All pages will have these regions including first or last pages All even pages will have these regions All odd pages will have these regions All pages will have these regions You can add a title page which has no special properties and serves as the top page of your document The same goes for the tail page which is the bottom page of your document XSLfast also allows adding several title or tail pages which are displayed in the order they were created They are named as title 1 title 2 tail 1 tail 2 and so on Note Different renderers like FOP XEP or XSLFormatter have different function ranges concerning regions and title tail pages FOP cannot use even or odd regions separately But if odd regions are specified even regions need to be specified as well FOP is also unable to add tail pages to documents and more Refer http xml apache orge fop for more information on FOP s function range Regions in a Page 375 Page Regions are areas on the top bottom left
261. t is very important For the correct evaluation of the condition It is possible to specify more than one condition which can be linked either with an AND or an OR The result of XPath expression Ok Cancel You can apply specific conditions on all possible elements and table rows meaning that those elements can be connected with conditions controlling whether they are displayed or not On the left side there is the familiar XML tree where you select a node if that is necessary for your condition As you create an if condition explicitly for the element you selected on the sheet first you can also formulate conditions which do not involve a certain node from the XML tree On the left side you have your XML tree On the right side there is a window for setting in condition There are basic XSL functions available in four menus in the right top corner of the editor Node Set String Boolean and Number but should have some XPath and XSL skills to use 170 Page them They are active if the cursor is in one if the entry fields and they contain the most commonly used functions which can be used by clicking them Your condition can consist of one or two parts You can use the following operators in the conditions Example Use the Example xml from the tutorial 10 Example Manual Keep the page grouped to Report and open a table with one row and three columns Group the table to ProductGroup Product
262. t the XPaths The selected XPath is displayed in Text Editor field m X Text low 1 Text Ce Wsw iset Forms Recent Paths 2 84U x ks3 GB 149 Page Inserting Other Elements in Text Field The text element also offers more possibilities to insert dynamic elements On the right side of the text editor window there are other element icons Fr Insert from tree l YPath ey Convert to Barcode 3 Citation Properties A Date Time 12 Numeric Field Index Internet link ig Choose Text is a composite element It contains both e Static texts e Dynamic text originating from XML XSD DTD For example First Name Report Order FirstName Last Name Report Order LastName Address Report Order Addressl Report Order Address2 Email Report Order Email 150 Page The example above contains both static arranged towards left and dynamic text placed in flower brackets While placing dynamic text you may need to format the dynamic text as links date number and so on These dynamic elements are used to place dynamic text with different formats The available dynamic elements in text editor window are e Barcode e Date Time e Index e Choose e Citation e Numeric Field e Internet Link Conversion of Text Element You can convert the text element into other elements like barcode numeric field and so on To convert click gt Conv
263. te Time JInternet link Image MSL Text Numeric field Text Categorized Alphabetic Background color Width Height Generation type Barcode kind Barcode height Mocduh ror 4 frame properties 4 Wounds XSLfast preferences Property Absolute position 4 Paddings L eft pai dani J T op pot feline J Right padding Bottom pecddinmgy Border Horizontal alignment Speen 113 8 pt 28 5 pt XML Based text SVG graphice valua EAN 13 18 pt 1 pt Font ti Absolute position true Paddings Left padding 0 Iv Left padding 0 0 pt Top padding 30 0 pt Right p D pt 30 pt 0 pt 30 pt Border Lett none 4 4 Restore default settings Ok Cancel 446 Page XSL Text The XSL Text properties are available in inspector window of XSL code Refer Inspector Window section in XSL Code element for more details XSLfast preferences ES p vela options Categorized alphabetic View options Additional options Property Value Performance options rom Ponts Compatibility options Width 227 6 pt XSL output settings Height 17 1 pt 4SD DTD settings Text colo a CSV settings C 3petfault settings Background i olor Page Line height 14 5 pt Cal template a Frame propertis Line a Bound Absolute position true Paddings Left padding O JChart Abecl ihe poesi 1 m List 4 Paddings Left padding
264. te and time By default the Date input format is YYYY MM DD with the separator 99 The default Time input format is hh mm with the separator Choose the Date separator Time separator and Date order for the input data offered in combo boxes 252 Page Input format Date separator v Timeseparator v Date time separator T v Date order YYYY MM DD v Predefined output formats Defines the format in which the output data has to be formatted and displayed in the output files The Predefined output format consists of e Date Separator e Time Separator e Radio buttons to enable fields o Date o Time o Date and Time 253 Page Use predefined output Format Predefined output formats Date Date separator v Timeseparator v Time MMMM HH mm a MMMM dd vyvy HH mm ss Date and time dd MMMM yyyy HH mm ssT 2 dd MMM yyyy HH mmT z dd MM hh mm dd MM yvyyy hh mm a yyyy MMMM hh mm ss yyyy MMMM hh mm ss a After defining the output format you can see the example with Input and Output data in the format and with the separators you have chosen above Input 2002 02 22T22 22 Output 22 February 2002 22 22 Use custom output format Use this option to customize your output format If the predefined options do not contain the format you require Data The Data tab allows you to enter the input string data in the editor field You can enter a static data
265. te color check box Double click on Color1 and Color2 Select the alternate colors from Text color window and click OK Alternate colors properties DS Colors Up Add I Change Delete Ok Cancel 208 Page 4 Use alternate colors e Sort attribute The Sort attribute option sorts the list content as per sort order data type and case order To sort a list 1 Enter the sort expression 2 Select Sort order Data type and Case order E Sort attribute 1 Sort expression Name Sort expression Name Sort order Descending Data type Text Case order Upper first 3 Process the layout to view the result Productgroup 4 Productaroup 3 Productgroup 2 Productgroup 1 e xPath The xPath is used to define or select nodes e Kind This option is used to select the kind of list The function Kind offers a selection of enumeration and bullet types for the list 209 Page Not all fonts support all bullet types from this selection Label start indent Set the gap between the list number and the list item with the function Label start indent This property may also have a negative value which implies an out dent Label end indent Specifies the distance from the end edge of the text to the end edge of the frame Provisional distance between starts Specifies the provisional distance between the start indent of the list item label the bullet or the number and the
266. teTime 77 Evaluate Math Today Templates Result type NODESET Count 1 E Product Name Product B L Description Description of product B Img prod101052 gi Lt Auto XPath completion Relative nested grouping Conditional region XSL IF instead of XSL FOR EACH Remove grouping Ok Close Auto XPath Completion The check box Auto XPath Completion completes the path to the selected node from the page level if checked If you uncheck this function the table will not show the complete path from the page level on but just the node it was grouped to For example group the table to Product node Check Auto XPath completion The table grouping shows the entire path as Productegroup Product Now uncheck Auto XPath completion The table grouping shows only the selected node as Product Check Auto XPath Completion Uncheck Auto XPath Completion 298 Page Relative Nested Grouping The function Relative nested grouping allows you to have different groupings for rows in tables in an easy way For example display all product groups in a simple table with the list of products contained in them Use the XML file Demo xml Create a simple table grouped to the node ProductGroup Drag the node ProductGroup Name into the first cell and node ProductGroup Product Name into the second cell Productaroup Name ProductName Processing the layout now would produce the following
267. tensions xmlns fo http www w3 org 1999 XSL Format version 1 1 xmlns date http exslt org dates and times xmlns saxon http icl com saxon extension element prefixes saxon xmins xsl http www w3 org 1999 XSL Transform gt Java namespaces are included in the layout xsl stylesheet xmlns fox http xml apache org fop extensions xmlns Integer java lang Object Integer xmlns Calendar java util Calendar xmlns fo http www w3 org 1999 XSL Format version 1 1 xmlns saxon http icl com saxon extension element prefixes saxon xmlns xsl http www w3 org 1999 XSL Transform xmlns Math java lang Matnh xmlns Double java lang Object Double xmlns Date java util Date xmlns String java lang String xmlns date http exslt org dates and times xmlns Locale java util Locale xmlns Integer xmlns Calendar xmlns Math xmlns Double xmlns Date xmlns String xmlns Locale these are namespaces which can be used in layout Example 2 This example will show how to print current date and time using Java namespaces 422 Page Java Namespaces are included in the layout Click Layout gt Layout settings gt Additional templates and press the Edit button opposite to Internal variables title The Edit internal variables window appears Enter lt xsl variable name rightNow select Date new gt This phrase means that you declare a variable named rightNow and call the function new from
268. ter left right check box 3 Select odd or even page from Odd or even drop down or to select other regions select options from Page position drop down Group name Page position Odd or ever shoes Odd Use body cTw Use header Footer left right Finally click Generate button to generate a pdf file Here all the layouts are combined to produce an output file 111 Page Process Multilayout vs Combine Layouts The major difference between Process Multilayout and Combine layout is e Process Multilayout produces an output file without creating a new layout e Combine layouts creates a new layout using multiple layouts and then produces output Layout Quality The option Check layout quality offers you an overview over all general information on the layout 112 Page Check layout quality ES Layout statistics General information Layout file C XDocuments and Settings nasgor Desktop TEMP Tutorial 03_Table Table xsf XML file C XDocuments and Settings nasgor Desktop TEMP Tutorial 03 TableXEXIvILXexample xml XSL file CADocuments and Settings nasgor Desktop TEMP Tutorial 03 Table XSL FO Table xsl External templates file Not specified Internal templates Not specified Output file C Documents and Settings nasgor Desktop TEMP Tutorial 03_Table Table pdf Static image paths EAtestixslfast dist input Tutorial img box_xslfast jpg EAtestixslfastidist input Tut
269. the Java class Date Edit internal variables 54 Edit E I 3c i IAQ ce Productgrou ainai cxal variable name riqhtNHow aalects Date new gt Fo se E Column 52 line 1 Sh Cancel Insert an XSL Code element on the worksheet open the text editor by double clicking the element and enter the call for the variable lt xsl value of select SrightNow gt to generate its value which was declared in the Internal variables field 423 Page Text 1 New Text a gZ tk Recent ahs M W XDE 4 Report lt xsl value of select rightNow gt Node Set gt Productgroup String Boolean Number Date Time Math Today Templates XSLT XSL FO t x da A ai Column 35 line 1 Ok Cancel Process the layout The result of the specifications described above will be Thu Apr 13 11 14 42 EEST 2006 e Prefer CMYK color space if possible The checkbox Prefer CYMK color space if possible has the effect that you will be offered to enter CMYK color values in the process of creating the layout which supports the printing process of the file Note The CMYK colors values that you enter in the fields may differ from the displayed colors e Use selected unit of measures in XSL output XSLfast offers you to use four different units of measures in the layout These measures can be points pt millimeters 424 Page mm centimeters cm and inches in By default al
270. the mouse If the frame is placed absolute you can re size the frame either by pulling it into the desired size with the mouse or by entering values into the fields Width and Height 163 Page Note The absolute placement is available only if you have fo block fo container options turned ON Paddings Padding left Padding right Padding top and Padding bottom controls the distance between content and frame Enter the desired values Border Specifies the color width and style of the text frame border You can set three different styles of border like Dashed Dotted and Solid Set different width and color of all the borders in the frame All these are achieved using Left Right Top and Bottom borders To set the border of a text frame Select the text frame and click Border function The Borders window appears Check the required checkbox and click Ok Borders Es pt Border color Border style Solid v Left border Left border width 1 0 pt Border color am Border style Sold 0 pt Border color Border style Solid v 0 pt Border color D Border style Solid w Bottom border Bottom border width 1 0 pt Border calor Border style Solid ad Borders Border Border width t Right border Right border width 1 Top border Top border width 1 Ok Cancel If you uncheck the Border checkbox all other checkboxes are enabled This way you can change all the borders of a text fram
271. the nodes of XML For example the page is connected to Report ProductGroup node the table is connected to Product node and so on 75 Page Create Layout To create a layout follow the steps below 1 Open XSLfast tool The Open window appears Open ES MI 1 Create Open layout 2 Attach XML DTD data file 3 Modify layout 4 Render layout H Open existing layout Create new layout Open recently used layout Open from template E C Documents and Settings JFootnotes xsf Business report C Documents and Settings nasgor Table xsf n Text document P C Documents and Settings nasgor Text xsF F Assessment E C Documents and Settings nasgor 1 xsf 3 Order E D XSLFast xslfast table background image xsf Brochure with columns l C table background image xsf Brochure C BDocuments and Settings JPivor Table xsf E Master Slave B C Documents and Settings nasgor list xsf E Chart E Jlib Templates Layouts Business report xsf Business card Show this dialog at startup Cancel 2 Click Empty layout option A New layout and an Open window to load XML file appears 76 Page Note You can also open a new layout in any of the following ways 3 Select File 2 New menu 4 Click F gt New icon from toolbar 5 Press Ctrl N Open zs T v 1 Create Open layout 2 Attach XML DTD data file 3 Modify layout 4 Render layout
272. tion 4 Paddings Left padding Top padding Right padding Bottom pad Orientation Border Collapse border Horizontal alignment Vertical alignment Level Span 4 XSL FO options 4 Generate XSL FO c Custom attribut Custom attribut 4 Generate XSL FO bl Keep together Custom attribut Fuska attribtit PivotTable 1 Property Value Object name PivotTable 1 Locked L 4 Pivot table Default cell border Border Title column width 80 0 Title row hight 30 0 Quantity for non n v E Select style E 30 pt LY Absolute position fals Left padding 0 0 pt D pt D pt D pt D pt 0 o Border let T Tp v 11 fone v v auto v 345 Page Context Menu The Context menu options of Pivot table are available in Context menus of Text and Table element except the Switch axes option Refer Context Menu section of Text and Context Menu section of Table element for more details e Switch axes Option to change row to column and viceversa The content of rows and columns also switch along with rows and columns imc oat f Undo postion sze changes 72 248 522 80 Ciz Cu cX je Copy CH C Background color Switch axes Convert to Generate template Locked Note Refer Pivot_Table xsf under 43_Pivot_Table in Tutorial folder to work on Pivot Table 346 Page Choose Choose element is used to select a single val
273. u can easy convert HTML documents to XSF ones Please choose input HTML file MM ls Please choose output XSF file Convert Close 2 Choose the HTML file that needs to be converted Click button to select HTML file 3 Choose an XSF file Click button to select XSF file 4 Click Convert button Once the conversion is complete an Info window appears 465 Page The converted XSF files are now available in the path specified in Please choose output XSF file field 466 Page Merge XML Files The Merge XML files option is used to merge multiple XML files and create a single XML file To merge XML files follow the steps below 1 Click Tools Merge XML files The Merge two or more XML files into one window appears Merge two or more XML files into one eS AML merge parameters Please specify the list of XML files to be merged and the path to the destination File Add Edit Delete Specify output path C QJoutput result xml 1 xx Use this XML as a template source Merge Close 2 Click Add button to add XML files 3 Specify the path where the merged XML file has to be stored in Specify output path field 4 Click Merge button The Merging of XML files starts and it displays the progress If XSLfast cannot merge XML file it displays error 467 Page 44 1 of 2 file s were not processed The following files were not processed 1
274. u can use it as a static frame or fill it with dynamic data from the XML source Insert Internet Link To insert an Internet link element on worksheet select Insert Internet link menu click 9 gt Internet link icon form the toolbar or press Ctrl Shift L Click on worksheet and drag the cursor point The Internet link element is inserted 243 Page si ast com g Edit Internet Link To edit the Internet link frame double click the frame or click Text option in inspector window The Internet link editor appears The editor window differs depending on the type of link selected Editor for Static Link Enter a static link as shown below Here the XML tree is not available The toolbar contains the formatting tools 244 Page Chases dectirution type web ic Creer or chooses ir tetp bee ast com Editor for Dynamic Link Select the XML node which contains the URL 245 Page InternetLink 1 Internet link a 3X Edit Recent XPaths A XE Node Set gt Productgroup String Boolean Number Date Time Math Today Templates LS ds E 3 ai Choose destination type Web link x Enter or choose link http Luk cancel The Choose destination type drop down allows to select two destination types Choose destination type Document link Web link Document link Document link Link within the document The link works only within a document Document link help
275. uated XSLfast offers the possibility to use certain HTML tags in XML files without the need to transform them These are Tag Meaning lt b gt Bold lt i gt Italics lt u gt Underlined S Size please do not forget to add the value and the unit of measure sup Superscript sub Subscript UP Superscript DN Subscript Note XSLfast only evaluates these defined HTML tags if the attribute for the concerned frame was set to Use apply This makes sense when you are aware which nodes of the XML file contain HTML tags If you do not know the exact nodes where HTML or CDATA blocks e g CDATA b 100 b are in the XML file it makes sense to convert them all plain HTML tags or CDATA blocks into formatting information which the Renderer can interpret 460 Page To convert HTML tags in XML file follow the steps below 1 Click Tools Transformation the Convert HTML tags in XML file window appears X Convert HTML tags in XML file Escape HTML tags in source XML data It is not possible to use HTML tags inside XML because XSL FO renderers can not evaluate them Nevertheless a conversion can be done manually here The converted file can then be used as the XML source For the layout CDATA processing options Convert HTML tags also inside CDATA Blocks into XSL FO Convert HTML tags but leave CDATA Block contents unchanged Specify source XML File finput Tutorial 03_Table XMLfe
276. ucture of the csv file and design the layout as per the structure The loaded structure is displayed in XML window To load a CSV file follow the steps below 1 Select File gt Load structure from csv file menu The Open window appears 91 Page Open os LookIn 3 input X i A e ESE File Name Files of Type Comma Separated csv v CSV encoding UTF 8 CSV delimiter v Do not bind layout to top node Open Cancel 2 Select a csv file 3 Select Comma Separated csv file type from Files of type drop down 4 Select CSV encoding from the drop down 5 Select CSV delimiter from the drop down 6 Click Open button Note The functioning of load csv is similar to loading xml 92 Page Grouping Layout To create a document where the contents of an XML file are supposed to be displayed you need to connect the nodes of the XML file with elements on your sheet used as placeholders This action is called Grouping Grouping the page or elements to certain nodes of the XML establishes a connection to specify the path to the elements or page As the application reads the XML file always from the top this must be considered in the path to the correct node If the grouping is not correct or if there is no grouping at all the contents will not be displayed later or wrong contents will be displayed An example By default the page is automatically grouped to the top node
277. ue out of the XML node set based on the specified condition Insert Choose To insert Choose element on worksheet click Insert gt Choose menu or click gt Choose icon form the toolbar Click on worksheet and drag the cursor point The Choose element is inserted E Fol 3 Edit Choose Element The Choose editor allows you to select an XML value based on the condition set To edit choose element double click the element or click Edit option in inspector window The editor window appears 347 Page Choose 1 Choose a X Value Expression Font Color Background Recent xPaths 4 Productgroup i Productgroup Name ria 12 EN O Node Set Name Productgrou fing Ana J String p i Productgroup Product Arial 12 NEN Boolean MsetedEIS Number Date Time Math Today Templates add Delete LI p Down Ok Cancel This window allows you to set conditions to the XML values Type Defines the type of the value printed The Type field consists of following options e Dynamic e Static e Template call Value Specifies the value to be displayed in the output file Expression Sets the condition for the values The values are displayed depending on the condition Font Color and Background Specify the value font color and background color respectively Add Adds new value 348 Page Expression Product DescShort DescShort flat scre Product
278. uires XSLfast requires Sun JRE JDK 1 6 x Sun JRE 1 6 x is recommended May use IBM JDK rather Sun JDK Yes but only at your own risk XSLfast is only tested with Sun JDK Can XSLfast be used for several users at the same host Yes Note Every user will need its own license 511 Page Q Is XSLfast available remotely via X11 A Yes Q XSLfast works with only a few fonts How should solve this A Install more fonts both for screen and for printer Q I ve installed windows TTF files XSLfast cannot insert it into PDF A Dont forget to install these fonts for Ghostscript not for X11 only Q XSLfast told me it couldn t connect to the display A XSLfast is a graphical program so it works only with X11 Q I ve got the message access denied while connecting to the remote display A Configure your permissions for display using xpath Note Except for the points listed below the Linux version of XSLfast shows the same behavior _ as the Windows or Java version The first point concerning XSLfast differences is related to fonts Linux operates with the following types of fonts directly Raster fonts TTF OpenType fonts Typel fonts Windows has no direct support for Type1 fonts you need a 3rd party solution for that so XSLfast under Windows works with TTF OpenType fonts only Under Linux the Type1 fonts are most preferable so XSLfast provides limited support of Type1 fonts as well as TTF fonts 5
279. ut Ctil X ri Copy Ct C Paste Ctr Groupings gt Insert page i Delete page Portrait Landscape Background color Background image Preferences The menu Preferences contains settings for the layout and the application To open XSLfast preferences window click Tools gt Preferences or press Alt O The XSLfast preferences window appears The XSLfast preferences window consists of the following options e General options e External tools e View options e Performance options e Compatibility options e XSL output settings e XSD DTD settings e CSV settings e Default settings 392 Page The functionality of these options is explained in the following sections X5Lfast preferences ES General options General options view options v Show startup wizard Additional options V Disable layouts without XML Performance options Compatibility options Track all changes as separate versions of layout MSL output settings X5D DTD settings CSV settings Initial layout root directory iJ Def ault settings External tools Source Files base path Def ault image base path T Default xsl base path Path mode Path mode Relative paths bd Lipdates Check for updates Graphic library Here you can eet the graphic library used to paint figures in editor You should restart X5SLFast For these changes to take effect Select active graphic library G
280. v ivi LJ preserve 1 v preserve v L LJ LI 274 Page Citation The Inspector window of Citation is shown below The Citation element has the properties similar to text element except the following e Node Click this option to open Citation Editor window e Name Assign a name to the Citation Refer Inspector Window section of Text element for more details 275 Page Gua Forms 8 Citation 1 Property Value Object name Citation_1 oa Locked C Name Text color 1 Backaround color 4 Frame properties 4 Bounds Absolute position tru 4 Absolute position Left 269 pt Top 377 pt Width 227 6 pt Height 17 1 pt 4 Paddings Left padding 0 0 pt Left padding Opt Top padding Opt Right padding Opt Bottom pad Opt Orientation 0 v Border Border Horizontal alignment Left v Vertical alignment Top v Level 11 4 XSL FO options 4 Generate XSL FO c Custom attribut Custom attribut 4 Generate XSL FO bl Keep together auto Custom attribut Custom attribut Link Id Wrap text Collapse spaces Linefeed treatment preserve Whitespace treatm preserve v Normalize spaces in Disable output esca Generate template C IF 2 6 Page Context Menu The Context menu of Index and Citation are similar Its options are already explained in Context menu section of Tex element
281. ve in drop down 3 Enter the file name in File name field 4 Select Layout files xsf file type from Files of type drop down 5 Click Save button to save the layout else click Cancel button a4 Page Save The Save option is used to save an existing layout if you modify the layout To save an existing layout select File gt Save menu or press Ctrl S Save All The Save All option saves all the open files It works similar to Save as if you need to save new layouts and works similar to Save if you need to save existing layouts To save all layouts select File Save all menu or click rJ Save all icon from toolbar Close Layout The Close option closes the active layout or all the open layouts Following are the close options available in XSLfast e Close e Close all Close The Close option closes the active layout To close a layout select File gt Close menu click sg Close icon from toolbar click x gt Close button press Ctrl F4 Close All The Close all option closes all the open layouts To close all the open layouts select File gt Close all menu 85 Page Load Structure XSLfast offers you to load the structure of two types of files e xml file e csv file Load XML DTD The Load structure from XML DTD file option loads the structure of XML file into XSLfast This helps to view the structure of the XML file and design the layout as per the structure The loaded st
282. w to appear This view is rather recommended for more experienced users Refer Inspector Window section of Table element for more details Categorized Alphabetic Property Object name El Grouping Use advanced sort wizard This option displays the Sort properties window It allows opening Sort properties window and multiple Sort expressions for a table Refer Inspector Window section of Table element for more details 416 Page Sort properties bX 4 4 Report Attribute name Sort order Data type Case order Recent Paths 4 Produckgroup Node Set Name String Img Boolean Product Number Date Time Math Today Tengplates Add Delete Ok Cancel If you uncheck this option you can only enter the sort expressions manually E Sort attribute 1 Sort expression Sort expression 1 e Use advanced alternate colors wizard This option displays the Alternate colors properties window It allows opening Alternate colors properties window and adding multiple alternate colors to a table Refer Inspector Window section of Table element for more details 417 Page Alternate colors properties 2s Colors up Down Add Change Delete Ok Cancel If you uncheck this option you can select only two alternate colors manually 4 Use alternate colors Alternate colors e Apply grouping to selected rows only This option applies grouping only to the selected rows 418 Pa
283. xample xml Specify destination XML File Jinput Tutorial 3 Table 4ML exampleHTML xml 1 Use this XML File as XML source For the layout Transform Cancel 2 Select the source XML file you need to convert 3 Select the destination XML file to store the transformed tags 4 Click Transform button Convert HTML tags inside CDATA blocks to XSL FO will start the transformation A simple example In your XML file there is a CDATA block SProqductoroupe ProductGroupID CDATA b 100 b ProductGroupID lt Name gt Chairs lt Name gt The Renderer cannot read and interpret this information After the transformation it looks like this ProductGroupo 461 Page ProductGrouplD amp lt rior inline ront weight bold amp gt 100 amp 1t fo inline amp gt ProductGroupID lt Name gt Chairs lt Name gt This way the Renderer is able to interpret this information correctly Leave CDATA content unchanged has the effect that HTML tags which are outside CDATA blocks are transformed but the CDATA blocks remain untouched If you do not specify a destination file name and a directory XSLfast will add the string HTML to the end of the original file name and save it in the directory input For your convenience the transformed file is automatically set as data source if you check the check box Use this XML file as XML source for the layout 462 Page Convert XSL
284. yles and remove styles Select Styles from Edit menu The Logical styles editor window appears 41 Page Logical styles editor EX Styles Header Se Edit Footer Heading 1 Heading 2 Heading 3 Heading 4 Normal Strong Emphasis Title Normal Summary Table Normal New Te Strong Cell New Tat Emphasis Cell Normal New Table row LN New Text New Table e Table Meader Row Va PIER ir ii Table Footer Row Preview New Table cell Selected style Remove Lah censet There are four different types of style available in XSLfast e Text e Table e Table row e Table cell XSLfast offers predefined styles that can be modified according to your needs You can save the modifications with a new name as well as overwrite existing styles Logical styles editor window lists the existing styles under Styles area Scroll to find the style you want to edit or to remove To create style click any of these buttons 42 Page 1 New Text to create text style Refer Create Text Style section for more details 2 New Table to create table style Refer Create Table Style section for more details 3 New Table row to create table row style Refer Create Table Row Style section for more details 4 New Table cell to create table cell style Refer Create Table Cell Style section for more details To edit a style select the style from the list and then cl
285. zontal alignment Left Vertical alignment Top v Level m Span none 4 5L FO options 4 Generate XSL FO c Custom attribut Custom attribut 4 Generate XSL FO bl Keep together Custom attribut Custom attribut Link Id Generate template IF O I 315 Page Object name and Locked These options are also available in Text element Refer Inspector Window section of Text element for details Default cell border Creates borders around each table cell Click Border to set the border width and the color Note Due to renderer limitations the Default cell border applies only to table cells which are filled after the function was activated All previously filled cells will not display a cell border So if you want to have a default border around all table cells you need to set this property before you start filling the cells Grouping Usually a table is grouped to a node from the XML tree The grouping is displayed in the field Grouping and can also be modified there If you click Grouping option in inspector window the Grouping Properties window appears You can manually enter the nodes in this option only if you check Use simple filter dialog in inspector option Click Tools gt Preferences gt Compatibility options gt Advanced and check Use simple filter dialog in inspector option This selection allows you only to enter the nodes manually To select the nodes from Grouping Properties
Download Pdf Manuals
Related Search
Related Contents
IO BOARD PNP DRIVER MANUAL Observance des traitements dans les maladies chroniques INSTRUCTION MANUAL Pyle PLMP4C4 FM transmitter FERSYSTEM 51 - 101 FERSYSTEM 51i SAS (R) 9.1 Companion for OpenVMS Alpha User Guide: Calendar – Schedule a Meeting (With Airlink101 AR325W Network Router User Manual Arzum AR444 vacuum cleaner La newsletter Cultures de février () - Toulouse cultures Copyright © All rights reserved.
Failed to retrieve file