On Thursday 13 May 2010 14:33, Frank S. wrote:
> For example, what used to be a simple task of copying text somewhere and
> then pasting into a new document does not yield something that has the
> original appearance.  It creates a weird "table" with unexpected formating,
> margins, and borders with no apparent tools to correct any of it.  I've
> done trial and error with various commands and just increased my
> frustration.

This is most frequently seen copying from the Internet.

(X)HTML uses div's (a type of box) as a container. These are different from 
tables as they are all rectangular. OO.o seems to re-interpret rightly or 
wrongly div's into sections, not tables. In HTML div's can form pseudo 
columns, in a writer document they cannot. The upshot is that one div is 
always shown above the next.

Alternative Internet practise has been to divide a webpage up with borderless 
tables to emulate columns. These get imported AFAIK into OO.o as tables.

Some websites use a combination of tables and divs to achieve layout.

How would you write a program to handle all three options.

The simplest solution is to use Paste Special from the Edit menu and paste the 
content as "unformatted text", then apply your own formatting as required.

One other option i have used is to copy the content out of a section then 
delete the section and paste the unencumbered text back into the document. 
This is fine if there are not too many sections.

HTH

-- 
Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to