From 23c6728eac74bba6a0cec1ba9a2654b9507d7066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Tue, 1 Nov 2011 05:38:58 +0000 Subject: [PATCH] new example file spreadsheet.lyx to show how the spreadsheet support works and to test various spreadsheet formats git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40121 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/scons/scons_manifest.py | 5 + lib/Makefile.am | 5 + lib/examples/longsheet.gnumeric | Bin 0 -> 4405 bytes lib/examples/sheet.gnumeric | Bin 0 -> 2365 bytes lib/examples/sheet.ods | Bin 0 -> 5586 bytes lib/examples/sheet.xls | Bin 0 -> 11776 bytes lib/examples/spreadsheet.lyx | 262 ++++++++++++++++++++++++++++ 7 files changed, 272 insertions(+) create mode 100644 lib/examples/longsheet.gnumeric create mode 100644 lib/examples/sheet.gnumeric create mode 100644 lib/examples/sheet.ods create mode 100644 lib/examples/sheet.xls create mode 100644 lib/examples/spreadsheet.lyx diff --git a/development/scons/scons_manifest.py b/development/scons/scons_manifest.py index af9e32298e..6a56fdefb4 100644 --- a/development/scons/scons_manifest.py +++ b/development/scons/scons_manifest.py @@ -2831,6 +2831,7 @@ lib_examples_files = Split(''' listerrors.lyx Literate.lyx localization_test.lyx + longsheet.gnumeric modernCV.lyx multicol.lyx noweb2lyx.lyx @@ -2841,8 +2842,12 @@ lib_examples_files = Split(''' serial_letter1.lyx serial_letter2.lyx serial_letter3.lyx + sheet.gnumeric + sheet.ods + sheet.xls simplecv.lyx splash.lyx + spreadsheet.lyx sweave.lyx tufte-book.lyx tufte-handout.lyx diff --git a/lib/Makefile.am b/lib/Makefile.am index 34bb52f292..30bb57f7ba 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -262,6 +262,7 @@ dist_examples_DATA = \ examples/linguistics.lyx \ examples/listerrors.lyx \ examples/localization_test.lyx \ + examples/longsheet.gnumeric \ examples/modernCV.lyx \ examples/multicol.lyx \ examples/noweb2lyx.lyx \ @@ -272,8 +273,12 @@ dist_examples_DATA = \ examples/serial_letter1.lyx \ examples/serial_letter2.lyx \ examples/serial_letter3.lyx \ + examples/sheet.gnumeric \ + examples/sheet.ods \ + examples/sheet.xls \ examples/simplecv.lyx \ examples/splash.lyx \ + examples/spreadsheet.lyx \ examples/sweave.lyx \ examples/tufte-book.lyx \ examples/tufte-handout.lyx \ diff --git a/lib/examples/longsheet.gnumeric b/lib/examples/longsheet.gnumeric new file mode 100644 index 0000000000000000000000000000000000000000..312c781fe74597b7a939bf25d6dd82f4baf61e76 GIT binary patch literal 4405 zcmYLLcQhN^|5l}1ySCb+suZnNt)Q=6f)Xn#)QU}Guc}dM?@gmsqh^s>O>K!Pv4ez| zr4+R{@ypxqd(Q8#dq3m(+R=`0Hdt{-5>9u5MbodroUI5ofJCE1tmopV-EF z3S!Np2;b|jC^}B*1Z5X7I>97%fH0G^xXrVJhsa{lxY1$62Ps3Qh9}~Z{#i0e#NL36 z$PxB41LE1)_eJ6P5u3`rdcvr=>`Ex39{uyJ=sQvc6Q3{mtn`Y&TmHOrgqNXZ;o2Gd z@7HSO^u_|W=I4n-;#UL>#Hp~oUUh+BGu(rg?3&8 z+(7V6^{2lz?5-I-9oDs9dc+r8K2G;4<7`)8=lKPntX{>5vWzCzz)1kLNW&MJEfqkt z^^0i@#=b&7T}AMl549Y!QT>ssL{Yt^d1z|Ax~vHoqVb#Ds{%yZ$?x~akT%XhnF;Gb z+*ugmD5x)EF1ZvyPwf9VPNUVQuwoOigu*cz6#;s*q%3QR+rJ6?>nRXN3m!Ma^%fJ# zcJ0U=v-eItAdx)Ha{u%Vc#<+-V0=b0Iz*l!_vJ6b*aL0NJ&saXfpohmGX3M8Yg$mI zNXt8`o$2Wp11~huwNW4UQ3)khyu$U*-&SjIA2erE#E$c?l`QcVBAo7yiXZ*yi^-(Q zy&vjp=_;G_&YPcPMO~fspNCT_GFG3P#(G-;w0(v$ ztkBAP{74VymIoyY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gOz%o~*SH&sIwH|dCKG~J0E|tQ5NO}KW3yLXbiA+!T+a~lj<#X1eoiuXNAUP=!5(|m!OxpLW z&9zr2SeT4)4(tZcv^VPG|D^_J0yO-pU?pDL@4;iAK2Rfo6w1kNi1AqxjFnxea{a-y~?tp$XjAUKuk^pEPdlw>EBa zX7W=-g2$U>2UmVqfDu;`$to_? z2>Y$gM^R7%72~2P%1Tq-|B&PX{3B4OOEp9yXw(pBIFn~aT-z9RKcxz4iZ-r{0ac?P zOfy3RL*TYm3Y?pj?= ztFhs3uUec!(J^Y(ME#h%NG}Ex38>lNjGO5W@&li)CY;{{G7c;^G>O|>vimG-Fmj3 zezzre%N&2`vhGDMTF}Zcv}(aD=E=Pn9`!iSBN*N*R{2o=Cuu+W`T9;lg&vNDQj;~alB_u11AcuD4!i{;A<=i-#fUG?J;BhIdsd)LT-0&~vJm2=V&?qvP{v-3qPb*5}eSR3*)zIGZ>mc)qZo5@|h zhJwi~D8-?Gp5C#XA&%MJWF>R8eLt~AO^i^8a$LaUJQ{XXaNqRDsdy2&JbNmmvyVR1 zA}bU{UfRC1f6aV^f|K-Ngbyy**AXHTzhV(>OQssWMdNdV%g4Mvu?z4ychv2-JBYTp zldEQ;A=OFw1xVao#k_}xwNUAgF)%6bdI{z=RBZ;iB|8o_`}w%Fz?MYk4~fF_A=tLq z^sq@pwfOnQjE+U)K{2?~-|P;i@h%m{_RqN0qcL<#)1+MQfa&d@G7Zg=s|ljH^S%cW?Dt7V(?}OJPSN<{=q+;A?1MhuGjxz!Q8>? PV?O-XLd)$kGP3^z*P7Jj literal 0 HcmV?d00001 diff --git a/lib/examples/sheet.gnumeric b/lib/examples/sheet.gnumeric new file mode 100644 index 0000000000000000000000000000000000000000..46c23960d0d553a1ae42e9c80056dd538ae38a6d GIT binary patch literal 2365 zcmV-D3BvXtiwFSAcdt$W1MM9BPvgq*_xmecKk2Eh1o1}_f*;9KIKmMLC`tm?UR6bo zy(C*~Z@S*_@&5YG?%Iw&A*rqq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F6d zTaDlNW3wHs&1SS}yX~~yL=_wxu5GR@$LrzRcDrUfy&_UJ*M`$-qwTWM^tI9SRC;^K zXr0$HT1V@=W4oobcbu!lQu7nIX9ygjh0Jamr3Ac`+K?jUB}EDTUw&nj`jzqN{Yrmb zzdDxp(GTTXW~pnLpD@qpZx*jUqF*&j{p#Qo`qkUz!Cm)}PN|P{KDUp&a!%X2R{Ds+ z>ag^(RlkhA9trWaTK%EQC_?WH9uYssBc0) z)32JPepTOucDlCclp3wRn(Ss_vCBE8Sy8e!>yq^yl&lef_$0+HJC;%ESap@V%T?}s z@h!8|x9Y-p*Bxt%!uY+oVzbm0>stCXU2*4~q*Ll7b?v^>71l?|oUMuvaUIluSJ>gZ zf2YD~=?_iTA9vk7yS1AYhU3PnKkoY0wo6T98;E$9o^pb2?Ul#I_z!f&J7b#Z6dj}S z4g}?rL?E3(@AIq_ncr{j*MVq7d0BmM5N_~ zOsLXlEb{^@9UN0BP0I_kUO#JiM6baXmY_z;UbdFq^Q}a<%%=L~h|C5&K%U!AWW^M?(8-3weoBoJi+G?E<$}1#lWNm=hbx(R$WO)>_TvQm zQl;@%7Vxyezpdbs1ea(obbo?FN4B{4SB!|3*O=X$+Wv?SqSaGf`w<`+f0B-S8yL=~-t+t+d;gBoKN?!nInHK;X z-T$lHNlUjSZ*lw2iCNc}yIf2pQFZ14ds{q j^5OOH#Adc4cZ}SLJ&PDf?D)%wdtd$wMUlIalUx7*1=f;; literal 0 HcmV?d00001 diff --git a/lib/examples/sheet.ods b/lib/examples/sheet.ods new file mode 100644 index 0000000000000000000000000000000000000000..7691d7f680da1cfd39384c30d0e1a02195f9d197 GIT binary patch literal 5586 zcmaJ_1yCGom&JVo1PBBT5JGT=0Kwe{_n?Chg9Ql#1os4opurO)xP%Gr?l!n35ZrZO zA-iw?x3B8$>AGECSAFMJ_o>^b?stJosA$AU4;W@O6AN|_j9|ZCKLpl&fNjAbH!mlU znUj-)t%aGJEyR(--O-XAV&-b=$_{Y?Ia)$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U#2QDS`usus-%h}p4PzPr0^Ik|R?SVbcWj*@M9E6jvse1_Z{eRK7? zn#M(pS0#%zgfQ%M|5*{Ct#NcZlU|Z5F!)e!$|!2$nPI z2UuPNf+JFh($ literal 0 HcmV?d00001 diff --git a/lib/examples/sheet.xls b/lib/examples/sheet.xls new file mode 100644 index 0000000000000000000000000000000000000000..7a9b00f776ef749771741536dd35c40546c04399 GIT binary patch literal 11776 zcmeHNZERFo8Gi4bJJTuUV+t%SAC^m7`bA;;0s8?$r87^u_h`BW|B>I_n*3(b&ZMs+2D|vAhD>~xH0-iAnRYVnl;%qY_HGrp1E`H+)hi2 ztSd{;^nAVNJ@5P8bKZ0AInV7MeqVd@<)5v&C6Ta8Vlw4bOCm(KP+sBJQzFYzCT+^| zJdz(lL~$WJKqF9{#6%|Ia<=tG)%6^Tw#Y59<#p#OQjyz;hvkeoB4@J`Bkuny45$r5 zmJJUpz{z%636yMjL{V8}w-q3WX`liSq_dM481gP}WgLYc^zN=}Y zrc04p@=NXW7o~K|O8E`=lkz>fHi9GjheoqLy|yCVo`K&2{SBHGkz-3#PJ^>b;-E@% zQ)g3C*I@gOHdAVEaMofKt_rmr+Lt+YBxqhIRZ{0SZ|Ms4MFrhAz=(C_?O_Rq=~3yx zPX^nXJ6zuat+Z*aeTP;WH#fqv!M5}u zlA^x8K-E^+B#(wv`8|DY#g3{l=ywxy$?z}F)!ZZnmvm09(%C~q7+==QXy;0c4~9kp@~C@x z^o3k+GB3Tup7c&mf(~xRJmN6K59j6b<;wyF>CJ=Ci$BD?M$mfma_!nRxgd+>j!v8- z{o^OQS#MqfTSV(UtiQUnRPTKrbPK=NEC=sI%c;}1S3Ox{s9yb{^O zA+@wc66@-M4z>yiI`jk`N=;=QV$iFhsG&FLP-;SlJMs-#1U^Q*r4D4W6K?j*cxLEW z_CzK#;T|12bt-eLT12Z`o;#IwMD|Q%PQ$bIj*lG8z}O~~4~$I=or15 zg>8iI)1S_x<*Kt1vLL+Wvn`)$Idq_Z;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ct4CxTBM%7d`F8PChvK}$Z2E6rc=4a_fBr=3mG47;>(Bp8 z{a-*dr$iAKWn%qph&;$_MfB}Sqb%*0KJ(YhzqJ}rsRULLG?c;z0*b1!{`e!}lPfLPUk@$p-~TJZnE z_~nd#!tW~h)Th3VFLMg(uSJf3Lcwk+__88+n;ZYzfV>g039%V*BVr3;DyRsDAx^2ZP#N90%IClR+J?m+w`BL7!yS20f`?=O~# z_dkqbpN!!*fxX}<8AU!W=P)935BRSo{Z_)Uqc6=R(5G_T{166I|4CE1hZNuHR6qAE z+AvoUYv{lTUxNN|IVsQHqaFC1r24sb=A(aW@%iKU$TTKL<*b~RjLyJ*EuWSlor^u7 z4Xcf$OvnhzqiVTHo+#?4ZiZ0PjK!U3dAisdm-*?73T-Ru=l(HQ{e9p)9~HDv|42rF dYnE$grv0D$<=ysw@-TA$XZ``=LU=Gn;6Gt?n%@8b literal 0 HcmV?d00001 diff --git a/lib/examples/spreadsheet.lyx b/lib/examples/spreadsheet.lyx new file mode 100644 index 0000000000..4248339b39 --- /dev/null +++ b/lib/examples/spreadsheet.lyx @@ -0,0 +1,262 @@ +#LyX 2.0 created this file. For more info see http://www.lyx.org/ +\lyxformat 413 +\begin_document +\begin_header +\textclass article +\use_default_options true +\maintain_unincluded_children false +\language english +\language_package default +\inputencoding auto +\fontencoding global +\font_roman default +\font_sans default +\font_typewriter default +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 +\font_tt_scale 100 + +\graphics default +\default_output_format default +\output_sync 0 +\bibtex_command default +\index_command default +\paperfontsize default +\spacing single +\use_hyperref false +\papersize a4paper +\use_geometry false +\use_amsmath 1 +\use_esint 1 +\use_mhchem 1 +\use_mathdots 1 +\cite_engine basic +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\use_refstyle 1 +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation skip +\defskip bigskip +\quotes_language english +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Title +Spreadsheets External Inset +\end_layout + +\begin_layout Author +Helge Hafting +\end_layout + +\begin_layout Standard +\begin_inset CommandInset toc +LatexCommand tableofcontents + +\end_inset + + +\end_layout + +\begin_layout Standard +Test of spreadsheet external inset in LyX. + Spreadsheets (created with Gnumeric, LibreOffice, OpenOffice.org, or Excel) + gets converted to .tex with the +\family typewriter +ssconvert +\family default + program that is distributed together with Gnumeric. + They are then imported as longtables. + As the spreadsheet is +\begin_inset Quotes eld +\end_inset + +External material +\begin_inset Quotes erd +\end_inset + +, any changes to the spreadsheet will be reflected in LyX's output too. + Thus, the LyX document is always up to date. +\end_layout + +\begin_layout Section +How to do it +\end_layout + +\begin_layout Enumerate +Make a spreadsheet. +\end_layout + +\begin_layout Enumerate +In LyX use the menu Insert\SpecialChar \menuseparator +File\SpecialChar \menuseparator +External Material. +\end_layout + +\begin_layout Enumerate +In the dialog, set template to +\family sans +GnumericSpreadsheet +\family default + and select your spreadsheet file. +\end_layout + +\begin_layout Section +Simple examples +\end_layout + +\begin_layout Standard +First, the file +\emph on +sheet.gnumeric, +\emph default +a spreadsheet created with Gnumeric: +\end_layout + +\begin_layout Standard +\begin_inset External + template GnumericSpreadsheet + filename sheet.gnumeric + +\end_inset + + +\end_layout + +\begin_layout Standard +Then +\emph on +sheet.ods, +\emph default +which was made with OpenOffice.org: +\end_layout + +\begin_layout Standard +\begin_inset External + template GnumericSpreadsheet + filename sheet.ods + +\end_inset + + +\end_layout + +\begin_layout Standard +Finally +\emph on +sheet.xls +\emph default +which was created with Excel. +\end_layout + +\begin_layout Standard +\begin_inset External + template GnumericSpreadsheet + filename sheet.xls + +\end_inset + + +\end_layout + +\begin_layout Section +Long spreadsheets +\end_layout + +\begin_layout Standard +A multi-page spreadsheet called +\emph on +longsheet.gnumeric +\emph default +. + Notice that page breaking works fine: +\end_layout + +\begin_layout Standard +\begin_inset External + template GnumericSpreadsheet + filename longsheet.gnumeric + +\end_inset + + +\end_layout + +\begin_layout Section +Necessary software +\end_layout + +\begin_layout Standard +LyX needs the converter program +\family typewriter +ssconvert +\family default + that is distributed with Gnumeric. + It is therefore necessary to install Gnumeric, even if other software is + used to create and edit the spreadsheets. +\end_layout + +\begin_layout Section +Limitations +\end_layout + +\begin_layout Standard +Spreadsheet inclusion have some limitations. + I don't know all of them, but have seen problem with this: +\end_layout + +\begin_layout Labeling +\labelwidthstring Wide~spreadsheets +\noindent +Wide +\begin_inset space ~ +\end_inset + +spreadsheets Unlike long spreadsheets, a spreadsheet wider than the margins + doesn't work well. + There is no attempt at breaking up such spreadsheets. +\end_layout + +\begin_layout Labeling +\labelwidthstring Wide~spreadsheets +\noindent +Some +\begin_inset space ~ +\end_inset + +formatting Some types of formatting doesn't work. + The red and green texts in the long spreadsheet are underlined. + The underlining doesn't show, but the texts is otherwise printed correctly. +\end_layout + +\begin_layout Standard +These limitations come from +\family typewriter +ssconvert +\family default +. + Feature requests for better spreadsheet conversions should therefore go + to the Gnumeric developers. +\end_layout + +\end_body +\end_document