Hi;
If we create for example a table with rows and columns contents in code, is it possible to enclose the whole operations in only one undo step, in a way the user can go back in only one undo operation?.
Thank you.
Felipe
Hi;
If we create for example a table with rows and columns contents in code, is it possible to enclose the whole operations in only one undo step, in a way the user can go back in only one undo operation?.
Thank you.
Felipe
Hi;
I found that FileCtrl is in WPPDFR1.pas; I removed it, and the unit compiles without errrors.
Is it posible to add this change in WPPDFR1.pas for furute patches?
Thank you.
Felipe
Good point !!!!, agree.
Felipe.
Hi;
On WP4 we have NewTabKind = tkAll, that is used to change TabKind by doing clik over the current tabposition.
What is the replacement for that purpose in WP6 ?
Thank you.
Felipe
Zitat von wpsupportHi,
Usually You only need to add the unit WPPwrdConverter to the project. The WPRichText.Open procedure will then use it automatically.
Also see the demo
https://www.wpcubed.com/ftp/ex/UseConverterDemo.zipJulian
Oh, I see in your converter dermo, GetConverterNames(nil, wpcnvImport) does the trick, thank you.
Felipe
Hi;
Using build 6.11 (april 19 2010) I get this error message when I try to compile:
[DCC Error] WPRTEPaint.pas(8573): E2003 Undeclared identifier: 'wpDontExtendSelectionToRightMargin'
Felipe
Hi;
I am trying to use TWPWordConverter but it does not work, reporting a out of index in a string list.
The error happen in WPWordConv, in this line:
FConverter := FConverters[format]
FConverter is a privated field into the component, but I do not see any code into the component filling it with the converters.
Is anybody using this converter?. (WPDemo seems to work for this purpose, but I don't have the source code for following it).
Felipe.
Hi;
If wpNoEditOutsideTable is set in EditOptions, then PasteFromClipboard does not work.
Felipe.
Hi;
On WPT4 MovePosition(wpmHome, False) moves to CPPosition=0; but in WPT6 it moves to CPPosition=-1.
It's amazing to see how this little thing can drive to crazy in a project, but I can't find that change documented.
Felipe.
Zitat von leprinceAlles anzeigenWhat about
wprt.SelectionAsString := 'blah';
or
wprt.ClearSelection;
wprt.SelectionAsString := 'blah';
?best wishes,
Wolfgang
Hi Wolfgang;
Noup, I also tried both ideas but they don't do the trick. Is this a bug?. By the way, I am using a normal TWPRichText component with all the defauls; I only changed to wpPlayNormal.
Regards,
Felipe.
Hi;
Working with WP4 I can SelectAll and then assigning SelText to a new value; or also I can delete the whole selection inserting #127. I can't do the same with WP6. For example:
procedure Test;
begin
with WPRichText1 do
begin
Text := 'This is the old text ';
SelectAll;
SelText := 'This is the new text';
end;
end;
This example finishes with "This is the old text This is the new text" in WP6, but it must be only "This is the new text". Similar problem if I do:
procedure Test;
begin
with WPRichText1 do
begin
Text := 'This is the old text ';
SelectAll;
InputString('This is the new text');
end;
end;
As the documentation of WP6 does not say to much about SelectAll and SelText, I can't find what is missed.
Any idea?
Felipe.
Hi;
In some cases table painting loses the bottom border line. Some times it happens when deleting text or paragraphs that are down de table. In the next graphics I show a table before and after inserting a page break (and it is inserted after a few paragraphs down the table).
Before inserting the page break:
[Blockierte Grafik: http://i43.tinypic.com/70jqip.jpg]
After inserting the page break at cursor position:
[Blockierte Grafik: http://i40.tinypic.com/166jbx3.jpg]
Regards,
Felipe
Hi;
What is the way for cancelling printing loop on WP6? (in WP4 I used PrinterParameters.FAbort := True).
Thank you.
Felipe
Hi,
Thank you; I tried CPLineNrLog before asking, but it does not replace the GetLineNumber function included in WP4, that shows the current line relative to the current page.
Any other?
Felipe
Hi;
In WPTools4 there was a event called OnParagraphAttrChange. How to detect when the paragraphs attributes changes in WPTools 6?
Or, what is the best event to report in the status panels the current paragrahp attributes?
Thank you.
Felipe
Hi;
I have to replace LineNumber property used with WPTools 4 for showing line number relative to the current page. What do I have to use?.
Regards,
Felipe.
I have only one installation folder for both, WPTools and wPDF. The only way I found to fix this, is to open and compile a project with WP components after installed the package, but before exiting D2007.
Hi;
I try to install WP6+Premium+wPDF on a Delphi 2007. So I run the 3 setup programs, and the configuration tool for Delphi 2007. Then I copy all the files form the premium floder into de D2007 folder. Then I modify the WPINC.INC to define WPPREMIUM and WPPDFEX. Then I add to the library path the folders D2007 of both, WPTools and wPDF. Then I open WPTools6_D11_W32.dpk and install it. It goes, but getting lots of warnings like:
[DCC Warning] WPTools6_D11_W32.dpk(43): W1033 Unit 'wpDefActions' implicitly imported into package 'WPTools6_D11_W32'
But it installs. The problem is that next time I run D2007 the package appears unchecked in the packages list.
What is missed?
Felipe.