To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=109773





------- Additional comments from w...@openoffice.org Wed Mar 10 23:12:29 +0000 
2010 -------
Just wanted to follow up on this, in reply to mod.

First, thanks very much for the tip. That's exactly the kind of thing I'm
looking for.

Second, I'm on Ubuntu; I downloaded the source code for the current stable
version of Writer in the standard repos (3.1), and the code you suggested wasn't
in postit.cxx.  I'm assuming your code might be for Windows. 

However, I found five places in the postit.cxx I downloaded that contained
SvxFontHeightItem(200,100,EE_CHAR_FONTHEIGHT):

* SfxItemSet item(aShell->GetPool());
* void SwMarginWin::ResetAttributes()
* void SwPostIt::SetPostItText()
* View()->GetEditView().RemoveAttribsKeepLanguages(true);
<<--- this last one is commented out in the file --->>
* Engine()->Clear();

I'm also assuming that postit.cxx controls note appearance, so any/all of these
sections are telling OpenOffice how to render the note font.

Unfortunately, I'm completely new to tinkering inside OpenOffice source code,
although I'm not afraid to dive in.  I spent a sleepless but interesting night
trying to find out how, but gave up after a few hours. (As my previous post may
indicate, I teach writing, and I'm just not versed in this stuff.) Short of
removing the standard 3.1 version and compiling it all again from source, I'm
not positive how I could simply edit this one file and then recompile what I
already have installed.   

I'm not asking for any step-by-step instructions from anyone, but if there are
any guides or quick references on how to just edit that one source file and then
recompile what I already have installed, I'd be grateful (I've already been to
the developer's guide)... This would be much easier if there was simply a config
file someplace that controlled the note appearance, like in 
/home/user/.openoffice. 

Oh -- and I'm assuming since SwMarginWin::DefaultItem() wasn't in postit.cxx,
the one I should be focusing on is SwPostIt::SetPostItText()? 


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to