2
$\begingroup$

I would like to export the following layout to word:

m = 
  Import["https://earthnworld.com/wp-content/uploads/2018/04/Rose-Victor-Hugo.jpg"];

exportIm = 
  Panel[
    Style[
      Grid[
        {{m, SpanFromLeft}, 
         {TextCell[
            Row[{"balabalaablabalb balabalbalbalba"}], 
            TextJustification -> 1, Hyphenation -> False], 
           SpanFromLeft}, 
         {}, 
         {"Notes: "}, 
         {SpanFromLeft, 
          Item[BarcodeImage["123456789", "QR", 7], Alignment -> Right]}}, 
        Frame -> {{False, False}, {True, True, True, False}, {False}}, 
        BaseStyle -> ImageSizeMultipliers -> 1], 
      7, 
      FontFamily -> "Helvetica", Background -> Gray], 
    Background -> Gray,
    ImageSize -> {210, 297}*2]

When you execute this code, you should get this:

enter image description here

I would like to export it to Word. Is this somehow possible?

My goal is to be able to type text within the section, where it says "Notes: ".

$\endgroup$
  • $\begingroup$ Export as pdf and, in Windows systems, Open With Word? $\endgroup$ – kglr Sep 19 '18 at 7:17
  • $\begingroup$ @kglr I tried that, but I cannot write in the section "Notes" because word sees it as an image, and not as blank space. $\endgroup$ – james Sep 19 '18 at 7:19
  • $\begingroup$ Do you want word specifically, or do you want to be able to edit the text? Adobe has great products for editing pdf's $\endgroup$ – Ruud3.1415 Sep 19 '18 at 9:41
  • $\begingroup$ @Ruud3.1415 I will generate a huge collection of those, and I would like to be able to enter text in the section "Notes" without having to add a textblock or annotation tool afterwards. Ideally, I could open it as html or word and immediately without any adjustment write something in that section. $\endgroup$ – james Sep 19 '18 at 10:03

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.