WPCubed Product Support

aolson

TL1 · Basis Joined Last seen
Full Justification #15
@matthew: I understand your situation is different, but I'm just pointing out how word processors work. Maybe WPTools does have a solution, but as a gener…
Full Justification #13
@matthew: I can't say why WPTools doesn't (I am nothing but a user) but this is the same as any word-processor. Try it in Word. The problem is that i…
Full Justification #11
@matthew: I'll just chip in here, having worked on a word-processor before (just a user of WPTools though). The key here is that full justification is onl…
Full Justification #9
@wpsupport: Hi, You don't see this with a regular page width, is this right? I see the effect here when there is just one word in the wrapped line, WPTool…
Full Justification #7
I'm just asking again - is there anything that can be done to force a full justify on a line in the text with a hard carriage return at the end?
Full Justification #6
First, I should note that in my application, the page width is less than two inches. Not a "standard' sized document. Anyway, if they are typing alon…
Full Justification #4
this is becoming more of an issue now. Users are noticing that the full justify isn't working as expected, that the WYSIWYG display really isn't true…
Full Justification #3
@wpsupport: You probably need in FormatOptions: wpJustifyHardLinebreaks wpJustifySoftLinebreaks Julian These both are already set to true. It doesn't chan…
Full Justification #1
I'm using WPTools in a Delphi 2007 application where users enter text in a very small column width editor. The component works very well in this situation…
Simple task I can't figure out - setting font #1
I've inherited a project that uses WPTools 5.0 extensively. The project in many ways is simple, but there is a new feature request that I think should be …
Question on Dynamically building a document #1
I have existing code which works as I want it. I'm having a user build a document, then i'm saving the document in a totally custom format for reason…
Migrating to version 6.x #1
How easy (or painful) is the migration of WPTools v5 code to WPTools v6? is it backwards compatible, or will some things break and need source modifications?
auto-selection of paragraphs #1
In my application, almost all actions - point size, styles, etc - are performaned on complete paragraphs, not so much on individual words, etc. Is there anyway…
Strange behavior re: font size & alignment #9
I"m making progress, but just ran into one problem. I have the code working to partially bold a line via te TParagraph methods. Thanks. I also have the co…
Strange behavior re: font size & alignment #7
Thanks once again. For the record, what is the significance of this: par.CharAttr[i] := (par.CharAttr[i] and $FF000000) or WPRichText1.AttrHelper.CharAttr; Tha…
Strange behavior re: font size & alignment #5
Thanks again Julian, And I have another question... Again, on the TParagraph API. Lets say i have a paragraph with one sentance, and 6 words. Is it possible, v…
Strange behavior re: font size & alignment #3
Hi Julian - Thanks for the suggestions. One followup question: If i want to set the font size for a TParagraph, is this code correct? WPRichText1.ActiveParagra…
Explanation of my project and recent questions #1
hi All - I've recently made several posts here asking somewhat similar questions, and I thought perhaps it would be beneficial to outline this project and…
Strange behavior re: font size & alignment #1
A user found the following bug in a system i wrote. This is written in Delphi 2007 using v5.40 of WPTools. In a nutshell, the editor is very simplified. A sing…
Word-wrapping --> hard line breaks? #1
Can the TWPRichTExt editor component be configured so that if a line of text wraps to a new line...it automatically puts in a hard return/carriage return/whate…
Full/Block justification not working #1
I have a toolbar w/ 4 buttons on it - left/center/right/block justification. The following code works for the first three buttons, but the final button for &qu…
Count number of words bolded? #1
Is there a simple way to count how many words on a given line are in bold? Alan
Auto-selecting words #1
I would like to add a feature where the user can select a menu item and WPTools selects a given # of words automatically from the start of the current line/par…
PaintPageToCanvas issue #1
I have code written for a simple text editor, specifically for creating small documents. By small, i mean page sizes of less than 2" square. One thing i w…
TParagraph.LineHeight #1
What units does this function return? pixels? twips? Points? Alan
Calculating page size? #1
Right now, i have WPTools v5 set up to use the splayExtendedPageGap layout so that my users can see how many 'lines' they've entered and get a &…
FastAddText #1
I've written some code to load a custom XML format into a TWPRichText editor. this code is working well, with one exception. Prior to loading any text, i …
Current font/canvas #1
Is there an easy way, similar to CurrAttr or TextCursor, to access the TFont for the current paragraph or CP/position? or perhaps there could be an event that …
Horizontal font scaling #4
BUMP * Julian - I really need a reply to this. Will this be a feature of WPTools 6? alan
"full" justification of a single line #1
How best would i implement full/block justification of a single line of text? If i select it and set the alignment to paralBlock, it doesn't change. if th…