News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

"Cropping" an OLE Object (Open Office Text Document)

Started by Alvin Gregorio, April 12, 2015, 03:20:15 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Alvin Gregorio

Need some help.

I'm using Open Office (external of TurboCAD), and have created a "Text Document" (Open Office's equivalent to MS Word) that simply has one table in it that is 7.5"Wide-by-6"Tall.
In Open Office, I formatted the Page such that there are 0" margins, page-size=7.5"x6".  I even went into the Printer Settings and created a custom paper size in my PDF-program that is also that size.

Issue:  When I insert that OLE Object into TurboCAD, it's size is something like 11"square, with the 7.5"x6" Table being the correct size, but just a bunch of extraneous space, as if it is trying to insert a whole 11"square sheet or something.

Anything
that I am doing wrong?  Am I limited in using an O.O. Text (or Word) document?  Can it be "cropped" in TurboCAD?, or re-sized such that its boundaries only encompass the table?
By the way, after "cropping", I will likely also want to scale it a bit to fit in the allotted space in a Paperspace sheet.

I believe that I could do this successfully using spreadsheet documents in the past.  In those cases, only the portion of the document that actually had something written in it "pasted" into TurboCAD; and I could scale (re-size).

Thanks for any help all-- Alvin

(the attached .obj file is the Open Office document; please change the extension to .odt after downloading, if you have Open Office)
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

This may be what I have to do:

In Open Office, if I Zoom=100%, then re-size that Open Office desktop window such that only the Table is visible, then Save, then-- in TurboCAD either re-Insert or "Update Link"-- I get the results I am after.

Do all Text, Spreadsheet, etc. documents behave this way in TurboCAD when inserted as OLE Objects?
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

RCFlyingKnight

#2
Alvin,

I don't have open office, I created a table on a 7.5x6 paper in word 2010 (wouldn't let me put 0 margins) Insert/Object the file displayed at it's size in word less the margins.  Took your word file without opening it, did the same and got and it dimensioned 7.51"x5.88".  Could be an open office issue.

I couldn't find a way to crop the ole object in Tcad.

You can scale like you would any other object in tcad, don't forget to select Keep Aspect Ratio.

Interesting thing is that it came in illegible until I zoomed in and pressed f5 redraw and any redraw afterwards would adjust the line thickness relative to the zoom, is this normal for ole objects?  It also didn't display properly when I tried to edit it, its margins looked to be cut to its size on screen.

used Tcad 2015

"edit" Try putting .13" margins, maybe open office defaults to 11x11 when 0 margins is used?

Matthew

Alvin Gregorio

Quote from: RCFlyingKnight on April 12, 2015, 06:56:43 AM
Alvin,

I don't have open office, ...

Matthew

Thank you Matthew.  Yes, it does seem to be something particular to Open Office.  When I use MS Word-- which I don't because I am still in "free trial period" and want to save the uses-- it behaves differently and better.

As you said in your edit, if I play with the margins settings and the Open Office Table Properties' spaces around the sides, it seems to help.
_________
I have had issue-- and have heard of others having issue-- with certain inserted OLE Objects zooming in-and-out (and loosing some of the view of the Object) when zooming in-and-out in TurboCAD.
   I think TurboCAD's OLE Object function is just want of those things that is not 100%, and just has to be played with-- differently, each time maybe-- until the desired or good enough results are achieved. (which I did; and hurried and printed to PDF)

Thanks again Matthew!-- Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

DonCW

Quote from: Alvin Gregorio on April 12, 2015, 03:59:24 AM
This may be what I have to do:

In Open Office, if I Zoom=100%, then re-size that Open Office desktop window such that only the Table is visible, then Save, then-- in TurboCAD either re-Insert or "Update Link"-- I get the results I am after.

Do all Text, Spreadsheet, etc. documents behave this way in TurboCAD when inserted as OLE Objects?

Alvin,

FWIW, I  start with INSERT at the top of the screen, select PICTURE and select As Object to Insert my Word Docs into TC. The attached is my template cover, the materials list is the  Word Doc and inserts as shown in the attachment.
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

Alvin Gregorio

#5
Quote from: DonCW on April 12, 2015, 04:23:38 PM
...
Alvin,

FWIW, I  start with INSERT at the top of the screen, select PICTURE and select As Object to Insert my Word Docs into TC. The attached is my template cover, the materials list is the  Word Doc and inserts as shown in the attachment.

Thanks Don.  I'll give it a try.  -Alvin

_________
Tried it.  Doesn't work with an Open Office "Text" document (Open Office's version of a Microsoft Word document).
However, if-- in Open Office-- I "Save As" a MS Word file, then I can get it to work.

Didn't know we can do that  (Insert>Picture>As Object).  But it makes sense-- since discovering today that TurboCAD is pretty much treating inserted OLE Objects as images.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Dean

Alvin,
just copy the text and paste in a 7'' wide Multi text box  > adjust text  a little to fit > or
print a pdf from word  insert underlay in V20 scale =1
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Alvin Gregorio

Quote from: Dean on April 12, 2015, 11:44:58 PM
Alvin,
just copy the text and paste in a 7'' wide Multi text box  > adjust text  a little to fit > or
print a pdf from word  insert underlay in V20 scale =1

Both suggestions good workarounds.  Thanks Dean.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)