Source code

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Source code

Howard Morris (aka Col Boogie)
Some time ago I made a copy of the source code.
I may be ready to do something.
Need to know where I can find out what each sub-module does.
I am especially interested in modules invoked with
“Save as HTML document”

Howard
Reply | Threaded
Open this post in threaded view
|

Re: Source code

Peter Kovacs-3
There is no easy way to answer this.
Some are explained on wiki. You get clues by looking at the source files
and code.

In case of saving and writing specific files the module filter might be
a good starting point.
However this is from my side a shot in the blue. If you describe what
your goal is maybe you get a better answer.

I heared Libre Office have established a text file in each of their
modules what the module is about.
We might want to copy the idea, even if we are not able to copy their
words because of license stuff.



On 06.08.2018 22:25, Howard Cary Morris wrote:
> Some time ago I made a copy of the source code.
> I may be ready to do something.
> Need to know where I can find out what each sub-module does.
> I am especially interested in modules invoked with
> “Save as HTML document”
>
> Howard
>


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

Reply | Threaded
Open this post in threaded view
|

RE: Source code

Howard Morris (aka Col Boogie)
Goals are

1) generate HTML5 code

2) Make output same as print file (browser print gives same report)

3) Show where page breaks are

           (add page headers/footers for each page)

4) Be able to embed output in an iframe

           (allowing us to compete with PDF with much smaller size files)



I have written some PHP and HTML that messages the current html output.

However, was told you wanted differences in code.

My code has found some errors in current generated code



Howard



PS where on wiki?



________________________________
From: Peter Kovacs <[hidden email]>
Sent: Monday, August 6, 2018 5:15:06 PM
To: [hidden email]
Subject: Re: Source code

There is no easy way to answer this.
Some are explained on wiki. You get clues by looking at the source files
and code.

In case of saving and writing specific files the module filter might be
a good starting point.
However this is from my side a shot in the blue. If you describe what
your goal is maybe you get a better answer.

I heared Libre Office have established a text file in each of their
modules what the module is about.
We might want to copy the idea, even if we are not able to copy their
words because of license stuff.



On 06.08.2018 22:25, Howard Cary Morris wrote:
> Some time ago I made a copy of the source code.
> I may be ready to do something.
> Need to know where I can find out what each sub-module does.
> I am especially interested in modules invoked with
> “Save as HTML document”
>
> Howard
>


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

Reply | Threaded
Open this post in threaded view
|

RE: Source code

Peter Kovacs-3
Awesome. I hope you bring some endurance.
I help you the best to my abilities.

We will find a way to integrate your code, no worries.
I can imagine to give you commiter rights or I pull your code over github and push it in your name to trunk.
We will find a way together, okay?
Let's focus on code production first. When there is something to commit we discuss the way.

I suggest to leave existing filters intact and do an html5 one.

>My code has found some errors in current generated code
What do you mean? Can you explain one case?
The current html4 code does not produce pure html4. It is something the browser can work with. There have been reports in the past about it.
Or do you talk about bad code?

Wiki stuff
To me the wiki is a haystack.
I think here you find some hints:

https://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide

I think there is more. I hope I will find time for some research.


Am 7. August 2018 00:26:42 MESZ schrieb Howard Cary Morris <[hidden email]>:

>Goals are
>
>1) generate HTML5 code
>
>2) Make output same as print file (browser print gives same report)
>
>3) Show where page breaks are
>
>           (add page headers/footers for each page)
>
>4) Be able to embed output in an iframe
>
>         (allowing us to compete with PDF with much smaller size files)
>
>
>
>I have written some PHP and HTML that messages the current html output.
>
>However, was told you wanted differences in code.
>
>My code has found some errors in current generated code
>
>
>
>Howard
>
>
>
>PS where on wiki?
>
>
>
>________________________________
>From: Peter Kovacs <[hidden email]>
>Sent: Monday, August 6, 2018 5:15:06 PM
>To: [hidden email]
>Subject: Re: Source code
>
>There is no easy way to answer this.
>Some are explained on wiki. You get clues by looking at the source
>files
>and code.
>
>In case of saving and writing specific files the module filter might be
>a good starting point.
>However this is from my side a shot in the blue. If you describe what
>your goal is maybe you get a better answer.
>
>I heared Libre Office have established a text file in each of their
>modules what the module is about.
>We might want to copy the idea, even if we are not able to copy their
>words because of license stuff.
>
>
>
>On 06.08.2018 22:25, Howard Cary Morris wrote:
>> Some time ago I made a copy of the source code.
>> I may be ready to do something.
>> Need to know where I can find out what each sub-module does.
>> I am especially interested in modules invoked with
>> “Save as HTML document”
>>
>> Howard
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [hidden email]
>For additional commands, e-mail: [hidden email]

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

Reply | Threaded
Open this post in threaded view
|

RE: Source code

Howard Morris (aka Col Boogie)
Trying to use wiki – keeps referring to something else I must read first which refers me to something else I must read first. That includes what I thought ere the modules. Luckily, I can read code. If you send me a list of modules and where they are located. I will build my own tools to do the analysis and figure out what to change.



If you want to try what I have built so far, http://www.americasfreedompressalliance.us/Howard/Open/ is the transaction that I change .html code generated by Open office (save as html) to a .htm file. If you find any bugs. Let me know. Last thing I worked on was showing header for document. One of the bugs, from my point of view is that I have no indication where the page breaks occur (so I know where more headers and footers go).



________________________________
From: Peter kovacs <[hidden email]>
Sent: Tuesday, August 7, 2018 2:44:52 AM
To: [hidden email]; [hidden email]
Subject: RE: Source code

Awesome. I hope you bring some endurance.
I help you the best to my abilities.

We will find a way to integrate your code, no worries.
I can imagine to give you commiter rights or I pull your code over github and push it in your name to trunk.
We will find a way together, okay?
Let's focus on code production first. When there is something to commit we discuss the way.

I suggest to leave existing filters intact and do an html5 one.

>My code has found some errors in current generated code
What do you mean? Can you explain one case?
The current html4 code does not produce pure html4. It is something the browser can work with. There have been reports in the past about it.
Or do you talk about bad code?

Wiki stuff
To me the wiki is a haystack.
I think here you find some hints:

https://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide

I think there is more. I hope I will find time for some research.


Am 7. August 2018 00:26:42 MESZ schrieb Howard Cary Morris <[hidden email]>:

>Goals are
>
>1) generate HTML5 code
>
>2) Make output same as print file (browser print gives same report)
>
>3) Show where page breaks are
>
>           (add page headers/footers for each page)
>
>4) Be able to embed output in an iframe
>
>         (allowing us to compete with PDF with much smaller size files)
>
>
>
>I have written some PHP and HTML that messages the current html output.
>
>However, was told you wanted differences in code.
>
>My code has found some errors in current generated code
>
>
>
>Howard
>
>
>
>PS where on wiki?
>
>
>
>________________________________
>From: Peter Kovacs <[hidden email]>
>Sent: Monday, August 6, 2018 5:15:06 PM
>To: [hidden email]
>Subject: Re: Source code
>
>There is no easy way to answer this.
>Some are explained on wiki. You get clues by looking at the source
>files
>and code.
>
>In case of saving and writing specific files the module filter might be
>a good starting point.
>However this is from my side a shot in the blue. If you describe what
>your goal is maybe you get a better answer.
>
>I heared Libre Office have established a text file in each of their
>modules what the module is about.
>We might want to copy the idea, even if we are not able to copy their
>words because of license stuff.
>
>
>
>On 06.08.2018 22:25, Howard Cary Morris wrote:
>> Some time ago I made a copy of the source code.
>> I may be ready to do something.
>> Need to know where I can find out what each sub-module does.
>> I am especially interested in modules invoked with
>> “Save as HTML document”
>>
>> Howard
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [hidden email]
>For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Source code

Damjan Jovanovic
The code for the "Save As" -> "HTML document" feature seems to be in:

main/sc/source/filter/html for Calc, and
main/sw/source/filter/html for Writer.
(Not sure if there are more?)

Thank you for your contribution, and please let us know if you need any
further help.

Damjan

On Mon, Aug 20, 2018 at 11:30 PM Howard Cary Morris <
[hidden email]> wrote:

> Trying to use wiki – keeps referring to something else I must read first
> which refers me to something else I must read first. That includes what I
> thought ere the modules. Luckily, I can read code. If you send me a list of
> modules and where they are located. I will build my own tools to do the
> analysis and figure out what to change.
>
>
>
> If you want to try what I have built so far,
> http://www.americasfreedompressalliance.us/Howard/Open/ is the
> transaction that I change .html code generated by Open office (save as
> html) to a .htm file. If you find any bugs. Let me know. Last thing I
> worked on was showing header for document. One of the bugs, from my point
> of view is that I have no indication where the page breaks occur (so I know
> where more headers and footers go).
>
>
>
> ________________________________
> From: Peter kovacs <[hidden email]>
> Sent: Tuesday, August 7, 2018 2:44:52 AM
> To: [hidden email]; [hidden email]
> Subject: RE: Source code
>
> Awesome. I hope you bring some endurance.
> I help you the best to my abilities.
>
> We will find a way to integrate your code, no worries.
> I can imagine to give you commiter rights or I pull your code over github
> and push it in your name to trunk.
> We will find a way together, okay?
> Let's focus on code production first. When there is something to commit we
> discuss the way.
>
> I suggest to leave existing filters intact and do an html5 one.
>
> >My code has found some errors in current generated code
> What do you mean? Can you explain one case?
> The current html4 code does not produce pure html4. It is something the
> browser can work with. There have been reports in the past about it.
> Or do you talk about bad code?
>
> Wiki stuff
> To me the wiki is a haystack.
> I think here you find some hints:
>
>
> https://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide
>
> I think there is more. I hope I will find time for some research.
>
>
> Am 7. August 2018 00:26:42 MESZ schrieb Howard Cary Morris <
> [hidden email]>:
> >Goals are
> >
> >1) generate HTML5 code
> >
> >2) Make output same as print file (browser print gives same report)
> >
> >3) Show where page breaks are
> >
> >           (add page headers/footers for each page)
> >
> >4) Be able to embed output in an iframe
> >
> >         (allowing us to compete with PDF with much smaller size files)
> >
> >
> >
> >I have written some PHP and HTML that messages the current html output.
> >
> >However, was told you wanted differences in code.
> >
> >My code has found some errors in current generated code
> >
> >
> >
> >Howard
> >
> >
> >
> >PS where on wiki?
> >
> >
> >
> >________________________________
> >From: Peter Kovacs <[hidden email]>
> >Sent: Monday, August 6, 2018 5:15:06 PM
> >To: [hidden email]
> >Subject: Re: Source code
> >
> >There is no easy way to answer this.
> >Some are explained on wiki. You get clues by looking at the source
> >files
> >and code.
> >
> >In case of saving and writing specific files the module filter might be
> >a good starting point.
> >However this is from my side a shot in the blue. If you describe what
> >your goal is maybe you get a better answer.
> >
> >I heared Libre Office have established a text file in each of their
> >modules what the module is about.
> >We might want to copy the idea, even if we are not able to copy their
> >words because of license stuff.
> >
> >
> >
> >On 06.08.2018 22:25, Howard Cary Morris wrote:
> >> Some time ago I made a copy of the source code.
> >> I may be ready to do something.
> >> Need to know where I can find out what each sub-module does.
> >> I am especially interested in modules invoked with
> >> “Save as HTML document”
> >>
> >> Howard
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [hidden email]
> >For additional commands, e-mail: [hidden email]
>
Reply | Threaded
Open this post in threaded view
|

Re: Source code

Peter Kovacs-4
I am confused with the wikis. Especially the MediaWiki is chaos to me.

An overall Architecture of openoffice can be found here

https://www.openoffice.org/marketing/ooocon2006/presentations/tuesday_d2.pdf


I had an additional look and if you browse the wiki via category you
find this here

https://wiki.openoffice.org/wiki/Category:File_formats


There is nothing about html, thought. But maybe the other topics give
some hints.


If you like you can also help in writing things you find important in
the wiki. Just request a Mwiki access via this mailing list.

HtH

Peter


On 8/21/18 4:49 AM, Damjan Jovanovic wrote:

> The code for the "Save As" -> "HTML document" feature seems to be in:
>
> main/sc/source/filter/html for Calc, and
> main/sw/source/filter/html for Writer.
> (Not sure if there are more?)
>
> Thank you for your contribution, and please let us know if you need any
> further help.
>
> Damjan
>
> On Mon, Aug 20, 2018 at 11:30 PM Howard Cary Morris <
> [hidden email]> wrote:
>
>> Trying to use wiki – keeps referring to something else I must read first
>> which refers me to something else I must read first. That includes what I
>> thought ere the modules. Luckily, I can read code. If you send me a list of
>> modules and where they are located. I will build my own tools to do the
>> analysis and figure out what to change.
>>
>>
>>
>> If you want to try what I have built so far,
>> http://www.americasfreedompressalliance.us/Howard/Open/ is the
>> transaction that I change .html code generated by Open office (save as
>> html) to a .htm file. If you find any bugs. Let me know. Last thing I
>> worked on was showing header for document. One of the bugs, from my point
>> of view is that I have no indication where the page breaks occur (so I know
>> where more headers and footers go).
>>
>>
>>
>> ________________________________
>> From: Peter kovacs <[hidden email]>
>> Sent: Tuesday, August 7, 2018 2:44:52 AM
>> To: [hidden email]; [hidden email]
>> Subject: RE: Source code
>>
>> Awesome. I hope you bring some endurance.
>> I help you the best to my abilities.
>>
>> We will find a way to integrate your code, no worries.
>> I can imagine to give you commiter rights or I pull your code over github
>> and push it in your name to trunk.
>> We will find a way together, okay?
>> Let's focus on code production first. When there is something to commit we
>> discuss the way.
>>
>> I suggest to leave existing filters intact and do an html5 one.
>>
>>> My code has found some errors in current generated code
>> What do you mean? Can you explain one case?
>> The current html4 code does not produce pure html4. It is something the
>> browser can work with. There have been reports in the past about it.
>> Or do you talk about bad code?
>>
>> Wiki stuff
>> To me the wiki is a haystack.
>> I think here you find some hints:
>>
>>
>> https://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide
>>
>> I think there is more. I hope I will find time for some research.
>>
>>
>> Am 7. August 2018 00:26:42 MESZ schrieb Howard Cary Morris <
>> [hidden email]>:
>>> Goals are
>>>
>>> 1) generate HTML5 code
>>>
>>> 2) Make output same as print file (browser print gives same report)
>>>
>>> 3) Show where page breaks are
>>>
>>>            (add page headers/footers for each page)
>>>
>>> 4) Be able to embed output in an iframe
>>>
>>>          (allowing us to compete with PDF with much smaller size files)
>>>
>>>
>>>
>>> I have written some PHP and HTML that messages the current html output.
>>>
>>> However, was told you wanted differences in code.
>>>
>>> My code has found some errors in current generated code
>>>
>>>
>>>
>>> Howard
>>>
>>>
>>>
>>> PS where on wiki?
>>>
>>>
>>>
>>> ________________________________
>>> From: Peter Kovacs <[hidden email]>
>>> Sent: Monday, August 6, 2018 5:15:06 PM
>>> To: [hidden email]
>>> Subject: Re: Source code
>>>
>>> There is no easy way to answer this.
>>> Some are explained on wiki. You get clues by looking at the source
>>> files
>>> and code.
>>>
>>> In case of saving and writing specific files the module filter might be
>>> a good starting point.
>>> However this is from my side a shot in the blue. If you describe what
>>> your goal is maybe you get a better answer.
>>>
>>> I heared Libre Office have established a text file in each of their
>>> modules what the module is about.
>>> We might want to copy the idea, even if we are not able to copy their
>>> words because of license stuff.
>>>
>>>
>>>
>>> On 06.08.2018 22:25, Howard Cary Morris wrote:
>>>> Some time ago I made a copy of the source code.
>>>> I may be ready to do something.
>>>> Need to know where I can find out what each sub-module does.
>>>> I am especially interested in modules invoked with
>>>> “Save as HTML document”
>>>>
>>>> Howard
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]

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